Keyboard Typing Wrong Characters? Fix It Fast (2026)
You press the @ key and get quotation marks. The u, i, and o keys suddenly type numbers. Or every letter comes out fine except the ones you need right now. A keyboard that types the wrong characters feels like a hardware failure, but nine times out of ten it is a settings problem — a layout switch, a Num Lock state, or a driver that needs a nudge. Work down this list in order; the first two fixes solve most cases in under two minutes.
Step 1: Check the Keyboard Layout and Input Language
This is the classic cause of the "wrong symbols" problem. Different countries arrange their keyboards differently — the UK layout puts the @ on a different key than the US one, and French AZERTY layouts shuffle the top letter row entirely. If Windows or Mac is set to the wrong layout, every key types its neighbor's symbol.

On Windows:
- Press Windows key + Spacebar to cycle through installed input languages — many people switch layouts by accident with this exact shortcut.
- Look at the taskbar's bottom-right corner: a small code like ENG or FRA shows the active layout. Click it and pick your real language.
- To remove layouts you never use, go to Settings → Time & language → Language & region, click the three dots next to a language you do not want, and remove it or its extra keyboard.
On Mac: go to System Settings → Keyboard → Input Sources and make sure only your actual layout is listed. Also untick anything that lets a stray keypress switch layouts.
A quick test: open a site like keyboardtester.info or just type every letter in a document and compare against the characters printed on your keys. If the pattern is consistently "shifted" rather than random, layout is your answer.
Step 2: Turn Off Num Lock and Fn Lock (Laptops)
If letter keys are typing numbers — the famous "uio jkl m" problem — your laptop is in Num Lock mode. Many compact laptops share a hidden numeric keypad with the letter keys, and one pressed key combination turns it on.
- Find the Num Lock key (often labeled NumLk, or sharing a key with F11, ScrLk, or Insert). Press Fn + NumLock to toggle it off.
- If numbers appear when you hold Fn and press letter keys, the Fn Lock is enabled instead — toggle it with Fn + Esc or Fn + Caps Lock, depending on the brand.
- On some laptops, plugging in an external full-size keyboard and rebooting once resets this state by itself.
Desktop users with a numeric keypad who see nothing when typing numbers: that is also Num Lock, just the reverse case — turn it on.
Step 3: Clean the Keyboard — Sticky and Phantom Keys
If one specific key repeats, doubles, or refuses to register, crumbs and sticky residue are the usual suspects. A key trapped slightly down registers twice; a key with debris under it may trigger its neighbor's sensor.
- Shut the computer down, hold the keyboard at an angle, and shake it gently — you will be surprised what falls out.
- Blast between the keys with compressed air in short bursts.
- For keys that still misbehave, test whether the problem is mechanical: open Notepad and press each problematic key slowly. If a slow press types correctly but a fast one repeats, cleaning usually finishes the job.
On desktop keyboards with removable keycaps, you can pop a problem keycap off with a flat tool and clean under it. On most modern laptops, do not pry keycaps off — the scissor mechanisms snap easily. Compressed air and a slightly damp (not wet) microfiber cloth are as far as you should go.
Step 4: Restart and Reinstall the Keyboard Driver (Windows)
Keyboard input runs through a driver, and drivers occasionally glitch — after a Windows update, after sleep mode, or for no visible reason at all. Reinstalling it takes a minute and fixes repeated typing errors that cleaning did not:
- Right-click the Start button and open Device Manager.
- Expand Keyboards, right-click your keyboard entry (usually "Standard PS/2 Keyboard" or "HID Keyboard Device"), and choose Uninstall device.
- Restart the PC. Windows rebuilds the keyboard driver automatically during boot.
If an external USB keyboard types wrong characters, also try a different USB port — and avoid front-panel ports and hubs for this test, plugging directly into the PC. A failing USB port can mimic a failing keyboard perfectly. For wireless keyboards, replace the batteries and re-pair the dongle before blaming the driver.
Step 5: Rule Out Software That Remaps Keys
Sometimes the keyboard is innocent and a program is rewriting its output:
- Macro and remapping tools (AutoHotkey scripts, PowerToys Keyboard Manager, gaming software like Razer Synapse or Logitech G Hub) can remap keys silently — check whether one is running with an old profile loaded.
- Sticky Keys and Filter Keys (Windows accessibility features) change how presses register. Search "Sticky Keys" in Settings and make sure both are off unless you use them deliberately.
- Remote-control software left connected, or a stuck virtual keyboard session, can intercept input. Close any remote desktop clients and test again.
A clean way to separate hardware from software: boot into the BIOS/UEFI screen (tap F2, Del, or Esc while the machine starts) and type there. If characters are wrong even in the BIOS, the problem is hardware or firmware-level. If they are correct in BIOS but wrong in Windows, the fault is in software — go back to step 4.
Wrong-layout symbols point to step 1. Numbers instead of letters point to step 2. One stubborn key points to step 3. Everything, everywhere, all at once points to the driver or remapping software — steps 4 and 5.
Step 6: When It Really Is Hardware
If the BIOS test shows wrong characters, the same physical key misbehaves after a full driver reinstall, or the keyboard took a spill (coffee is the classic culprit), the hardware is likely damaged. Liquid damage shows up days later as rows of dead or scrambled keys, not just the one you spilled on. At that point: for desktops, a replacement keyboard costs very little and plugs in via USB. For laptops, an external keyboard gets you working immediately while you price an official replacement — internal keyboard replacement on a laptop is a repair-shop job on most models, since it usually means disassembling the top case.
Quick Checklist
- Windows + Spacebar cycled; unwanted layouts removed in settings
- Num Lock and Fn Lock toggled off (laptops typing numbers)
- Keyboard shaken out and air-blasted; slow-press test done
- Keyboard driver uninstalled and rebuilt via Device Manager
- Remapping and accessibility features ruled out; BIOS test performed
- Liquid damage or BIOS-level errors → external keyboard now, replacement later
Start with the layout check — it takes ten seconds and is the answer more often than any other. From there, each step narrows the fault: settings, then dirt, then software, then hardware. Most "broken" keyboards are fixed before step 4, and the ones that are not are at least diagnosed with certainty instead of guesswork.
Know Which Symptom You Actually Have
"Typing the wrong characters" describes four different faults, and the fix is completely different for each. Identify the pattern first.
| Symptom | Almost always | Fix |
|---|---|---|
| One specific key always produces a different character | The keyboard layout is wrong, or the key is stuck | Steps 1 and 3 |
| Letters come out shifted (uppercase when you want lowercase) | Caps Lock is on, or Shift is stuck | Step 2 |
| Numbers come out as symbols | Num Lock is on, or a bad keyboard layout | Step 2 |
A second distinction matters: does it happen on every keyboard you connect, or only on the built-in one? If the on-screen keyboard shows the correct character when you click it, the problem is in the hardware or the physical keyboard, not in Windows' text input. Open the on-screen keyboard with Win + Ctrl + O and test.
Step 1 in Detail: The Layout Setting That Causes Most of This
Windows maps physical key positions to characters using a layout, and the wrong layout is the most common cause of this complaint. A US keyboard with a UK layout produces ; where you expect : and " where you expect ' — and the user often describes this as "the keyboard is broken" rather than "the layout is wrong".
Open Settings → Time & language → Language & region → English (United States) → Language options → Keyboards. You will see the installed layouts and the one currently active is marked. If more than one is installed, remove the ones you do not use: click the three dots next to a layout and choose Remove.
Then check the US English entry's Microsoft Keyboard Layout setting. This is a separate thing from the input language, and it is where the real answer usually is. Select it, then click Layout options and confirm it is set to English (US) and not something like "US-Dvorak", "Colemak" or "English (International)".
Two related settings in the same place are worth knowing:
- Advanced keyboard settings under Settings → Time & language → Typing has Override for input method, which forces a specific layout regardless of the input language. It is a common source of confusion because it silently ignores your input language choice.
- Use the Unicode hex input and the Character Map are for entering unusual characters, and are unrelated to this fault.
Step 2: Turn Off Num Lock and Fn Lock
On most laptops, a dedicated Num Lock key makes the number row produce calculator symbols instead of digits. Fn Lock is the more common culprit: it flips the function of the top-row keys, and depending on the manufacturer it can swap the F-keys with brightness, volume and the numeric keypad, or change what the arrow keys do.
On most laptops, Fn + Num Lock or Fn + Scr Lock toggles it. Some Lenovo and Dell models use Fn + Esc. The behaviour is inconsistent between manufacturers, which is why the reliable test is simply: press the key that is labelled with the lock symbol, or use the function key combination, and see whether the character changes.
If Caps Lock seems stuck, it may genuinely be on — a light on the key usually indicates this — or the key may be physically stuck, in which case the character is stuck regardless of what the operating system thinks.
One related setting worth checking: Settings → Accessibility → Keyboard → Sticky Keys. If Sticky Keys is enabled, pressing a modifier locks it, and a Shift that appears stuck is often Sticky Keys rather than a mechanical problem. Sticky Keys also pops up a dialog on startup, which some people dismiss without noticing it is on. It is at Settings → Accessibility → Keyboard and also under Control Panel → Accessibility → Ease of Access → Keyboard.
Step 3: Clean the Keyboard and Fix Sticky and Phantom Keys
Debris under a key is the most common physical cause, and it produces exactly the reported symptom: one key that always produces something different, because a piece of dust is holding the contact closed or keeping the key from rising fully.
Fix it by:
- Turning the keyboard off and disconnecting it if possible.
- Using a soft brush or a vacuum with a brush attachment across the keys.
- For a specific stuck key, removing the keycap — on most laptop keyboards the cap clips off with a flat tool — and cleaning underneath. On a desktop, a keycap puller makes this easy; on a laptop the mechanism is usually a scissor assembly that can be lifted carefully with a plastic tool.
- For a liquid spill, turning the laptop upside down immediately, and not trying to clean it while powered. Sugar in a keyboard continues to corrode long after the visible mess is gone.
A "phantom" character appearing with no key pressed at all is a different fault: a failing keyboard controller, a stuck key, or in rare cases a hardware failure on the keyboard's flex cable. If the character appears in every application including the login screen, the fault is at the hardware level.
Step 4: Restart and Reinstall the Keyboard Driver
On Windows, open Device Manager and expand Keyboards. Right-click the keyboard entry and choose Uninstall device, then restart. Windows reinstalls a generic driver automatically, which resolves the cases where a driver update broke something.
If the keyboard is not listed under Keyboards, look under Human Interface Devices. For a laptop with a numeric keypad, the embedded keypad has its own entry, and both may need attention.
If the fault appeared after a Windows update, check Settings → Windows Update → Update history and uninstall the most recent quality update to test. Hardware failures frequently follow an update, because the update changes the power and timing behaviour the driver relies on.
Step 5 in Detail: The Software That Remaps Keys
Several categories of software remap keys, and all of them produce this symptom:
- Sticky Keys, Filter Keys and the on-screen keyboard in Settings → Accessibility → Keyboard. Check all of them.
- PowerToys Keyboard Manager — Microsoft PowerToys can remap keys and shortcuts, and it is a common reason a key does something unexpected after a reinstall.
- AutoHotkey scripts and similar automation tools, including those installed by other software.
- Remote desktop software and terminal multiplexers, which can capture and translate keystrokes.
- Non-English input methods installed for other languages, which can change what a key produces even while the layout looks correct. The Win + Space shortcut shows which one is active.
The fastest way to narrow this down is to press Win + Space and cycle through every installed input language while typing the affected character. If it produces the right character under one of them, you have found the cause.
And a test that separates hardware from software in one step: boot into BIOS Setup with F2 or Del at startup and type in the BIOS text fields. If the wrong character appears there too, no Windows setting is responsible — it is the keyboard, the layout at the firmware level, or a stuck key.
Part of a collection
This guide belongs to our Peripherals and hardware collection (13 guides on the same problem).
Editorial review
- First published
- Last reviewed
- Applies to
- Windows 10 and 11, macOS 13 and later
- Reviewed by
- The TechFix Guide editorial team
Corrected the language settings path and added the Sticky Keys filter explanation.
Menu paths, option names and file paths in this guide were checked against the version named above. We do not claim to have tested every brand of hardware, so if your build shows something different, tell us and we will correct the page. How we check our guides · Report an error