Why is my keyboard typing double letters?

When one press types two letters, the key's switch is usually sending two signals for one press. That is called key chatter. The usual causes are dirt or crumbs under the key and a worn or damaged switch; less often it is a setting, a weak wireless connection or the keyboard's own software. Test the key first, then work through the fixes below from the free ones to the costly ones.

One clean press one press, one letter A chattering key a few ms the computer reads a second press
A worn or dirty switch can break contact for a moment during one press. The keyboard reports two presses a few milliseconds apart, and you see a double letter.

1. Test the key

Open the keyboard double-press test and press the suspect key slowly, about twenty times, one press at a time. It lists the time between presses of the same key and flags gaps shorter than anyone presses on purpose.

The test sees key events, not the switch's electrical signal, so one fast double on its own does not prove a broken switch. A pattern that repeats on the same key does.

2. Rule out the computer and the settings

3. Clean the key

Unplug the keyboard or switch it off. Turn it upside down and tap it gently, then blow compressed air under the key from a few angles. If its keycaps come off, lift the cap with a keycap puller and clean around the switch. Never pour liquid into a keyboard. Test the key again afterwards.

4. Update the keyboard's software

If your keyboard has its own app, install the latest firmware. Some gaming keyboards also offer a debounce setting: the time the keyboard waits before it accepts a second press of the same key. A slightly longer debounce filters chatter.

5. Replace the switch or the keyboard

On a laptop or MacBook

A mouse button doing the same? Read why a mouse double-clicks. To check every key at once, use the keyboard test.