Home › Guides › Input › Keyboard Keys Not Working or Ghosting

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 test

How do I test which keys are not working?

  1. Open the online keyboard test and click once inside the page so it receives your key presses.
  2. Choose the layout that matches your keyboard: full-size, tenkeyless or laptop.
  3. Press every key once, row by row, including F-keys, arrows and the numpad.
  4. Check the list of keys not pressed yet. Any key you pressed that still shows there did not register.
  5. 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?

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.

Diagram of a three-by-three key matrix. Three keys are held at the corners of a rectangle, and current returning through the fourth corner makes the controller read a key nobody pressed, so it suppresses one that was.
Three held keys can complete a circuit through a fourth, so the controller cannot tell which was really pressed. A diode on each key blocks that path.

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.

  1. Open Settings → Accessibility → Keyboard.
  2. Turn off Filter keys.
  3. 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?

How do I fix keys that are physically dead or sticky?

  1. 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.
  2. 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.
  3. Laptop keys: be gentle. Laptop keycaps clip on with small plastic hinges that break easily, so use compressed air rather than prising them off.
  4. 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?

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

Found an error on this page, or a result that does not match your hardware? Tell us and we will correct it.

About the author: Jayadeep is a web developer with experience in browser APIs and hardware diagnostics. He built Test Your Device to give people a fast, private way to check whether their hardware actually works — no downloads, no accounts, and no test data uploaded.