XH 2.50 mm vs Molex KK 254 2.54 mm: Why They Do Not Intermate

JST XH and Molex KK 254 look like the same connector and are not. Both are single-row wire-to-board systems on a square 0.64 mm post, both sit around 2.5 mm between circuits, both exist in 2 to 16 positions, and both are quoted by distributors as “2.5 mm pitch”. The difference is 0.04 mm per position — which is exactly enough to bend pins, crack solder joints and produce a connector that clicks but does not lock.
This page explains why they do not intermate, what the 0.04 mm does over ten circuits, and the checks to run before anyone writes “XH or equivalent” on a drawing.
Two pitches, 0.04 mm apart
| JST XH (2.50 mm) | Molex KK 254 (2.54 mm) | |
|---|---|---|
| Pitch | 2.50 mm | 2.54 mm |
| Published current | 3 A AC/DC | Up to 5 A per circuit depending on series and circuit count |
| Voltage | 250 V AC/DC | 250 V (some headers rated 500 V) |
| Wire range | AWG 30–22 | AWG 30–22 |
| Contact | Crimp contact on a square post, friction lock housing | Dual-cantilever terminal, optional box-style terminal for vibration |
| Housing | PA66, UL94 V-0, natural | Nylon, UL94 V-2 or V-0 depending on series |
| Mating interface | XH header only | KK header only |
Ratings are the published series figures and vary with circuit count, plating and header style; the datasheet for the exact part number governs. The point of the table is the row that does not appear: there is no cross-mating approval in either direction.
What 0.04 mm per position accumulates to
Pitch error is not a single-pin problem, it is a stack problem. If the first circuit is aligned, every following circuit is further out by one pitch difference:
| Positions | Total offset at the last pin | What happens when you force it |
|---|---|---|
| 2 | 0.04 mm | Usually mates; one pin takes the load, the other barely contacts |
| 4 | 0.12 mm | Terminals splay; insertion force doubles |
| 6 | 0.20 mm | Visible pin lean; friction lock does not engage |
| 8 | 0.28 mm | Contact resistance spreads; intermittent faults under vibration |
| 10 | 0.36 mm | Pins bend at the board; solder joints crack on rework |
| 16 | 0.60 mm | Will not seat without damage to the header |
That 0.36 mm at ten circuits is more than half a pin width. Nothing about it looks wrong in a photo of a mated pair — the housing covers the interface — which is why the failure usually shows up later as “random dropouts on the 10-way connector” rather than as a build error.
Four reasons the housing will not lock
- Pitch: the cavities are positioned on different grids, so the terminals never align across the full row.
- Housing profile: the XH friction-lock ramp sits where the KK polarising rib sits. The two shells push against each other instead of engaging.
- Terminal geometry: the KK dual-cantilever terminal needs the wider KK cavity to spring open; in an XH cavity it is pre-loaded and loses contact force.
- Header shroud: XH headers are shrouded on a 2.50 mm footprint. The KK header wall thickness differs, so the XH housing bottoms out on the shroud before the terminals reach the pins.
Why the footprints are not swap-compatible either
| Check | XH 2.50 | KK 254 |
|---|---|---|
| Hole spacing (pin 1 to pin 10) | 22.50 mm | 22.86 mm |
| Recommended PCB hole | 1.0–1.1 mm for 0.64 mm post | 1.0–1.2 mm for 0.64 mm post |
| Silkscreen outline | Narrower body, different latch position | Wider body, rib on the opposite side |
| Result of a drop-in attempt | Pins bind in the holes; the last position sits off-centre by a third of a millimetre | |
Ten-position rows are where this bites. A 2-position header can sometimes be persuaded to accept the wrong housing with hand force; a 10-position row cannot, and the attempt leaves the header permanently damaged. If the board is already laid out, changing series means a board revision, not a substitution.
The illusion of compatibility
Three things make engineers believe the parts interchange, and each one is a half-truth:
- “Both are 2.5 mm.” One is 2.50, the other 2.54. Distributor filters round both to 2.5, and the search result looks like a match.
- “Both use 0.64 mm posts.” True, and irrelevant: the post is the same, the grid it sits on is not.
- “It mated on the bench.” A 2-position pair will often mate by hand, because one pin can absorb 0.04 mm. Mating force and contact resistance are the measurements that expose it, and neither is taken on a bench check.
Which family to specify
| Requirement | Recommendation | Reason |
|---|---|---|
| Legacy US design already on KK 254 | Stay on KK 254 | Footprint and tooling are fixed; changing series forces a board revision |
| New 2.5 mm signal design, Asian supply chain | XH 2.50 | Broad availability, lower unit cost, 3 A is enough for signal and small power |
| More than 3 A per circuit | VH 3.96 or HX50800 5.08 | Neither 2.5 mm family is a power connector at that current |
| High vibration, need a second lock | KK 254 with box terminal, or a TPA family | Dual-cantilever plus box terminal holds contact force better |
| Very dense, 1.25–2.0 mm allowed | PH, ZH or SH | Half the board area, lower current |
A substitution test plan that produces evidence
- Dimensional: measure pin-1 to pin-N span on both parts and compare with the drawing; 0.04 mm per position is measurable with callipers on 6 positions or more.
- Insertion force: measure with a force gauge on the full row. A correct mate is typically 3–10 N per circuit; a forced cross-mate jumps well above that and does not repeat.
- Contact resistance: four-wire measurement per circuit after mating, typically under 20 mΩ. Spread between circuits is the tell — a forced pair shows one or two circuits far above the rest.
- Retention: pull the housing away from the header at 5 N per circuit for 10 s. The latch must hold without the terminals moving in the cavities.
- Cycling: 10 mates and unmates, then re-measure resistance and insertion force. A pair that was never designed to mate degrades measurably within ten cycles.
What to write on the drawing
“2.5 mm pitch connector” is not a specification. State the series and the pitch to two decimals, the circuit count, the plating, the housing flammability class and the mating half. If a second source is allowed, name it and require the five checks above on the first article. That sentence prevents the most common sourcing error in this pitch class — a “compatible” part that mates with nothing on the board.
XH 2.50 mm series Compare pitches 1.0–5.08 mm
Common questions
No. The pitches are 2.50 mm and 2.54 mm, so the cavities sit on different grids, and the friction-lock ramp of the XH housing lands where the KK polarising rib is. Up to four circuits a pair can sometimes be forced by hand, which damages the header rather than proving compatibility.
One pitch difference per position: 0.04 mm at 2 circuits, 0.20 mm at 6, 0.36 mm at 10 and 0.60 mm at 16. Above about six positions the pins visibly lean and the latch will not engage.
No. The pin count is the only thing that matches. Contact cavity geometry, housing profile, header shroud and PCB hole spacing all differ, and neither maker publishes a cross-mating approval.
Molex KK 254 is published at up to about 5 A per circuit depending on series and circuit count; JST XH is 3 A AC/DC at 250 V. Both figures are single-circuit values and must be derated for multi-circuit loading and ambient temperature.
No. The pin-1 to pin-N span differs, for example 22.50 mm versus 22.86 mm on a ten-position row. Moving between the families requires a new footprint, which means a board revision.
Short answers: the same questions are answered in one paragraph each on our 40 connector questions page, with links back to the guides above.
Published by HXHconnector Engineering. Pitch values are nominal series data; current, voltage and wire ranges vary by circuit count and plating and must be confirmed on the part datasheet. Test limits above are typical production figures, not a substitute for the drawing.