guide.keyboard-keys-not-working.title
Dead, sticky or wrong keys usually come from dirt, a hidden setting or a weak connection. A quick key test tells you which one you are dealing with.
Before you start troubleshooting, run the actual test so you know what's broken.
Run the Keyboard TestWhen a few keys suddenly stop responding
Few things are as frustrating as typing an email and noticing that the letter E simply refuses to appear, or that pressing the spacebar sometimes does nothing at all. Keyboard problems feel serious because we depend on the keyboard for everything, but the causes are usually straightforward. Most dead keys come from dirt, a software setting, a connection problem or, less often, a damaged switch or ribbon cable inside a laptop.
The first job is to work out whether the problem is in the keyboard itself or somewhere between the keyboard and the software you are typing into. A key that fails in every program on every computer is a hardware issue. A key that works in one place but not another points to software, layout settings or an app that is capturing the key for itself.
Test every key in your browser
Open our keyboard test and press each key one at a time. The on-screen keyboard lights up every key that the browser receives, and it shows the key code, so you can see exactly what your computer thinks you pressed. Go row by row, including function keys, arrow keys, the number pad and modifier keys like Shift, Ctrl and Alt.
- A key that never lights up: the signal is not reaching the computer, suggesting dirt, a damaged switch or a disabled key.
- A key that lights up as a different key: a keyboard layout or language setting mismatch.
- A key that lights up twice or stays lit: a sticky or chattering switch.
- A key that works only sometimes: debris, a worn switch or a loose connection.
Also try pressing several keys at once, such as W, A and Shift together. Cheaper keyboards cannot register certain combinations, a limitation called ghosting or key rollover. If a combination fails in the test, it is a design limit rather than a fault.
Check the simple software causes
Windows includes accessibility features that change how keys behave. Filter Keys ignores brief or repeated keystrokes, which can make keys feel dead if you tap them quickly. Sticky Keys makes modifier keys stay pressed after you release them. Both can be switched on accidentally, for example by holding the right Shift key for eight seconds or pressing Shift five times. Open Settings, Accessibility, Keyboard, and make sure both are off unless you use them on purpose.
Keyboard layout is another classic. If your Y and Z keys are swapped, or symbols appear in the wrong places, Windows or macOS has probably switched to a different input language. On Windows, Win plus Space cycles layouts, and it is easy to press by accident. On a Mac, check the input menu in the menu bar. Remove any layouts you do not use to prevent it happening again.
Number pad and function key locks
If the number pad types nothing or moves the cursor, Num Lock is off. If F1 to F12 change volume or brightness instead of acting as function keys, your keyboard has an Fn lock. On many laptops, pressing Fn with Esc toggles it. These are not faults, but they confuse many people.
Connection problems with USB and wireless keyboards
A USB keyboard that drops keys or stops briefly may have a loose cable or a failing port. Unplug it and connect it directly to the computer rather than through a hub. Try another port. If you use a detachable cable, reseat both ends and try a different cable if you have one.
Wireless keyboards are sensitive to batteries and interference. Replace the batteries, move the receiver closer, and keep it away from USB 3 ports and metal cases, which can interfere with 2.4 GHz signals. For Bluetooth keyboards, remove the pairing and pair again. Laggy or missed keystrokes on a wireless keyboard are very often fixed by fresh batteries alone.
Cleaning out dirt and crumbs
Dirt is the most common physical cause of dead and sticky keys. Crumbs, pet hair and dust collect under keycaps and stop the switch from pressing fully. Turn the keyboard upside down and shake it gently, then use short bursts of compressed air at an angle around the affected keys. For laptops, tilt the laptop at about 75 degrees while blowing air, so debris falls out rather than deeper in.
On mechanical keyboards, you can remove the keycap with a keycap puller and clean underneath. On laptops, keycaps are fragile and use small plastic clips. Only remove them if you have found a guide for your exact model, because it is easy to break the clip. Never use water directly on a keyboard.
If you spilled a drink
Switch off and unplug immediately. For a laptop, shut down, disconnect the charger and turn it upside down in a tent shape to drain. Do not switch it back on to check if it works. Sugary drinks leave sticky residue that causes keys to stick after drying, and often need professional cleaning. Water spills on external keyboards can sometimes dry out fully in forty eight hours in a warm, dry room.
Drivers and system updates
Keyboards generally use standard drivers, but they can still become corrupted. On Windows, open Device Manager, expand Keyboards, right click your keyboard and choose Uninstall device, then restart. Windows will reinstall the driver automatically. For laptops, check the manufacturer's support site for keyboard, chipset and hotkey utility updates, since these often control special keys.
If keys stopped working right after an update, a restart sometimes finishes the process. You can also test in the BIOS or UEFI settings screen at boot. If keys work there but not in Windows, the keyboard is fine and the fault is software. If they fail even there, the hardware or its connection is to blame.
Laptop keyboards need a little extra care
Laptop keyboards are connected to the motherboard by a thin ribbon cable. If a whole row or group of keys stops working together, that cable may be loose or damaged, sometimes after a drop or a repair. This usually needs a technician, or a careful DIY repair if you are confident and out of warranty.
A temporary workaround is a cheap USB keyboard, which keeps you productive while you arrange a repair. Windows also has an on-screen keyboard, found in Accessibility settings, useful for entering a password or a missing character in an emergency.
Sticky, repeating and chattering keys
A key that types two letters when pressed once is chattering, much like a failing mouse button. On mechanical keyboards, this often comes from a worn or dirty switch, and cleaning or replacing the switch fixes it. Many modern mechanical keyboards have hot swappable switches that pull out without soldering. Some keyboard software offers a debounce setting that filters out rapid repeats.
If a key keeps repeating after you let go, it may be physically stuck. Press it firmly a few times and clean around it. On Windows, the keyboard repeat delay setting in Control Panel controls how quickly a held key starts repeating. A very short delay can make normal typing feel like the key is repeating by itself.
A troubleshooting routine you can repeat
- Run the keyboard test and note which keys fail and how.
- Turn off Filter Keys and Sticky Keys and check the keyboard layout.
- Check Num Lock and the Fn lock.
- Reconnect the keyboard, change ports, and replace batteries if wireless.
- Clean with compressed air.
- Reinstall the keyboard driver and restart.
- Test the keyboard on another computer, or test in the BIOS.
Keep notes as you go. If you end up contacting support or a repair shop, a clear list of which keys fail and what you already tried saves time and money. For most people, the problem is solved before step five.
Mechanical, membrane and laptop keyboards compared
Different keyboard designs fail in different ways. Membrane keyboards use a rubber sheet with contact points, and when they fail, several neighbouring keys often go dead together, which usually means the whole keyboard needs replacing because the membrane cannot easily be repaired. Mechanical keyboards have an individual switch under every key, so a single dead key can be fixed by cleaning or swapping that one switch. Laptop keyboards use very thin scissor mechanisms that are delicate and often replaced as a whole unit.
Knowing which type you have helps you decide whether a repair is worthwhile. A dead key on a good mechanical keyboard is often a five minute fix, while a failing membrane keyboard is usually cheaper to replace than to repair.
Frequently asked questions
Why do only some keys not work on my laptop?
Usually dirt under those keys, or damage to part of the keyboard matrix. If an entire row fails, suspect the ribbon cable.
Can a virus disable keyboard keys?
It is very rare. Settings, layouts and hardware issues are far more likely causes. A malware scan is still sensible if other odd things are happening.
Is a keyboard test safe to use?
Yes. Our keyboard test runs entirely in your browser and does not record or send anything you type.