Keyboard Ghosting and N-Key Rollover (NKRO) Explained

Updated November 2026 · 7 min read

If you have ever held several keys during a game and found that some of them stopped responding, you have met keyboard ghosting. This guide explains what it is, how it relates to rollover, and how to test your own keyboard in a minute.

What is keyboard ghosting?

Most keyboards wire their keys in a grid called a matrix. Each key sits at the crossing of one row and one column, and the controller scans the grid to see which crossings are connected. When three keys that form a corner of a rectangle are pressed, the electrical signal can leak through to the fourth corner. The controller then either reports a key you never pressed (a ghost key) or ignores one of the keys you did press (masking). Both are often grouped under the word ghosting.

What is key rollover?

Rollover is the number of keys the keyboard can report correctly at the same moment.

TypeMeaningTypical use
2-key rollover (2KRO)Reliably reports two keys at onceVery basic office keyboards
6-key rollover (6KRO)Reports up to six keys, plus modifiersMost USB keyboards, because of the standard USB HID boot protocol
N-key rollover (NKRO)Reports every pressed key independentlyGaming and enthusiast keyboards

Anti-ghosting means the keyboard is designed so common key combinations register correctly. NKRO is the strongest form: each key has its own diode, so no combination can be confused with another.

Does it matter for you?

  • Typing: fast typists press the next key before releasing the last one, so 2KRO can drop letters. Six keys is plenty.
  • Gaming: holding movement keys, a modifier and an ability key together is where problems appear in shooters, MOBAs and rhythm games.
  • Music software: chords on a computer-keyboard piano need many simultaneous keys.

How to test your keyboard

  1. Open the keyboard tester and click the page.
  2. Press and hold three keys, for example W, A and Space. All three should stay lit.
  3. Keep holding and add one key at a time: D, Shift, E, R.
  4. Count how many keys remain highlighted. The number where a new key stops lighting up is your effective rollover.
  5. Repeat with keys from different parts of the keyboard, because ghosting depends on the matrix layout. Combinations in the same row or column behave differently from spread-out keys.

Many keyboards use a mix of designs. They may be full NKRO over a gaming-focused cluster but limited elsewhere, so test the combinations you actually use.

Why a browser result can be lower than the hardware limit

  • USB mode: some keyboards switch to 6KRO in the BIOS or when connected through a hub or KVM. NKRO often needs the keyboard's own switch or software setting.
  • Bluetooth: wireless connections usually limit rollover to six keys.
  • Operating system: special shortcuts such as the Windows key or Sticky Keys prompts (five presses of Shift) can interrupt a test.
  • Browser: the tester receives the same events as any web page, so it shows what the operating system passes along. That is usually what matters for games.

How to fix ghosting

  • Check whether your keyboard has an NKRO toggle, often a key combination described in its manual.
  • Connect directly to a motherboard USB port instead of a hub.
  • Update the keyboard firmware.
  • Rebind game controls so that frequently combined keys sit in different rows and columns.
  • If none of that works, a gaming keyboard with diodes on each switch solves the issue permanently.

Related guides

Run the ghosting test