How to Fix a Keyboard Typing the Wrong Characters on Windows 11 [Fix]

How to Fix a Keyboard Typing the Wrong Characters on Windows 11 [Fix]

A keyboard typing the wrong characters on Windows 11 is almost always a setting, not a broken keyboard. The fix depends on the symptom: letters turning into numbers points to Num Lock, swapped symbols point to the wrong keyboard layout, and doubled or missed letters point to Filter Keys, an accessibility setting. Match your symptom in the table below, jump to the matching section, and work through it in order. The steps were checked against Microsoft support pages for current Windows 11 builds, including version 26H2.

Start with the symptom, then jump to the right fix

Four symptoms cover almost every case. Find the row that matches what you see, and go to the section it names. If two rows match, start with Num Lock: it is the most common cause and the quickest to rule out.

Diagram matching four keyboard symptoms to their causes: letters typing numbers means Num Lock is on, swapped symbols means the layout is wrong, doubled or missing letters means Filter Keys may be on, and repeating keys means Fn Lock or a stuck key
What you seeMost likely causeGo to
Letters type numbers, such as U, I, O, J, K, L typing 4, 5, 6, 1, 2, 3Num Lock is on, turning part of the letter keys into a number padTurn Num Lock off
Symbols are swapped, such as @ and ” trading placesThe keyboard layout does not match the keyboardCheck the keyboard layout
Letters double, or keys are skipped and typing feels slowFilter Keys is on, making Windows ignore brief or repeated pressesTurn off the accessibility keys
A key repeats on its own, or a press opens a menu instead of typingFn Lock is on, or a key is stuck or wornCheck Fn Lock, then the repeating key

Open Notepad before you start, and type a few words there after each fix. Notepad shows exactly what the keyboard sends, so you can tell at once whether a fix worked. If the keyboard is too unreliable to type with, press the Windows key plus Ctrl plus O to open the On-Screen Keyboard and click its keys with the mouse.

Turn Num Lock off when letters type numbers

Many laptops have no separate number pad, so part of the letter keys does a second job as one. When Num Lock is on, that block types numbers instead of letters: U types 4, I types 5, O types 6, J types 1, K types 2, L types 3, and M types 0. The rest of the keyboard keeps working normally, which is the giveaway.

  1. Find the Num Lock key, labelled NumLk, Num Lk, or Nm Lk, often in the top right of the keyboard, or sharing a key with Scroll Lock or Insert.
  2. Press Num Lock once. On a full-size keyboard with its own number pad, that is all there is to it.
  3. If the key is a secondary function of another key, hold Fn and press Num Lock together.
  4. Look for a small light on the key. The light going out means Num Lock is off.
  5. Type a few words in Notepad. U, I, O, J, K, and L should type letters again.

If the letters still type numbers, press the key once more and test again. It is easy to press it twice by accident and switch it back on. Some laptops keep Num Lock on after a restart, so if the problem returns each morning, check the key first. A compact keyboard with no Num Lock key can be switched from the On-Screen Keyboard.

Check Fn Lock, the lock people confuse with Num Lock

Num Lock and Fn Lock sound alike and sit near each other on many laptops, so guides often mix them up. Num Lock controls the number pad hidden in the letter keys. Fn Lock controls the top row, swapping it between F1 to F12 and the media keys printed on the same row, such as volume and brightness. Fn Lock never turns letters into numbers, so if U, I, O, J, K, and L type numbers, the previous section is the fix.

See also  How to Check What Type of RAM You Have: DDR4 or DDR5 (3 Ways)
Diagram comparing Num Lock and Fn Lock: Num Lock turns part of the letter keys into a number pad, while Fn Lock swaps the top row between F1 to F12 and media keys

Fn Lock causes trouble in a different way. With it on, the top row behaves as media keys, so pressing what looks like F5 may change the volume instead, and a key press can trigger a menu or a shortcut instead of typing. A 0 key or a Ctrl key opening a menu is one example. If a key press does something other than type, check Fn Lock.

  1. Press Fn plus Esc together. On most laptops this toggles Fn Lock on and off.
  2. Look for a small light on the Fn key or on the Esc key. Some laptops show a light when Fn Lock is on.
  3. Test the top row. Press F5 in a browser: if the page reloads, the function keys are active, and if the brightness changes, the media keys are active.
  4. If Fn plus Esc does nothing, the combination is different on your model. Try Fn plus Caps Lock, or a dedicated Fn Lock key. Check the small print on your keys, or the support page for your laptop model.

