TestAllGear

Controller 8

Mouse 10

Keyboard 2

Display 20

Audio 7

Camera 3

Phone and touch 4

MIDI 1

Every test runs on your device. No account.

Fix guide · Keyboard

Keyboard keys not working: how to fix them

First find out which fault you have. Press every key on the keyboard tester. A key that never lights is dead: dirt, liquid or a failed switch. A key that lights as a different key is a layout, Num Lock or remap setting. If every key lights there but not in one app or game, the keyboard is fine and the cause is that app.

Updated

Test it first

Free tests that run in your browser. Nothing is uploaded.

  1. 1
    Keyboard tester 1 min

    Press every key once. Keys that never light are dead, keys that light as another key point to a setting, and chatter flags mean a worn switch. Hold your game keys together to check rollover.

  2. 2
    Spacebar counter 10 s

    Pick 'Exactly 10' and press Space 10 times at a calm pace. Fewer than 10 means dropped presses, more means chatter. The press log shows each press, its gap and how long it was held.

Keyboard keys not working: read the tester first

When keyboard keys are not working, the fix depends on which fault you have, and the keyboard tester tells them apart. Every key you press stays highlighted, so a dead key is the one that never lights. It also flags chatter, a key pressed again within 30 ms of release, and counts how many keys you can hold at once (rollover).

What you see on the test Likely cause What to do
One or a few keys never light Dirt, liquid or a dead switch Clean, then switch or repair
A whole row or block never lights Key grid circuit or laptop cable Repair or new keyboard
A key lights as a different key Layout, Num Lock, Fn Lock or remap Fix the setting
A key is flagged for chatter Worn or dirty switch Clean, debounce, new switch
All keys light, but not in a game App, key binding or rollover Check the app and combos
Nothing lights at all Connection, power or Filter Keys Check cable, battery, settings

For the spacebar, the spacebar counter is the closer check. In “Exactly 10” mode, 9 presses means one was dropped and 11 means the key fired on its own. Its press log flags a press held far longer than the rest, which is how a spacebar that sticks down for a moment shows up.

Why are my keyboard keys not working?

Most likely first:

  1. Dirt, crumbs or hair under the key. The key feels stiff or only works when pressed hard.
  2. A setting that changes what keys do. Windows Filter Keys ignores short presses. A changed keyboard layout or input language types the wrong letters. Num Lock on a laptop turns some letters into numbers. Fn Lock swaps the top row.
  3. A remap tool or keyboard software that moved a key, set a macro or turned on a “game mode” that disables keys such as the Windows key.
  4. A worn switch. It drops presses or types twice (chatter).
  5. Liquid. Even a dried spill can leave sticky residue or corrode the circuit.
  6. A connection fault. A loose cable, low battery, wireless receiver far away, or a laptop ribbon cable that has worked loose.
  7. A circuit fault. Keys are wired on a grid of rows and columns. When one line breaks, every key on it stops, which is why some keys fail together even though they are far apart on the board.

How to fix keyboard keys not working, in order

1. Rule out the connection

  1. Unplug the keyboard and plug it straight into another USB port on the computer, not a hub.
  2. For wireless, turn it off and on, replace or charge the batteries, and move the receiver to a front port or closer.
  3. Try the keyboard on another computer. If the same keys fail there, it is the keyboard.

2. Fix the settings on Windows 11

  1. Filter Keys and Sticky Keys: open Settings > Accessibility > Keyboard and turn both off. Holding right Shift for about 8 seconds can turn Filter Keys on without you noticing, and then quick presses are ignored.
  2. Keyboard layout: open Settings > Time & language > Language & region, open your language’s options and check the keyboard listed. Remove any layout you did not add. A shortcut such as Left Alt and Shift switches layout, which is the usual reason keys suddenly type the wrong characters.
  3. Num Lock and Fn Lock: on a laptop without a number pad, press Num Lock (often Fn plus a key) if U, I, O, J, K and L type numbers. If the F keys act as media keys, or the other way round, toggle Fn Lock.
  4. Remap tools: check PowerToys Keyboard Manager and your keyboard software for remapped keys, macros or a game mode.
  5. Reinstall the keyboard: open Device Manager, expand Keyboards, right click your keyboard, choose Uninstall device, then restart. Windows sets it up again on start.

Then run the keyboard tester again.

3. Fix the settings on a Mac

  1. Open System Settings > Accessibility > Keyboard and turn off Slow Keys and Sticky Keys. Apple says Slow Keys adds a delay before a key press counts, so quick taps can seem dead.
  2. Open System Settings > Accessibility > Pointer Control and turn off Mouse Keys. While it is on, Apple says the keyboard and number pad cannot type text.
  3. Check System Settings > Keyboard > Text Input for an input source you did not add.

