Keyboard Keys Not Working or Ghosting: How to Test and Fix
Quick answer: Start by pressing every key in a keyboard tester. If a key never lights up, it is dead, blocked or disabled by a setting such as Filter Keys. If keys work alone but drop out when you press several at once, that is ghosting, a limit of how many keys the keyboard can read together. Each has different fixes, below.
Quick test
Press every key, row by row. Keys light up as they register, and the page lists any you have not pressed yet.
Open the online keyboard testHow do I test which keys are not working?
- Open the online keyboard test and click once inside the page so it receives your key presses.
- Choose the layout that matches your keyboard: full-size, tenkeyless or laptop.
- Press every key once, row by row, including F-keys, arrows and the numpad.
- Check the list of keys not pressed yet. Any key you pressed that still shows there did not register.
- Watch for warnings about double presses, which point to a worn or bouncing switch.
Some keys are handled by the keyboard itself and never reach the browser, such as Fn and the media or brightness keys on many laptops. If only those seem dead, that is normal for any web tester.
What is the difference between a dead key, ghosting and rollover?
- Dead key: the key never registers, even on its own.
- Ghosting: pressing certain keys together makes the keyboard drop one, or report a key you did not press.
- Rollover: how many keys the keyboard can read at once. "6-key rollover" reads six; N-key rollover (NKRO) reads every key at once.
Most office and laptop keyboards share wires between keys in a grid, called a matrix. When three keys at the corners of a rectangle are held, the keyboard cannot tell whether the fourth corner is pressed, so it blocks some combinations. Gaming keyboards add a tiny diode to each key to stop that.
To check, hold down the keys you use together in games, such as W, A, Shift and Space, in the keyboard ghosting test. It shows how many keys register at once. Our guide on testing ghosting and rollover goes deeper.
Why do my keys only work when I hold them down?
That is almost always Filter Keys, a Windows accessibility feature that ignores short or repeated presses. It can switch on by accident if you hold the right Shift key for about 8 seconds.
- Open Settings → Accessibility → Keyboard.
- Turn off Filter keys.
- While you are there, turn off the keyboard shortcut for Filter keys if you keep triggering it.
Why do Shift, Ctrl or Alt stay on after I let go?
That is Sticky Keys, which keeps modifier keys pressed so you can type shortcuts one key at a time. Pressing Shift five times in a row turns it on. Turn it off in Settings → Accessibility → Keyboard → Sticky keys, and turn off its keyboard shortcut if games keep triggering it.
Why are my number keys or F-keys not working?
- Numpad does nothing: press Num Lock. With it off, the numpad works as arrow and navigation keys.
- F1 to F12 change volume or brightness instead: your laptop uses the top row for media keys first. Hold Fn with the F-key, or look for an Fn lock, often Fn + Esc. The exact key varies by maker.
- Windows key does nothing: many gaming keyboards have a Windows-key lock or "game mode" to stop accidental presses. Check for a lock light or key.
- Keys type the wrong symbols: the keyboard layout is wrong, not the keyboard. See keyboard typing wrong characters.
How do I fix keys that are physically dead or sticky?
- Clean under the key. Turn off or unplug the keyboard, tip it upside down and tap it, then use short bursts of compressed air at an angle around the dead key.
- Mechanical keyboards: pull the keycap with a keycap puller and clean around the switch. On hot-swappable boards, you can swap the switch with a spare.
- Laptop keys: be gentle. Laptop keycaps clip on with small plastic hinges that break easily, so use compressed air rather than prising them off.
- After a spill: unplug or power off at once, turn the keyboard upside down and let it dry for at least a day. Sugary drinks often leave keys sticky for good.
When is it a connection, driver or Windows problem?
- Several random keys fail at once, or the whole keyboard drops out: try a different USB port directly on the computer, a different cable, or fresh batteries for a wireless keyboard. Re-pair Bluetooth keyboards.
- Driver: in Device Manager, expand Keyboards, right-click your keyboard, choose Uninstall device and restart. Windows reinstalls it.
- Software: keyboard apps, macros or remapping tools can disable keys. Close them and test again.
- Hardware or software? Plug the keyboard into another computer, or test keys in your computer's BIOS or UEFI setup screen. If a key fails there too, it is the keyboard.
Should I replace the keyboard?
If a key stays dead after cleaning and works on no computer, the switch or the keyboard's circuit is damaged. On a desktop keyboard, replacing it is usually cheapest. On a laptop, check the warranty first, as the keyboard is often part of a larger panel. If ghosting is the problem for gaming, look for a keyboard that lists N-key rollover; our comparison of membrane and mechanical keyboards explains what to look for.
Sources: Microsoft — Keyboard shortcuts in Windows · USB-IF — Document library (HID specifications)
Frequently asked questions
Why are some keys on my keyboard not working?
Usually dirt under the key, a setting such as Filter Keys, Num Lock or an Fn lock, or a loose connection. Test every key online, then clean the dead keys and check Settings → Accessibility → Keyboard.
How do I test my keyboard for dead keys?
Open a keyboard tester, click inside the page and press every key row by row. Keys that never light up did not register.
What is keyboard ghosting?
Ghosting is when pressing several keys together makes the keyboard drop one or report a key you did not press. It comes from how keys share wires in a matrix.
What is N-key rollover?
N-key rollover (NKRO) means the keyboard can read every key at once, however many you press. Keyboards without it are limited to a smaller number, such as six.
How do I turn off Filter Keys in Windows 11?
Open Settings → Accessibility → Keyboard and turn off Filter keys. Turn off its keyboard shortcut too if you keep triggering it by holding the right Shift key.
Why do my keys only work when I press hard or hold them?
Filter Keys is the usual cause. If it is off, dirt or a worn switch under the key is likely. Clean it with compressed air.
Test it yourself: Keyboard Test · Keyboard Ghosting Test · Typing Test