Keyboard guide

Why are some keyboard keys not working?

Dead, stuck or double-typing keys: settings, dirt, switches or the connection, step by step.

Short answer

When only some keys stop working, it is usually dirt under the keycap, a worn or loose switch, a setting like Filter Keys or a game mode lock, or a bad connection. First test every key to see exactly which ones fail, then work through the causes below, from the easiest fix to the hardest.

Check it now: Keyboard Tester

Causes and fixes

Go through them in order. Most come with a test that shows if it is your problem.

  1. Find out exactly which keys fail

    Before fixing anything, check whether a key never registers, registers only sometimes, or registers twice. Each points to a different cause.

    How to fix

    • Open the Keyboard Tester and press every key once. Keys that never light up are dead; keys that light up late or only sometimes are dirty or worn.
    • If a key types twice, run the Key Chatter Test: that is a switch problem called chatter.
  2. A setting is blocking keys

    Windows and keyboard software can block or delay keys on purpose.

    How to fix

    • Turn off Filter Keys and Sticky Keys: Settings → Accessibility → Keyboard.
    • Check for a “Game mode” or lock key on the keyboard (often Fn + Windows key, or a lock icon) that disables the Windows key or others.
    • Some keyboards have an Fn lock: if the F1–F12 row does media actions instead, press Fn + Esc or the lock key.
    • Make sure the right keyboard layout is selected in Windows (it changes which characters keys type).
  3. Dirt or a stuck keycap

    Crumbs and dust under a keycap can stop a key from going down fully or coming back up.

    How to fix

    • Turn the keyboard upside down and shake it gently, then blow compressed air between the keys.
    • On a mechanical keyboard, pull the keycap with a keycap puller and clean around the switch.
    • For spills, unplug at once, let it dry for at least a day before plugging it in again.
  4. A worn or loose switch

    On hot-swap mechanical keyboards a switch can sit loose or have a bent pin. Worn switches also chatter or stop registering.

    How to fix

    • Hot-swap boards: pull the switch, check the two metal pins are straight, and press it back in firmly.
    • Swap the faulty switch with one from a key you rarely use to confirm it is the switch.
    • Non-hot-swap boards with a dead switch need soldering or a warranty repair.
  5. Connection or driver

    If random keys fail at random times, the connection is more likely than the keys.

    How to fix

    • Try another USB port on the back of the PC and another cable if it is detachable.
    • For wireless keyboards, charge or replace the battery and move the receiver closer.
    • Update the keyboard firmware with the maker’s software.

Questions

Why do some key combinations not work together?

That is ghosting: some keyboards can’t register certain keys at the same time. The Rollover Test shows how many keys yours handles at once.

Is it the keyboard or the PC?

Plug the keyboard into another PC or laptop. If the same keys fail there, it is the keyboard.

More tools for this

More guides