XH vs EH vs SM: Three 2.5 mm Connector Families That Do Not Intermate

XH, EH and SM all use a 2.5 mm pitch, and none of them will mate with the other two. XH is a box-header wire-to-board family with a 9.8 mm mated height. EH is a low-profile wire-to-board family measuring 3.8 mm thick and 8.1 mm high in top entry. SM is a wire-to-wire family with no PCB header at all. The pitch is the only number they share.
This page exists because that single shared number causes more wrong orders than any other connector mistake we see. A buyer searches “2.5 mm connector”, lands on a family page, and orders a housing that physically cannot accept the header already on the board — or worse, forces it on, cracks the latch, and ships it.
Below: the three families side by side, the mechanical differences that actually decide interchangeability, and the checks to run before you approve a substitute.
The three families at a glance
| Item | XH | EH | SM |
|---|---|---|---|
| Connection type | Wire-to-board | Wire-to-board | Wire-to-wire |
| Pitch | 2.5 mm | 2.5 mm | 2.5 mm |
| Rated current | 3 A AC/DC (AWG #22) | 3 A AC/DC (AWG #22) | 3 A AC/DC |
| Rated voltage | 250 V AC/DC | 250 V AC/DC | 250 V AC/DC |
| Applicable wire | AWG #30–#22 | AWG #32–#22 | AWG #28–#22 |
| Mated height | 9.8 mm (assembled board height) | 8.1 mm top entry, 3.8 mm thick | n/a (cable-to-cable) |
| Header | Shrouded box header, top and side entry, boss option | Low-profile header, top and side entry | No header |
| PCB mounting | Through-hole and SMT variants | Through-hole | n/a |
| Lock | Housing latch over header ramp | Housing latch over header ramp, shorter body | Panel/plug latch |
| Approvals (original series) | UL, CSA, TÜV | UL, CSA, TÜV | UL, CSA, TÜV |
| Typical use | Power and signal on control boards, appliances, LED drivers | Height-constrained boards, densely packed PCBs | Harness-to-harness, LED strings, battery leads |
| HXH series page | XH series | EH series | SM series |
Ratings as published by the original series manufacturer. Values for a compatible part must be confirmed on the drawing for your pin count — see the note at the end of this page.
Why identical pitch still means incompatible parts
Pitch is the centre-to-centre distance between adjacent contacts. It fixes where the pins sit, and nothing else. Four other dimensions decide whether two halves actually mate:
- Header wall and cavity shape. A box header is a plastic wall around the contact array. Two suppliers can both hold 2.5 mm pitch and still differ in wall thickness and internal cavity size, so the housing either will not enter or enters with zero clearance.
- Latch geometry. The housing latch has to catch a ramp at a specific height on the header. If the ramp sits 1 mm lower, the latch rides over it and does not lock — the connector looks mated and pulls apart under load.
- Contact and terminal width. The terminal has to enter the header cavity without splaying the contact. A wider terminal raises insertion force, and insertion force is what bends the header pin on a reworked board.
- Mated height and clearance. XH sits at 9.8 mm assembled. EH is built to be shorter. Substituting one for the other changes whether the assembly clears the enclosure, the fan, or the next board.
XH: the general-purpose 2.5 mm box header
XH is the family most boards are designed around. The header is fully shrouded, which protects the pins during handling and stops a probe from shorting two contacts. Top entry and side entry versions exist, and the through-hole footprint is standard 1.6 mm board thickness. SMT variants exist for reflow assembly.
What matters commercially: XH has the widest second-source availability of any 2.5 mm family, the lowest tooling cost, and the largest installed base in appliances and industrial control. If you are choosing a 2.5 mm family from scratch and height is not critical, XH is the safer long-term bet for supply reasons alone.
Read the full electrical and mechanical table on the XH connector series page, and the pin-count and drawing walkthrough in the XH datasheet guide.
EH: the same pitch, built to be shorter
EH was designed for boards where height is the constraint. The top entry version measures 3.8 mm in thickness and 8.1 mm in height, against 9.8 mm for XH. It keeps the 3 A / 250 V rating and the AWG #32–#22 wire window, and it is easier to unmate by hand, which is why it turns up in serviceable consumer equipment.
The trade is board area and mechanical robustness: EH is through-hole only, the header is less heavily shrouded than XH, and the housing body is shorter, so the latch has less material around it. In a high-vibration application, that difference matters more than the 1.7 mm of height you saved.
See the EH series page for pin counts and confirmation points.
SM: not a board connector at all
SM is the family that gets mis-ordered most often by search, because its 2.5 mm pitch and 3 A rating look like XH. SM is wire-to-wire: a plug housing and a receptacle housing, each carrying crimp terminals, joining two cable ends. There is no PCB header and no board footprint.
Use SM when the joint is in the harness — LED strings, battery leads, fan cables, extension runs — and use XH or EH when the joint is on the board. Trying to mount an SM plug on a PCB means soldering a receptacle to the board, which is a hand-assembly step you did not budget for.
Details on the SM series page.
Decision path by application
| If this is true | Choose | Because |
|---|---|---|
| Board-to-cable, height not critical, standard 3 A circuits | XH | Widest availability, shrouded header, lowest tooling cost |
| Enclosure height is fixed and tight | EH | 8.1 mm mated height against 9.8 mm |
| Joint sits mid-harness, no PCB | SM | Wire-to-wire by design; no header needed |
| You need 5 A or more per contact | VH / HX39600 class | 3.96 mm pitch raises the current ceiling; see the VH series |
| You need 1.5 mm or 2.0 mm to save space | ZH / PH | Smaller pitch, lower current — see the PH series and ZH series |
How to specify a 2.5 mm connector without a callback
- Name the family and the mating half. “XH-compatible housing to mate with existing XH header, 6 circuits” is a specification. “2.5 mm 6 pin” is a guess.
- Send the drawing or a photo of the mating part. Pitch, cavity shape and latch height are all visible in a caliper photo with the scale in frame.
- State the wire gauge and insulation OD. The terminal crimp window is set by conductor size; the housing entry is set by insulation OD. A 22 AWG wire with thick insulation will crimp fine and refuse to seat.
- Say whether the board is already tooled. If the footprint is fixed, the header is fixed, and only the housing and terminal are open to substitution.
- Ask for the first article before the production run. One mated pair, one crimped sample, one pull test. That is a two-day check that prevents a two-month problem.
If you are replacing an existing part rather than designing a new one, run the checks in the sourcing guide alongside this page — the qualification logic is the same regardless of pitch.
Send the mating part, not the pitch
Tell us the family, the circuit count, the wire gauge and the header you are mating to, and we will confirm the housing, wafer and terminal as a matched set against the drawing. If the header is already on the board, send its photo first — that single image removes most of the ambiguity in a 2.5 mm enquiry.
Request a quote JST-compatible series overview
Common questions
No. Both use a 2.5 mm pitch and share the 3 A / 250 V rating, but the header cavity, latch ramp height and housing body differ, so an EH housing does not lock onto an XH header. Mated height also differs: 9.8 mm for XH, 8.1 mm for EH in top entry.
No. SM is a wire-to-wire family with plug and receptacle housings; XH is wire-to-board with a PCB header. The 2.5 mm pitch is the only shared dimension, and there is no SM header to mount on a board.
JST publishes 9.8 mm assembled board height for the standard XH series. The EH series is designed lower, at 8.1 mm height and 3.8 mm thickness in top entry.
Not reliably. 2.5 mm and 2.54 mm pitch produce a cumulative offset that grows with pin count: about 0.04 mm per contact, so 10 circuits are roughly 0.4 mm out by the last pin. The housing may start onto the header and then bind.
EH when enclosure height is the binding constraint and the board is through-hole; XH when you need the widest second-source availability and a fully shrouded header. Both are rated 3 A per contact at AWG #22.
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. Series ratings quoted for XH, EH and SM are the original manufacturer’s published values and are cited for comparison. Ratings for a compatible part must be confirmed on the drawing for the specific pin count and wire gauge; a family-level number does not transfer automatically.