Are All Keyboard Switches the Same Size?
In this article
No, keyboard switches are not all the same size. While the majority of mechanical keyboards use a standard footprint often called the “Cherry MX” or “MX-style” mount, there are several other dimensions and mounting standards that differ, and even within the MX family there are variations in pin count, housing shape, and travel distance. The key takeaway is that switch size is not universal, so you need to check compatibility before buying or swapping switches.
What “Switch Size” Actually Means
When people ask about switch size, they usually mean one of three things: the physical footprint of the switch housing, the mounting pins that connect it to the PCB, or the height and travel of the stem. All three matter for compatibility, but the most critical is the footprint and pin layout.
- Footprint: The square base that sits in the plate cutout. MX-style switches have a 14 mm × 14 mm base and a 4 mm stem diameter. Most aftermarket switches follow this, but some low-profile or optical switches use a smaller base.
- Mounting pins: The metal pins that solder or hot-swap into the PCB. MX-style switches typically have two metal pins for the electrical connection plus a central plastic alignment peg (PCB mount) or two plastic legs (plate mount). Some switches have five pins (two metal, three plastic) for extra stability.
- Height and travel: Standard MX switches have a total travel of about 4 mm. Low-profile switches are shorter, often around 3 mm total travel, and they sit in a different plate height.
So when someone says “all switches are the same size,” they are usually referring to the MX footprint, which is indeed the most common standard. But it is not the only one.
The MX Standard and Its Variations
The Cherry MX switch design became the de facto standard for mechanical keyboards, and many manufacturers produce compatible clones. These are often called “MX-style” or “Cherry MX compatible.” Within this family, the footprint and stem size are consistent, so keycaps and plates designed for MX switches will fit most of them. However, there are still differences that affect compatibility:
- Pin count: Some MX-style switches have three pins (two metal, one plastic center peg) and are called “PCB mount” or “5-pin” if they also have two extra plastic legs. Plate-mount switches have no center peg and rely on the plate for stability. You can often clip the extra plastic legs to fit a PCB that only accepts 3-pin switches.
- Housing shape: The top housing can be slightly different in shape, which matters for some tight-fitting keycaps or for RGB light dispersion. But the base footprint remains the same.
- Stem length: Some switches have longer stems (e.g., “long pole” switches) that change the feel and sound, but the stem diameter is still 4 mm, so keycaps fit.
In short, if a switch is advertised as MX-style, it will physically fit in an MX-compatible keyboard, but you should still check pin count and whether your PCB supports hot-swapping.
Low-Profile Switches: A Different Size
Low-profile mechanical switches are designed for thinner keyboards, like many laptop-style mechanical boards and some portable keyboards. They are not the same size as standard MX switches. The most common low-profile standard is the Kailh Choc series (and similar designs from other brands), which has a smaller footprint and shorter travel. Keycaps for low-profile switches are not interchangeable with standard MX keycaps because the stem is different. If you are buying replacement keycaps or switches, you must match the low-profile standard exactly.
Low-profile switches also sit lower in the plate, so the overall keyboard height is reduced. They are not compatible with standard MX hot-swap sockets or plates without modification.
Other Switch Types and Sizes
Beyond MX-style and low-profile, there are several other switch families with unique sizes:
- Optical switches: These use light to register a keypress and often have a different pin layout. Some are MX-compatible in footprint but require an optical PCB, so they are not interchangeable with mechanical switches.
- Topre and rubber dome: These are not mechanical switches in the traditional sense and have their own mounting method. They are not compatible with MX keycaps or PCBs.
- Alps and buckling spring: Older or niche switch types with different footprints and stem shapes. Keycaps and parts are not cross-compatible with MX.
- Choc and other low-profile: As mentioned, these have a smaller footprint and different stem.
So while MX-style dominates the enthusiast market, there is no single universal size across all keyboards.
How to Check Compatibility Before Buying
If you are planning to buy new switches or keycaps, follow these steps to avoid mistakes:
- Identify your keyboard’s switch type. Check the product page or manual. Look for terms like “MX-style,” “Cherry MX compatible,” “hot-swappable,” or “low-profile.” If it is a big-brand gaming keyboard, the manufacturer often lists the switch type.
- Check the pin count and PCB support. If your keyboard has hot-swap sockets, they are usually designed for either 3-pin or 5-pin switches. Many hot-swap sockets accept both, but some only accept 3-pin. You can often clip the extra plastic legs on 5-pin switches to make them fit a 3-pin socket.
- Verify keycap stem size. Standard MX keycaps have a 4 mm cross-shaped stem. Low-profile keycaps have a different stem, so they are not interchangeable.
- Look for plate compatibility. The plate cutout for MX switches is standardized, but low-profile switches need a different plate. If you are building or modifying a keyboard, ensure the plate matches your switch type.
When in doubt, consult the keyboard’s specification sheet or ask the community for your specific model. Many enthusiast forums and retailers provide compatibility lists.
Common Misconceptions
A frequent misconception is that all mechanical switches are the same size because they look similar. While MX-style switches share a footprint, there are subtle differences that can cause problems. For example, some “MX-style” switches have a slightly different housing that can be tight in certain hot-swap sockets, and some optical switches look like MX switches but have different pins. Another misconception is that you can swap low-profile and standard switches freely; you cannot, because the PCB and plate are different.
Also, keycap compatibility is not just about stem size. The height of the switch can affect how keycaps sit, especially with low-profile switches. Always match the switch type to the keycap set.
Frequently Asked Questions
Can I put any mechanical switch in my hot-swappable keyboard?
Not necessarily. Your keyboard’s hot-swap sockets are designed for a specific pin layout, usually MX-style 3-pin or 5-pin. Switches from other families (optical, low-profile, Alps) will not fit or work. Always check that the switch is MX-style and matches your socket type.
Are all MX-style switches the same size?
They share the same footprint and stem diameter, so they are generally interchangeable in MX-compatible keyboards. However, pin count (3-pin vs 5-pin) and housing shape can vary, so check those details if you have a hot-swap board or tight tolerances.
Can I use standard keycaps on low-profile switches?
No. Low-profile switches have a different stem size and shape, so standard MX keycaps will not fit securely. You need keycaps designed for low-profile switches.
What does “5-pin switch” mean?
A 5-pin switch has two metal electrical pins and three plastic legs (one center peg and two side legs) for extra stability on a PCB. A 3-pin switch has only the two metal pins and one center plastic peg. Many PCBs accept both, but some only accept 3-pin; you can clip the extra legs on a 5-pin switch to make it fit.
Are optical switches the same size as mechanical switches?
Some optical switches are designed to be MX-compatible in footprint, but they have a different internal mechanism and pin layout. They will not work in a standard mechanical PCB, and mechanical switches will not work in an optical keyboard. Always match the switch type to the keyboard.
Do switch sizes affect typing feel?
Yes. Switch height and travel distance affect how far the key travels and how it feels. Low-profile switches have shorter travel, which some people prefer for faster typing, while standard MX switches have about 4 mm travel. The footprint size itself does not affect feel, but the switch’s internal design does.
Bottom Line
Keyboard switches are not all the same size. The MX-style standard is the most common, but even within that family there are variations in pin count and housing. Low-profile, optical, and other switch types have different dimensions and are not interchangeable. Before buying switches or keycaps, identify your keyboard’s switch type and check compatibility. When in doubt, consult the manufacturer’s specifications or a reliable community resource.