PCB manufacturing PCB manufacturing
Home > Blog

PCB Connectors

What Are the Main JST Connector Types? PH, XH, SH and GH Compared
Wednesday, November 11th, 2026

JST connector types are identified by series, pitch, board header, mating direction and wire-side housing. For the four common wire-to-board families covered here, PH uses a 2.0 mm pitch, XH uses 2.5 mm, SH uses 1.0 mm and GH uses 1.25 mm. The same pin count does not make two series interchangeable. The housing, crimp contact, PCB footprint and header must belong to a compatible series.

PH XH SH and GH wire-to-board connector families arranged on a printed circuit board

What Are JST Connectors?

JST is the name of J.S.T. Mfg. Co., Ltd., which produces many connector series rather than one universal plug. In a wire-to-board connection, the complete interface normally includes a PCB header, a wire housing, crimp contacts and terminated wires. Each family has its own pitch, polarization features, locking method, current and voltage ratings, wire range and board footprint.

In PCB and PCBA work, “JST connector” is therefore incomplete BOM information. We need the manufacturer part number for the board header and the mating housing, plus the contact, wire and orientation requirements. A visually similar clone or a housing with the same circuit count may still have a different pitch or keying feature.

How Can You Identify JST Connector Types?

Start with pitch, measured from the center of one contact to the center of the next. Then inspect whether the PCB part is through-hole or surface mount, whether the cable enters from the top or side, and whether the housing uses a friction lock or a positive latch. Finally, verify the molded housing code or the complete part number against the current manufacturer drawing.

PH XH SH and GH connector identification with center-to-center pitch markers
SeriesPitchBoard-side mountingMating wire housingFast visual clue
PH2.0 mmThrough-hole or SMT; top-entry or side-entry versionsPHR-n housing with the specified PH crimp contactCompact friction-lock housing, smaller than XH but larger than SH/GH
XH2.5 mmThrough-hole or SMT; top-entry or side-entry versionsXHP-n housing with the specified XH crimp contactLargest of these four families; taller box-shaped shroud
SH1.0 mmSMT; top-entry or side-entry versionsSHR-nV-S-B or SHR-nV-S housing, depending on housing styleVery small, low-profile friction-lock connector for fine wires
GH1.25 mmSMT; top-entry or side-entry versionsGHR-nV-S housing with the specified GH contactSmall connector with a distinct secure-lock feature

The table is an identification aid, not a substitute for the drawing. Measure pitch at the contact centers rather than across the outer housing. If a 4-position connector measures approximately 7.5 mm from the first to the fourth contact, the pitch is about 2.5 mm; the same four positions at 2.0 mm pitch span about 6.0 mm.

What If the Connector Does Not Match PH, XH, SH or GH?

Do not force the part into one of these four families. Photograph the mating face and side profile beside a scale, record the circuit count, measure the center-to-center pitch, and note the board mounting, cable-entry direction, latch and any molded code. Use those observations to search the JST product selector and compare the complete drawing, including housing width, keying and contact geometry. If no drawing matches, continue with other JST series and other connector manufacturers; the part should remain unidentified in the BOM until its manufacturer and complete part number are confirmed.

What Is a JST PH Connector?

The JST PH series is a 2.0 mm-pitch wire-to-board family available with through-hole and SMT headers in top-entry and side-entry configurations. Its practical identification clues are the compact friction-lock housing and the smaller outline compared with XH. Selection still depends on the PH wire range, electrical rating, mating height and exact board footprint.

A typical 4-circuit wire housing is PHR-4. A top-entry through-hole header can use the B4B-PH-K-S family, while a side-entry through-hole header uses the corresponding S4B-PH-K-S family. The exact suffix, plating, color, packaging and current revision still need to match the approved BOM and drawing.

What Is a JST XH Connector?

The JST XH series uses a 2.5 mm pitch and is physically larger and taller than PH, SH and GH. Through-hole and SMT headers are available in top-entry and side-entry forms. The larger housing is a useful visual clue, but the official 2.5 mm pitch and complete part number are more reliable than color or apparent size.

A typical 4-circuit housing is XHP-4. Board header families include B4B-XH-A for top entry and S4B-XH-A for side entry. The familiar white shroud is not enough to identify XH: many generic housings resemble it, and some listings incorrectly call 2.54 mm products “XH” even though the official series pitch is 2.5 mm.

What Is a JST SH Connector?

The JST SH series is the smallest-pitch family in this comparison. It uses low-profile SMT headers in top-entry and side-entry forms. Fine contacts, the shallow housing and the absence of through-hole header options distinguish it from PH and XH; magnified inspection is more reliable than judging it from an unscaled product photograph.

The wire housing may use the SHR-04V-S-B or SHR-04V-S pattern for four circuits, depending on the housing style. Header families include BM04B-SRSS-TB for top entry and SM04B-SRSS-TB for side entry. These suffixes are part of the released selection and should not be shortened to “SH 4-pin.”

What Is a JST GH Connector?

The JST GH series uses SMT board headers and is distinguished from SH by its 1.25 mm pitch and secure-lock design. The positive latch is the most useful visual clue in this four-family comparison, especially when vibration or handling could separate a friction-lock housing.

