Key rollover
Key rollover enables correct detection of multiple simultaneous keystrokes.
Kim Shiflett · Public domain
Key rollover refers to a keyboard's ability to accurately register multiple keys pressed at the same time. This feature is especially useful in gaming, for testing reaction speed, and for rapid key presses. A keyboard with n-key rollover (NKRO), also called full key rollover, can detect every key on the board simultaneously, no matter how many others are held down. Keyboards without this capability may register a wrong keystroke when certain key combinations are pressed together. Rollover is relevant to stenotype, electronic music keyboards, gaming, and general touch-typing.
In ordinary typing, keys are usually pressed one at a time, but modifier keys like Shift or Control are intentionally held while another key is pressed. Fast typists may also accidentally press a new key before releasing the previous one. Some specialized keyboarding methods require holding or pressing many keys at once. For example, Braille2000 typing uses up to six keys simultaneously, similar to a Braille typewriter's six dots. Stenographic typing relies on pressing multiple keys to form chords. In computer games, players often hold down arrow or WASD keys to move diagonally while pressing other keys to interact with objects.
High-end keyboards often feature n-key rollover, where each key is scanned independently by the hardware, ensuring correct detection regardless of how many other keys are pressed. Full NKRO is essential for stenotype, which uses chording to type much faster than conventional methods, matching the speed of speech. Most music keyboards use isolation diodes in their matrix to achieve full NKRO, preventing both ghosting and jamming. For the user to benefit from NKRO, the full key status must be transmitted to the computer. Over USB, there are two modes: the HID report protocol (used by operating systems) imposes no restrictions and supports full NKRO, while the boot protocol (used by limited hosts like BIOS) is limited to eight modifier keys and six key codes. However, the HID specification does not require any particular rollover, so low-end keyboards may still restrict simultaneous presses even in HID report mode.
To save cost and simplify design, most keyboards use a matrix of switches without isolation diodes, assuming only a few keys will be pressed at once.
- N-key rollover definition
- Can correctly detect input from each key at the same time, regardless of how many other keys are pressed.
- Two-key rollover definition
- Can reliably detect only any two keys used simultaneously.
- Multi-key rollover definition
- Can reliably detect more than two keys used simultaneously.
- Usb boot protocol limit
- Limited to eight modifier keys and maximum six key codes.
- Usb hid report protocol
- Imposes no restrictions and supports full n-key rollover.
Lore & Background
During normal typing on a conventional computer keyboard, only one key is usually pressed at any given time, then released before the next key is pressed. However, this is not always the case. When using modifier keys such as Shift or Control, the user intentionally holds the modifier key(s) while pressing and releasing another key. Rapid typists may also sometimes inadvertently press a key before releasing the previous one. Certain unusual forms of keyboarding require multiple keys to be pressed or held down simultaneously; for example, Braille2000 keying requires as many as six keys to be pressed at once, and stenographic typing requires the ability to press multiple keys at once to form 'chords.' Some computer games require multiple keys (other than the usual modifier keys) to be held down while others are pressed and released, in order to perform actions simultaneously.
Certain high-end keyboards have n-key rollover (NKRO). This means that each key is scanned completely independently by the keyboard hardware, so that each keypress is correctly detected regardless of how many other keys are being pressed or held down at the time. Full n-key rollover is required for stenotype, which relies on chording to input text far faster than conventional typing methods. Most music keyboards use isolation diodes in their keyboard matrix to implement full n-key rollover, making them immune to both key ghosting and key jamming. For the user to get the benefit of the full n-key rollover, the complete key press status must be transmitted to the computer. When the data is sent via the USB protocol, there are two operating modes: Human Interface Device (HID) 'report protocol' and 'boot protocol.' The (optional) boot protocol is limited to eight modifier keys followed by maximum six key codes. The (mandatory) HID report protocol imposes no restrictions and supports full n-key rollover.
To reduce cost and design complexity, most computer keyboards do not isolate all keys. Instead, they use a matrix of key switches, without any isolation diodes, that assumes that only a limited number of keys will be held down at any given time. With these keyboards, pressing as few as three keys can cause ghosting effects. A keyboard with 'two-key rollover' can reliably detect only any two keys used simultaneously. A keyboard with 'multi-key rollover' can reliably detect more than two keys used simultaneously and is considered essential for quality keyboards and for English-language touch typing. Key ghosting occurs on matrix keyboards for certain combinations of three keys, where a phantom keypress is erroneously registered. Modern keyboards detect ghosting, and instead of registering a fourth key, they will ignore the third key—this behavior is known as jamming.
Reader's Guide
Key rollover is significant because it directly affects the usability of keyboards in demanding scenarios such as gaming, stenotype, and touch-typing. The article notes that full n-key rollover is required for stenotype, which relies on chording to input text far faster than conventional typing methods, allowing it to keep pace with the speed of human speech. In gaming, many computer games require multiple keys to be held down while others are pressed and released, and key jamming is often noticed when using a keyboard to play computer games where many keypresses combine to movement vectors and other simultaneous activities. The original Star Control game included a utility to test for key jamming and help the player determine the best key mapping for their keyboard. The legacy of key rollover is seen in the design choices of keyboards: most music keyboards and some high-end computer keyboards use isolation diodes with each keyswitch, making them immune to both key ghosting and key jamming. Some 'gaming keyboards' use a matrix but only give individual diodes to the most frequently-used keys in gaming such as WASD and the arrow keys. The distinction between USB boot protocol and HID report protocol also affects whether full n-key rollover can be transmitted to the computer, though the HID specification imposes no requirements on rollover and low-end keyboards may impose the same restrictions regardless of protocol.
Did You Know?
- A keyboard with n-key rollover (NKRO) can correctly detect input from each key at the same time, regardless of how many other keys are also being pressed.
- Key ghosting occurs on matrix keyboards for certain combinations of three keys, creating a phantom keypress at the fourth corner of a rectangular set of switches.
- The USB boot protocol is limited to eight modifier keys and maximum six key codes, while the HID report protocol imposes no restrictions.
The Ghosting Problem
When a keyboard uses a simple grid of switches without any isolation components, pressing certain combinations of three keys can trick the controller into registering a fourth key that was never touched. This phenomenon, known as key ghosting, occurs when three corners of a rectangular arrangement of switches close simultaneously, creating a false electrical path that mimics the fourth corner. For instance, if three specific keys are held down, the signal can route through two of them to produce a phantom reading at a position the user never pressed. Keyboards with only two-key rollover are particularly vulnerable: a user holding two keys and striking a third may generate this phantom signal by shorting the switch matrix. Even everyday shortcuts like Ctrl-Alt-Delete demand more than two simultaneous keys, and rapid typists who roll over one key before releasing the previous one can inadvertently trigger the same failure. Manufacturers of quality keyboards study common key sequences and arrange the matrix so that frequently used combinations avoid this rectangular trap, typically achieving four- to five-key rollover for the most common patterns.
Diode Isolation and Full Rollover
The most robust solution to ghosting is to place a diode in series with every key switch in the matrix. This small component blocks the false signal path that would otherwise create a phantom reading, making the keyboard immune to both ghosting and jamming regardless of how many keys are pressed at once. Keyboards that implement this approach are said to have n-key rollover, or NKRO, meaning each key is scanned completely independently by the hardware. Full n-key rollover is not merely a luxury; it is a functional requirement for stenographic typing, where operators form chords across multiple keys simultaneously to input text at the speed of human speech. The Braille2000 keying system similarly demands that up to six keys register at the same time, mirroring the six dot positions of a traditional Braille typewriter. Most electronic music keyboards already employ isolation diodes throughout their matrix, which is why musicians can play complex chords without encountering phantom notes. In these designs, the diode in series with each switch ensures that no unintended current path can form between rows and columns, eliminating the rectangular-short problem entirely.
Where Rollover Matters Most
Beyond the abstract electrical engineering, key rollover touches the daily experience of anyone who presses more than one key at a time. In gaming, a player holding two WASD keys to move diagonally while simultaneously pressing a key to interact with an object needs reliable multi-key detection; a dropped or phantom input can cost a match. Stenographic typists depend on chording—pressing several keys together to produce a single syllable or word—so that their output keeps pace with natural speech, making full NKRO non-negotiable. The Braille2000 system pushes the requirement further, needing as many as six simultaneous key presses to mirror the six-dot cell of a Braille writer. Electronic music keyboards face the same challenge when a pianist strikes a full chord. Even in ordinary touch-typing, a fast typist may press the next key before fully releasing the previous one, and modifier keys like Shift or Control are routinely held while another key is struck. Each of these scenarios demands that the keyboard hardware correctly identify every individual keypress regardless of what else is being held down, which is precisely the capability that rollover provides.
The USB Protocol Bottleneck
Even when the keyboard hardware is capable of detecting every key independently, the data path to the computer can still impose a ceiling. USB defines two operating modes for keyboard input. The boot protocol—an optional mode that only very limited USB hosts such as BIOS firmware actually employ—caps the report at eight modifier codes (the left and right instances of Control, Shift, Alt, and the Windows key) plus at most six non-modifier key codes. This hard cap means that even a fully diode-isolated keyboard cannot report more simultaneous presses when communicating through this channel. The HID report protocol, which is mandatory and is what operating systems actually use, places no such restriction and fully supports n-key rollover. However, the HID specification itself does not mandate any particular level of rollover, so a low-end keyboard manufacturer may choose to impose the same six-key limitation regardless of which protocol is active. This means the user's effective rollover is determined not only by the diode layout inside the keyboard but also by the firmware and protocol choices made by the manufacturer.
Gallery

