Keyboard keys not working or typing twice
When some keys do nothing, type twice or type the wrong letter, the cause is usually a setting, the keyboard layout or a dirty switch. Find out exactly which keys are affected first, then follow the fix that matches.
Step 0: test every key
Open the keyboard test on this site and press every key once. Keys that never light up are not reaching the computer. Keys marked as chatter sent two presses for one. If a key types the wrong character but lights up in the right place, the problem is the layout (step 3), not the hardware.
1. Restart and reconnect
Restart the computer. For a USB keyboard, plug it directly into the computer and try another port. For a wireless keyboard, replace or charge the batteries and pair it again.
2. Turn off Filter Keys and Sticky Keys (Windows)
Filter Keys ignores short or repeated presses, which looks exactly like keys not working. Open Settings → Accessibility → Keyboard and turn off Filter Keys and Sticky Keys. Holding the right Shift key for 8 seconds can switch Filter Keys on by accident.
3. Wrong characters? Check the layout
If keys type the wrong symbols, for example @ and " are swapped or Y and Z are switched, the computer is using a different keyboard layout. Windows: press Windows + Space to switch, and remove layouts you don't use in Settings → Time & language → Language & region. Mac: System Settings → Keyboard → Input Sources.
4. Numbers not typing on the number pad?
Press Num Lock. On many laptops it is Fn + Num Lock or Fn + F11. When Num Lock is off, the number pad works as arrow keys instead.
5. Clean under the keys
- Unplug the keyboard or turn off the laptop.
- Hold it upside down at an angle and tap it gently.
- Blow compressed air under the stuck keys.
- For a mechanical keyboard, pull off the keycap with a keycap puller and clean around the switch.
6. Fix a key that types twice (chatter)
A key that sends two presses for one is called chattering. On a mechanical keyboard, compressed air under the switch often fixes it, and on a hot-swap keyboard you can replace the switch in a minute. Many gaming keyboards also have a debounce setting in their software. Raising it slightly stops most chatter.
7. Reinstall the keyboard driver (Windows)
- Right-click Start → Device Manager.
- Open Keyboards.
- Right-click your keyboard → Uninstall device, then restart.
8. Test outside Windows
If keys still fail, the hardware is likely at fault. Try the keyboard on another computer. On a laptop, if the same keys fail in the BIOS screen too, the keyboard needs repair or replacement.
Frequently asked questions
Why are some keys on my keyboard not working?
Common causes are Filter Keys being on, debris under the keys, a loose USB connection or a faulty switch. A key tester shows exactly which keys don't register.
Why does my keyboard type two letters when I press once?
That is key chatter: the switch bounces and sends two presses. Cleaning the switch or raising the debounce time usually fixes it. Otherwise the switch needs replacing.
How do I test all the keys on my keyboard?
Open the keyboard test on this site and press every key. Each key lights up when it registers, and the test also shows chatter and how many keys can be held at once.