Number Sign On Keyboard | Type The # Without Guesswork

The # symbol is often typed with Shift + 3, but the exact key depends on your keyboard layout and device.

You see the number sign in passwords, hashtags, code, spreadsheet formulas, and file names. Then you sit down at a different laptop and it vanishes. One key press turns into a hunt.

This page clears that up. You’ll learn where the # symbol usually sits, what changes across US vs UK layouts, and the clean fallbacks that work when the key isn’t printed.

What The Number Sign Means And When You’ll Use It

The character # is called the number sign in US English. In the UK and Ireland, many people call it the hash. In programming and tech docs you may see both names, plus “pound” in some older US contexts.

No matter what you call it, it tends to show up in a few repeat situations:

  • Logins and security: password rules often accept or require symbols like #.
  • Social posts: hashtags use # to tag topics.
  • Coding and command lines: comments, anchors, and directives often start with #.
  • Spreadsheets and docs: error codes or labels may include it.

If you type it a lot, it’s worth learning two things: the main key combo for your layout, and a backup method that doesn’t care which keyboard you’re on.

Where The # Key Sits On A Standard US Keyboard

On a US QWERTY keyboard, the number sign shares the 3 key on the top number row. Hold Shift, tap 3, and you get #. Tap 3 without Shift and you get 3.

This is the pattern many people learn first, so it feels normal. The confusion starts when you switch to a different layout, where the symbol set is rearranged.

Check Your Layout First, Not Your Fingers

When Shift + 3 prints something else, your keyboard is probably set to a different layout than the physical keys. That can happen after a system update, a language change, a shared PC login, or a remote desktop session.

On Windows, you can view and change the active input layout in Settings under language and keyboard options. Microsoft’s steps are in Manage language and keyboard input layout settings in Windows.

Number Sign On Keyboard Layouts That Don’t Match US QWERTY

Keyboard legends are tied to the physical layout, but what you see on screen is tied to the selected input language. Those two can drift apart.

On UK keyboards, the # symbol is often on a different key than the US layout. Many UK keyboards place # on the key near Enter, paired with the tilde (~), while Shift + 3 produces the pound sterling sign (£). Some laptops follow this, some vary by brand.

On other layouts, the number sign may need AltGr (the right Alt key) plus another key. On Mac layouts, Option (⌥) plays a similar role.

Fast Ways To Tell Which Layout You Have

  • Look at one “giveaway” key: if your 3 key shows £ on it, you’re likely on a UK-style layout.
  • Type Shift + 2: on US it prints @, on UK it often prints “.
  • Check system language: if your taskbar or menu bar shows a country code (EN-GB, EN-US), that’s the active layout indicator on many systems.

Once you know the layout, you can stop guessing and use the right method every time.

Typing The Number Sign On Laptops, Desktops, And External Keyboards

Here are the most dependable paths, grouped by device type. Use the one that matches your setup today.

Windows PC With US Layout

  • Hold Shift and press 3.

Windows PC With UK Layout

  • Try the key just left of Enter with Shift.
  • If that prints something else, try AltGr + 3.

If both fail, switch the input layout to match your keyboard, then test again.

Mac With US Layout

  • Hold Shift and press 3.

Mac With UK Layout

  • Try Option (⌥) + 3 on many UK Mac layouts.
  • If that prints something else, check the “Keyboard Viewer” in macOS to see live key mappings for your selected input source.

Chromebook

Chromebooks follow the selected keyboard input method, just like Windows and macOS. If you use an external keyboard, its printed symbols may not match the chosen input.

  • Start with Shift + 3 on US layouts.
  • On UK layouts, test the key next to Enter, then try AltGr combos.

The table below gives a quick map you can scan when you’re stuck.

Device Or Layout Most Common Way To Type # If That Doesn’t Work
Windows, US QWERTY Shift + 3 Confirm input is EN-US
Windows, UK QWERTY Shift + key left of Enter AltGr + 3
macOS, US layout Shift + 3 Check input source in System Settings
macOS, UK layout Option + 3 Open Keyboard Viewer to confirm
Chromebook, US layout Shift + 3 Verify input method under Keyboard
Chromebook, UK layout Key left of Enter (with Shift) AltGr combos or switch input
Linux, common layouts Shift + 3 (US) Right Alt (AltGr) combos by layout
Remote desktop / VM Depends on host layout Match guest layout to host keyboard