A typical 4-circuit housing is GHR-04V-S. Board header families include BM04B-GHS-TBT for top entry and SM04B-GHS-TB for side entry. GH is useful when a compact connector also needs positive locking, but the correct choice still depends on the mating-cycle, wire, current, voltage, temperature and mechanical requirements in the approved design.

JST PH vs XH: What Is the Difference?

The main JST PH vs XH difference is pitch: PH is 2.0 mm and XH is 2.5 mm. XH is larger and has higher listed current and voltage ratings under the manufacturer’s stated wire conditions. Their housings, contacts and PCB footprints are different, so a PH housing does not mate with an XH header.

JST PH vs XH comparison with center-to-center pitch measurements
ComparisonJST PHJST XH
Pitch2.0 mm2.5 mm
Typical sizeMore compactLarger and taller
Board mountingThrough-hole and SMTThrough-hole and SMT
Mating directionTop or side entryTop or side entry
Official listed current condition2 A AC/DC with AWG 243 A AC/DC with AWG 22
Official listed voltage100 V AC/DC250 V AC/DC
Housing patternPHR-nXHP-n
Interchangeable?No. Pitch, housing, contact and footprint differ.

Choose between PH and XH from the electrical and mechanical requirements, not from the belief that the larger series is automatically better. PH can reduce occupied area; XH can support a different wire range and higher listed ratings. Board height, cable exit direction, service access and harness availability may decide the choice before current rating does.

Detailed JST PH, XH, SH and GH Connector Parameters

For these JST connector types, the following values come from the current JST series pages referenced above. Rated current depends on the stated wire size, and temperature limits can vary by product configuration or document revision. Use the complete manufacturer part number and current drawing for final design release.

ParameterPHXHSHGH
Pitch2.0 mm2.5 mm1.0 mm1.25 mm
Board mountingThrough-hole, SMTThrough-hole, SMTSMTSMT
Mating directionTop, sideTop, sideTop, sideTop, side
Lock typeFriction lockFriction lockFriction lockSecure lock
Circuits listed by JST2–161–16 and 202–16 and 202–15
Rated current condition2 A with AWG 243 A with AWG 221 A with AWG 281 A with AWG 26
Rated voltage100 V AC/DC250 V AC/DC50 V AC/DC50 V AC/DC
Conductor range listed by JSTAWG 32–24AWG 30–22AWG 32–28AWG 30–26
Typical wire housing familyPHR-nXHP-nSHR-nV-S-B / SHR-nV-SGHR-nV-S

How Do You Match the Header, Housing and Crimp Terminal?

Match by series first, then circuit count, entry direction, board mounting and part-number suffix. The housing and header need the same series and number of circuits. The crimp contact must fit both the housing and the specified conductor and insulation diameter. Gold- or tin-plated options, packaging and color suffixes also need to follow the approved BOM.

Item to matchWhat to verifyTypical error
SeriesPH, XH, SH or GH on every mating componentPairing a visually similar housing with the wrong header
Circuit countSame number of positions on housing and headerOrdering a 3-position housing for a 4-position board header
Crimp contactApproved contact family, plating, wire gauge and insulation diameterUsing a contact that fits the housing but not the wire
Entry directionTop entry or side entry relative to the PCBCable collides with the enclosure or blocks service access
Mounting methodThrough-hole or SMT footprint and processUsing an SMT footprint for a through-hole header
Suffix and revisionPlating, color, packaging, boss or retention optionShortening the BOM to a family name and losing a required option

A complete example shows how these checks work together. For a four-circuit, top-entry, through-hole PH interface, the JST PH connector document supports the following combination. It is an example of a compatible selection path, not a substitute for checking the revision and suffix required by the released product.

Selection itemFour-circuit PH exampleWhy it matches
PCB headerB4B-PH-K-SPH series, four circuits, top-entry, through-hole board header
Wire housingPHR-4PH series receptacle housing with four positions
Crimp contactSPH-002T-P0.5SStandard PH crimp contact listed for the applicable conductor and insulation range
Conductor rangeAWG 30–24; 0.05–0.22 mm²The selected wire conductor must fall within the contact range
Insulation outside diameter0.8–1.5 mmThe insulation crimp must fit the actual cable, not only the conductor gauge
JST tooling referenceAP-K2N machine, MKS-L applicator, APLMK SPH002-05S applicator with diesThe terminal and tooling combination controls the specified crimp geometry

The selection is not complete until the actual wire is checked against both limits. An AWG 26 conductor with 1.7 mm insulation, for example, satisfies the conductor range but exceeds the listed insulation outside diameter for this contact. It therefore cannot be approved from wire gauge alone. The production release should also confirm the required plating, header suffix, strip length, crimp height and pull-force criteria from the applicable drawing and crimp specification.

How Does Entry Direction Affect PCB Layout?

A top-entry header places the wire housing above the board, while a side-entry header routes the cable parallel to the board. Top entry may simplify access but needs vertical clearance. Side entry can reduce assembly height, yet it needs edge clearance, cable bend space and a path that avoids tall components, sharp edges and moving parts.

