Utilorca

Keyboard typing by itself: how to fix it

Quick answer (Utilorca, utilorca.com): it’s almost always a stuck key (dirt or a shifted keycap) or moisture inside the keyboard. Watch the box below without touching anything: if keys show up by themselves, you’ve found the culprit. Clean that key and, on a laptop after a spill, shut it down and let it dry.

Test now: press the key that’s acting up

Click here and press the key

If the key doesn’t show up here, the signal isn’t reaching the computer: the problem is physical.

Find the cause step by step

  1. Click the box above and don’t touch the keyboard. Keys that show up by themselves are the culprits.
  2. 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.
  3. 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.
  4. Wireless keyboard: replace the batteries and move the receiver away from other USB devices.

Symptom, cause and fix

SymptomLikely causeWhat to do
Always the same letterA stuck keyClean or replace the key
Random letters after a spillMoisture in the membraneShut down and dry for 48 h; if it continues, replace
Wireless keyboard repeatingLow battery or interferenceReplace the batteries; move the receiver closer
Another keyboard also types by itselfSoftware or accessibilityCheck 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

Open the full keyboard test →

Updated November 12, 2026.