Check the keyboard layout when symbols are swapped

A keyboard layout is the map Windows uses to decide which character each key types. When the layout does not match the keyboard, the letters still appear in the right places, but the symbols move. The classic example is a US layout on a UK keyboard, where @ and ” trade places: pressing Shift plus 2 types ” instead of @. A French AZERTY layout swaps Q and A.

The layout can change by itself. Windows switches layouts when you press the Windows key plus Space, and that shortcut is easy to hit by accident. Extra layouts also arrive with language packs.

Switch the layout back with Win plus Space

  1. Hold the Windows key and tap Space once. A small switcher appears showing the installed layouts.
  2. Keep holding the Windows key and tap Space again until the layout matching your keyboard is highlighted.
  3. Release the keys, then type in Notepad. Press Shift plus 2 and check whether @ appears.
  4. Look at the taskbar, near the clock. It shows a language code such as ENG for the layout in use. If the code is not the one you expect, press the Windows key plus Space again.

If pressing the Windows key plus Space does nothing, only one layout is installed, so the installed layout itself must be wrong. Move on to the check below.

Check which layouts are installed and remove the extras

Diagram of the layout check path: open Settings, Time and language, Language and region, then Language options, then look under Keyboards to confirm the layout matches the keyboard
  1. Open Settings, then select Time and language, then Language and region.
  2. Find your language at the top of the list: it decides the layout Windows uses.
  3. Select the three-dot More options next to that language, then select Language options.
  4. Under Keyboards, look at the layout listed there. It should match the keys printed on your keyboard, such as US QWERTY for a US keyboard.
  5. If the layout you need is missing, select Add a keyboard next to Installed keyboards and pick it. If it is not listed under this language, open the Language options of the language that matches it instead.
  6. Remove any layout you do not use. Select the three dots next to it under Keyboards, then select Remove. With only one layout installed, the Windows key plus Space shortcut cannot switch you to the wrong one again.
  7. Switch to the correct layout with the Windows key plus Space, then test the symbols in Notepad.

Microsoft documents the full layout settings in its own guide at Microsoft Support: Manage the language and keyboard input layout settings in Windows. Changing the layout only changes which character each key types, not the language of the Windows menus.

Turn off Sticky Keys, Filter Keys, and Toggle Keys

Windows has three accessibility settings that change how the keyboard behaves, and all three live on the same page: Settings, then Accessibility, then Keyboard. They are useful for people who need them, but they are easy to switch on by accident, because each one has a keyboard shortcut that turns it on.

See also  How to Fix Computer Speakers Not Working: Step-by-Step Troubleshooting Guide
SettingWhat it doesHow it gets switched on by accidentSymptom it causes
Sticky KeysLets you press shortcut keys one at a time instead of holding them togetherPressing Shift five timesShortcuts behave oddly
Filter KeysMakes Windows ignore brief or repeated pressesHolding right Shift for eight secondsTyping feels laggy, or letters are missed or doubled
Toggle KeysPlays a sound when Caps Lock, Num Lock, or Scroll Lock is pressedHolding Num Lock for five secondsA beep sounds each time a lock key is pressed

Filter Keys is the one that matters most here. It tells Windows to ignore brief presses and repeated presses, so a quick tap on a key may type nothing at all. If letters keep going missing, check Filter Keys first. Our guide to turning off Filter Keys on Windows 11 covers that setting on its own.

  1. Open Settings, then select Accessibility, then Keyboard.
  2. Switch Sticky keys off, then Filter keys off, then Toggle keys off.
  3. Open each setting and turn off its keyboard shortcut too, so the setting cannot switch itself back on the next time you lean on Shift or hold Num Lock.
  4. Type a few sentences in Notepad. Letters should appear at once, with no missed or doubled characters.

Microsoft lists every accessibility keyboard shortcut in its own reference at Microsoft Support: Windows keyboard shortcuts for accessibility. If you rely on one of these features, leave that one on and turn off only the others.

Open the On-Screen Keyboard while you fix the physical one

