Keyboard typing the wrong characters? @ and “ swapped, # instead of £, numbers instead of letters

You press Shift+2 for @ and get “, the £ key types #, or your letters suddenly come out as numbers. The keyboard is almost never broken: the computer is reading it with a different layout, or a lock key is on.

1. UK and US layouts: the classic swaps

Keyboards look almost the same, but the symbols differ. If the computer thinks your keyboard has a different layout, these keys come out wrong:

You pressUK layout givesUS layout gives
Shift+2“ (double quote)@
Shift+' (key by Enter)@“
Shift+3£#
# key (by Enter on UK)#\ (backslash)
\ key (by left Shift on UK)\\ or nothing
Key left of 1` and ¬` and ~

So if your @ and quote are swapped, Windows is using the US layout on a UK keyboard (or UK on a US keyboard).

2. Fix the layout on Windows

3. Mac: input sources

4. Letters typing numbers

Many laptops without a separate number pad hide one in the letter keys: 7 8 9 / U I O / J K L / M become 7 8 9 / 4 5 6 / 1 2 3 / 0. With Num Lock on, typing "milk" gives "0153". Press Num Lock, NumLk, or Fn plus the key with a small lock or "Num" on it. An external keyboard's Num Lock can switch it on for the laptop too.

5. Other lock keys and accessibility switches

SymptomCauseFix
Typing replaces the letter after the cursorOvertype mode (Insert key)Press Insert (Fn+Ins on laptops)
Everything in capitals, Shift gives lower caseCaps LockPress Caps Lock; fix text already typed with a case converter
Shift or Ctrl seems stuck onSticky Keys (Shift pressed 5 times)Settings > Accessibility > Keyboard > Sticky keys off, and turn off its shortcut
Keys ignored unless held, or no repeatsFilter Keys (right Shift held 8 seconds)Accessibility > Keyboard > Filter keys off
F1-F12 change volume and brightness insteadFn LockOften Fn+Esc, or a BIOS setting "Action keys mode"
Windows key does nothingWin Lock on gaming keyboardsFn+Win, or the lock button / software for the keyboard
Accents appear (é, á) when typing quotes"International" layout with dead keysSwitch to plain US or UK layout

6. Is it the keyboard itself?

Related

Keys not working or sticky after a spill · Touchpad not working or cursor jumping · Webcam not working · Microphone not working · Second monitor not detected

Questions

Why are my @ and " keys swapped?

Your computer is using the US keyboard layout on a UK keyboard (or the reverse). Press Win+Space to switch, then remove the layout you don't use in Settings > Time & language > Language & region > Language options > Keyboards.

Why does my keyboard keep changing layout by itself?

You're probably pressing Left Alt+Shift or Win+Space by accident, which switch between installed layouts. Remove the extra layout, or turn off the hot keys in Advanced keyboard settings.

Why does my laptop type numbers instead of letters?

Num Lock is on, turning U I O, J K L and M into a hidden number pad. Press Num Lock, NumLk or Fn plus the Num Lock key to turn it off.

Why is the £ key typing #?

The US layout is active. On a UK layout Shift+3 is £; switch to English (United Kingdom) with Win+Space. On a Mac with the British layout, # is Option+3.

Why does typing delete the next letter?

Overtype mode is on. Press the Insert key (Fn+Ins on many laptops) to go back to inserting text.

Published .

Try it

Related guides

Newest guides