Keyboard Chatter Test

Keyboard double typing, one key producing two characters, is almost always a chattering switch. This chatter test catches every repeat of the same key inside the threshold (50 ms by default), counts it per key in milliseconds, checks one suspect key in focus mode and gives you a report, followed by the fixes.

Click the keyboard and type normally for a minute
Result class: MeasuredRepeats under 50 ms count as chatter

Chattering keys

0

No double inputs so far. Keys that repeat within the threshold appear in the list and turn red on the drawing.

KeyPressesShortest gapChatter
Per-key statistics appear here as you type.
— — Hz

Runs in your browser. Nothing is uploaded.

How to use

  1. Click the keyboard drawing so the status turns green, then type a few sentences at your normal speed, or hammer the keys you suspect. Each key's presses, shortest gap between presses and chatter count appear in the table.
  2. A key that repeats within the threshold turns red on the drawing and in the table. Adjust the threshold in Settings (20–100 ms) if your typing is unusually fast.
  3. To confirm one key, press "Focus mode", then press the suspect key at normal speed for 30 seconds; the result is a chatter rate for that switch.
  4. Download the PNG report; it includes a debounce suggestion based on the longest chatter gap seen.

Find the chattering key

Click the drawing so the status line turns green, then type as you normally would for a minute or two; a few paragraphs of anything will do. The engine timestamps every press and compares each one with the previous press of the same key. A repeat that arrives within the threshold, 50 ms by default, is a chatter event: the key turns red on the drawing, the table lists the shortest gap seen for that key and how many times it chattered, and the big number counts how many keys have done it. The event history is kept per key, so changing the threshold in Settings recounts what you have already typed. For the spacebar on its own, the spacebar test counts presses against a timer and reports any that arrive inside the chatter threshold.

If you already suspect a key, use Focus mode: press the button, then press the suspect key at your normal speed for thirty seconds. The other keys dim and the result is a chatter rate for that one switch, the number of extra presses per hundred, which is what you need to decide between a debounce setting and a replacement. The result class is Measured: every count comes from events the browser received, and the summary tells you the debounce value that would have hidden all the repeats it saw.

What is key chatter?

A mechanical switch closes a circuit through two metal contacts, and when metal meets metal it bounces for a few milliseconds before settling. Keyboard firmware handles that with a debounce window, commonly between 1 and 10 ms: after the first closure it ignores further changes for that long. A healthy switch settles well inside the window. As a switch wears, oxidises or collects dust, its bounce stretches out until the contacts are still bouncing when the window closes, and the firmware sees a second press. That is chatter, also called double typing or key bounce. It tends to appear on the keys you press most, often one or two of E, A, Space, Backspace or Enter, and it gets worse gradually. The mechanical keyboard switches guide explains the contact design that makes chatter possible.

Chatter is different from a stuck key (which repeats continuously until released, and shows orange in the keyboard tester) and from ghosting (which involves several keys held together). It is also different from the operating system’s own key repeat, which starts only after a key has been held for a set delay, usually a quarter of a second or more, far longer than any chatter gap.

Chatter or software? (OS repeat settings, driver)

Before blaming the hardware, rule out the layers above it. Key repeat settings: if doubles appear only when you rest on a key slightly too long, the system’s repeat delay is short; raise it in Windows Keyboard properties or macOS System Settings › Keyboard. Real chatter happens on quick taps and shows gaps of a few milliseconds in the table, nowhere near the repeat delay. Accessibility features: Windows Filter Keys and Bounce Keys change how presses are accepted and can cause either missed or doubled characters; check they are off. Remapping and macro software: utilities that remap keys or run macros occasionally send a key twice, and so do some keyboards’ own macro features; test with the software closed. Drivers and firmware: a few keyboards have had firmware updates specifically for chatter; check the manufacturer’s page for your model. The browser: every key event here is the one the browser received, so a double seen on this page was produced before the browser; the test cannot invent one.

If the table shows one or two specific keys with 1–20 ms gaps while the rest are clean, the switch is the cause, and the next section applies.

Fixes: debounce time, cleaning, hot-swap switch replacement

Debounce setting. Many keyboards’ configuration software (and open firmware such as QMK and VIA) exposes the debounce time. Set it to a few milliseconds above the longest chatter gap in this test’s summary, for example 15 ms if the gaps reach 10 ms. The keyboard will then ignore the bounce; the cost is that genuine repeated presses faster than that interval are also ignored, which only matters for rhythm games. This is a workaround, not a repair, but it often buys months. The keyboard cleaning guide has the safe way to clean a switch and what to do after a spill.

Cleaning. Dust, skin oils and spills reach the contacts through the stem. Unplug the keyboard, pull the keycap, and either blow compressed air into the switch while pressing it repeatedly or apply a small amount of electrical contact cleaner into the stem opening and work the switch a few dozen times. Let it dry fully before reconnecting. Our cleaning guide covers the full procedure, including what to do after a liquid spill.

Switch replacement. On a hot-swap keyboard, pull the switch with the puller that came with the board and press in a new one of the same type; the whole job takes two minutes and a replacement switch costs very little. On a soldered board, the switch can be desoldered and replaced by anyone comfortable with a soldering iron, or by a repair shop; whether that is worth it depends on the keyboard’s value. Under warranty, chatter on a specific key is a recognised defect: the PNG report from this test, with the key, the counts and the gaps, is the evidence to attach to the claim.

