Keyboard typing double letters: what causes it

A keyboard that types "hello" as "helllo" has one of four problems: the key repeat setting is too quick, the key is held slightly too long, software is adding keystrokes, or the switch itself is reporting two presses for one tap (called chatter). Each has a different fix, and a short test tells them apart.

Test first: is it the switch?

  1. Open the keyboard chatter test and press Start full capture.
  2. Tap the key that doubles slowly, about once per second, 20 to 30 times. Do not hold it.
  3. Tap one or two keys that behave normally, for comparison.
  4. Look at the Flagged count and the Shortest gap for each key.

A second press that arrives only a few milliseconds after the first, with an extremely short release in between, is too fast for a finger: the switch contact is bouncing. If the slow taps come through clean but you still see doubles while typing, the cause is more likely a setting, a held key or software.

Cause 1: key repeat settings

Every operating system repeats a character while a key is held. If the delay before repeating is very short, a normal keystroke that lasts a little longer than usual produces two letters.

  • Windows: open Control Panel > Keyboard and move Repeat delay towards Long.
  • macOS: System Settings > Keyboard, and move Delay until repeat towards Long.

Repeat produces a steady stream when you hold the key, and the keycode tester marks those events with repeat: true. Chatter does not: it produces separate, very close presses.

Cause 2: a key held a little too long, or a sticking key

Light, fast typists rarely hit this, but on keyboards with heavy or scratchy switches a key can stay down long enough to start repeating. A long key such as Space, Enter or Shift whose stabiliser binds can also return slowly. In the keyboard test, watch whether the key turns green promptly when you release it. If it lingers orange, the key is physically slow to come back up.

Cause 3: software adding keystrokes

  • Macros and key remapping in keyboard utilities can send several characters for one key. Disable profiles or test on another computer.
  • Remote desktop and virtual machines sometimes duplicate keys over a slow connection. Test locally.
  • Accessibility features: Filter Keys on Windows and Slow Keys on a Mac change how presses are accepted. If they are on and the problem changes, adjust them deliberately rather than leaving them on by accident.
  • A single app: if doubles happen only in one program, test in a plain text editor. A clean result there points back to the app.

Cause 4: switch chatter

Chatter is a fault of the switch or its contacts: after wear, dirt or a spill, a single press makes and breaks contact more than once, and the keyboard reports two or more presses. Keyboards filter this with a short wait called debounce; when the bounce lasts longer than that wait, it gets through.

  • It usually affects one or a few keys, not the whole keyboard.
  • It is often intermittent and gets worse over time.
  • It shows up even when you tap slowly, which is exactly what the chatter test checks.

There is no single gap value that proves chatter for every keyboard. Compare the suspect key with healthy keys on the same keyboard: a key that is flagged repeatedly while the others are clean is the one to deal with.

What to try for chatter

  • Clean under the key: disconnect the keyboard and use short bursts of compressed air around the switch. Dust is a common trigger on mechanical switches.
  • Debounce setting: some keyboards let you raise the debounce time in their software or firmware. A small increase can hide mild chatter at the cost of a little delay.
  • Replace the switch: on hot-swap keyboards a chattering switch can be pulled and replaced. Swapping it with a rarely used key first shows whether the fault follows the switch or stays with the socket.
  • Warranty: chatter on a recent keyboard is usually a defect. Note the key and keep a screenshot of the chatter test result before contacting the seller.

Avoid soaking a keyboard or spraying liquid cleaners into switches. If liquid was spilled, disconnect the keyboard and let it dry completely before testing.

Retest after each change

Change one thing at a time, then run the same slow-tap test on the same key. That way you know which change made the difference. If the key is clean in the chatter test but still doubles in normal typing, go back to the repeat delay and software checks. For keys that do not respond at all, see keyboard keys not working.

Questions

Why does my keyboard type two letters when I press once?

Either the switch is bouncing and the keyboard reports two presses (chatter), or a setting or program is adding a character. Tap the key slowly in the chatter test: if the second press arrives within a few milliseconds, the switch is the likely cause.

Is double typing the same as key repeat?

No. Key repeat is a deliberate feature that repeats a held key after a delay. Chatter produces separate presses from a single tap, even when you release the key quickly.

Can I fix chatter without replacing the switch?

Sometimes. Cleaning can help when dust is the cause, and a higher debounce setting can hide mild chatter. A switch that keeps chattering after that usually needs to be replaced or handled under warranty.

Why did double typing start after I cleaned my keyboard?

Moisture left in the switches, keycaps that are not fully seated or a switch disturbed while cleaning are common causes. Let the keyboard dry completely, reseat the keycaps and test again.

Related tests