GuidesSwitch Types

Published 7 October 2026 · By JonsTech

Will Five-Pin Switches Fit a Three-Pin Keyboard?

Find out whether 3-pin and 5-pin switches fit your keyboard, how the locating pins differ from the electrical contacts, and what to check before buying.

Switch Pin Compatibility

Often, yes: a 3-pin MX-style switch will usually fit a PCB designed for 5-pin switches. A 5-pin switch may not fit a PCB designed for 3-pin switches because its two extra plastic locating pins can hit solid areas of the board. Check the exact keyboard or PCB specifications before buying; pin count alone does not confirm compatibility.

What do the three pins do?

For standard MX-style switches, two of the pins are metal electrical contacts. They connect the switch to the keyboard’s circuit. The third is a plastic post in the centre that helps locate the switch. A 5-pin version adds two more plastic locating pins, which help stabilise it on a PCB. Those extra pins do not make electrical contact.

Pin-count diagram (roles only; not to scale): 3-pin: 2 metal electrical contacts + 1 centre plastic locating post 5-pin: 2 metal electrical contacts + 1 centre plastic locating post + 2 extra plastic locating pins The exact positions are not shown. Check the underside of the switch or its manufacturer’s diagram to identify the pins on a particular model.

How PCB and plate mounting affect fit

A PCB is the circuit board beneath the switches. A mounting plate is a separate layer with openings that hold the switches in place. A 5-pin switch needs clearance in the PCB for its two extra plastic pins. A PCB designed for 3-pin switches may not have those holes, so the extra pins can prevent the switch from sitting flat. A plate does not automatically solve that obstruction: the pins still need somewhere to go below it.

In the other direction, a 3-pin switch can often be fitted to a 5-pin PCB: its two electrical contacts and centre post use the corresponding holes, while the extra PCB holes remain empty. If the keyboard has a plate, that plate can help hold the switch securely. Without a plate, a 3-pin switch may have less support than a 5-pin one, depending on the build.

These points apply to standard MX-style mechanical switches, not every switch technology. Optical, magnetic, low-profile and other designs can use different shapes or connections. Also check whether your keyboard is hot-swappable or requires soldering: matching pin count does not by itself establish that the electrical connection is compatible.

Example: NZXT Function and a 5-pin switch

NZXT’s compatibility guide says the Function Mechanical Keyboard, Function Tenkeyless and Function MiniTKL accept both 3-pin and 5-pin MX-style mechanical switches without modification. This guidance does not apply to the Function 2 Optical Keyboard. As one example of a switch listing, Gateron identifies its Zero Linear Switch as 5-pin. That makes it a pin-count match for the listed Function mechanical models, subject to checking the exact switch and keyboard variant before purchase. See NZXT’s Function switch-compatibility guide and Gateron’s Zero switch profile.

What to check before ordering switches

  1. Find the exact keyboard model and variant. A similar name can cover versions with different switch types or sockets.

  2. Check the manufacturer’s compatibility information or the PCB documentation for supported switch type and mounting. Look for explicit confirmation of 3-pin, 5-pin or both.

  3. Confirm the replacement switch is the right type for that board, such as standard MX-style mechanical rather than optical, magnetic or low-profile.

  4. If the documentation is unclear, inspect the PCB or ask the keyboard maker before ordering. Check for the needed holes and make sure the electrical contacts match the socket or solder pads.

Can you clip the extra pins?

Some builders trim the two extra plastic locating pins from a 5-pin switch so it can clear a PCB without matching holes. This is irreversible, and a mistake could damage the switch. It should not be treated as a universal fix: first confirm that the switch’s electrical contacts and overall design are suitable for the keyboard. When possible, choosing a compatible 3-pin switch or a PCB that accepts 5-pin switches avoids altering the switch.

Creamy Keyboard’s mechanical keyboard switch database lets you search switches and inspect available specifications, including pin count. Some entries may be incomplete, and a pin-count listing alone cannot confirm that a switch suits your keyboard’s socket, PCB or plate. Use it to narrow your options, then verify the exact keyboard compatibility before buying.