Why does my keyboard keep double typing?

Because one switch has started bouncing for longer than the keyboard’s debounce window, and nothing you do in software changes the physics of that contact. It keeps happening, and usually gets worse, because the cause is wear or contamination inside the switch: the metal leaves oxidise, a speck of dust or a trace of a spilled drink sits between them, or the spring and stem have loosened enough that the contact closes unevenly. The keys you use most fail first, which is why Space, E, A, Backspace and Enter are the usual suspects, and why a keyboard that has been fine for years can start double typing within a few weeks of the first repeat.

Fix it in this order, confirming with the test after each step:

  1. Confirm it is one key, not a setting. Type a paragraph in the test above. One or two keys in red with gaps of a few milliseconds means chatter; every key doubling, or doubles only when you rest on a key, means a repeat-rate or accessibility setting (see the previous section).
  2. Raise the debounce time in the keyboard’s software or firmware, if it has the setting, to a few milliseconds above the longest gap the test reports. Retest: the red should disappear. This hides the bounce rather than curing it.
  3. Clean the switch. Unplug the keyboard, remove the keycap, blow compressed air into the switch while pressing it twenty or thirty times, or apply a small amount of electrical contact cleaner into the stem opening and work the key. Let it dry, retest.
  4. Replace the switch on a hot-swap board, or have it desoldered and replaced on a soldered one. Retest with focus mode: the chatter rate should read zero.
  5. Claim the warranty if the keyboard is new: a key that double types is a recognised defect, and the PNG report with the key, the counts and the gaps is what the manufacturer will ask for.

If a key on a laptop keeps double typing, the same logic applies, but the membrane and dome under the key can’t be cleaned or swapped individually; the keyboard assembly is replaced as a unit, which on most laptops is a repair-shop job. Until then, the debounce workaround isn’t available in laptop firmware, so a small utility that filters repeated presses at the operating-system level is the practical stopgap; our keyboard-not-working guide names the settings to check first.

Hall effect keyboards: does chatter happen?

Magnetic (hall effect) switches have no contacts. A magnet in the stem moves past a sensor that reports the key’s position continuously, and the firmware decides where in the travel the key counts as pressed. Nothing bounces, so there is no debounce window and no chatter in the mechanical sense; the same is true of optical switches. If a hall effect keyboard produces repeated characters, the cause is in its settings: an actuation point set extremely shallow combined with rapid trigger can register a second press from the slightest finger tremor, and some boards’ “snap tap” or SOCD features change how repeated inputs are handled. Adjust those in the keyboard’s software rather than cleaning anything. The same no-contact design is what makes these keyboards attractive to people who have worn out mechanical switches through heavy use. Their adjustable actuation and rapid trigger behaviour is measurable on the rapid trigger test. See the hall effect keyboard guide for how the switches work.

Whatever the keyboard type, the related double click test applies the same method to mouse buttons, whose microswitches chatter for the same reason and are the single most common cause of a mouse “double clicking” on its own.

Frequently asked questions

What is keyboard chatter?

Chatter is a switch registering a single press as two or more. Mechanical contacts bounce when they close, and the keyboard's firmware waits a few milliseconds (the debounce time) before accepting a second press. When a switch wears or gets dirty, it bounces for longer than the debounce window and the extra bounce comes through as a second character. It usually starts on one or two heavily used keys.

Why does my keyboard type double letters?

Either a chattering switch or a software setting. Run this test: if a specific key shows repeats under 50 ms, it is the switch. If every key doubles, or doubling happens only after holding a key briefly, look at the operating system's repeat delay and rate, accessibility features such as Filter Keys, remapping utilities and the keyboard's own software, which can also apply macros.

Can chatter be fixed without replacing the switch?

Often, at least for a while. Many keyboards' software has a debounce time setting; raising it to a few milliseconds above the longest chatter gap the test found hides the repeats at the cost of slightly slower repeated presses. Cleaning the switch with contact cleaner or compressed air helps when dust or spilled sugar is the cause. If chatter returns within weeks, the contact is worn and the switch should be replaced.

Is the chatter threshold of 50 ms right?

For normal typing, yes: pressing the same key twice in under 50 ms deliberately is very hard, so a repeat that fast is almost always a bounce. Fast typists and gamers who double-tap keys can lower the threshold to 20–30 ms to avoid false alarms; if you see red only on keys you double-tapped on purpose, that is what happened. Genuine chatter typically shows gaps of 1–20 ms.

Do hall effect keyboards chatter?

No, not in the mechanical sense. Magnetic (hall effect) and optical switches have no metal contact to bounce, so the firmware reads a continuous position rather than a closing circuit; there is nothing to debounce. They can still register unwanted repeats if the actuation point is set extremely shallow and the key is pressed lightly, which looks similar but is fixed in the keyboard's software, not by cleaning.

My keyboard types the wrong characters, not double ones. Same problem?

No. Wrong characters come from the input language or layout setting, Num Lock on compact laptops or a stuck modifier key, not from the switches. Open the keyboard tester: its event log shows the physical key you pressed and the character the system produced, and a mismatch points to the layout. Our keyboard-not-working guide walks through the settings for Windows, macOS and laptops.

Last updated:

Reviewed by: TestPane Editorial Team

Tested on: Chromium 141 (automated, synthetic key events), Firefox 142 (automated, synthetic key events), WebKit 26 (automated, synthetic key events)