Wire-to-Board vs Wire-to-Wire: Choose by Service Boundary, Not by Rating

By HXHconnector Engineering Connector Selection Guides8 min read

Choose wire-to-board when the equipment should come apart at the PCB. Choose wire-to-wire when the disconnect belongs somewhere out on the harness. That is the whole decision. Current rating, pitch and pin count only filter the family afterwards — they do not tell you which of the two layouts you need.

Most comparison pages stop at “wire-to-board joins a wire to a board, wire-to-wire joins two wires”. Designers already know that. What they actually have to decide is where the service boundary sits, how much space the mated pair eats, and who absorbs the cable-assembly cost. This page answers those three.

What each layout changes in the assembly

Design question Wire-to-board Wire-to-wire
Where the parts separate At the header soldered or pressed into the PCB Anywhere along the harness route
What has to be reserved on the board Header footprint, mated height, cable exit and finger access Nothing on the board — but the harness needs a support or panel anchor
Typical mated height above PCB 9.8 mm for a 2.5 mm friction-lock family; less for a low-profile EH at 8.1 mm Not applicable; the pair sits in free space
Panel or bulkhead option Rare — the board is the fixed end Common: panel-mount receptacle plus a plug on the cable
Extra parts in the BOM Header + housing + terminals Two housings + two sets of terminals + a splice or a double crimp
Assembly labour One crimp per wire, one solder or press-fit per header Two crimps per wire, two connectors to seat and latch
What fails first under lever load The solder joint or pad, because the cable loads the board The latch or the terminal retention, inside the housing
Sealing and IP options Limited Wide — sealed wire-to-wire families exist for wet or dusty areas

Mated-height figures are the published values of the original 2.5 mm families; confirm the value for your part number on the drawing.

The service boundary test

Ask three questions in this order. The first one that produces a clear answer decides the layout.

  • Does anything on this cable get replaced while the board stays in place? A fan, a door switch, a sensor, a battery pack, a display. If yes, put a disconnect at the renewing part — which usually means wire-to-wire, near the part, not at the board.
  • Does the board get pulled from the enclosure during service? If the technician lifts the board out, a wire-to-board connector at the board edge is the fastest thing to unplug, and it removes the whole harness in one motion.
  • Is there space to reach the pair with two fingers? This kills more designs than any electrical argument. A 2.5 mm friction-lock pair needs room to be pulled apart along the axis of insertion; a header tucked behind a transformer never gets serviced, and someone will pull the wires instead.
Layout example, not a recommendation. A control board inside a chassis, with a door-mounted keypad that gets swapped in the field: wire-to-board at the board edge for the internal harness, plus a wire-to-wire disconnect at the hinge so the door can be removed without touching the board. Two different boundaries, two different layouts, both in the same machine.

What wire-to-wire really costs

The electrical difference between the two layouts is often nil — the same 2.5 mm contact system can be offered in both forms. The difference is in parts and labour, and it is worth putting a number on before choosing:

Cost line Wire-to-board at the board Wire-to-wire in-line
Connector parts 1 header + 1 housing + n terminals 2 housings + 2n terminals
Crimp operations n 2n
Board process Reflow or wave step for the header None
Incoming inspection Header solderability, coplanarity Double the terminal crimp checks
Field replacement of the cable Unplug at board Unplug mid-harness, harness stays routed

On a 6-circuit 2.5 mm harness, the in-line version roughly doubles the connector and crimp content for the same electrical performance. It buys you a service point that does not require opening the board area. Whether that is worth it depends entirely on how often the part behind the disconnect gets replaced — which is why the service boundary test comes first.

There is a second, less obvious cost: every mated pair is a contact interface with its own resistance and its own failure probability. An extra in-line disconnect adds two contact interfaces to a circuit that already has one at the board. On low-voltage signal lines that is irrelevant; on a 3 A power line at 60 °C ambient, those extra milliohms are worth calculating — the method is in current rating and derating.

The failure modes are not the same

