GuidesSwitch Types

Published 28 November 2026 · By JonsTech

Mechanical Keyboard Switch Mounting Styles Explained: 3-Pin vs 5-Pin

Find out whether a switch will fit your keyboard’s PCB and plate. Learn what 3-pin and 5-pin MX-style switches mean, when clipping locating pins may work, and why other switch systems need separate checks.

3-Pin vs 5-Pin Switches

Before buying switches, check the keyboard or PCB specifications for the supported switch standard and mounting style. A 5-pin MX-style switch can often be used with a 3-pin MX-style PCB if its two extra plastic locating pins are removed, but pin count alone does not guarantee fit: the plate, sockets and switch design also need to match.

The key distinction is that the two metal electrical pins and central plastic post are common to 3-pin and 5-pin MX-style switches. A 5-pin switch has two additional plastic legs to help locate it on a compatible PCB. Those legs are not electrical contacts.

Check compatibility before choosing switches

Look up the exact keyboard model or PCB revision first. Check its manual, product specifications or manufacturer compatibility information rather than relying on a listing that only says “mechanical” or “hot-swappable”. Hot-swap describes how switches attach electrically; it does not establish that every switch standard will fit.

  1. Identify the switch system the PCB supports, such as standard MX-style mechanical, optical or Hall-effect.

  2. Check whether the PCB is designed for 3-pin or 5-pin MX-style switches, including its socket layout if it is hot-swappable.

  3. Confirm that the plate opening and switch housing are compatible. The plate helps hold switches in position, and plate design can affect whether a switch seats properly.

  4. If you cannot find clear documentation, ask the keyboard or PCB maker before ordering. A photo of the PCB and switch can help, but may not reveal every compatibility detail.

What do 3-pin and 5-pin mean?

These labels usually describe the physical legs on a standard MX-style switch. Two metal pins make the electrical connection, while a central plastic post and, on 5-pin versions, two additional plastic legs help position the switch. The extra legs fit into matching holes in a 5-pin PCB.

  • 3-pin: two metal electrical pins and one central plastic post.

  • 5-pin: the same two metal pins and central post, plus two plastic locating legs.

A 5-pin PCB has holes for those extra legs. A 3-pin PCB generally lacks them, so the legs can obstruct a 5-pin switch from sitting flat. The switch still needs its metal pins to line up with the PCB’s electrical contacts; the plastic legs do not replace or adapt those contacts.

Can a 5-pin switch fit a 3-pin PCB?

Sometimes. If the switch is otherwise compatible with the PCB and plate, removing its two extra plastic locating legs may allow it to seat on a 3-pin PCB. This is commonly called clipping the legs. It is a physical adjustment, not a way to make an incompatible electrical switch system work.

A hypothetical example

Suppose a keyboard’s documentation confirms that its hot-swap PCB accepts standard MX-style switches but has a 3-pin layout. A compatible 5-pin MX-style switch may work if its two extra plastic legs are carefully clipped and the switch then sits correctly in the plate and PCB. This is an example of the general principle, not a guarantee for any particular keyboard or switch.

When is clipping a sensible option?

Clipping can be reasonable when you have confirmed that the PCB and switch use the same MX-style electrical layout, the only obstruction is the two extra plastic legs, and the plate supports the switch. It can also make a 5-pin switch usable for a build whose PCB has a 3-pin layout.

It is less suitable if you want to keep the switch unmodified for another build, cannot confirm what is stopping it from seating, or would need to force it into place. Clipping is irreversible: once removed, the legs cannot be restored. If you go ahead, use a suitable cutting tool, remove only the two locating legs, and clear away loose plastic before installing the switch.

A 3-pin MX-style switch will often fit a 5-pin MX-style PCB because the extra PCB holes do not usually obstruct its legs. But check the board and plate documentation rather than treating that as universal: mounting details and switch designs can differ.

Why pin count does not tell the whole story

The 3-pin and 5-pin labels apply to a common MX-style mechanical switch layout. They do not mean that switches from different technologies share the same electrical contacts, sensing method or physical shape. Optical and Hall-effect switches, for example, use different sensing systems and may require a matching PCB. Do not assume an MX-style switch can replace one, or that an optical or Hall-effect switch can be clipped or adapted for an MX-style board.

Low-profile and other specialised switches can also differ in housing shape, height, contact design and mounting. Check the keyboard maker’s compatibility information for the specific switch standard; “mechanical” by itself is not enough to confirm a fit.

For more detail on a separate switch system, see our guide to optical versus mechanical switch compatibility.

A quick decision guide

  • 3-pin MX-style PCB and compatible 3-pin switch: usually the straightforward match, subject to the plate and socket details.

  • 5-pin MX-style PCB and compatible 5-pin switch: the extra plastic legs have matching PCB holes, but still check the plate and the switch standard.

  • 3-pin MX-style PCB and compatible 5-pin switch: clipping the two extra plastic legs may be an option if the switch otherwise fits.

  • Optical, Hall-effect, low-profile or other specialised system: check for a specifically compatible switch; pin count is not a conversion guide.

Choose switches after confirming the fit

Once you have confirmed the switch standard and mounting layout, compare feel-related specifications such as switch type, actuation force and travel. Creamy Keyboard’s mechanical keyboard switch database lets you search switches, compare available specifications and narrow the results using filters. Treat missing specifications as unknown, and check the keyboard or PCB maker’s documentation for the final compatibility decision.