Some Keys on Keyboard Not Working? Fix It
In this article
If some keys on your keyboard are not working, the cause is usually a software glitch, a stuck modifier, a dirty or damaged key mechanism, or a driver problem. The fix ranges from a quick restart and cleaning to reinstalling the keyboard driver or replacing the keyboard if the fault is physical.
Common Causes of Dead Keys
When only a few keys fail while the rest work, the problem is rarely the whole keyboard. It is usually localized to specific switches, a connection issue, or a setting that affects certain keys. Here are the most frequent culprits:
- Debris or dust under the keycap: Crumbs, hair, or dust can block the key from registering a press. This is especially common on membrane keyboards and laptops.
- Sticky or worn membrane/switch: On membrane keyboards, the rubber dome under a key can wear out or become sticky. On mechanical keyboards, a single switch may fail.
- Software conflict or stuck modifier: A stuck Ctrl, Alt, or Shift key (or a software setting like Filter Keys) can make certain keys appear unresponsive.
- Driver or firmware issue: Corrupted or outdated keyboard drivers can cause specific keys to stop working, especially after a Windows update.
- Liquid damage: Even a small spill can corrode traces on the circuit membrane, affecting a group of keys.
- Physical damage: A cracked circuit board trace or a broken solder joint can disable a row or column of keys.
- Keyboard layout mismatch: If the wrong layout is selected, some keys may produce unexpected characters or appear dead.
- USB port or connection problem: A faulty USB port or a loose cable can cause intermittent key failures.
How to Diagnose the Problem
Before you start fixing, identify whether the issue is hardware or software. Try these steps:
- Test the keyboard on another device: Connect it to a different computer or phone (with an adapter). If the same keys fail, the keyboard is likely faulty.
- Use an online keyboard tester: Websites like keyboardtester.com let you press keys and see which ones register. This quickly shows if the key is completely dead or intermittent.
- Check with the on-screen keyboard: Open the Windows on-screen keyboard (Settings > Accessibility > Keyboard > On-screen keyboard) or macOS Keyboard Viewer. If the on-screen keys work when clicked, the issue is hardware.
- Boot into BIOS/UEFI: If the keys work in BIOS, the problem is within the operating system or a driver.
- Try a different USB port or cable: For wired keyboards, swap ports. For wireless, check batteries and re-pair.
Software Fixes to Try First
If the keyboard works on another device or in BIOS, the problem is likely software. Work through these fixes:
- Restart your computer: A simple reboot clears temporary glitches and stuck processes.
- Check for stuck modifier keys: Press each Shift, Ctrl, Alt, and Windows key several times to release any that might be stuck. Also check for physical obstructions.
- Disable Filter Keys and Sticky Keys: In Windows, go to Settings > Accessibility > Keyboard and turn off Filter Keys, Sticky Keys, and Toggle Keys. On macOS, check System Settings > Accessibility > Keyboard.
- Update or reinstall the keyboard driver: Open Device Manager (Windows) or System Information (macOS), find the keyboard, and update the driver. If that fails, uninstall it and restart to let Windows reinstall.
- Run the keyboard troubleshooter: Windows has a built-in troubleshooter under Settings > System > Troubleshoot > Other troubleshooters > Keyboard.
- Check keyboard layout: Ensure the correct language and layout are selected in Settings > Time & Language > Language & Region.
- Try a clean boot: Disable startup programs to rule out software conflicts.
- Scan for malware: Some malware can intercept keystrokes. Run a full antivirus scan.
Hardware Cleaning and Repair
If software fixes don't help, the issue may be physical. For external keyboards, cleaning is often enough:
- Remove the keycap: Use a keycap puller or a paperclip. Be gentle, especially on laptops where keycaps are fragile.
- Clean with compressed air: Blow out debris from the switch or membrane. Hold the can upright to avoid propellant spray.
- Use isopropyl alcohol: Dab a cotton swab with 90% isopropyl alcohol and clean the contact area. Let it dry completely before reassembling.
- Check for liquid damage: If there was a spill, the keyboard may need to be opened and cleaned with distilled water and alcohol, then dried thoroughly. This is best left to a professional for laptops.
- Test after cleaning: Reconnect and test the keys again.
For mechanical keyboards, you can replace a faulty switch if it is hot-swappable. For soldered switches, desoldering and soldering a new switch is required. For membrane keyboards, repair is often not cost-effective; replacement is usually better.
Laptop Keyboard Specifics
Laptop keyboards are more challenging. If a few keys fail, it could be the ribbon cable connection. Reseating the cable (if you are comfortable opening the laptop) may help. Otherwise, a USB external keyboard is a practical workaround. If the laptop is under warranty, contact the manufacturer before attempting repairs.
When to Replace the Keyboard
Consider replacement if:
- Multiple keys fail after cleaning and software fixes.
- The keyboard has physical damage (cracked board, broken traces).
- Repair cost exceeds a new keyboard.
- The keyboard is old and has worn-out membrane domes.
For desktop keyboards, replacement is inexpensive and straightforward. For laptops, check if the keyboard is user-replaceable; many modern laptops require professional service.
Frequently Asked Questions
Why do only some keys stop working?
Localized failures usually point to debris, a worn switch, or a damaged trace on the circuit. Software issues tend to affect all keys, but stuck modifiers or Filter Keys can make specific keys appear dead.
Can a virus cause keyboard keys to stop working?
Yes, some malware can block or remap keys. Run a full antivirus scan if the problem started suddenly and software fixes don't help.
How do I fix a sticky key?
Remove the keycap and clean the area with isopropyl alcohol. For mechanical switches, you may need to replace the switch if cleaning doesn't restore function.
Why do my keys work in BIOS but not in Windows?
This indicates a driver or software conflict. Reinstall the keyboard driver, disable accessibility features, and check for interfering programs.
Is it worth repairing a laptop keyboard with dead keys?
If the laptop is under warranty or the keyboard is easily replaceable, yes. Otherwise, an external USB keyboard is a cost-effective workaround.
What should I do if I spilled liquid on my keyboard?
Immediately disconnect it, turn it upside down, and let it dry completely. Do not use heat. For laptops, professional cleaning is recommended to prevent corrosion.