Both layouts fail, but not in the same place, and the maintenance story differs:

  • Wire-to-board, cable pulled sideways. The solder joint or the plated through-hole takes the load. A 0.5 kg harness hanging off a 2.5 mm header will eventually crack a pad, and the symptom is intermittent, which is the worst kind. Fix it with a cable tie or a clip within 30–40 mm of the connector, before the bend radius starts.
  • Wire-to-wire, vibration. The latch or the terminal lance carries the load. A friction-lock pair with no secondary lock can walk apart under sustained vibration; that is what TPA and positive locks are for. See retention, latches and TPA.
  • Either layout, unmating by pulling the wires. Wires pull out of crimps before housings release, and the damage is invisible until the line stops. This is a labelling and training issue, not a connector issue — but it is the single most common field failure we are asked to explain.

Where each family sits

Need Board side (wire-to-board) Harness side (wire-to-wire)
Dense signal, small board SH 1.0 mm, ZH 1.5 mm Rarely used; the run usually stays on the board
Battery or sensor lead, 2 A PH 2.0 mm Small in-line pairs for pack-to-device links
General power and signal, 3 A XH 2.5 mm, EH 2.5 mm low profile SM 2.5 mm in-line
Power entry, 7–10 A VH 3.96 mm, HX39600 VH in-line and panel types
Compact dual-row power Micro-Fit class 3.00 mm Micro-Fit class in-line
Appliance and equipment power, 9 A+ Mini-Fit class 4.20 mm, HX50800 5.08 mm Mini-Fit class, HX50800 in-line

Series pages with wire windows and header options: wire-to-board, wire-to-wire, SM 2.5 mm and board-to-board.

Three layouts that look fine and are not

  • In-line disconnect inside a sealed box with no slack. The pair can be reached but cannot be separated, because there is no cable length to move the freed section away. Define the service position, not just the installed position.
  • Wire-to-board chosen because “it is cheaper”, then a field-replaceable module wired through it. Every replacement now disturbs a board connector that was designed for one mating cycle. The savings disappear in the first service visit.
  • Wire-to-wire chosen to avoid a PCB layout change. Two extra housings and doubled crimps usually cost more than a footprint revision, unless the board is already locked.

What to put on the drawing

Whichever you choose, the drawing should state the layout explicitly, because “connector: XH 6-pin” does not say whether the header is on the board or the pair floats in the harness. Add: the fixed end, the free end, the direction of unmating, the cable support point within 40 mm, and the expected number of mating cycles over life. That last number decides the plating — tin or gold — more often than the current does.

Send a layout for review Browse connector series

Common questions

What is the difference between wire-to-board and wire-to-wire connectors?

A wire-to-board connector joins a discrete wire or harness to a header fixed on a PCB. A wire-to-wire connector joins two wired sections to each other with no board involved. The electrical contact system can be identical; what changes is where the detachable interface sits in the machine.

Which is better for a field-replaceable module?

Wire-to-wire, placed near the module. If the disconnect sits at the board, every module replacement disturbs a board connector that may only be rated for a limited number of mating cycles. Put the service point at the part that gets replaced.

Does an in-line wire-to-wire pair reduce current capacity?

It adds two contact interfaces instead of one, so total circuit resistance rises slightly. On a 3 A circuit at 20 mOhm per contact that is a few tens of millivolts, but at elevated ambient it should be included in the derating calculation.

Do wire-to-wire connectors need PCB space?

No, but they need controlled space in the harness: a support point, a defined service position with enough slack to separate the pair, and clearance for fingers or a tool. Unmanaged cable length is the usual cause of a disconnect that cannot be opened.

Which layout handles vibration better?

Neither inherently. Wire-to-board fails at the solder joint when the cable loads the board, so it needs a cable tie within about 40 mm. Wire-to-wire fails at the latch or terminal retention, so it needs a positive lock or TPA. Support and locking matter more than the layout choice.

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. Mated heights and ratings cited here are the published values of the original series and are given for comparison; the drawing for your part number governs. Layout advice is generic and must be verified against your enclosure, harness support and service procedure.