Keyboard switch types explained
Last reviewed: · Written and verified by the type-type team (editorial policy)
Direct answer: Keyboard switches fall into three mechanical feel families — linear (smooth travel from top to bottom with no bump), tactile (a silent physical bump mid-stroke where the key actuates), and clicky (a physical bump paired with a sharp audible click from a click jacket or click bar) — plus two non-contact sensing designs, optical and Hall-effect magnetic. Choosing the right switch comes down to matching actuation force (typically 40 gf to 60 gf) and pre-travel distance ( 1.2 mm to 2.2 mm) to your finger weight and noise environment.
Comparison table: linear, tactile, clicky, optical, and Hall-effect switches
| Switch family | Typical actuation force | Pre-travel / total travel | Sensing mechanism | Typing character & noise |
|---|---|---|---|---|
| Linear (e.g. Red, Yellow, Black) | 40–60 gf | 2.0 mm / 4.0 mm | Gold-plated metal crosspoint leaves | Uniform spring resistance; quiet unless bottomed out hard. |
| Tactile (e.g. Brown, Banana, Clear) | 45–65 gf (tactile peak) | 1.8–2.0 mm / 3.8–4.0 mm | Stepped stem legs over metal leaf | Distinct mid-stroke bump confirms actuation; moderate sound. |
| Clicky (e.g. Blue, White, Jade) | 50–65 gf | 2.0–2.2 mm / 4.0 mm | Metal leaf + click jacket or torsion bar | Crisp tactile snap + high-pitched acoustic click; loud in shared rooms. |
| Optical mechanical | 40–55 gf | 1.2–1.5 mm / 3.5–4.0 mm | Stem interrupts PCB infrared light beam | Zero metal-leaf friction; near-zero contact bounce delay. |
| Hall-effect magnetic (HE) | 35–55 gf (linear) | Adjustable 0.1–3.8 mm | Stem magnet + PCB Hall-effect sensor | Per-key programmable actuation depth and dynamic rapid-trigger reset. |
Reading a switch force-travel curve (SVG diagram & worked energy math)
Every mechanical switch can be described by plotting downward travel distance on the horizontal axis (0 mm to 4.0 mm) against finger force in gram-force (gf) on the vertical axis:
Worked work-energy calculation: A linear switch starts with a preload of roughly 30 gf (0.294 N) at rest, reaches 45 gf (0.441 N) at the 2.0 mm actuation point, and climbs to 60 gf (0.588 N) at 4.0 mm bottom-out. Using the trapezoid average force W = F_avg × d:
- Releasing right after the 2.0 mm actuation point: Average force is
(30 + 45) ÷ 2 = 37.5 gf (0.368 N)over0.002 m, which requires0.735 millijoules (mJ)of mechanical work per keystroke. - Bottoming out all the way to 4.0 mm: Average force across the full stroke is
(30 + 60) ÷ 2 = 45.0 gf (0.441 N)over0.004 m, requiring1.765 mJ— 2.4 times the mechanical work plus the impact shock of hitting the bottom housing! Over 20,000 keystrokes in a workday, learning to release near the tactile bump saves more than 20 joules of cumulative finger effort.
Four steps to pick the right switch for your typing style
- Step 1 — Check your room acoustics first: If you share an office, dorm, or open-mic call, rule out un-dampened clicky switches immediately and choose either standard tactile/linear switches in a foam-dampened case or dedicated silent switches (which mold tiny silicone bumpers onto the top and bottom of the stem rails).
- Step 2 — Match spring weight to your typo pattern: Run a 60-second benchmark on the typing test. If you frequently brush neighboring keys by accident when resting your fingers on
ASDF JKL;, avoid 35–40 gf speed switches with 1.1 mm pre-travel; step up to a 48–55 gf tactile or 50 gf linear switch with a full 2.0 mm pre-travel. - Step 3 — Consider pre-travel vs. reset distance (hysteresis): For rapid double-letter words and programming symbols, linear and single-piece tactile stems reset at nearly the exact same height they actuate (~0.05–0.15 mm hysteresis), making repeated taps feel crisper than click-jacket switches.
- Step 4 — Verify switch health on a hot-swap board: If you buy a hot-swap mechanical keyboard, test every installed switch on our keyboard tester and key chatter test right out of the box so you can replace any factory-bent pin or bouncing leaf immediately.
Also consider housing materials and stem geometry when comparing switches in the same force class. Nylon bottom housings produce a deeper, lower-frequency bottom-out sound than polycarbonate housings, while polyoxymethylene (POM) stems have a naturally low coefficient of dynamic friction that gets smoother over millions of cycles. Dust-proof “box” stems surround the cross-mount with a rectangular wall that reduces side-to-side keycap wobble and shields the internal contact leaves from crumbs and pet hair.
Common mistakes when choosing or modifying switches
- Buying 1.0 mm 'speed silver' switches expecting instant WPM gains: Shorter pre-travel does not make fingers move faster between keys; it simply causes resting fingers to trigger accidental letters before you intend to press; see how to fix typing mistakes.
- Applying thick grease to the metal contact leaves or click bars: When hand-lubing switches with PTFE grease (such as Krytox 205g0), coat only the plastic slider rails and spring ends. Getting grease between the copper contact leaves causes intermittent dead presses and severe chatter.
- Assuming 3-pin and 5-pin PCB mounts are identical: 5-pin switches have two extra plastic alignment legs alongside the center stem and two metal pins. If your hot-swap PCB lacks holes for the two plastic legs, flush-clip the two plastic side pins rather than forcing the switch crooked. For how mechanical switches compare with rubber domes and laptop scissors, read mechanical vs. membrane keyboards for typing.
Frequently asked questions
Which switch type is best for long daily typing sessions?
Most touch typists prefer either medium-weight tactile switches (45–55 gf actuation with a gentle bump around 1.5–2.0 mm that confirms actuation without bottoming out) or smooth linear switches (45–50 gf). Heavy 65+ gf springs can fatigue finger extensors over multi-hour writing blocks, while ultra-light 35 gf linears increase accidental adjacent-key brushes.
What do actuation force (gf), pre-travel, and total travel mean on a switch spec sheet?
Actuation force in gram-force (gf) or centinewtons (cN, where 1 cN ≈ 1.02 gf) is the downward pressure required to reach the electrical contact point. Pre-travel is the distance in millimeters from resting position to actuation (typically 1.8–2.0 mm), and total travel is the full stroke to the bottom housing (typically 3.5–4.0 mm).
Why do clicky switches have hysteresis between the actuation point and reset point?
Click-jacket switches use a two-piece sliding collar that snaps downward to make the click sound. Because the collar must be pulled back up by the upper stem on the return stroke, the electrical reset point sits 0.4–0.6 mm higher than the actuation point, which can slightly slow rapid single-key double-taps.
Do optical or Hall-effect magnetic switches prevent key chatter?
Yes, for contact bounce. Because optical switches break an infrared light beam and Hall-effect switches measure magnetic flux density from a permanent magnet on the stem rather than pressing two metal leaves together, neither has physical metal contact bounce.
How can I test if my current mechanical switches are worn or chattering?
Use our online keyboard tester to verify every key's down and up state, and run our key chatter test at a 40 ms threshold across 50 taps per key to catch any oxidized or bouncing metal leaves.