The PCB footprint must come from the selected header drawing, not from pitch alone. Pad dimensions, drill size, locating bosses, hold-down tabs, courtyard and connector origin all affect assembly. For a through-hole header, the plated-hole and annular-ring design must match the lead and soldering process. For SH and GH SMT headers, pad geometry and paste control are important because the contacts and retention tabs are small.

For a rigid FR4 PCB, we check the selected header drawing against the released pad, plated-hole, solder-mask and mechanical-clearance data. This connector-specific footprint review is what prevents a correct housing family from being paired with the wrong drill or land pattern.

What Should the BOM Specify for JST Connectors?

A production BOM should identify the exact board header, not only “JST 4 pin.” The harness drawing or cable BOM should identify the wire housing, crimp contact, wire gauge, color, length, strip length and pin-to-pin assignment. If an approved alternate is allowed, it needs its own manufacturer part number and a documented compatibility review.

During PCBA release, complete connector information lets us verify footprint, placement orientation, supply format and mating harness before production. Our custom wire harness service can combine the approved housing, terminals and wire map with the board assembly, while the customer retains control of the released connector and pinout requirements.

Controlled fieldPCB BOM or drawingHarness drawing
Series and part numberComplete header manufacturer part numberComplete housing and contact part numbers
Position countHeader circuit countHousing circuit count and any empty positions
OrientationTop/side entry, pin 1, rotation and board sidePin 1, wire exit and mating view
Electrical assignmentNet names and connector reference designatorFrom-to wire map and pinout
Wire definitionInterface current and voltage requirementsGauge, insulation, color, length and termination
Approved sourcingAVL, packaging and alternatesApproved housing/contact/wire sources and substitution rules

How Do We Assemble JST Connectors on a PCBA?

We begin with BOM and footprint verification, then check the first article against the assembly drawing and mating direction. Through-hole PH or XH headers may be wave-, selective- or hand-soldered according to the board and process plan. SMT PH, XH, SH and GH headers require controlled paste printing, placement and reflow. For their fine terminals and retention tabs, the SMT stencil aperture and thickness are reviewed with the pad geometry, paste volume and nearby component clearance.

Our PCB assembly service supports SMT, through-hole and mixed assembly. Connector packaging also matters: tape-and-reel SMT headers suit automatic placement, while tray, tube or loose packaging can change feeding and labor. We confirm the actual package and quantity before selecting the assembly route.

How Do We Inspect JST Connector Assembly?

Inspection checks both identity and workmanship. We verify the manufacturer part number, circuit count, entry direction, pin-1 orientation and seating against the BOM and assembly drawing. AOI can evaluate visible SMT leads and retention tabs; magnified visual inspection checks through-hole solder fill and exposed joints. Hidden mechanical or electrical problems still require mating and continuity checks.

PCBA technician inspecting wire-to-board connector identity orientation and solder joints
Inspection stageCheckEvidence retained when specified
IncomingPart number, label, quantity, packaging, appearance and approved sourceReceiving record and lot/date-code reference
First articleSeries, position count, footprint, entry direction, pin 1 and enclosure clearanceFirst-article checklist and approved image
SMT inspectionLead wetting, bridges, opens, position and retention-tab jointsAOI result and image reference where required
Through-hole inspectionSolder fill, wetting, lead protrusion and connector seatingVisual inspection result
Mating checkCorrect housing fit, latch engagement, insertion and removalSample or lot check result
Electrical checkContinuity, pinout and harness-to-board mappingTest result linked to the work order or serial/lot

This sequence creates a traceable path from approved part number to assembled interface: the BOM defines the header, the harness file defines the mating parts and pinout, the first article confirms the physical match, and inspection records show the checks completed for production.

JST Connector Types FAQs

Are JST PH and XH interchangeable?

No. PH has a 2.0 mm pitch and XH has a 2.5 mm pitch. Their housings, contacts and PCB headers are different.

How do I identify an unknown JST connector?

Count the positions, measure center-to-center pitch, identify through-hole or SMT mounting, note top or side entry, inspect the locking feature and search the molded code or board-header part number in the current manufacturer drawing. If PH, XH, SH and GH do not match, search other JST series with the same measured features and compare the dimensional drawing. If no JST drawing matches, check other manufacturers rather than assigning a JST family from appearance alone.

Is every white 2-pin connector a JST connector?

No. Housing color and pin count are not reliable identification methods. Many manufacturers make visually similar connector families, and some marketplace listings use “JST” as a generic label.

Which is smaller, JST SH or GH?

SH has the smaller pitch at 1.0 mm. GH uses 1.25 mm and adds a secure-lock design. Size alone does not decide suitability; confirm wire, electrical and mechanical requirements.

What files should I send for a PCBA with JST connectors?

Send the Gerber and fabrication files, BOM with complete manufacturer part numbers, placement data, assembly drawing, connector orientation and pin-1 marks, plus the harness drawing or mating-part list. Include approved alternates, inspection requirements and any mating or continuity test that must be quoted. At EBest Circuit (Best Technology), we can review PCB fabrication, component sourcing, assembly and harness requirements as one controlled package. Send the controlled files to sales@bestpcbs.com.

You may also like