Keyboard Latency Test

Input Diagnostics

Keyboard Latency Test

Method: performance.now()
Resolution: <1ms
API: KeyboardEvent
Current Latency milliseconds
Average Latency milliseconds
Min ms
Max ms
P95 ms
0 Keypresses
Click the field below and press keys to begin measuring input latency.
Input Field — Press any key repeatedly
Click here, then press any key rapidly. Hold a key for repeat-rate testing.
Latency history — last 80 keypresses Scale: auto
Tier Distribution
<1ms
0
1-5ms
0
5-15ms
0
15-30ms
0
>30ms
0
Verdict
Press at least 20 keys to generate a verdict.
# Key Latency Avg so far Tier
Measuring keydown → keyup intervals via performance.now()

Click the input field above and press keys repeatedly. The tool records a high-resolution timestamp on each keydown and keyup event, calculates the interval in milliseconds, and plots every reading on a live chart. After 20 keypresses, a verdict explains what your result means for gaming, typing, and hardware quality. No download, no account, no external files. Works on wired and wireless keyboards on Windows, macOS, and Linux.

Table of Contents

What Is Keyboard Latency?

Keyboard latency is the total time delay between physically pressing a key and your computer registering that input. Every keypress travels through several processing stages before your application receives it, and each stage adds a small amount of delay.

The term gets used loosely to mean different things in different contexts. Manufacturers advertise polling rate latency, which is only one piece of the total. This tool measures the full keydown-to-keyup interval at the browser level, which captures the combined effect of scan rate, polling delay, driver processing, and OS event handling in a single number.

For most everyday tasks, keyboard latency is invisible. You cannot feel 10 ms of delay when writing a document or browsing the web. The number becomes relevant in two specific situations: competitive gaming where reaction times are measured in 200 to 300 ms windows and even a 7 ms reduction in input lag is worth having, and fast mechanical keyboard testing where you want to verify that your hardware performs to specification.

How to Use This Keyboard Latency Test

The test activates when you click the input field and start pressing keys. Here is what to do for the most accurate results.

Click the input field first. The field needs focus before it captures keyboard events. The cursor blink activates once focus is established.

Press the same key repeatedly at a natural pace. The spacebar, the A key, or any other key you normally use during gameplay or typing works well. Pressing at your natural rhythm gives you a realistic measurement rather than an artificially slow or fast one.

Tap 20 to 30 times before reading your results. The first few readings may be higher than normal because the browser, CPU, and USB controller are all in varying states of readiness. A sample size of at least 20 gives you a stable average that filters out those early spikes.

Hold a key briefly to test key repeat latency. The tool only records a new reading when a key is released and pressed again, so holding does not inflate the count. But releasing at different press durations (very short vs. held for 200 ms) lets you observe whether your debounce settings affect short taps differently from normal presses.

Read the stats panel. Average latency is the most useful single number. Minimum tells you the floor your hardware and system are capable of. P95 is the 95th percentile, meaning 95% of your presses were at or below that value. A large gap between average and P95 indicates inconsistent performance, which matters more for gaming than the average alone.

Export the CSV. If you want to compare results across different USB ports, different keyboards, or different system load conditions, the Export CSV button downloads every reading with its key label, latency, and timestamp for external analysis.

What Is a Good Keyboard Latency Score?

The tool classifies every reading into five tiers. Here is what each one means in practice.

Under 1 ms: Excellent. Sub-millisecond average indicates that USB polling and scan rate are not the bottleneck. At this level, the JavaScript event processing overhead is the dominant factor. This reading is possible on a 1000 Hz keyboard connected directly to a low-load system. Most budget keyboards cannot reach this tier.

1 to 5 ms: Great. Consistent with a 1000 Hz polling rate keyboard in good operating conditions. This is the target range for competitive gaming hardware. Typical keyboard latency for gaming keyboards ranges from 7 to 14 ms total, and optimized low-latency keyboards reach 3 to 6 ms. A browser test reading in this tier suggests your hardware is performing near its theoretical ceiling.

5 to 15 ms: Good. Typical of a 500 Hz polling rate keyboard or a 1000 Hz keyboard under moderate system load. Most users will not feel any difference between this range and the Great tier during normal use. Competitive gamers may prefer to investigate whether a USB port change or polling rate setting adjustment can push readings lower.

