JST XH connector
Identify the JST XH wire-to-board connector by its genuine 2.5 mm pitch, housing and mating header before building a cable harness.

Overview
XH describes a mechanical connector system. The housing holds crimp terminals, and the board part is the matching header. Top-entry and side-entry headers differ in how the cable leaves the board.
Measuring pitch
Measure the gap between multiple pin centers and divide by the number of intervals. XH pitch is 2.5 mm. The similar-looking 2.54 mm figure is a different spacing and does not establish mechanical compatibility.
Pin assignment and assembly
The connector has no universal electrical pinout. Use the device documentation and verify the harness with power off. Select the proper crimp terminal for the conductor, then check that the contact locks into the housing.
Specifications
| Parameter | Value or condition | Source |
|---|---|---|
| Contact pitch | 2.5 mm | JST |
| Layout | Single row, friction-lock mating | JST |
| JST current rating example | 3 A with AWG 22 wire under the stated conditions | JST |
Compatibility and practice
Match the manufacturer’s housing, terminal and header series; check circuit polarity separately.