4. Clean the keyboard

  1. Unplug it or power off the laptop.
  2. Turn it upside down and tap it gently.
  3. Blow compressed air between the keys in short bursts, can upright so no liquid comes out.
  4. On a mechanical keyboard, pull the keycap with a keycap puller and clean around the switch, then press the switch 50 to 100 times quickly to clear its contact, as the keyboard tester page suggests.

Laptop keycaps clip on with small plastic hinges that break easily. Leave them on unless the maker’s guide shows how to remove them.

5. Mechanical keyboards: switches and stabilisers

  • Debounce: if a key chatters, raise the debounce time in the keyboard software, if it has one. It hides the fault but the switch keeps wearing.
  • Hot-swap boards: pull the switch with a switch puller and push in a new one of the same type. Check the product page first: on most boards the switches are soldered.
  • Soldered switches: a new switch needs desoldering, which usually voids the warranty.
  • Stabilisers: a spacebar, Shift or Enter that sticks, rattles or only works in the middle often has a dirty or unclipped stabiliser. Clean and lube it, or clip the wire back in.

6. Liquid spills

  1. Unplug the keyboard, or shut down a laptop and unplug the charger at once. Remove the battery if it comes out.
  2. Turn it upside down to drain and blot what you can reach with a cloth.
  3. Let it dry fully for a day or more before you power it on.
  4. Do not use a hair dryer, oven or heater. Heat can warp plastic and the membrane.

Water may dry out cleanly. Sugary or milky drinks leave residue that keeps keys sticky or dead. On a laptop, a spill can reach the board below, so go to a repair shop if it does not work fully after drying.

7. Laptops: test with an external keyboard

Plug in a USB keyboard. If it works and the built-in one does not, the laptop keyboard or its ribbon cable is at fault, not Windows or macOS. If both fail in the same way, it is a setting or a driver. Several dead keys in one area, or keys that come and go when you press on the case, usually mean the cable or keyboard needs replacing.

When to stop: warranty, repair or replace

Stop and contact the maker when keys stay dead after cleaning and the settings check, or when a whole row is out. Write down which keys fail on the tester. On a laptop, the keyboard is often built into the top case, so the repair can cost much more than a desk keyboard. On a cheap desk keyboard, replacing it is usually simpler.

Apple ran a Keyboard Service Program for MacBook models with the butterfly keyboard. Apple’s page now says that program has ended, so a sticky or repeating key on those models is a normal paid repair today.

What the browser test cannot tell you

  • Some keys never reach a web page. Fn usually does not, and many media keys, Print Screen and the Windows or Cmd key can be taken by the system first. A dark Fn key on the tester is normal.
  • It cannot see inside the switch. It shows a dead key or chatter, not whether dirt or wear causes it. Clean first, then test again.
  • Debounce can hide chatter. Keyboard software that filters bounce stops the second press before the browser sees it.
  • Phones send characters, not key presses, so the keyboard tester needs a real keyboard.

If the problem is your mouse rather than the keys, see mouse double clicking.

Questions

Why are my keyboard keys not working?

Usually dirt or liquid under the key, a worn switch, or a setting such as Filter Keys, the wrong keyboard layout or Num Lock. If no key works at all, check the cable, battery or receiver first. The keyboard tester shows which of these you have.

Why are only some keyboard keys not working?

A few dead keys in different places are usually dirt or worn switches. A whole row or a group of keys that sit on the same line of the key grid points to a damaged circuit, often from a spill, or a loose ribbon cable on a laptop.

Why is my keyboard typing the wrong characters?

The keyboard layout or input language changed, often by a shortcut such as Left Alt and Shift or Windows key and Space. On laptops, Num Lock can turn letter keys such as U, I, O, J, K and L into numbers. A remap tool can also swap keys.

Why is my keyboard typing double letters?

Key chatter: a worn or dirty switch sends a second press right after you let go. The keyboard tester flags any key pressed again within 30 ms of release. Clean it, raise debounce in the keyboard software, or replace the switch.

How do I unfreeze my keyboard?

Unplug it and plug it into another USB port, or turn a wireless one off and on and replace the batteries. Then check that Filter Keys is off in Windows and Slow Keys and Mouse Keys are off on a Mac. Restart the computer if it still does not respond.

How do I reset my keyboard keys back to normal?

Set the right keyboard layout, turn off Sticky Keys and Filter Keys, and remove any key remap in tools such as PowerToys Keyboard Manager or the keyboard's own software. Many gaming keyboards also have a reset to default profile in their software.

Why are my Lenovo laptop keys not working?

The same causes as any laptop, plus Fn Lock: on many Lenovo laptops it swaps the top row between F keys and shortcuts. Check Lenovo Vantage for keyboard settings. If several keys in one area die together, it is usually the keyboard or its cable, which is a repair.

Can a browser test check the Fn key?

Usually not. The Fn key is handled by the keyboard or laptop itself and rarely reaches a web page. Many media keys, Print Screen and the Windows or Cmd key can also be taken by the system first, so test those in another app.