15 to 30 ms: Moderate. This range often indicates a 125 Hz polling rate, a Bluetooth connection, a USB hub adding delay, or high background CPU load. At 125 Hz, worst-case polling delay is 8 ms with an average of 4 ms. At 1000 Hz, the worst case drops to 1 ms with an average of 0.5 ms. If you are in this tier on a keyboard advertised as 1000 Hz, check your polling rate settings in the manufacturer’s software.

Above 30 ms: High latency. Readings above 30 ms are perceptible as sluggishness during fast typing and will noticeably affect gaming feel. Bluetooth keyboards, keyboards connected through multiple USB hubs, heavily loaded systems, and Windows Filter Keys being enabled all produce readings in this range. The troubleshooting section below covers each cause.

The Four Components That Create Total Keyboard Latency

Total keyboard latency is not a single measurement from a single source. It is the sum of four distinct stages, each with its own contribution.

1. Switch actuation and debounce. When you press a mechanical key switch, the metal contacts briefly bounce against each other multiple times before settling into a clean connection. This electrical noise, left unfiltered, would register multiple keypresses per physical press. The keyboard’s firmware applies a debounce algorithm that waits until the signal is stable before registering the input. Standard keyboards apply 5 to 10 ms of debounce time. Gaming keyboards reduce this to 2 to 4 ms, and some allow user adjustment down to 0.5 to 1 ms through companion software. Debounce is intentional latency. Reducing it too aggressively causes double-registration artifacts.

2. Keyboard matrix scan rate. The keyboard’s microcontroller does not monitor every key simultaneously. It scans a grid of rows and columns called the key matrix, checking each intersection for a closed circuit. Scan rate happens inside the keyboard before polling. A higher scan rate allows the keyboard to detect a key press sooner, but it does not control when that information is sent to the PC. Modern keyboard controllers scan at 1000 Hz or faster, adding under 1 ms for this step. Budget keyboards may use slower scan rates of 125 to 250 Hz, adding 4 to 8 ms before the press is even ready to report.

3. USB polling rate. After the keyboard detects and debounces a keypress, it must wait for the next USB polling cycle to transmit that information to the computer. Polling rate defines the upper limit for how quickly a detected keypress can be delivered to the system. At 125 Hz, the maximum reporting delay is 8 ms. At 1000 Hz, it drops to 1 ms. This is the number most marketing materials focus on, and it is real, but it represents only one piece of total latency.

4. OS and application processing. After the USB report arrives, the operating system’s HID driver processes it and passes it to the active application. Windows input handling typically adds 2 to 3 ms. Under heavy system load, background processes can push this to several additional milliseconds. The browser’s JavaScript event loop then processes the keydown event and fires your callback. This final stage is what this tool measures on the tail end of every keypress.

Polling Rate vs. Latency: What the Numbers Actually Mean

Polling rate and keyboard latency are related but not the same thing, and mixing up the two leads to poor purchasing decisions and misread test results.

Polling rate, measured in Hz, is how often the keyboard reports its state to the computer. A 1000 Hz keyboard reports 1000 times per second, once every millisecond. If you press a key immediately after a report was just sent, the keyboard waits up to 1 ms before the next report carries that keypress. A 125 Hz keyboard creates a wait of up to 8 ms. Polling rate is best understood as the maximum reporting delay your keyboard can add, not a measure of how fast the switch itself responds.

Total latency includes polling rate delay plus debounce time plus scan rate delay plus OS processing. A typical example: 5 ms debounce plus 1 ms polling delay plus 5 ms system latency equals 11 ms total. The polling rate is only one term in that sum.

The practical implication for buyers: upgrading from 125 Hz to 1000 Hz removes up to 7 ms of worst-case polling delay. That 7 ms difference is perceptible in competitive games like CS2 and Valorant. The upgrade from 1000 Hz to 8000 Hz saves only 0.875 ms more. Professional gamers in blind tests cannot reliably distinguish between 1000 Hz and 8000 Hz keyboards. The latency improvement is real but buried under other sources of delay and variability that provide no competitive advantage.

For this tool’s readings: a result in the 1 to 5 ms range on a 1000 Hz keyboard is expected and correct. A result of 15 ms or higher on a keyboard advertised as 1000 Hz suggests either the polling rate is not active (check manufacturer software), a USB hub is adding delay, or system load is inflating the OS processing time.

Wired vs. Wireless: How Much Does Connection Type Matter?

Wireless keyboards come in two main radio technologies, and their latency profiles differ significantly.

