Keyboard key not working? Find out which keys register

Before you replace a keyboard, find out exactly which keys fail and whether the cause is a setting, a layout mix-up or worn hardware.

Press every key in a browser keyboard test to see which ones register. A key that registers but types the wrong character means a layout problem. A key that never registers points to Filter Keys, Mouse Keys, Fn Lock or Num Lock, dirt, or a failed switch.

Do it in your browser

Why individual keys stop working

A keyboard sends a code for each key press, and several layers can swallow it before it reaches the app. Accessibility features are the classic trap: Windows Filter Keys ignores short or repeated presses, which makes a keyboard feel like keys only work when pressed hard or held, and it switches on when you hold the right Shift key for eight seconds. On a Mac, Mouse Keys turns certain letter and number keys into pointer controls.

Layout mismatches make keys look broken when they are not. If Windows switches from US to UK or from QWERTY to AZERTY, the @, quote and # keys move, and letters such as Z and Y swap on German layouts. A press of Win+Space or Alt+Shift switches layouts by accident.

Hardware causes are dirt or crumbs under a keycap, liquid that dried on the membrane, a worn mechanical switch that registers twice (chatter) or not at all, and keyboards that cannot detect certain combinations of keys pressed together (ghosting).

How to find and fix the keys that don't work

  1. Open the keyboard test and press every key once. Tested keys turn green, and the counter shows how many are left; use Hide tested keys to spot the missing ones quickly.
  2. If a key lights up but your apps type a different character, fix the layout: on Windows 11 open Settings > Time & language > Language & region and remove extra keyboards; on a Mac check System Settings > Keyboard > Text Input.
  3. If a key never lights up, turn off accessibility filters: on Windows go to Settings > Accessibility > Keyboard and switch off Filter keys and Sticky keys; on a Mac go to System Settings > Accessibility > Keyboard and check Slow Keys, and to Pointer Control to switch off Mouse Keys.
  4. For function keys and the number pad, toggle Fn Lock (often Fn+Esc on laptops) and Num Lock, then test again.
  5. If a single key still fails, power off, remove the keycap gently with a keycap puller or plastic card (desktop keyboards) and blow out debris with compressed air. Test again before deciding on a replacement.

Keys that type twice: chatter on mechanical keyboards

When one press produces two letters, the switch contacts are bouncing. Every switch bounces for a few milliseconds, and keyboards filter that out with a debounce delay. As switches wear or collect dust, the bounce lasts longer and slips through as a second press. The keyboard test flags these presses in orange when the same key fires twice within a few milliseconds; the chatter test focuses on exactly this.

Fixes in order of effort: blow compressed air into the switch while pressing it repeatedly, update the keyboard firmware or raise the debounce time in the maker's software if it offers one, swap the switch on a hot-swap board, or desolder and replace it. A chattering switch within the warranty period is a valid reason for a replacement.

Several keys fail together: ghosting and rollover

Many office and laptop keyboards share wiring between keys, so certain combinations of three or more keys cannot all be detected at once. Games make this obvious: W and A work, but W, A and Space together drop one. The test's simultaneous key counter shows how many keys the keyboard reports at the same time, and the ghosting test has ready-made combinations to try.

Gaming keyboards advertise n-key rollover, meaning any number of keys can be held together. If your keyboard drops keys only in combinations, it is not broken; it is a design limit, and remapping game controls to keys that do not share a line is the free fix.

Laptop keyboard not working but an external keyboard works

If a USB keyboard types fine, Windows itself is working. Open Device Manager, expand Keyboards, right-click the built-in keyboard (often called Standard PS/2 Keyboard) and choose Uninstall device, then restart so it is reinstalled. If the built-in keyboard also fails before Windows starts, for example in the BIOS setup screen, the problem is hardware.

After a liquid spill, shut the laptop down at once, unplug it, turn it upside down in a tent shape and let it dry for at least 24 to 48 hours. Sugary drinks leave a sticky film that usually needs a professional clean or a new keyboard.

Mac and Chromebook specifics

On a Mac, pressing Option five times toggles Mouse Keys when that shortcut is enabled, after which keys such as 7, 8, 9, U, I, O, J, K, L and M move the pointer instead of typing. Turn it off under System Settings > Accessibility > Pointer Control. If keys repeat or ignore short taps, look at Slow Keys and the key repeat settings under System Settings > Keyboard.

Chromebooks have a different layout: the Search key replaces Caps Lock and the top row are system keys. Recent ChromeOS versions include a Diagnostics app with a keyboard input test under Input. If the built-in keyboard works there but not in one website, the site is intercepting keys.

Keys the browser cannot see

A web page cannot detect every key. The Fn key is handled inside the keyboard and never sent to the computer. The Windows key, Print Screen and some media or brightness keys are often captured by the operating system before the browser receives them. If those keys do their normal job, such as opening the Start menu or changing brightness, they work.

Chrome and Edge allow a page in fullscreen to capture more reserved keys, such as Alt+Tab and the Windows key, through keyboard lock. In that mode, holding Esc for about two seconds leaves fullscreen again, so a quick tap of Esc can still be tested.

Frequently asked questions

Why do some keys on my keyboard not work?

The usual causes are Filter Keys or another accessibility feature, a wrong keyboard layout, Fn Lock or Num Lock, dirt under the keycap or a worn switch. Test each key to see whether it registers at all, then work through the settings before assuming hardware failure.

Why does a key only work when I press it hard?

On Windows, Filter Keys can ignore short presses; turn it off in Settings > Accessibility > Keyboard. If it is off, debris under the key or a worn membrane contact needs more pressure to close, and cleaning usually helps.

How do I fix some keys on my keyboard not working on Windows 11?

Turn off Filter keys and Sticky keys, remove extra keyboard layouts in Language & region, toggle Num Lock and Fn Lock, and reinstall the keyboard in Device Manager. If the key still fails in a keyboard test, clean or replace it.

Why are my keyboard keys typing the wrong characters?

The active layout does not match the physical keyboard, for example UK instead of US. Switch layouts with Win+Space on Windows or the input menu on a Mac, and remove layouts you do not use so they cannot switch by accident.

Can a keyboard key stop working after a spill?

Yes. Liquid can short a membrane trace or leave sticky residue. Power off immediately, let it dry upside down for a day or two, then test. Keys that still fail usually need a new keyboard or, on mechanical boards, new switches.

Why do keys not work sometimes and then come back?

Intermittent failures point to a loose cable, a weak wireless battery or interference, or a switch that is wearing out. Try another USB port or fresh batteries, move the wireless receiver closer, and run the keyboard test several times to see if the same key fails.

How do I test which key is not working?

Use a keyboard tester that highlights each key as you press it and marks tested keys. Press every key once; the keys that never light up are the ones that are not sending a signal.

More guides

Updated Nov 12, 2026