Find the cause step by step
- Click the box above and don’t touch the keyboard. Keys that show up by themselves are the culprits.
- Turn off (or unplug) the keyboard and clean around that key with compressed air. On a desktop keyboard you can carefully pop off the keycap and clean underneath.
- Plug in another keyboard. If it behaves normally, the problem is the keyboard; if it also types by itself, it’s software on the computer.
- Wireless keyboard: replace the batteries and move the receiver away from other USB devices.
Symptom, cause and fix
| Symptom | Likely cause | What to do |
|---|---|---|
| Always the same letter | A stuck key | Clean or replace the key |
| Random letters after a spill | Moisture in the membrane | Shut down and dry for 48 h; if it continues, replace |
| Wireless keyboard repeating | Low battery or interference | Replace the batteries; move the receiver closer |
| Another keyboard also types by itself | Software or accessibility | Check installed apps and the On-screen keyboard |
Related questions
Can a keyboard typing by itself be a virus?
It’s rare. In the vast majority of cases it’s a stuck key or moisture. If even a new keyboard types by itself on the same computer, check installed programs and run an antivirus scan.
How do I disable the laptop keyboard until I fix it?
You can disable its driver in Device Manager and use a USB keyboard, but only do it if you have another keyboard at hand.
The keyboard only types by itself when the laptop gets hot. Why?
Heat expands the plastic and can press membrane contacts together. Clean the air vents and use the laptop on a hard surface; if it keeps happening, the keyboard is on its way out.
My iPhone keyboard is typing by itself. Is it the same?
No, that’s the touchscreen: “ghost touches” come from a dirty or cracked screen, a bad screen protector or a cheap charger. Clean the screen, remove the protector and try another charger.
My keyboard keeps typing a 0 by itself. What is it?
A single repeating character is a stuck key: the 0 on the number pad or on the top row. Find it with the test above, then clean or replace that key.
More problems: keyboard test
- A key on your laptop not working: how to test and fix it
- Laptop keyboard not working: what to do first
- Keyboard typing numbers instead of letters: how to fix it
- Keyboard typing wrong characters: @ and " swapped, # turned into £
- Keyboard typing double letters: how to fix it
- Keyboard locked: how to unlock it
- Mechanical keyboard key not working: how to fix it
- USB keyboard not working on your PC: how to fix it
- How to test a keyboard without a computer: use your phone
- How to test a keyboard: online, mechanical, wireless, MacBook and BIOS
Updated November 12, 2026.