2.4 GHz proprietary wireless is what gaming manufacturers use for their high-performance wireless keyboards. The keyboard’s firmware is tuned to minimize radio round-trip time, and the receiver connects via USB to your computer. Modern 2.4 GHz gaming wireless keyboards typically land at 1 to 8 ms, close to wired performance. High-end models advertise a 1 ms mode on their proprietary receivers. Range, RF interference from other devices, and receiver placement all affect this. Keep the receiver within 30 cm of the keyboard and away from USB 3.0 ports, which generate RF interference in the 2.4 GHz band.

Bluetooth keyboards use a standardized protocol not optimized for low latency. Bluetooth keyboards commonly measure 6 to 20 ms or higher depending on Bluetooth version and implementation. Bluetooth 5.0 and above reduces this somewhat, but even the best Bluetooth keyboards sit above the 1000 Hz wired range. For gaming, Bluetooth keyboards are not recommended if latency is a priority. For typing, document work, and any use case that does not require sub-10 ms response, Bluetooth is functionally indistinguishable from wired.

Wired USB keyboards connected directly to a rear motherboard port produce the lowest and most consistent readings. Always plug your keyboard directly into a motherboard USB port rather than a front-panel port or USB hub. Front-panel headers route through an internal cable that adds 1 to 3 ms compared to rear I/O ports.

How to Reduce Keyboard Latency on Windows and macOS

If your test result is higher than expected, work through these adjustments before replacing hardware. Most latency problems are software configuration issues, not hardware failures.

Disable Filter Keys on Windows. Filter Keys is a Windows accessibility feature that adds deliberate delay to every keypress to prevent accidental registrations. Go to Settings, then Accessibility, then Keyboard, and make sure Filter Keys is turned off. This single change resolves unexpectedly high latency for many users who do not know the feature was enabled. Windows sometimes re-enables it automatically after updates.

Disable USB selective suspend. Go to Control Panel, then Power Options, then Change plan settings, then Change advanced power settings. Under USB settings, disable the USB selective suspend option. When selective suspend is active, Windows occasionally allows the USB controller to enter a low-power state. Waking it adds a burst of latency to the first keypress after idle periods.

Update USB Root Hub and Host Controller drivers. In Device Manager, expand Universal Serial Bus controllers. Update each USB Root Hub and Host Controller. USB latency often originates here rather than in the keyboard driver itself. If updating does not help, uninstalling the keyboard device and restarting forces Windows to reinstall a clean HID driver, which resolves conflicts that survive standard updates.

Plug directly into a rear motherboard USB port. Remove any USB hubs, docking stations, or front-panel connections from the chain. Test the latency again. If the readings drop, the removed device was the source of the additional delay.

Set your polling rate to 1000 Hz in manufacturer software. Razer Synapse, Logitech G HUB, Corsair iCUE, and SteelSeries GG all include a polling rate setting. Many keyboards ship at 500 Hz or 125 Hz for compatibility and require explicit activation of 1000 Hz mode. Enable it and rerun the test.

Close background applications before testing. Background processes and high CPU usage add several milliseconds to OS input processing time. RGB lighting software, streaming overlays, browser tabs, and background sync processes all consume CPU cycles that compete with keyboard event handling. Close them, run the test, then reopen them to measure the overhead they add.

Reduce or disable per-key RGB effects. Complex RGB lighting effects can add 1 to 3 ms of input delay because your keyboard’s microcontroller must calculate lighting patterns alongside key matrix scanning. Static lighting or disabled RGB lets the controller dedicate maximum processing to key detection.

On macOS, go to System Settings, then Keyboard, and set the Key Repeat rate to Fast and the Delay Until Repeat to the shortest setting. This does not reduce physical latency but reduces the interval before held keys begin repeating, which affects how responsive the keyboard feels during extended holds.

How Accurate Is a Browser-Based Latency Test?

Browser-based latency tests measure events at the JavaScript layer, not raw USB interrupts. Understanding what that means keeps you from misinterpreting your results.

This tool uses performance.now(), which has sub-millisecond resolution in all major browsers. The keydown timestamp captures the moment the browser’s event loop processes your keydown event, and the keyup timestamp captures the keyup event. The interval between them is the full key press duration.

Total keyboard latency is the sum of the keyboard’s internal scan rate, polling rate, debounce time, and system processing by the OS and browser. A browser tool measures the keypress duration including these combined components. What it does not measure is pixel-to-display latency, which requires hardware tools like the Nvidia LDAT or the Logitech Latency Tester that can time the gap between a keypress and a photon appearing on screen.

