Keyboard Latency Test: Measure Input Lag & Response Time
Test your keyboard's input latency, debounce stability, and estimated scan rate with microsecond browser timing. Identify switch actuation delay, measure USB polling frequency, and diagnose keyboard lag for competitive gaming and 100+ WPM typing tests.
| # | Key | Code | Measured Latency | Estimated Scan Rate | Rating Category |
|---|---|---|---|---|---|
| No keystrokes recorded yet. Focus the testing canvas above and press or hold any key. | |||||
What is a Good Keyboard Latency?
Keyboard latency represents the physical and electronic interval between switch contact and operating system recognition. Here is how standard latency measurements translate to gaming and typing performance.
Instantaneous response. Hallmark of elite esports Hall Effect (magnetic switch) and optical gaming keyboards like Wooting 60HE and Razer Huntsman V3.
Highly responsive input with zero perceptible lag. Standard for wired mechanical keyboards with Cherry MX, Gateron, or Kailh mechanical switches.
Crisp response for fast touch typing (100+ WPM) and casual gaming. Typical of quality scissor-switch laptop keyboards and low-latency 2.4GHz wireless boards.
Acceptable for daily office productivity, document editing, and web browsing. Standard for budget membrane keyboards and standard USB hubs.
Sluggish feel with noticeable keystroke delay. Often caused by Bluetooth packet congestion, Windows driver corruption, or high CPU background load.
How to Accurately Measure Keyboard Latency Online
Most online testers only measure a single metric. TypingNation provides two dedicated testing methodologies to isolate different parts of your hardware pipeline.
Hold Mode (Repeat Latency & Polling Rate)
Select Hold Mode, then press and continuously hold down any key (such as Space or a letter key) for 3 to 5 seconds. The tool captures hardware repeat events dispatched by your operating system, measuring the exact microsecond intervals between consecutive repeats to estimate your keyboard's internal scan rate and USB report timing.
Tap Mode (Mechanical Actuation Contact)
Select Tap Mode and tap keys lightly and rapidly as if speed typing. The tool measures the precise duration from the initial keydown trigger to the physical keyup release. This reveals your shortest actuation contact window and highlights sluggish switch bounce or stiff membrane rubber domes.
Analyze Jitter & Stability Consistency
Inspect the Jitter / Variance metric in the HUD. While raw low latency is desirable, a stable latency with minimal jitter (±0.5ms) is what truly delivers smooth, predictable keystrokes. High jitter indicates wireless radio interference, poor USB controller handling, or background CPU throttling.
The 5 Core Hardware Stages Causing Keyboard Lag
From the moment your finger touches a keycap to the instant the character displays in an application, your keystroke travels through five critical electrical and software stages.
1. Physical Switch Actuation & Travel
Standard mechanical switches require 2.0mm of downward travel before electrical contacts touch. Speed switches (like Cherry MX Silver or Kailh Speed) reduce pre-travel to 1.1mm–1.2mm, shaving 5ms to 15ms off physical actuation latency.
2. Switch Debounce Algorithm Delay
Mechanical metal leaf contacts vibrate ("bounce") microscopic times upon impact. Keyboard microcontrollers (MCUs) apply a 2ms–10ms debounce filter delay to prevent duplicate keystrokes (key chatter). Optical and magnetic switches eliminate metal contacts, cutting debounce lag to near zero.
3. Keyboard Matrix Scan Rate
The keyboard's internal MCU continuously scans its key matrix column-by-column. A basic 125Hz MCU checks keys every 8 milliseconds, whereas a high-end 1,000Hz to 4,000Hz MCU scans the entire board every 0.25ms to 1ms.
4. USB HID Polling Rate (Report Rate)
USB is host-polled: the computer asks the keyboard for pending input at set intervals. Standard USB keyboards poll at 125Hz (adds ~8ms latency). Gaming keyboards poll at 1,000Hz (adds ~1ms latency), while 8,000Hz boards poll every 0.125ms.
5. Connection Protocol (Bluetooth vs 2.4GHz vs Cable)
Bluetooth relies on power-saving sleep cycles and shared 2.4GHz spectrum channels, routinely adding 15ms to 35ms of latency. Dedicated 2.4GHz RF wireless dongles achieve near-wired latency (1ms–3ms), while a direct braided USB cable ensures zero packet interference.
6. Operating System & DWM Composition
Once USB packets reach your PC, the OS driver stack processes the raw HID event and delivers it to the Desktop Window Manager (DWM). High CPU utilization, background antivirus scans, or Windows Filter Keys can introduce unpredictable input queuing lag.
6 Ways to Lower Keyboard Latency & Fix Input Lag
If your keyboard latency test shows sluggish response times or high jitter, apply these six hardware and Windows configuration optimizations immediately.
Use Direct Motherboard USB Ports
Never plug a gaming or high-speed typing keyboard into an unpowered desktop monitor hub, external USB splitter, or front-panel case port. Plug directly into the rear motherboard I/O panel (preferably a dedicated red or blue USB 3.0+ port) to ensure stable bus voltage and unshared bandwidth.
Switch from Bluetooth to 2.4GHz or Wired
Bluetooth prioritizes low battery consumption over latency, throttling polling rates to 125Hz or lower. For competitive typing tests and gaming, toggle your keyboard's physical switch to 2.4GHz wireless dongle mode or plug in the provided USB-C cable for native 1,000Hz polling.
Adjust Windows Keyboard Repeat Rate
Open Windows Run (Win + R), type control keyboard, and press Enter. Under the Speed tab, drag the Repeat Delay slider to the shortest position (left) and the Repeat Rate slider to the fastest position (right). This reduces repeat hesitation by over 200ms.
Disable Windows Filter Keys & Sticky Keys
Windows accessibility features like Filter Keys deliberately instruct the OS to ignore brief or repeated keystrokes to assist motor-impaired users. Go to Settings > Accessibility > Keyboard and verify that Filter Keys and Sticky Keys are strictly toggled OFF.
Tune Keyboard Debounce in Manufacturer Software
If using a mechanical keyboard from brands like Wooting, Razer, Keychron, or Ducky, launch the official software utility (such as Razer Synapse, Wooting App, or QMK/VIA). Lower the switch debounce delay from the default 8ms to 1ms–2ms for immediate actuation response without key chatter.
Turn Off USB Selective Suspend
Windows power-saving plans frequently put USB root hubs into sleep states during idle typing pauses, causing an annoying 50ms+ wake-up lag on the next keystroke. Navigate to Power Options > Edit Plan Settings > Change advanced power settings > USB settings and set USB selective suspend to Disabled.
Keyboard Switch Types: Latency & Response Comparison
The physical technology inside your key switches fundamentally dictates the lowest theoretical latency your keyboard can physically achieve.
| Switch Technology | Average Latency | Debounce Filter | Supported Polling Rate | Best Application |
|---|---|---|---|---|
| Hall Effect (Magnetic Analog) Wooting, SteelSeries OmniPoint |
≤ 1.0 ms | 0 ms (No metal contact) | 1,000 Hz – 8,000 Hz | Esports, competitive gaming, rapid-trigger typing |
| Optical Switches Razer Optical, Bloody Light Strike |
1.0 – 2.5 ms | 0 ms (Infrared beam break) | 1,000 Hz – 8,000 Hz | Competitive gaming, ultra-low latency typing |
| Standard Mechanical Switches Cherry MX, Gateron, Outemu |
3.0 – 8.0 ms | 2.0 – 8.0 ms algorithmic delay | 500 Hz – 1,000 Hz | Touch typing mastery, coding, standard PC gaming |
| Scissor-Switch (Laptop) Apple Magic Keyboard, ThinkPad |
8.0 – 16.0 ms | 5.0 – 10.0 ms delay | 125 Hz – 250 Hz | Office productivity, quiet travel typing |
| Traditional Membrane / Rubber Dome Standard desktop OEM keyboards |
16.0 – 35.0 ms | 10.0 – 20.0 ms delay | 125 Hz standard | Basic web browsing, everyday office computing |
Frequently Asked Questions About Keyboard Latency
Clear, technical answers to common questions about input lag, polling rates, and measuring keyboard performance.
What is considered a good keyboard latency?
For casual computer use and everyday touch typing, a latency of 10ms to 20ms is completely acceptable. For fast typing at 80+ WPM and general gaming, aim for 5ms to 10ms. For competitive esports (such as Valorant, CS2, or Fortnite) where split-second reaction times matter, an ultra-low latency of under 2ms is ideal.
How does this online keyboard latency test measure input delay?
Our tool uses the web browser's native High-Resolution Time API (performance.now()), which provides timestamps accurate to within fractions of a microsecond. In Hold Mode, it records consecutive key-repeat dispatch intervals to calculate hardware repeat cadence and scan rates. In Tap Mode, it measures the exact contact duration from keydown to keyup.
What is the difference between keyboard latency and polling rate?
Keyboard latency (measured in milliseconds, ms) is the total end-to-end time it takes for a key press to be registered by the computer. Polling rate (measured in Hertz, Hz) is how many times per second the computer asks the keyboard for input data. A 1,000Hz polling rate means the computer polls the keyboard 1,000 times per second (every 1.0ms), reducing USB communication delay to a maximum of 1ms.
Can high keyboard latency reduce my typing speed (WPM)?
Yes. When latency exceeds 25ms, typists experience subtle sensory dissonance: your visual feedback lags behind your tactile finger rhythm. This frequently causes typists to second-guess keystrokes, hesitate between words, or trigger accidental duplicate keystrokes, directly lowering Net WPM and increasing error rates.
Why does my wireless Bluetooth keyboard have noticeable lag?
Bluetooth is designed primarily for battery conservation and bandwidth efficiency, not low latency. Standard Bluetooth connections operate at lower polling rates (often 90Hz–125Hz) and share the crowded 2.4GHz radio band with Wi-Fi routers and smartphones. Switching to a dedicated 2.4GHz RF wireless USB dongle or a direct USB cable resolves this issue immediately.
Does an 8,000Hz keyboard make a real difference compared to 1,000Hz?
Moving from 125Hz (8ms delay) to 1,000Hz (1ms delay) yields a massive 7ms latency reduction that most users can easily feel. Moving from 1,000Hz (1.0ms) to 8,000Hz (0.125ms) saves only 0.875 milliseconds. While elite professional esports players appreciate this fraction of a millisecond, 8,000Hz also consumes significantly higher CPU resources. For touch typing and general gaming, 1,000Hz is the sweet spot.
What is switch debounce delay and why do mechanical keyboards use it?
When two metal contacts inside a mechanical switch collide, they physically bounce microscopically before settling into continuous contact. Without a debounce delay, a single key press would register as 3 to 5 rapid duplicate keystrokes (key chatter). Manufacturers apply a debounce algorithm (typically 2ms to 8ms) to filter out these bounces. Hall Effect (magnetic) and optical switches do not use metal leaves, completely eliminating debounce delay.
Does TypingNation record, save, or transmit the keys I press during this test?
No. The tool operates 100% locally in your web browser's JavaScript engine. It listens to keyboard events purely to calculate timing deltas and displays them on your screen. No keystroke data, text characters, or timing statistics are ever logged, sent to any server, or stored in cookies.
Test Passed? Put Your Keyboard into Action
Now that your keyboard response time and polling latency are verified, test your actual typing speed or practice blind touch typing with our free courses.