Typing # On Phones And Tablets

Mobile keyboards hide symbols behind a second layer. You won’t find # on the letter screen, so the trick is knowing which button flips the layout.

iPhone And iPad

On iOS and iPadOS, tap 123 to switch from letters to numbers and symbols. The # key appears on that screen on most English keyboards. If you need more symbols, tap #+=.

Apple documents the behavior of the onscreen keyboard and long-press options in Type with the onscreen keyboard on iPhone.

Android

Android keyboards vary by app and manufacturer, but the pattern is similar: tap ?123 or 123, then look for #. Some keyboards place it on the first symbols page; others place it behind a second symbols key like =\< or #+=.

If you’re on a tablet with a hardware keyboard, Android uses the chosen physical keyboard layout, so the desktop tips in this article still apply.

Clean Backup Methods When The # Key Won’t Cooperate

When you’re on a shared computer, a kiosk, or a keyboard with missing legends, these fallbacks save time. Pick one and keep it in your pocket.

Copy And Paste From A Known Source

If you can type one # somewhere, copy it and reuse it. You can copy it from a note, a password manager entry, or a message thread. It’s simple, and it avoids layout surprises.

Use Character Viewer Or Emoji And Symbols Panels

Most desktop systems include a character panel that lets you insert symbols by search. Search for “number sign” or “hash” and insert it into the active field.

  • macOS: the Character Viewer can be opened from the menu bar input icon on many setups.
  • Windows: the emoji panel includes symbols on recent builds.

Alt Codes And Unicode Entry

If you use a full keyboard with a numeric keypad, Windows can enter characters with Alt codes in some apps. The number sign is code 35 in ASCII, so some programs accept Alt + 35 on the keypad.

Linux and some Chromebook workflows can enter Unicode characters through a key sequence, then the hex code. The number sign is U+0023.

These methods depend on the app, the OS, and the keyboard hardware. They’re handy when they work, but the layout fix is still the smoothest way to get # across all programs.

Why The Number Sign Types The Wrong Character

When you press what looks like the right key and get the wrong symbol, the cause is almost always one of these:

  • Input layout mismatch: your system thinks the keyboard is US, but the hardware is UK, or the other way around.
  • Language switching hotkey hit by accident: a shortcut changed the active layout mid-typing.
  • Remote session mapping: the host layout and the remote layout don’t match, so keystrokes get remapped.
  • Keyboard firmware mode: some mechanical keyboards can swap layouts in hardware.

The fix is to align the system layout with the keyboard in front of you, then relearn the # combo for that layout. That one step prevents the same confusion in passwords, coding, and forms.

Symptom Likely Cause Fix To Try First
Shift + 3 prints £ UK layout active Switch to EN-US or use the UK # key
Shift + 3 prints something else Non-US layout active Check input indicator, then test again
# works in one app, not another App intercepts shortcuts Try copy/paste or a character panel
# works on laptop, fails on external keyboard Layout doesn’t match hardware Set layout to match external keyboard
# fails only in remote desktop Host and guest layouts differ Match both sides to one layout
Phone keyboard doesn’t show # Wrong symbols page Tap 123, then #+= or second symbols page
# key is worn off Physical keycap wear Use on-screen keyboard or copy/paste

Practice Drills That Make # Stick

If you switch devices often, muscle memory can get messy. A short drill makes the right combo feel automatic.

  1. Open a blank note.
  2. Type ten number signs in a row: ##########
  3. Type ten hashtags with a short word: #notes #class #math
  4. Switch to a different layout (if you use one), then repeat, so your hands learn both patterns.

Keep the drill short. You’re training a reflex, not grinding practice.

Mini Checklist Before You Blame The Keyboard

When you’re under time pressure and # won’t show up, run this list in order:

  1. Look at the language or input indicator.
  2. Try Shift + 3.
  3. Try the key next to Enter with Shift.
  4. Try AltGr combos if your keyboard has AltGr.
  5. Use a character panel or copy/paste to finish the task, then fix the layout after.

That flow keeps you moving. It also points to the cause, so the fix lasts past this one form or password box.

References & Sources