Latency & Performance11 min read

Why Is My Keyboard Delayed? A Diagnostic Checklist

Keyboard input lag is rarely caused by one thing. This seven-layer diagnostic checklist walks from the physical switch and USB host controller, through OS scheduler queues, to browser event loops — so you can pinpoint the exact bottleneck causing your typing delay or competitive input lag.

🔬
Dev Sharma · Founder & Lead Developer

Editorial review & sources

Editorial owner: Dev Sharma, Founder & Lead Developer. Reviewed for technical accuracy: August 19, 2026.

Safety note: Latency results are browser-, OS-, firmware-, connection-, and workload-dependent. Treat the tool as a comparative diagnostic, not a laboratory or end-to-end certification.

These references support the technical explanations and procedures below. Device layouts, materials, firmware, warranties, and manufacturer instructions vary.

⏱️
Baseline Your Latency First: Before working through this checklist, run our keyboard latency test to get a baseline median, min, and max. Record the numbers — you'll compare against them after each fix.

1. Layer 1: Switch Actuation & Contact Debounce

The keyboard's firmware scans its key matrix typically every 1ms. After detecting a state change, it applies a debounce filter (5–20ms) before sending a USB HID report. A switch with worn contacts may require multiple scan cycles before producing a stable signal, adding 5–15ms of latency before the host even knows you pressed a key.

✓
Test: Press the affected key slowly. Does it register on the latency tool with higher minimum latency than other keys?
✓
Fix: Use only the keyboard maker’s cleaning procedure; do not inject liquid into an assembled switch. If firmware is configurable, change debounce only within the maker’s documented range—there is no universal 5 ms setting for every keyboard.

2. Layer 2: USB Connection Type & Polling Rate

Standard USB keyboards report key events to the host at 125Hz (every 8ms). This means your OS can only learn about a keypress at the next polling interval — introducing up to 8ms of inherent latency even on a perfect switch. Gaming keyboards at 1000Hz poll every 1ms, and newer 8000Hz keyboards poll every 0.125ms.

Connection TypePoll IntervalMax Added LatencyTypical Total Latency
USB 2.0 Full-Speed (125Hz)8ms8ms10–18ms
USB 2.0 Gaming (1000Hz)1ms1ms2–5ms
Bluetooth (BT Classic)7.5–45ms45ms15–80ms
2.4GHz RF Dongle (typical)1–8ms8ms2–10ms
✓
Check: Is the keyboard connected via Bluetooth instead of its USB dongle? Switch to the 2.4GHz RF dongle — Bluetooth has significantly higher and more variable latency.
✓
Check: Is the 2.4GHz dongle plugged into a USB 3.0 port? USB 3.0 RF interference can disrupt 2.4GHz signals. Move the dongle to a USB 2.0 port or use a USB extension cable.

3. Layer 3: USB Power Saving (Windows USB Selective Suspend)

Windows automatically suspends USB devices when they appear idle to save power. When you resume typing after a brief pause, the OS must wake the USB device, adding a 20–200ms spike on the first keypress. This is often misidentified as intermittent "lag" or "delay when starting to type."

!
Fix (Windows): Open Device Manager → Universal Serial Bus controllers → Right-click your USB Root Hub → Properties → Power Management → Uncheck "Allow the computer to turn off this device to save power".
!
Fix (Windows Power Plan): Go to Control Panel → Power Options → Change plan settings → Change advanced power settings → USB settings → USB selective suspend setting → Set to Disabled.

4. Layer 4: Windows Filter Keys / Slow Keys (Accessibility Features)

Windows Filter Keys is an accessibility feature that tells the OS to ignore brief keypresses or slow down repeat rates. If accidentally enabled, it will add a deliberate delay (default 500ms) before registering any keypress. Many users mistake this for hardware lag.

✓
Check Windows: Settings → Accessibility → Keyboard → Filter Keys. Ensure it is OFF. Also check Sticky Keys and Toggle Keys.
✓
Check macOS: System Settings → Accessibility → Keyboard → Slow Keys. Ensure it is OFF.

5. Layer 5: 2.4GHz Wireless Interference

Wi-Fi routers, nearby Bluetooth devices, microwave ovens, and baby monitors all compete in the 2.4GHz band. For wireless keyboards, interference causes the RF receiver to request retransmission of missed packets, adding variable latency spikes of 10–60ms per retry.

✓
Test: Move the keyboard dongle to within 30cm of the keyboard. Does latency improve? If yes, interference is the cause.
✓
Fix: Switch your Wi-Fi router to 5GHz band (it doesn't interfere with 2.4GHz keyboard RF). Move the USB dongle to the front of the PC on a USB extension cable, away from metal chassis and USB 3.0 interference.

6. Layer 6: GPU Render Queue & Display Latency

Even after the OS receives the keypress event, visual feedback (the character appearing on screen) depends on the GPU render pipeline. With GPU pre-render queues (flip queues) set to 3 frames and a 60Hz monitor, you can add up to 50ms of display latency on top of the input latency. You type, the OS responds instantly, but the character doesn't appear for another 50ms.

✓
Fix (NVIDIA): NVIDIA Control Panel → Manage 3D settings → Low Latency Mode → Set to Ultra. Also enable G-Sync if your monitor supports it.
✓
Fix: Use a monitor with Game Mode / 1ms response time for gaming. Higher refresh rate monitors (144Hz, 240Hz) reduce frame time and apparent input lag.

7. Layer 7: Browser-Specific Event Queue

Our keyboard latency test measures the time between your physical keypress and the browser's keydown event. Browsers process keyboard events in the main JavaScript thread. If the tab is under heavy CPU load (complex animations, heavy scripts), keydown events can be delayed by 10–30ms relative to the actual keypress.

✓
Fix: Close background tabs, especially video streaming or heavy web apps. Run the latency test in a fresh browser window with no extensions enabled (use Incognito mode).
✓
Note: Firefox typically shows 1–3ms lower measured latency than Chrome on the same hardware due to its input event handling priority.
⚠️

What This Test Result Does Not Prove

Understanding the limits of browser-based latency measurement:

  • JavaScript timer resolution: performance.now() has 1ms resolution on most browsers (reduced from microseconds for security). Sub-millisecond differences between keyboards cannot be reliably measured.
  • System jitter: OS scheduler interrupts, antivirus scans, and background services cause random latency spikes of 1–5ms that are unrelated to keyboard hardware.
  • Display latency not measured: This tool measures the time to the browser event, not the time until a character appears on screen. GPU and display latency require specialized hardware (FPGA or high-speed camera) to measure.

Conclusion

Most keyboard lag is not caused by the keyboard itself — it's caused by USB selective suspend, wireless interference, Windows accessibility features, or GPU render queues. Run through this checklist layer by layer, re-testing with our keyboard latency test after each change, and you will identify the bottleneck within 15 minutes. For related hardware diagnostics, see our guide on detecting switch chattering and keyboard ghosting and NKRO.

Measure Your Keyboard Latency Now

Free browser-based latency test with median, min, max, and jitter — no software required.

Launch Keyboard Latency Test →