KeyboardTester Logo

Keyboard Ghosting vs N-Key Rollover: What Is the Difference?

By KeyboardTest Engineering Team12 min read

Keyboard Ghosting vs N-Key Rollover: What Is the Difference?

If you have shopped for a gaming keyboard, you have seen both terms on the same spec sheet, often in the same sentence, usually with no explanation of how they differ. They get used interchangeably in reviews and forum posts, and they are not interchangeable at all.

They describe two separate limits, with two separate causes, and only one of them can be fixed without buying different hardware. Knowing which one is dropping your keys decides whether you flip a setting or replace the keyboard.

The short version:

  • Ghosting is a problem with how the keyboard's physical matrix is wired. Certain combinations of keys confuse it. Which combinations fail depends on where the keys sit on the board.
  • Rollover is a limit on how many keys can be reported at once, imposed by the USB protocol the keyboard is speaking. It does not care which keys they are.

One is a wiring problem. The other is a protocol ceiling. Read on for how to identify each in about a minute.


What ghosting actually means (and what it means now)

The original meaning was literal. On very old keyboards, holding certain key combinations could make a third key you never touched appear on screen — a phantom keystroke. That is where the name comes from.

Here is why it happened. Keyboards do not run a separate wire from every key to the controller; a 104-key board would need 104 wires. Instead the keys sit on a grid — a matrix of rows and columns — and each switch bridges one row to one column. The controller scans the grid rapidly and works out which key is down from which row-column intersection closed.

That works perfectly for one key. It breaks down in a specific case: press three keys that form three corners of a rectangle in the grid, and current can flow through the pressed switches in a way that also closes the fourth corner electrically. The controller sees four intersections closed and reports a key you never pressed.

On any keyboard built in the last twenty years, this no longer happens — and that is worth being clear about, because most articles on the subject describe the phantom-key behaviour as though it were current. Manufacturers solved it by adding a diode in series with each switch, which lets current flow one way only and makes the phantom path impossible. Where diodes are too expensive to fit everywhere, the firmware takes the cheaper route: when it detects an ambiguous pattern, it refuses to report the third key at all.

So what people call ghosting today is almost always the second behaviour: blocking. You press a valid combination, and one of the keys you are physically holding simply does not register. Nothing phantom appears. A key you need goes missing.

Why it shows up in games and not in typing

Typing is a rapid sequence of mostly single keys. You almost never hold four keys down together, and when you do — Ctrl + Shift + Alt + a letter — three of them are modifiers, which are handled differently (more on that below).

Gaming asks for the exact pattern the matrix struggles with: two movement keys held for a diagonal, a modifier for sprint or crouch, an action key, sometimes a fourth for an ability — all in the same small region of the board, for seconds at a time. Hence the classic symptom: your character stops strafing the moment you crouch and shoot. It reads like a game bug and it is the keyboard.

The ghosting test isolates this by having you hold specific combinations and watching whether the count holds while your fingers are still down.


What n-key rollover actually means

Rollover is a completely different constraint. It comes from the USB HID boot protocol, which is the language a keyboard speaks so that it works in a computer's BIOS and on any machine without drivers.

That protocol uses an 8-byte report: one byte for modifier flags, one reserved, and six bytes for key codes. Six slots. That is the whole reason for the number.

So a standard USB keyboard can report six ordinary keys at once, plus modifiers separately. This is called 6-key rollover, or 6KRO. It is not a manufacturing shortcut or a cost saving. It is the specification, and a keyboard that stops at exactly six is behaving correctly.

N-key rollover — NKRO — means every key can be reported simultaneously, with no cap. Keyboards achieve it by abandoning the boot protocol for a custom HID report: either a bitmap report with one bit per key, or multiple HID endpoints presented as several virtual keyboards at once, splitting the keys between them. Many NKRO keyboards ship in 6KRO mode by default for BIOS compatibility and let you switch, commonly with Fn + N or a setting in the vendor software.

The modifier caveat that makes most self-reported results wrong

This trips up nearly everyone who tests their own keyboard, so it is worth stating plainly.

Shift, Control, Alt and the Windows or Command key travel in their own byte of the HID report. They are not subject to the six-key cap at all.

Which means four modifiers plus six letters reports as ten keys at once and looks exactly like full NKRO — while being ordinary 6KRO doing precisely what the specification says. If you have ever "confirmed" your keyboard has NKRO by mashing a handful of keys including Ctrl and Shift, that result was meaningless.

To test rollover honestly, use letters and numbers only — no modifiers. If it stops at six, you have 6KRO. If it goes past six with no modifiers held, you have NKRO. The n-key rollover test counts them for you and tracks the peak.


Side by side