Frequently Asked Questions
What is key rollover on a keyboard?
Key rollover is a keyboard's ability to correctly register every key in a simultaneous press without dropping or misreading any of them. In other words, it measures how many keys you can hold down at once while still getting accurate input from each one.
What's the difference between 2-key rollover and n-key rollover?
A 2-key rollover board can only reliably track two keys being pressed together, whereas n-key rollover (full key rollover) lets the board detect every key on the layout simultaneously no matter how many others are held. In practice, NKRO boards never suffer from missed or ghosted keystrokes regardless of how complex your finger movements get.
Why do gamers specifically care about key rollover?
Competitive gaming demands rapid, overlapping inputs—combining movement, aiming, and ability keys in the same instant—so a board that can't track all of them will drop or misregister critical actions. Full n-key rollover eliminates that risk, which is why it has become a standard expectation in gaming peripherals.
Does the USB protocol limit how many keys a keyboard can roll over?
Under the USB boot protocol, a keyboard is restricted to reporting eight modifier keys plus a maximum of six non-modifier key codes at once. The USB HID report protocol, however, imposes no such caps, which is what enables true full n-key rollover on modern boards.
What happens if a keyboard doesn't have full key rollover?
When a key combination exceeds the board's rollover limit, it may register a completely wrong keystroke or silently drop one of the pressed keys. This ghosting issue affects not just gaming but also stenotype input, electronic-music performance, and fast touch-typing where many keys are struck in quick succession.
More in Computer Keyboards 1-24
Spotted an error? Know more?
Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced
