Library › Computers & desk › Keyboard switches & stabilizers ·
Kailh MX hot-swap socket (CPG151101S11): PCB footprint
What PCB holes does a Kailh MX hot-swap socket need? · Standard part · basis: Kailh CPG151101S11 drawing rev B and specification KH-PS1607-10 (Recommended PCB Layout); MX switch holes from the KiCad Cherry MX footprint
Also called: kailh hotswap socket footprint, mx hot swap footprint, cpg151101s11, hot swap socket hole size, hotswap pcb holes, kailh socket dimensions, hot swap keyboard pcb, 3.05 mm hotswap hole
Exact dimensions. Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part. Mating features
- sizes
- 12 in table
Notes
- The Kailh MX hot-swap socket (CPG151101S11) is soldered to the underside of the PCB so MX-style switches plug in and out without soldering. Its two contact sleeves sit in Ø3.05 holes on the switch's two contact pins; the switch's centre post and fixing pegs use the ordinary MX holes.
- Coordinates are seen from the keycap side, the same frame as the Cherry MX footprint page: origin on the stem axis, x to the right, y towards the contact pins. Kailh draws the layout from the socket side (the board's underside), which is this pattern mirrored left to right; the hole spacing (6.35 across, 2.54 up) matches the MX pin spacing exactly.
- Positions of the switch holes are from the KiCad Cherry MX footprint; the Ø3.05 socket holes and the socket body sizes are from Kailh's drawing. Kailh gives the solder pads only as reference sizes and does not place them, so the jig has no pads: take pad copper from your PCB tool's socket footprint.
- The file is a drill jig at true size: a ring round every hole joined by bars to the centre hole.
Kailh MX hot-swap socket (CPG151101S11): PCB footprint size chart
| parameter | value |
|---|---|
| switch centre post (x, y) | Ø4 at (+0.00, +0.00) mm |
| fixing peg (PCB-mount switches) (x, y) | Ø1.7 at (-5.08, +0.00) mm |
| fixing peg (PCB-mount switches) (x, y) | Ø1.7 at (+5.08, +0.00) mm |
| socket hole on contact pin 1 (x, y) | Ø3.05 at (+2.54, +5.08) mm |
| socket hole on contact pin 2 (x, y) | Ø3.05 at (-3.81, +2.54) mm |
| socket holes | Ø3.05 ± 0.05, 6.35 mm apart across and 2.54 mm apart up (the MX pin spacing) |
| PCB | single-sided board, T = 1.6 mm (Kailh's layout basis) |
| socket body length | 14.50 ± 0.15 mm |
| socket body height | 1.85 ± 0.1 mm |
| socket bosses (into the PCB holes) | Ø2.90 ± 0.05, 6.35 ± 0.1 apart |
| socket width at each contact | 5.89 ± 0.1 mm and 4.00 ± 0.1 mm; 10.90 ± 0.1 mm between the outer contact face and the narrow end |
| solder tabs | 2.55 × 2.5 mm pads, given by Kailh as reference sizes only (positions not dimensioned) |
Mating features
Drawn at the exact size. Open press, slide, run and socket features by your process's clearance (tolerances by process); leave designed gaps and clamp fits as drawn.
| feature | exact | mates with | fit | files |
|---|---|---|---|---|
| socket holes | Ø3.05 ± 0.05 at (+2.54, +5.08) and (−3.81, +2.54); centre Ø4 and pegs Ø1.7 at (±5.08, 0) as MX | Kailh CPG151101S11 socket bosses Ø2.90 ± 0.05, 6.35 ± 0.1 apart; PCB 1.6 | designed | mx-hot-swap* |
| socket body | 14.50 ± 0.15 × 1.85 ± 0.1 high | underside of the PCB; solder pads per your PCB tool (Kailh gives reference sizes only) | designed | mx-hot-swap* |
Where the files are
Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.
| Kailh (Kaihua Electronics) | CPG151101S11 MX hot-swap socket: drawing rev B and product specification KH-PS1607-10 (sec. 8 Recommended PCB Layout) | web | Maker datasheet (linked, not rehosted) |
| KiCad | kicad-footprints: Button_Switch_Keyboard.pretty (SW_Cherry_MX_1.00u_PCB fixing pegs; SW_Matias_1.00u Alps-type pin positions) | web | CC BY-SA 4.0 with KiCad exception (footprints) |
Free files
★ Free files 1 parts. Generated by Xem Studio from the standard; threads are plain cylinders at major diameter. CC BY 4.0. index.json
Use this part in your AI. Your AI gets the exact sizes and files straight from Xem and can design a mount, case or adapter around it. Direct downloads here are limited to one file every 10 minutes; through your AI they are unlimited.
Connect Xem to your AI (free, no account, about a minute)
https://xemstudio.com/mcp- Claude: Add to Claude
- ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
- Cursor: install with one click. VS Code: install with one click.
| mx-hot-swap-footprint-1u | MX hot-swap PCB hole pattern as a 1.6 mm drill jig: Ø4.0 centre, 2 × Ø1.7 pegs, 2 × Ø3.05 socket holes on the contact pins, true size | STEP · STL |
https://xemstudio.com/mcp to Claude, ChatGPT, Cursor or any MCP client (free, no account, one minute) and it can look up exact sizes, mating fits and free STEP/STL from every chat.Plain text: sheet.txt · JSON: /api/geometry?object=kailh-mx-hot-swap-socket-footprint

Fits with
Questions
What size holes does a Kailh MX hot-swap socket need?
Two Ø3.05 mm holes on the MX contact pins, 6.35 mm apart across and 2.54 mm apart up, plus the usual Ø4.0 centre hole (and Ø1.7 pegs for 5-pin switches).
How big is the socket?
14.50 mm long and 1.85 mm tall per Kailh's drawing.


