How to Fix Keyboard Keys Not Working

Updated Jan 2025 ยท 8 min read

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.

Quick Test

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:

2. Quick Fixes (Try These First)

These take less than a minute and solve the problem more often than you'd think.

Fix #1

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.

Fix #2

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.

Fix #3

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.

Try connecting your keyboard to another computer. If the same keys fail on a different machine, the issue is definitely hardware โ€” and no software fix will help.

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

  1. Turn off your computer (or disconnect the keyboard) to avoid accidental inputs.
  2. Flip the keyboard upside down and gently shake it or tap the back to dislodge loose debris.
  3. 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.
  4. 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.

Never pour liquid directly onto your keyboard. If you spill something, immediately unplug the keyboard, flip it upside down to drain, and let it dry completely (at least 24โ€“48 hours) before using it again.

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

  1. Press Win + X and select Device Manager.
  2. Expand the Keyboards section.
  3. Right-click your keyboard and select Update driver.
  4. Choose Search automatically for drivers and let Windows find the latest version.

If updating doesn't help, try uninstalling the driver entirely:

  1. In Device Manager, right-click your keyboard and select Uninstall device.
  2. Restart your computer.
  3. 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.

  1. Open Settings โ†’ Accessibility โ†’ Keyboard.
  2. Make sure Sticky Keys, Filter Keys, and Toggle Keys are all turned off.
Filter Keys can be toggled by holding the right Shift key for 8 seconds. If your keyboard suddenly felt "laggy" out of nowhere, this is very likely the cause.

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.

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)

  1. Go to Settings โ†’ System โ†’ Troubleshoot โ†’ Other troubleshooters.
  2. Find Keyboard and click Run.
  3. 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:

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:

  1. Test your keyboard with our online keyboard tester to identify which keys are affected.
  2. Restart your computer and reconnect (or re-pair) the keyboard.
  3. Clean the keyboard with compressed air and a lint-free cloth.
  4. Update or reinstall drivers through Device Manager (Windows) or Software Update (Mac).
  5. Check your settings โ€” disable Filter Keys, verify layout, check Num Lock.
  6. Run the troubleshooter and try Safe Mode or BIOS to isolate the cause.
  7. For laptops, check the ribbon cable and drain static charge.
  8. 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 โ†’
โ† Back to Keyboard Test