While the physical keyboard types the wrong characters, you still need to type: to open Settings, to search for a fix, or to type a password. The On-Screen Keyboard is a built-in keyboard that appears on screen, and you click its keys with the mouse or the touchpad.

  1. Press the Windows key plus Ctrl plus O.
  2. If that shortcut does nothing, open Settings, then Accessibility, then Keyboard, and turn on On-Screen Keyboard.
  3. Click the keys with the mouse to type. Click a key and hold it briefly for the shifted character.
  4. Close the On-Screen Keyboard by selecting the X in its top right corner once the physical keyboard types correctly again.

The On-Screen Keyboard is a workaround, not a fix. Use it to get through the steps in this guide, then turn it off once the physical keyboard behaves. If it types the correct characters while the physical keyboard does not, the physical keyboard itself is the problem.

Fix a key that repeats or a letter that appears twice

A letter appearing twice from one press has three likely causes, in this order: Filter Keys, the key repeat settings, and a worn or dirty key. Check them in that order.

  1. Check Filter Keys first, using the steps in the accessibility section above.
  2. Check the key repeat settings. Press the Windows key plus R, type control keyboard, and press Enter. On the Speed tab, move Repeat delay toward Long and Repeat rate toward Slow, then test in the box and select OK.
  3. Test in Notepad. If the same key doubles in every app, the cause is in Windows or the keyboard. If it doubles in only one app, that app is handling the key itself.
  4. Consider a worn or dirty key. Turn the laptop off and unplug it, then blow compressed air under the keys around the problem key. Do not pry a key cap off a laptop keyboard.

If liquid was spilled on the keyboard, shut the laptop down at once, unplug it, and do not switch it back on to test it. Leave the lid open, turn it upside down over a towel to drain, and take it to a technician.

See also  How to Fix an External Drive Not Showing Up on Windows 11 [Fix]

Update or reinstall the keyboard driver

Do the driver steps only after the setting checks above, because a driver problem is less common than a wrong setting, and reinstalling a driver will not fix Num Lock, Fn Lock, or the wrong layout. If the wrong characters started right after a Windows update, the driver is worth checking.

  1. Type Device Manager in the search box on the taskbar, then open it.
  2. Select the arrow next to Keyboards to expand the list.
  3. Right-click your keyboard in the list, then select Update driver.
  4. Select Search automatically for drivers. If Windows finds a newer driver, let it install, then restart and test the keyboard.
  5. If updating changes nothing, right-click the keyboard again and select Uninstall device, then restart the PC. Windows installs a fresh copy during startup.
  6. Test the keyboard in Notepad after the restart. If the characters are still wrong, the driver was not the cause.

If Device Manager shows a yellow warning triangle next to the keyboard, or the keyboard is missing from the list, the driver or the connection is at fault. Uninstalling and restarting is the right step there. Get drivers only from Windows Update or from your PC maker, never from a third-party driver site.

Test with an external keyboard to settle hardware or software

When every setting checks out and the characters are still wrong, one test settles whether the problem is in the keyboard or in Windows. Plug in a USB keyboard, or pair a Bluetooth keyboard, and type the same characters.

  • If the external keyboard types normally, the built-in keyboard likely has a hardware problem. The settings and the layout are fine, because the same Windows types correctly through another keyboard.
  • If the external keyboard shows the same wrong characters, it is almost certainly a software or layout setting. A fault in one keyboard cannot make a second keyboard type the same wrong characters.
  • If the external keyboard types normally but the built-in keyboard still types numbers, check Num Lock once more, because the external keyboard may have switched it when it was plugged in.

A keyboard with more than one fault is more likely to be a hardware problem. If dead keys come with a backlight that never lights up, for example, the keyboard itself is the suspect. Our guide to the laptop keyboard backlight not working on Windows 11 covers that symptom on its own.

When to book a repair instead of trying more fixes

Some keyboard faults cannot be fixed in Settings. Book a repair when the external keyboard test points to the built-in keyboard, when keys are physically stuck or loose, when a spill reached the keyboard, or when the same keys fail after a clean driver reinstall. If the laptop is still under warranty, do not open it or pry keys off, because that can void the warranty. Tell the repair shop the symptom and the test result, because that result points to hardware.

Most keyboards typing the wrong characters on Windows 11 come back with one of three quick fixes: Num Lock switched off, the right layout selected, or Filter Keys switched off. Find your symptom in the table at the top and fix that one thing. If the external keyboard test says hardware, stop chasing settings and book the repair.

David Coleman
Scroll to Top