Keyboard not working?
Press a few keys. What lights up tells you which fix you need.
Connect a keyboard
This test needs a physical keyboard. Pair a Bluetooth keyboard or plug in a USB one, then press any key: the map appears. The on-screen keyboard can't be tested because it doesn't send real key events.
Held now · rollover
Ghosting check: hold W A S D, then add Shift and Space. If a held key doesn't light up, the keyboard can't register that combination.
Key log
- codekeyheld
- Progress
- –
- Most held at once
- –
- Last key
- –
- Chatter
- –
- Layout
- –
Runs on this device. Nothing is uploaded or stored. No sign-up. How it works
Works in Any desktop browser. Testing a phone or tablet? You need a Bluetooth or USB keyboard.
Three answers the test gives you
- Nothing lights up. The computer isn't receiving anything from the keyboard. The problem is the connection, the power, or the keyboard itself, not a setting. Go to No keys work.
- Some keys light up, others stay white. The keyboard is connected and talking. The white keys are dirty, damaged or on a failing circuit. Go to Some keys don't work.
- Every key lights up, but typing still fails in your app. The hardware is fine. A setting or the app is eating the key presses. Go to Every key lights up here.
The box under the tester updates as you press keys and links to the matching fix.
Thirty-second checks first
- Restart the computer. It sounds lazy, but a hung input driver or a stuck modifier key (Ctrl or Alt held down in software) is cleared by a restart more often than anything else.
- Look for a lock or a switch. Many wireless keyboards have an on/off switch on the underside, and some gaming keyboards have a Windows-key lock or a "game mode" that disables keys.
- Press Num Lock if only the numpad is dead, and Fn + Esc or the Fn Lock key if only the F-keys are wrong.
- Try the keyboard on another computer, or another keyboard on this one. That one swap tells you whether to fix the keyboard or the computer.
No keys work
Wired USB keyboard
- Unplug it, wait five seconds, plug it into a different USB port, directly on the computer (not a hub, dock or monitor port).
- Watch the Caps Lock light when you press Caps Lock. If the light never changes, the keyboard isn't getting power or data.
- Try another cable if the keyboard has a detachable one. USB-C cables that only charge are a common catch.
Wireless keyboard (USB receiver)
- Replace or charge the batteries; low batteries cause missed and laggy keys long before the keyboard dies.
- Move the receiver to a front USB port or use an extension cable so it's within a metre of the keyboard. USB 3 ports and Wi-Fi routers can interfere with 2.4 GHz receivers.
- Re-pair it with the maker's app (Logitech Options+ or Unifying/Bolt, Microsoft Mouse and Keyboard Center, and so on).
Bluetooth keyboard
- Turn Bluetooth off and on, then remove the keyboard from your device list and pair it again.
- Make sure it isn't still paired to another device (a tablet or phone nearby will grab it first). Many keyboards have numbered channel keys for switching.
Windows
- Settings → Accessibility → Keyboard: turn off Filter Keys (it ignores short presses, which looks like a dead keyboard) and Sticky Keys.
- Device Manager → Keyboards: if the keyboard shows a warning sign, right-click → Uninstall device, then restart; Windows reinstalls it.
Mac
- System Settings → Accessibility → Keyboard: turn off Slow Keys. Under Pointer Control, turn off Mouse Keys, which takes over parts of the keyboard.
- System Settings → Bluetooth: remove and re-pair a Magic Keyboard, or connect it with its USB cable for a minute to re-pair automatically.
Chromebook
- Sign out and back in, then restart. If the built-in keyboard is dead, a hard reset (hold Refresh + Power) usually brings it back.
Some keys don't work
If the tester lights up most keys but a few stay white, the keyboard is connected and the computer is fine. The fault is under those keys:
- Debris: turn the keyboard upside down and tap it, then blow compressed air under the dead keys at an angle.
- Liquid: a spill often kills a row or block of keys at once. Unplug it, turn it upside down and let it dry for 48 hours before trying again.
- One row or one side: that's a broken trace or a loose internal cable. On a desktop keyboard, replacement is usually cheaper than repair.
The some keys not working guide reads the pattern of dead keys for you.
Just one key
A single dead key is almost always the switch or what's under the keycap. Pull the keycap (a keycap puller or two paper clips on a mechanical board; laptop keycaps clip on and break easily, so be gentle), clean around the switch and press the bare switch. On a hot-swap mechanical board, swap the switch with a less used key such as Scroll Lock to prove it.
Keys type twice
That's chatter: the switch bounces and sends a second press. Air under the keycap fixes most cases; some gaming keyboards have a debounce setting that hides it. The double typing test shows exactly which keys and how fast they bounce.
Every key lights up here, but typing still fails
Then the keyboard is fine. Look at what's between it and your app:
- Wrong letters: the system keyboard layout is wrong (US vs UK vs another language). Windows: Win + Space cycles layouts. Mac: the input menu in the menu bar.
- Numbers don't type from the numpad: Num Lock is off.
- Keys act like shortcuts: a modifier is stuck. Tap both Shift, Ctrl, Alt and Windows/Command keys.
- Only one app is affected: that app has focus problems or its own key bindings. Try typing in a plain text editor.
- Only at the login screen: the login screen may use a different keyboard layout; check its language indicator.
Keyboard not working: FAQ
Why is my keyboard not working all of a sudden?
The most common causes are a flat battery or lost pairing (wireless), a loose cable or bad USB port (wired), Filter Keys turned on by holding Shift for 8 seconds (Windows), and a spill. Press a few keys on this page: if nothing lights up it's the connection or the keyboard, if everything lights up it's a setting.
How do I know if my keyboard is broken or it's the computer?
Plug the keyboard into another computer, or another keyboard into this one. If the keyboard fails everywhere, it's the keyboard. If any keyboard fails on this computer, it's the port, the driver or a setting.
How do I reset my keyboard?
Unplug it (or remove the batteries) for 30 seconds, then reconnect. Many gaming keyboards also have a factory reset combination, often holding Fn + Esc for a few seconds; check the maker's manual. On Windows you can also uninstall the keyboard in Device Manager and restart.
Why does my keyboard work in the tester but not in Word or a game?
Because the hardware is fine and something else is intercepting the keys: a wrong keyboard layout, a stuck modifier, the game's own bindings, or another program grabbing focus. See “Every key lights up here, but typing still fails” above.
What is Filter Keys and why does it stop my keyboard?
Filter Keys is a Windows accessibility feature that ignores brief or repeated key presses. Holding right Shift for 8 seconds turns it on, often by accident, and then normal typing seems not to register. Turn it off in Settings → Accessibility → Keyboard.