Ghosting / blockingRollover limit
CauseMatrix wiring — missing diode isolationUSB HID boot protocol — six key slots
Depends onWhich keys, and where they sit on the boardHow many keys, regardless of which
SymptomA key you are holding stops registeringThe count refuses to go past six
Fixable in software?NoSometimes — many boards have an NKRO toggle
Affects modifiers?Yes, they are ordinary matrix positionsNo, they have their own report byte
Typical fixDifferent keyboard with full diode isolationFn + N, or vendor software

The most useful line in that table is the fourth. A rollover cap can often be lifted with a key combination. Ghosting cannot be fixed in software at all — the diodes are either on the PCB or they are not, and no firmware update, driver reinstall or setting adds them.


Telling them apart in one minute

  1. Hold six letters at once, no modifiers. Count what registers.
  2. If the count stops at exactly six, that is the rollover cap. Look for an NKRO toggle — usually Fn + N. If your keyboard has one, this is solved in one keypress.
  3. If a key drops out below six — you are holding four and only three register — that is ghosting. Note exactly which combination failed.
  4. Move the same test to a different part of the board. Ghosting is regional: many keyboards protect the WASD cluster with diodes and leave the number row or the right-hand side unprotected. A combination that fails on the right and works on the left confirms matrix blocking rather than a rollover limit.
  5. Repeat with modifiers added. If everything suddenly works, you have proven the modifier caveat above rather than fixed anything.

A third fault that gets blamed on both

If a key registers twice from one press, that is neither ghosting nor rollover — it is switch chatter, a contact bouncing longer than the firmware's debounce window. The double typing test measures the millisecond gap that proves it, and the fix is cleaning or replacing the switch.


What "anti-ghosting" on a box actually promises

Very little, unfortunately, because the term is unregulated.

Some manufacturers use it to mean full diode isolation on every key, which is the real thing. Others use it to mean diodes on a selected cluster — commonly WASD and the surrounding keys, sometimes advertised as "anti-ghosting on 26 keys". The rest of the matrix is left unprotected, which is fine until your control scheme uses a key outside the protected region.

A phrase like "26-key anti-ghosting" is worth reading carefully. It tells you 26 keys are safe and says nothing about the other 78. This is why testing your own combinations matters more than the spec: the only question that affects you is whether the keys you hold together survive.

Is full NKRO worth paying for?

For most people, honestly, no — and this is not the answer keyboard marketing gives.

Control schemes in the overwhelming majority of games never need more than six simultaneous non-modifier keys, and because modifiers are reported separately, the practical ceiling is higher than six anyway. What actually costs people inputs is matrix blocking in one region, not the six-key cap.

Where full NKRO genuinely earns its keep:

  • Rhythm games — sustained multi-finger chords are the entire input model.
  • Stenography — a chord is a word, and every key in it must register.
  • Music input — a keyboard used as a MIDI-style instrument.
  • Accessibility setups — where several keys are held to compose an input.

If you fall outside those, prioritise full diode isolation over the NKRO badge. A 6KRO keyboard with diodes on every key will serve you better in games than an NKRO keyboard with a partly protected matrix, because the failure you will actually hit is a dropped key in a combination, not a seventh key you never needed.


Frequently asked questions

Can a software update fix keyboard ghosting?

No. Ghosting is a consequence of the physical matrix — whether each switch has a diode isolating it. Diodes are components soldered to the PCB, so no driver, firmware flash, or operating system setting can add them. Firmware can change how the keyboard responds to an ambiguous pattern, which is why modern boards block a key rather than inventing one, but it cannot make the combination work.

Is 6-key rollover enough for gaming?

For nearly every game, yes. Six simultaneous non-modifier keys covers realistic control schemes, and modifiers like Shift and Ctrl are reported in a separate byte so they do not count against the six. Dropped inputs in games are far more often matrix blocking in one cluster than the rollover ceiling being reached.

How do I turn on NKRO?

Many keyboards that support it ship in 6KRO mode for BIOS compatibility and expose a toggle — commonly Fn + N, sometimes a switch on the underside, sometimes a setting in the vendor software. Check the manual for your specific model. If your board caps at six and has no toggle, it is 6KRO by design and there is nothing to enable.

Why does my keyboard report ten keys when it is only 6KRO?

Because four of them were modifiers. Shift, Control, Alt and the Windows or Command key travel in their own byte of the USB HID report and are exempt from the six-key cap entirely. Six letters plus four modifiers is ten keys reported by a keyboard doing exactly what 6KRO specifies. Test with letters and numbers only for a meaningful result.

Does NKRO work over Bluetooth?

Often not. Many keyboards deliver full rollover over USB and over their own 2.4 GHz dongle, then fall back to six keys over Bluetooth because of how the Bluetooth HID profile is implemented on that board. If your rollover count differs between connection methods, that is the explanation. Test each one you actually use.

Does anti-ghosting matter if I only type?

Barely. Typing is a sequence of mostly single keypresses, and the combinations that break a matrix — four or more keys held together in one region — do not occur in normal text entry. The exceptions are stenography and heavy multi-key shortcut use. If you type and do not game, diode coverage is not where your money should go.