Skip to content
Hardware

Keyboard typing the wrong characters: find the cause in 10 seconds and fix it

Laptop keyboard typing numbers instead of letters, @ and " swapped or # and £ mixed up? A 10-second test to find what's wrong and how to fix it in Windows.

5 minHow we make our guides

Quick answer

If numbers appear instead of letters, press Fn + Num Lk. If symbols are swapped (for example Shift + 2 gives " instead of @), Windows has switched keyboard layout: press Win + Space until the right one (ENG UK or ENG US) shows next to the clock, then remove the layout you don't use. Your keyboard is almost certainly not broken.

Illustration of the problem: Keyboard typing wrong characters
GlitchFix illustration: what this problem usually looks like.

The 10-second test

Open Notepad and press these keys. What appears on screen tells you exactly what's going on:

You pressYou getWhat's happening
U I O4 5 6Num Lock is on (laptops only)
Shift + 2" instead of @UK layout active on a US keyboard
Shift + 2@ instead of "US layout active on a UK keyboard
Shift + 3£ or #, the opposite of what's printedWrong layout (UK vs US)
W A S DMove the cursor like arrowsThe keyboard's gaming mode is on
Holding a keyDoesn't repeat, or appears lateFilter Keys (accessibility)
Any keyNothing on some keysDirt, liquid or a broken key (last section)

Numbers instead of letters: Num Lock

Laptops without a number pad on the right "hide" it inside the letter keys. Look at your keys: many have a small number in another colour, usually blue. When Num Lock is on, those letters type their number.

Diagram of the laptop keys U, I, O, J, K, L and M with their hidden numbers 4, 5, 6, 1, 2, 3 and 0, and the Fn + Num Lk combination
With Num Lock on, "Hotel" comes out as "H6te3": O types 6 and L types 3.
  1. Find the Fn key, bottom left, between Ctrl and the Windows key.
  2. Find the Num Lock key. It may say Num Lk, NumLock or show a padlock with a number. It's usually on F11, F12, Insert or in the top-right corner.
  3. Hold Fn and press that key once. Run the test again: U should type U.

If it turns on by itself every time you start the laptop, go into the BIOS (usually F2 or Del at startup) and look for NumLock or Boot Up NumLock State: set it to Off.

Close-up of a laptop keyboard with the secondary key functions printed in blue
The small blue symbols are the functions you get with the Fn key.

@ and " swapped, or £ instead of #: the keyboard layout

UK and US keyboards look almost the same, but several symbols are in different places. Windows can have both layouts installed and switches between them with two shortcuts that are very easy to hit while gaming: Alt + Shift and Win + Space.

  1. Look next to the Windows clock: if it says ENG with UK or US underneath, check it matches your keyboard.
  2. Press Win + Space. A list of installed layouts appears; pick the right one.
  3. To stop it happening again, remove the extra one: Settings → Time & language → Language & region, click the three dots next to your language → Language options and, under "Keyboards", remove the layout you don't use.
  4. If you have a second language installed that you don't use, remove it too. With a single layout installed, the shortcuts do nothing.

A quick way to tell them apart: a UK keyboard has a tall Enter key and a £ on the 3 key. A US keyboard has a wide, flat Enter key and # on the 3 key.

W, A, S, D act like arrow keys

Many gaming keyboards have a mode that swaps WASD with the arrow keys, meant for old games. It's turned on with a keyboard shortcut, usually Fn + W. Press it again to turn it off. If that doesn't work, search your keyboard model plus "WASD swap" in the manual or the maker's software (Logitech G HUB, Razer Synapse, Corsair iCUE…).

Related: if the Windows key does nothing, the keyboard's game mode is on, which blocks it so it can't kick you out of a game. It usually has a controller or padlock icon; turn it off with its key or Fn + Win.

Keys don't repeat, lag or "stick"

These are accessibility features that switch on when you press Shift 5 times in a row or hold it for 8 seconds (very easy in some games):

  • Sticky Keys: Shift, Ctrl or Alt stay "pressed" after you let go.
  • Filter Keys: ignore quick or repeated presses.

Turn them off in Settings → Accessibility → Keyboard. Inside each one, also turn off its keyboard shortcut so they don't switch on again by themselves.

Some keys do nothing

  1. Type "on-screen keyboard" in the Start menu and open it. Press the physical keys: the ones that work light up on screen.
  2. If it's a USB keyboard, try another port and another PC. If it fails the same way on another PC, it's the keyboard.
  3. On a mechanical keyboard, carefully pull off the keycap (with a keycap puller or two paper clips) and blow underneath with compressed air.
  4. If you spilled liquid, unplug it or turn the laptop off and leave it upside down for 48 hours before trying. Don't switch it on wet.

Frequently asked questions

Why does the keyboard layout change by itself?

Because you have more than one layout installed and you accidentally press Alt + Shift or Win + Space. With a single layout installed, it can't change.

How do I type @ on a UK keyboard?

With Shift + ' (the key next to Enter). On a US keyboard it's Shift + 2.

Could it be a virus?

Practically never. The symptoms in this guide are Windows or keyboard settings. A virus that types for you is extremely rare and would show other signs, such as programs opening by themselves.

If your case isn't in the test, tell us which key you press and what appears on screen via the contact page.

Still not fixed?

Email us at glitchfixesp@gmail.com with your device model, the exact error message and what you have already tried from this guide. We reply personally (in English or Spanish) and, if the issue keeps coming up, we add the new fix to the guide.

Send us your error

Related guides

See all PC & Windows guides