If you've shopped for mechanical switches you've probably seen the same switch listed twice, once as 3-pin and once as 5-pin. This week we were working through the details of the switches for our next batch, and the question came up again, so here's what the difference actually is.
3-pin on the left, 5-pin on the right. Look either side of the centre post.
Same switch, two extra legs
Turn a switch over and you'll see the same thing on both versions:
- Two metal pins. These are the electrical contacts. When you press the key, they're what tells the keyboard the press happened.
- A plastic post in the middle. It locates the switch in the centre hole of the PCB.
That's the "3" in 3-pin: two metal pins plus the centre post.
A 5-pin switch adds two small plastic legs, one on each side of the centre post. They aren't electrical and they don't change how the switch feels, sounds or lights up. They slot into two extra holes in the PCB and stop the switch twisting or rocking.
A Gateron G Pro 3.0 Brown, 3-pin. Two gold contact pins and the centre post.
You'll also see the two versions called plate-mount (3-pin) and PCB-mount (5-pin). The names come from what holds the switch in place.
When the extra legs matter
Most keyboards have a plate: a sheet of metal or plastic with a square cut-out for every switch. The switch clips into the plate, and the plate holds it straight. On a plated board the two extra legs have very little left to do.
Some boards have no plate, and the PCB is the only thing holding each switch. Then the extra legs earn their place. Without them a switch can rotate slightly in its socket, and over time you might feel a bit of wobble or see a key sitting crooked.
The other place they help is hot-swap boards, where switches push into sockets instead of being soldered. The legs help guide the switch in straight. That's useful, though a plate does the same job.
Which fits where
- A 3-pin switch fits a 3-pin board and a 5-pin board. On a 5-pin board the two extra holes are just left empty.
- A 5-pin switch only fits a board with the two extra holes. To use one on a 3-pin board, you clip the two plastic legs off with flush cutters. It takes a few seconds per switch, but on a full board that's a lot of clipping.
That's why some people buying loose switches prefer 5-pin: you can always turn a 5-pin into a 3-pin, but not the other way round. If you're not planning to clip anything, 3-pin is the version that goes in without any extra work.
What we use on the Code One
The Code One ships with 3-pin Gateron G Pro 3.0 Browns in hot-swap sockets, with a steel plate holding every switch. We looked at 5-pin and kept 3-pin. The plate already keeps each switch straight, so the extra legs would add very little, and the boards feel right as they are.
The PCB does have the two extra holes, though. If you pull a switch you'll see them either side of the centre hole.
A Code One with one switch pulled. The red boxes mark the two holes for 5-pin legs. The LED sits at the top, and the two round sockets take the metal pins.
So if you want to try other switches, 3-pin and 5-pin both go straight in, no clipping. Pull the keycap, pull the switch with the puller from the box, line the metal pins up with the sockets and press the new one straight down until it clicks into the plate. If a key stops working afterwards, the usual cause is a bent metal pin. Pull the switch, straighten the pin and try again.
Short version
- The two metal pins are the same on both. Feel, sound and light don't change.
- 5-pin adds two plastic legs for stability. They matter most on boards without a plate.
- 3-pin fits every board. 5-pin needs the extra holes, or a quick clip.
- The Code One uses 3-pin switches on a steel plate, and its PCB takes either.