Readings may vary by 1 to 3 ms between sessions on the same hardware due to CPU load, browser tab activity, and OS scheduler timing. For comparison testing across different hardware configurations, run each test under the same conditions: same number of background applications, same browser, same number of tabs open. The absolute numbers matter less than the relative comparison between configurations.

One important caveat: this tool measures keydown-to-keyup duration, not keydown-to-display time. A very short press will record a lower latency than a longer press simply because the press duration is shorter. For the most comparable results between sessions, aim for a natural, consistent press rhythm rather than deliberately short or long taps.

Does Keyboard Latency Actually Matter for Gaming?

The honest answer depends on which gap you are closing.

Upgrading from a 125 Hz keyboard to a 1000 Hz keyboard removes up to 7 ms of worst-case polling delay. In competitive FPS games where players aim for sub-200 ms reaction times and every millisecond of input latency compounds with monitor latency, GPU render latency, and network latency, that 7 ms is a real improvement. In games that require fast reaction times and decision-making such as FPS or MOBA titles, high latency leads to slower effective reaction times and puts players at a disadvantage.

Above 1000 Hz, the case collapses. The latency improvement from 1000 Hz to 8000 Hz is real at 0.875 ms average reduction but is buried under other sources of delay and variability that provide no competitive advantage. Professional esports players across Counter-Strike, Valorant, and League of Legends overwhelmingly use 1000 Hz keyboards.

For non-competitive gaming, casual play, and productivity use, keyboard latency is essentially irrelevant once you are below 15 ms. Keyboard latency is only one piece of total input-to-display latency. For casual or even serious competitive gamers below professional level, keyboard latency is not the limiting factor on performance. Skill, practice, game knowledge, and strategy matter far more.

Where latency testing provides the most value is not in buying decisions but in diagnostics. If a keyboard that previously felt responsive suddenly feels sluggish, running this test takes 30 seconds and tells you whether the problem is in the hardware chain or the software stack. A reading that doubled from one session to the next points to a driver issue, a changed Windows setting, or a new background application, all of which are free to fix.

Frequently Asked Questions

What is keyboard latency?

Keyboard latency is the total time delay between physically pressing a key and your computer registering that input, measured in milliseconds. It includes the keyboard’s internal scan rate, USB polling delay, debounce time, and OS processing. Most keyboards produce between 5 and 30 ms of total latency depending on hardware quality, connection type, and system load.

What is a good keyboard latency score?

Under 5 ms is excellent and consistent with a 1000 Hz gaming keyboard on a low-load system. Between 5 and 15 ms is good and covers most gaming keyboards in normal conditions. Between 15 and 30 ms is moderate and often points to a 125 Hz polling rate, Bluetooth connection, or USB hub. Above 30 ms is high and will feel sluggish during fast gaming or typing.

How does a browser-based keyboard latency test work?

The tool records a high-resolution timestamp via performance.now() when your keydown event fires, then records a second timestamp when keyup fires. The difference is your keydown-to-keyup interval in milliseconds, capturing USB reporting delay, driver processing, and browser event handling in one number. It does not measure pixel-to-display latency, which requires hardware tools.

Does a USB hub increase keyboard latency?

Yes. Unpowered USB hubs add measurable latency by sharing bandwidth across devices and introducing an extra polling stage. Plugging directly into a rear motherboard USB port consistently produces the lowest readings. Front-panel USB ports route through a header cable and can add 1 to 3 ms versus rear I/O ports.

Why is my wireless keyboard latency higher than wired?

Wireless keyboards add radio transmission time to the path. Modern 2.4 GHz gaming wireless keyboards typically land at 1 to 8 ms, close to wired. Bluetooth keyboards measure 6 to 20 ms or higher. Placing the receiver close to the keyboard and away from USB 3.0 ports, which generate 2.4 GHz interference, reduces wireless latency.

Does Filter Keys increase keyboard latency?

Yes. Filter Keys deliberately delays key registration to prevent accidental repeats. Disable it in Windows by going to Settings, then Accessibility, then Keyboard, and turning Filter Keys off. It is one of the most common causes of unexpectedly high latency on otherwise capable hardware and can re-enable itself after Windows updates.

Does keyboard latency matter for gaming?

The 125 Hz to 1000 Hz upgrade removes up to 7 ms of worst-case polling delay and is perceptible in competitive FPS titles. Above 1000 Hz, improvements are under 1 ms and professional players in blind tests cannot distinguish between 1000 Hz and 8000 Hz keyboards. For casual gaming and most typing tasks, anything under 15 ms is effectively imperceptible.