A box header is soldered to the board. An IDC socket is crimped onto a ribbon cable and plugs into that box header. They are not interchangeable options: they are the two halves of one connection, and a BOM that lists only one of them cannot be assembled.
The confusion is common because both are 2.54 mm, both are shrouded, and both appear in the same catalog section. The difference is where the wire attaches.
What each part does
| Box header | IDC socket | |
|---|---|---|
| Mounts to | PCB, through-hole or SMT | Ribbon cable |
| Termination | Solder | Insulation displacement, press tool |
| Mating | Receives the socket | Plugs into the header |
| Reusable | Yes | Usually once: the IDC contact deforms on crimp |
An IDC contact cuts through the cable insulation and grips the conductor in one press. That is fast and needs no stripping, which is why ribbon assemblies are cheap. The catch is that the contact is not designed to be reopened: re-crimping the same socket on the same cable gives an unreliable joint.
Why the board side is a header and not a socket
Boards get pinned, not cabled, so the board side carries the pins and the cable side carries the sockets. That also puts the wear part on the cable, which is the cheaper thing to replace when a latch breaks.
If you need the opposite arrangement, a board-mounted IDC socket exists, but it is a niche part with a longer lead time. Most designs use a box header on the board and put the socket on the cable.
Strain relief is the assembly detail that decides
An IDC socket has no strain relief of its own. The cable is held only by the crimp. If the assembly pulls on the cable rather than the housing, the conductors fatigue at the crimp and fail at the strand, not at the connector.
- Add a cable clamp or a tie point within 50 mm of the connector.
- Pull the housing, not the cable, when unplugging. The latch exists for that.
- On long runs, support the cable every 200–300 mm so its weight does not hang on the crimp.
Repair and field service
A failed IDC termination is replaced, not repaired. That means carrying spare cable assemblies, not spare sockets and a press tool. In a machine that runs 24 hours, that spares decision is worth more than the connector price difference.
A box header, by contrast, is repairable: the pins can be straightened or replaced, and the shroud survives. That asymmetry is another reason to keep the wear on the cable side.
Can I use a box header without a latch?
Yes. Latched and unlatched versions use the same footprint family; the latch ears are extra plastic. Unlatched is fine for a cable that never moves, latched for anything that vibrates.
Is IDC only for 1.27 mm ribbon?
No, 2.54 mm IDC for 1.27 mm pitch ribbon is the classic combination, and 1.27 mm IDC for 0.635 mm ribbon exists for denser assemblies. Match the socket to the cable pitch, not to the header.
Do I need a special tool to crimp IDC?
A hand press for prototypes, a bench press for volume. Both are inexpensive, but the crimp height has to be set per cable type or the contact will cut too deep or not deep enough.
Tell us the ribbon pitch, the position count and whether the cable moves, and we will quote the header and socket as a pair so the two halves actually mate. Headers are in the box header and IDC section.