How to Fix Keyboard Keys Not Working
Few things are more frustrating than sitting down to work and discovering that some of your keyboard keys just won't respond. Whether it's a single dead key, a row of unresponsive letters, or your entire spacebar acting up, the good news is that you can usually fix it yourself without replacing the whole keyboard.
This guide walks you through every common cause and solution โ from quick 30-second fixes to deeper troubleshooting โ for both Windows and Mac, laptops and external keyboards.
1. Diagnose the Problem First
Before diving into fixes, spend a minute figuring out whether the issue is hardware or software. This will save you a lot of time.
Use Our Free Keyboard Tester
Head over to our online keyboard test tool and press every key on your keyboard. The virtual keyboard will light up as each key registers. If a key doesn't light up at all, you're likely dealing with a hardware issue. If it lights up in the tester but doesn't work in your apps, it's a software or settings problem.
You can also narrow things down by asking yourself a few questions:
- Is it one key or multiple keys? A single dead key usually points to physical damage or debris. Multiple keys failing at once often suggests a driver or settings issue.
- Did it happen suddenly or gradually? A sudden failure after a Windows update is likely driver-related. Gradual decline often means wear and tear.
- External or laptop keyboard? For external boards, try plugging it into a different computer. If it fails there too, the keyboard itself is the problem.
2. Quick Fixes (Try These First)
These take less than a minute and solve the problem more often than you'd think.
Restart Your Computer
It sounds obvious, but a simple restart clears out temporary glitches in your operating system that can interfere with keyboard input. If your keyboard stopped working out of nowhere, try this before anything else.
Unplug and Reconnect
For wired keyboards, disconnect the USB cable, wait a few seconds, then plug it back in โ ideally into a different USB port. USB ports can occasionally become unresponsive, and switching ports forces your system to re-detect the device.
For wireless keyboards, turn the keyboard off, remove the batteries for 10 seconds, reinsert them, and turn it back on. Make sure the USB receiver is firmly plugged in, or re-pair via Bluetooth.
Perform a Hard Reset
For a desktop: shut down completely, unplug the power cable, and hold the power button for 15โ20 seconds. Reconnect everything and boot up. For a laptop: power off, unplug the charger, remove the battery if possible, and hold the power button for 15โ20 seconds. This drains residual charge and resets the hardware state.
3. Clean Your Keyboard
Dust, crumbs, hair, and other debris are one of the most common reasons keys stop responding. Over time, particles work their way under the keycaps and block the switch from making proper contact.
Basic Cleaning
- Turn off your computer (or disconnect the keyboard) to avoid accidental inputs.
- Flip the keyboard upside down and gently shake it or tap the back to dislodge loose debris.
- Use compressed air to blow between the keys at an angle. Short bursts work better than a constant stream. Focus on the keys that aren't working.
- Wipe the surface with a lint-free cloth. For sticky residue, dampen the cloth slightly with isopropyl alcohol.
Deep Cleaning (Mechanical Keyboards)
If you have a mechanical keyboard, you can remove individual keycaps with a keycap puller for a more thorough clean. Pull the caps off the affected keys, use compressed air or a small brush to clear debris around the switch, then snap the keycaps back on. Make sure each cap is seated evenly.
Recommended: Keyboard Cleaning Kit
Includes compressed air, keycap puller, cleaning brushes, and microfiber cloths โ everything you need in one set.
Check Price โ4. Update or Reinstall Keyboard Drivers
Drivers are the software bridge between your keyboard hardware and your operating system. If they get corrupted or outdated โ especially after a system update โ keys can start behaving erratically or stop working entirely.
On Windows
- Press
Win + Xand select Device Manager. - Expand the Keyboards section.
- Right-click your keyboard and select Update driver.
- Choose Search automatically for drivers and let Windows find the latest version.
If updating doesn't help, try uninstalling the driver entirely:
- In Device Manager, right-click your keyboard and select Uninstall device.
- Restart your computer.
- Windows will automatically reinstall the default keyboard driver on boot.
On Mac
macOS doesn't have a traditional driver manager for keyboards. Instead, make sure your system is up to date by going to System Settings โ General โ Software Update. Apple rolls keyboard-related fixes into system updates.
If you're using a third-party keyboard, check the manufacturer's website for any macOS-specific drivers or firmware updates.
5. Check Keyboard Settings
Sometimes the keys themselves are fine โ it's a setting that's gotten toggled on by accident. These are the most common culprits.
Disable Filter Keys (Windows)
Filter Keys is an accessibility feature that tells Windows to ignore brief or repeated keystrokes. If it's turned on accidentally, your keyboard can feel completely unresponsive.
- Open Settings โ Accessibility โ Keyboard.
- Make sure Sticky Keys, Filter Keys, and Toggle Keys are all turned off.
Check Your Keyboard Layout
If keys are producing the wrong characters (for example, pressing " gives you @), your system may have switched to a different keyboard layout.
- Windows: Go to Settings โ Time & Language โ Language & Region. Click your preferred language, select Language options, and verify that US QWERTY is the active layout.
- Mac: Go to System Settings โ Keyboard โ Input Sources. Make sure the correct layout is selected.
Check Num Lock and F-Lock
If your number pad keys aren't working, press Num Lock to toggle them on. Similarly, some keyboards have an F-Lock or Fn Lock key that toggles whether the function keys (F1โF12) perform their primary or secondary actions (like adjusting volume or brightness).
6. Advanced Troubleshooting
Run the Keyboard Troubleshooter (Windows)
- Go to Settings โ System โ Troubleshoot โ Other troubleshooters.
- Find Keyboard and click Run.
- Follow the on-screen instructions. The troubleshooter will attempt to detect and fix common issues automatically.
If you don't see a Keyboard option (common on Windows 11), you can run the general hardware troubleshooter instead: press Win + R, type msdt.exe -id DeviceDiagnostic, and press Enter.
Boot into Safe Mode
If your keyboard works fine in Safe Mode but not during normal use, a third-party program or background process is interfering. Common culprits include keyboard remapping software, gaming overlays, and certain antivirus programs.
To enter Safe Mode on Windows: hold Shift while clicking Restart, then navigate to Troubleshoot โ Advanced options โ Startup Settings โ Restart, and select Safe Mode.
Test in BIOS/UEFI
Restart your computer and press Delete, F2, or Esc (varies by manufacturer) to enter BIOS setup. If your keyboard works in BIOS, the problem is within your operating system โ not hardware. If it doesn't work in BIOS either, you're dealing with a hardware failure.
7. Laptop-Specific Fixes
Laptop keyboards have some unique issues since they're built directly into the chassis.
Check the Ribbon Cable
Inside your laptop, a thin ribbon cable connects the keyboard to the motherboard. Over time โ especially if the laptop has been dropped or opened for repairs โ this cable can come loose. If you're comfortable opening your laptop (and it's not under warranty), you can reseat the ribbon cable connection. Otherwise, have a technician take a look.
Drain Static Charge
Laptops can accumulate static electricity that interferes with internal components. Shut down the laptop, unplug the charger, remove the battery (if removable), and hold the power button for 20 seconds. Reassemble and power on.
Use an External Keyboard as a Workaround
If your laptop keyboard is damaged and you need a quick fix, plugging in a USB or Bluetooth keyboard will let you keep working while you figure out a permanent solution. It's also a great way to confirm whether the issue is with the laptop keyboard hardware specifically.
Recommended: Compact USB Keyboard
A solid backup keyboard for when your laptop keys give out. Compact, reliable, and plug-and-play.
Check Price โ8. When It's Time to Replace Your Keyboard
If you've gone through every step above and specific keys still don't work, the keyboard likely has a hardware defect โ a damaged circuit board, worn-out switch, or broken membrane layer. At that point, repair usually isn't cost-effective, and replacing the keyboard is the better move.
Here are some signs it's time for a new board:
- Multiple keys fail across different rows (indicates circuit board damage)
- Keys feel physically different โ mushy, crunchy, or wobbly
- The keyboard doesn't work on any computer you plug it into
- You've spilled liquid on it and keys remain unresponsive after drying
- The keyboard is more than 5 years old and showing its age
If you're in the market for a new one, check out our Best Mechanical Keyboards 2026 guide or our Ergonomic Keyboards roundup.
Quick Recap
Here's the troubleshooting flow at a glance:
- Test your keyboard with our online keyboard tester to identify which keys are affected.
- Restart your computer and reconnect (or re-pair) the keyboard.
- Clean the keyboard with compressed air and a lint-free cloth.
- Update or reinstall drivers through Device Manager (Windows) or Software Update (Mac).
- Check your settings โ disable Filter Keys, verify layout, check Num Lock.
- Run the troubleshooter and try Safe Mode or BIOS to isolate the cause.
- For laptops, check the ribbon cable and drain static charge.
- If nothing works, it's time for a replacement.
Most keyboard issues fall into one of two categories: debris blocking a key, or a software/driver glitch. Both are easy to fix once you know what to look for. And if you just want to quickly confirm whether your keyboard is actually broken or if something else is going on, our free keyboard test is the fastest way to find out.
๐ Test Your Keyboard Right Now
Use our free online tool to check every single key on your board โ it takes less than a minute.
Go to Keyboard Test โ