Keyboard Chattering Test: Find Keys That Double-Type

Press your keys normally — any switch that registers a second press within milliseconds of being released is flagged on the heatmap.

Press keys to startEvery release-to-press gap is measured
EscEscF1F1F2F2F3F3F4F4F5F5F6F6F7F7F8F8F9F9F10F10F11F11F12F12Print ScreenPrtScScroll LockScrLkPausePause` ~~`1!12@23#34$45%56^67&78*89(90)0- __-= ++=BackspaceBackspaceTabTabQQWWEERRTTYYUUIIOOPP[ {{[] }}]\ ||\Caps LockCaps LockAASSDDFFGGHHJJKKLL; ::;' ""'EnterEnterLeft ShiftShiftZZXXCCVVBBNNMM, <<,. >>./ ??/Right ShiftShiftLeft CtrlCtrlLeft Win/⌘WinLeft AltAltSpaceRight AltAltRight Win/⌘WinMenuMenuRight CtrlCtrlInsertInsHomeHomePage UpPgUpDeleteDelEndEndPage DownPgDn↑ Up↑← Left←↓ Down↓→ Right→Num LockNumNumpad //Numpad **Numpad −−Numpad 77Numpad 88Numpad 99Numpad ++Numpad 44Numpad 55Numpad 66Numpad 11Numpad 22Numpad 33Numpad EnterEnterNumpad 00Numpad ..
  • Clean
  • 1 double-registration
  • Repeated chattering
Waiting for key presses

Press each key you want to check 10–20 times at a normal pace, or just type a paragraph.

Presses0auto-repeat ignored
Keys tested0distinct keys
Chatter events0below threshold
Worst key—no chattering key
30 ms

A press that follows the same key's release faster than this is counted as chatter. Results update instantly when you move the slider.

Recent double-registrations

  • No double-registrations yet.

Per-key results

KeyPressesChatterShortest gap (ms)
Per-key results will appear here.

What keyboard chattering is

Chattering is when one physical press registers as two or more presses — you type “hello” and get “helllo”. Inside every switch, metal contacts touch and separate; for a fraction of a millisecond they bounce. Keyboard firmware hides this with debouncing, but as switches wear, collect dust or corrode, the bounce lasts longer than the debounce window and leaks through as an extra key press.

It is easy to confuse with two other problems:

  • Auto-repeat — holding a key makes the operating system repeat it after a short delay. Browsers flag those events as repeats, and this test ignores them.
  • Ghosting — a different key appears when you press several keys together. That is a keyboard-matrix limit, measured by the rollover and ghosting test.

Reading the result

For every key the test measures the gap between letting go and the next press of the same key. A deliberate re-press takes noticeably longer than a contact bounce, so a very short gap is a strong sign of chattering.

  • Green, “No chattering detected”: no key re-registered faster than the threshold. Test suspect keys at least 10–20 times before trusting a clean result.
  • Amber, one event: could be a genuine bounce or an unusually fast tap. Press that key another 20 times.
  • Red, repeated events: the key is chattering. The “shortest gap” column shows how fast the ghost press followed the release.

The default threshold of 30 ms suits most keyboards. Raise it if you see doubled letters while typing but the test stays clean; lower it if very fast typing triggers false alarms.

How to run the chattering test

  1. Choose your layout so every key has a place on the heatmap.
  2. Press the key you suspect 20 times at a normal, steady pace — fully releasing it each time.
  3. Repeat for other suspect keys, or type a few sentences to sample the whole keyboard.
  4. Check the heatmap and the per-key table. Amber and red keys are the ones to clean or replace.

Method and limits

The test records the high-resolution timestamp of every key-down and key-up event, keyed by the physical KeyboardEvent.code. Auto-repeat events are excluded, and if the window loses focus mid-press that gap is discarded so it can't produce a false result.

  • Your keyboard's polling rate rounds the timings: at 125 Hz events arrive in roughly 8 ms steps, at 1000 Hz in 1 ms steps.
  • Very fast bounces that the firmware filters correctly never reach the browser — which is exactly what you want.
  • Wireless keyboards can batch events. If a wireless board looks borderline, retest it with a cable.
  • OS accessibility settings such as Windows Filter Keys (bounce keys) or macOS Slow Keys can hide or delay presses. Turn them off while testing.

Browser support

BrowserWorksNotes
Chrome, Edge, OperaYesSub-millisecond event timestamps.
FirefoxYesTimestamps may be rounded to 1 ms for privacy; still precise enough.
Safari (macOS)YesCaps Lock reports on/off state, so skip it in this test.
Phones and tabletsWith a hardware keyboardOn-screen keyboards cannot chatter and aren't measured.

How to fix a chattering key

  1. Clean it. Remove the keycap and blow out dust with compressed air. For mechanical switches, pressing the key rapidly 50–100 times after cleaning can wipe the contacts.
  2. Raise the debounce time. Many gaming and QMK/VIA keyboards let you set debounce in their software; a few extra milliseconds usually cures mild chatter.
  3. Replace the switch. On hot-swap boards, pull the switch and fit a new one. On soldered boards, a repair shop can replace it.
  4. Use the warranty. Chattering is a common defect in newer keyboards. A screenshot of the red result supports the claim.

Frequently asked questions

What causes keyboard chattering?

Worn, dirty or oxidized switch contacts that bounce longer than the keyboard's debounce filter expects. Spilled drinks, dust and age are the usual triggers; some new switches also ship defective.

Is chattering the same as a key repeating when held?

No. Holding a key makes the operating system repeat it on purpose after a short delay. Chattering happens on a single, normal press. This test ignores auto-repeat events so only genuine double-registrations are counted.

What threshold should I use?

Start with the default 30 ms. If letters double while you type but the test stays clean, raise it to 50–60 ms. If fast deliberate taps show up as chatter, lower it.

Can software fix chattering?

Often, yes — temporarily. Increasing the debounce time in your keyboard's software or firmware hides mild chattering. A switch that keeps getting worse will eventually need cleaning or replacement.

Does this test work for laptop keyboards?

Yes. Laptop keyboards can chatter too, typically after a spill. The test measures them the same way; the fix is usually a keyboard replacement by a service center.

Last updated