A Keyboard Key Stopped Working in Windows: How to Clean It and Test the Cause
A single key (or a few keys) on your keyboard no longer types, while the rest work fine.
Why: A dead key is usually one of two things — dirt or crumbs stuck under the key, or a Windows accessibility setting (Filter Keys) that’s ignoring keystrokes. Less often it’s a driver glitch. The fixes below sort out which.
Fix 1: Test which keys are really broken
Before opening anything up, confirm whether it’s the physical key or Windows.
- Press the Windows key, type On-Screen Keyboard, and open it.
- Press the problem key on your real keyboard and watch the on-screen keyboard. If the matching key lights up there but nothing types, the key is being registered — it’s a software issue, so do Fix 2.
- If you click the key on the On-Screen Keyboard with your mouse and it types fine, your physical key is the problem — do Fix 3 to clean it.
Fix 2: Turn off Filter Keys
Filter Keys tells Windows to ignore brief or repeated keystrokes, which can make keys seem dead. It’s easy to switch on by accident (holding right Shift for eight seconds).
- Press Windows + U to open Settings > Accessibility.
- Click Keyboard.
- Turn the Filter keys switch Off.
- While you’re here, set Sticky keys and Toggle keys to Off too unless you use them.
- Test the key again.
Fix 3: Clean under the key
If the key is physically stuck, clean it. Following Microsoft’s guidance keeps you from damaging the keyboard.
- Disconnect the keyboard first (or remove the batteries on a wireless keyboard). For a laptop, shut it down.
- Hold the keyboard upside down and tap it gently to shake out loose crumbs and dust.
- Use a can of compressed air to blow dust and debris out from the surface and from between the keys.
- Lightly dampen a lint-free cloth or cotton swab with mild soap and water and gently wipe the key and surrounding area. Be careful not to drip any water into the keyboard.
- Let it dry fully, reconnect, and test.
Fix 4: Reinstall the keyboard driver
If the key still won’t type and the On-Screen Keyboard showed nothing, refresh the driver.
- Run Windows Update: type check for updates in the taskbar search box, open it, and click Check for updates.
- If the key is still dead, press the Windows key, type Device Manager, and open it.
- Expand Keyboards, right-click your keyboard, and choose Uninstall device.
- Restart the PC. Windows reinstalls the keyboard driver automatically on startup.
FAQ
Should I pop the keycap off to clean under it? On a desktop mechanical keyboard you usually can, gently. On a laptop the keys are fragile and clip-mounted — stick to compressed air and a cotton swab, or let the manufacturer service it.
Several keys near each other are dead. That often points to spilled liquid or a damaged ribbon cable rather than a single stuck key. After cleaning and drying, if a whole cluster stays dead the keyboard may need replacing.
The key works in some apps but not others. That’s usually a shortcut or game remapping the key, not a hardware fault — check the app’s keyboard settings.
Sources: Microsoft Support — Mouse and keyboard problems in Windows, Microsoft Support — How do I clean my Microsoft mouse or keyboard?, Microsoft Support — Make your mouse, keyboard, and other input devices easier to use