If pressing letters produces numbers or symbols, the keyboard is almost certainly fine. Something between the key and the screen is translating the press: a numeric keypad overlay, a stuck Shift, or a layout that does not match the keys. Each has a one-line fix.
Match the symptom to the cause
| What you see | Cause | Fix |
|---|---|---|
| U I O J K L M type 4 5 6 1 2 3 0 | Num Lock overlay on a laptop | Fix 1 |
| Number row types ! @ # $ instead of 1 2 3 4 | Shift stuck or Sticky Keys | Fix 2 |
| Letters come out as other letters (Q types A, W types Z) | Wrong layout (AZERTY, QWERTZ, Dvorak) | Fix 3 |
| Letters get accents (a becomes á) or a key does nothing until the next press | Dead keys on the US-International layout | Fix 4 |
| Keys type Cyrillic, Greek or Arabic | A language keyboard is active | Fix 3 |
| Random symbols, changing over time | Driver, liquid or hardware | Fix 5 |
Press a few keys in the tester above. It shows what the computer receives, which makes the cause obvious.
Fix 1: Turn off the Num Lock overlay
Compact laptops without a numeric keypad hide one under the right-hand letters. When Num Lock is on, those letters type numbers.
Press one of these combinations, depending on your laptop:
- Fn+Num Lock (the key may be labeled NumLk or Num and share a key with Scroll Lock or Insert)
- Fn+F11 on many HP, Lenovo and Acer models
- Fn+Insert on some ThinkPads
- Shift+Num Lock on a few older models
On a full-size external keyboard, just press Num Lock. If your keyboard has no Num Lock key at all, open the on-screen keyboard (Win+Ctrl+O), click Options, enable the numeric keypad, and click its NumLock key.
Fix 2: Release a stuck Shift or Sticky Keys
If numbers type their symbols and letters come out capitalized, the system believes Shift is held.
- Tap both Shift keys once each. Tap Ctrl, Alt and the Windows key too.
- Turn off Sticky Keys: Settings → Accessibility → Keyboard on Windows, System Settings → Accessibility → Keyboard on a Mac.
- Check Caps Lock, which capitalizes letters but does not affect numbers.
How to turn Sticky Keys off explains the shortcut that keeps turning it on.
Fix 3: Switch to the right layout
A layout change rearranges the keys. The classic signs are Q and A swapped (French AZERTY), Z and Y swapped (German QWERTZ), or a completely scrambled alphabet (Dvorak or Colemak).
- Windows: press Win+Space to cycle layouts, or go to Settings → Time & Language → Language & region, open your language’s options and remove layouts you do not use. Alt+Shift also switches layouts and is easy to hit by accident.
- Mac: click the input menu in the menu bar or press Control+Space. Remove extra input sources under System Settings → Keyboard → Input Sources.
- Chromebook: press Ctrl+Space, or manage layouts under Settings → Device → Keyboard.
If you want a layout for another language but not by accident, our language keyboards let you type the characters on screen instead; the Russian keyboard and Greek keyboard are examples.
Fix 4: Dead keys on US-International
The US-International layout turns the apostrophe, quote, backtick, caret and tilde into dead keys. Pressing ’ then e gives é; pressing ’ then a space gives a plain apostrophe. If your quotes seem to vanish and then appear on the next letter, this is why.
Switch to the plain US layout with Win+Space, or keep US-International and press Space after the dead key when you want the plain symbol. The accent keyboard lists what each dead key combination produces.
Fix 5: Hardware and drivers
If the tester shows keys registering as random or unrelated characters:
- Reinstall the driver. Device Manager → Keyboards → right-click → Uninstall device → restart.
- Check for liquid. A spill can short adjacent traces so one press sends two or more keys. Dry it fully.
- Test another keyboard. If an external keyboard types correctly, the built-in one is faulty.
- Ribbon cable. On laptops, a partly unseated keyboard cable produces exactly this kind of scrambled output.
Laptop Num Lock combinations by brand
| Brand | Usual combination | Notes |
|---|---|---|
| HP | Fn+F11, or a dedicated Num Lk key on 15-inch and larger models | Some models show an on-screen indicator |
| Lenovo ThinkPad | Fn+F11 or Shift+Scroll Lock on older models; many recent ThinkPads have no overlay | Check for a NmLk label on the key |
| Lenovo IdeaPad | Fn+F11 or Fn+Insert | |
| Dell | Fn+F11, or Num Lock on the F11 key without Fn | Dell Inspiron 15 models have a full keypad |
| Asus | Fn+Insert (the Insert key is labeled NumLk) | |
| Acer | Fn+F11 | |
| MSI | Fn+Num Lock, often on Insert or a top-row key | |
| Microsoft Surface | No overlay; use the on-screen keyboard | |
| Apple MacBook | No overlay and no Num Lock; letters never type numbers |
If none of these work, open the on-screen keyboard with Win+Ctrl+O, click Options, enable the numeric keypad and click its NumLock key. The state applies to the physical keyboard.
A quick way to see the active layout
On Windows 11 the language abbreviation (ENG, FRA, DEU) sits in the taskbar next to the clock whenever more than one layout is installed. Click it to see and switch layouts. If no abbreviation shows, only one layout is installed and a layout mismatch is not your problem. On a Mac, turn on Show Input menu in menu bar under System Settings → Keyboard → Input Sources to get the same indicator.
Troubleshooting flow
- Watch the tester to see what the computer receives.
- Letters typing numbers: Fn+Num Lock.
- Numbers typing symbols: tap Shift keys, turn Sticky Keys off.
- Letters rearranged or another script: switch layout with Win+Space, Control+Space or Ctrl+Space.
- Vanishing quotes and surprise accents: leave US-International or press Space after the dead key.
- Random garbage: driver, liquid, cable, or another keyboard.
Related
- Keyboard typing wrong characters
- Num Lock not working
- Where is the Num Lock key
- How to change keyboard language in Windows
Frequently asked questions
Why does my laptop type 4 when I press U? +
The numeric keypad overlay is on. U, I, O, J, K, L and M double as 4 to 9 and 0 on many laptops. Press Fn+Num Lock (sometimes Fn+F11 or Fn+Insert) to turn it off.
Why does my keyboard type symbols when I press number keys? +
Usually a stuck Shift or Sticky Keys, which makes every number key type its shifted symbol. Tap both Shift keys and turn Sticky Keys off.
Why does my keyboard type é instead of a? +
The layout is set to a language with a different arrangement, or a dead key is active on the US-International layout. Switch layouts with Win+Space and check for dead keys.
My keyboard types the wrong letters entirely. Is it broken? +
Probably not. A wrong layout such as Dvorak or a different language rearranges the letters. Check the active layout before assuming hardware.
Can malware make a keyboard type symbols? +
It is rare. Layout changes and stuck modifiers explain almost every case. If nothing else fits and the behavior is erratic, run a scan, but check Num Lock and the layout first.