Keyboard keys not working

Work through this in order. The cheap checks come first, because most "broken keyboard" cases are a setting, a cable or dirt, and a new keyboard fixes none of those.

1. Is it one key, a block, or everything?

Run the keyboard test and walk the board. The pattern tells you where to look:

2. Everything dead: check the connection first

3. Filter Keys and Sticky Keys

Windows has accessibility settings that make the keyboard appear broken. Filter Keys ignores brief or repeated keystrokes, which is exactly what a fast typist produces. Sticky Keys changes how modifier keys behave. Turn both off: Settings, Accessibility, Keyboard. On macOS, check System Settings, Accessibility, Keyboard for Slow Keys, which does the same thing.

If keys work but letters arrive late or get skipped, Filter Keys is the first suspect, not a dying keyboard.

4. The layout and language

If the key registers but types the wrong character, the keyboard layout is wrong. On Windows: Settings, Time and language, Language and region, and check the input method. A laptop with two layouts installed will switch between them with a shortcut, which is how people end up typing with the wrong one without noticing.

5. Drivers

On Windows, open Device Manager, find Keyboards, and remove the device, then restart. Windows reinstalls the standard driver on boot. This fixes the rare case where the driver itself has wedged, and it is harmless if it does not.

6. A single dead key: cleaning

Turn the keyboard upside down and shake it out, then use compressed air in short bursts while pressing the key. On a mechanical keyboard, pull the keycap with a puller and look for debris; on a laptop, do not pull keycaps unless you know the hinge type, because they break easily.

If the key is dead after cleaning, on a mechanical board you can often replace the switch. On a membrane or laptop keyboard, a single dead key usually means a new keyboard.

7. Spills

If liquid got in, unplug immediately, do not test it repeatedly, and let it dry for at least 48 hours upside down. Testing a wet keyboard is how a spill becomes permanent damage. Sugar drinks are worse than water because the residue keeps conducting and corroding.

When to replace instead of repair

Replace when several keys fail across different areas, when a laptop keyboard's ribbon connector is damaged, or when the same key fails again within weeks of a repair. For a cheap membrane keyboard, the economics are obvious. For an expensive mechanical board, a switch swap or a PCB repair is usually worth it.

Find out which keys are failing