What Are Optical Keyboard Switches?
An optical keyboard switch registers a keypress with light instead of a metal contact. Pressing the key moves a stem that interrupts a light beam inside the switch, and the keyboard reads that change as a press. The switch still has a stem and spring, so typing feel comes from those parts.
How an optical switch registers a press
Inside the switch, a light source and a sensor face one another. At rest, the stem sits clear of the beam or covers it, depending on the design. Pressing the key moves the stem through the beam, the sensor sees the change, and the keyboard sends the keypress to the computer. Releasing the key moves the stem back and ends the press.
How optical differs from mechanical switches
A mechanical switch closes a metal contact when the stem pushes two parts together. An optical switch uses a light beam instead, so the press does not depend on metal parts touching. That difference sits inside the switch. The keycap, stem shape and spring still decide how far the key travels and how much force a press needs, so read those specs on the keyboard you consider.
What optical means for typing feel
Optical describes how the press is detected, not how the key feels. Feel comes from the spring, the stem shape and the keycap, and optical switches come in linear and tactile styles. A linear stem travels straight down, while a tactile stem has a bump you can feel during the press. Check the switch style named for the keyboard instead of assuming a feel from the word optical.
How to check a keyboard before buying
Confirm the switch type in the keyboard specifications, and check whether the board supports switch swapping if you plan to change switches later. Check the connection types and the operating systems named for the keyboard, and match the layout to the keys you need, such as a number pad or arrow keys. If a spec you need is unclear, ask the maker before you buy.
What you need

AULA S99 Gaming Keyboard
A membrane keyboard with a number pad, RGB backlight, tri-mode connection and a knob for volume and lighting.
View on Amazon
YUNZII B98 PRO 96% Wireless Mechanical Keyboard (Blue
A hot-swappable mechanical keyboard with pre-lubed linear switches, QMK/VIA remapping, a number pad and RGB backlight.
View on Amazon
SOLAKAKA A99 Pro Mechanical Keyboard
A hot-swappable mechanical keyboard with an LCD screen, metal knob, gasket structure and RGB backlight for Windows and Mac.
View on Amazon
KiiBoom Phantom98 Lite 96% Wireless Mechanical Gaming Keyboard
A hot-swappable mechanical keyboard with linear Mochi switches, VIA customization, gasket mounting and RGB backlight.
View on AmazonThese come from our ranked list Best 96 Keyboard, which compares them spec by spec.
FAQ
Can you swap optical switches like mechanical switches?
Only if the keyboard supports it. Switch swapping depends on the board design and the switch fitting it uses, so check the maker's specifications for hot-swap support and compatible switch types before you buy spare switches.
Do optical switches feel different from mechanical switches?
Not by definition. Optical describes the sensing method, while feel comes from the spring and stem. An optical switch can be linear or tactile, so compare the named switch style and spring details rather than the sensing method.
Will an optical keyboard work with my computer?
Check the connection and system support named for the keyboard, such as a wired or wireless connection and Windows or Mac support. Match those details to your computer, and check the maker's notes if you plan to use software for remapping keys.




