An IBM Model M space saver keyboard on a wooden desk
IBM Model M keyboard, buckling-spring keys. Photo: Blake Patterson, CC BY 2.0, via Wikimedia Commons.

Keyboard Ghosting vs N-Key Rollover

Why some key combinations don't register, what ghosting, blocking, 6KRO and NKRO actually mean, and how to check your own keyboard with the keyboard ghosting test.

By Ritvik Kudalkar, published . A 6 minute read.

How a Keyboard Matrix Works

A full-size keyboard has over 100 keys, but its controller doesn't have 100 input pins. Instead, keys sit at the crossing points of a grid of wires: rows and columns. The controller powers one column at a time and reads which rows respond, so it can scan every key with far fewer connections.

This works perfectly while you press one or two keys. With three keys held at three corners of a rectangle in the grid, current can flow backwards through them and make the fourth corner look pressed too, even though it isn't.

Ghosting vs Blocking

  • Ghosting is when the keyboard reports that phantom fourth key. In a game, your character might suddenly move or act on its own.
  • Blocking (or jamming) is how most keyboards prevent ghosting: when a combination could be ambiguous, they ignore the new key. No phantom key appears, but the key you actually pressed is lost.

Real ghosting is rare on modern keyboards. Blocking is common, and it's what players usually mean when they complain about ghosting: "I was holding W, A and Shift and couldn't jump."

What Rollover Means

Rollover is the number of keys a keyboard can register at once without blocking or ghosting.

TermMeaningTypical Keyboard
2KROAny 2 keys always register; more may blockBasic office and laptop keyboards
Anti-ghosting (zones)Common gaming keys wired to avoid blockingBudget gaming keyboards
6KROAny 6 keys plus modifiersMany gaming keyboards, USB boot mode
NKROEvery key, in any combinationMechanical and enthusiast keyboards

How Keyboards Achieve N-Key Rollover

To avoid ghosting completely, each key needs a small diode that stops current flowing backwards through the matrix. With a diode on every switch, the controller can always tell exactly which keys are down. Most mechanical keyboards are built this way. Cheaper membrane keyboards skip the diodes and rely on careful matrix layout, putting common gaming keys on separate rows and columns so they rarely collide.

Even with diodes, the keyboard must report every key to the computer. The basic USB keyboard format, used by BIOS screens and many older systems, carries only six normal keys plus modifiers. So many NKRO keyboards default to 6KRO and offer NKRO as an option.

How to Test Your Keyboard

  1. Open the keyboard ghosting test and click the on-screen keyboard.
  2. Hold the keys you use together in games, adding one at a time.
  3. If a key you hold doesn't light up, that combination blocks. If an unpressed key lights up, that's ghosting.
  4. Check the combos list and the Max at once count for your keyboard's rollover.

What to Do if Your Keyboard Blocks

  • Turn on NKRO in the keyboard software, if available.
  • Rebind the action that gets blocked to a key that works with the rest of your combination.
  • Connect directly to the computer rather than through a hub or KVM switch.
  • When buying, look for "N-key rollover" or "full anti-ghosting", not just "anti-ghosting keys".

Related Tools

Frequently Asked Questions

Is anti-ghosting the same as N-key rollover?

Not quite. 'Anti-ghosting' usually means the keyboard blocks keys rather than reporting phantom ones, and often that it handles common gaming keys well. N-key rollover means every key registers no matter how many are held. An NKRO keyboard is always anti-ghosting, but an anti-ghosting keyboard isn't always NKRO.

Do I need N-key rollover for gaming?

Most games rarely need more than 4 to 6 keys at once, so 6-key rollover with good anti-ghosting is enough for most players. NKRO matters for rhythm games, stenography, and players who bind many actions to keys they hold together.

Why does my NKRO keyboard stop at 6 keys?

Many keyboards default to 6KRO for compatibility, especially with BIOS screens and some consoles. Look for an NKRO toggle in the keyboard software or a key combination in the manual. Some only use NKRO over a direct USB connection, not over Bluetooth or a hub.

Do laptop keyboards have N-key rollover?

Rarely. Most laptop keyboards are designed for typing and block some three- and four-key combinations. Gaming laptops often advertise anti-ghosting on the WASD area. Test your own with a keyboard ghosting test.