If you‘ve ever assembled a PCB, designed a prototype with Arduino, or peered inside industrial equipment, you’ve encountered PCB headers. These rows of metal pins—seemingly simple and often overlooked—are one of the most versatile interconnect solutions in electronics. Despite their basic appearance, header connectors serve mission-critical roles in commercial, industrial, and even military systems. Selecting the right one for your application can have a meaningful impact on the reliability and long-term performance of your end product. This guide covers what PCB headers are, how they work, key specifications to look for, practical selection tips, and assembly best practices to help you make optimal choices for your next design—whether you‘re prototyping or preparing for mass production.

What Is a PCB Header?
A PCB header, also called a pin header, is a male connector consisting of one or more rows of metal pins held in a plastic base. The female mating part is referred to as a socket header (or receptacle). Together, this male-female pair forms a detachable electrical connection between two circuits—a board-to-board link, a board-to-wire interface, or a programming/debugging port. Originally manufactured by Berg Electronics (now part of Amphenol), pin headers are sometimes still called “Berg connectors” in legacy documentation.
In PCB design, pin headers are among the most common low-cost interconnect components used for board-to-board and board-to-wire connections. Because they are sold in long strips—typically 36, 40, or 50 pins—designers can easily snap them to the required pin count, making them highly adaptable for both PCBA prototyping and production.
Specifications: Pitch, Row Count, and Profile
Before choosing a header, it helps to understand the primary specifications that define its physical and electrical compatibility.
# Pitch: The First Filter
Pitch is the distance from the center of one pin to the center of the next. It determines which connectors will physically mate and how much board space your design consumes. Common header pitches include:
| Pitch | Typical Applications |
|---|---|
| 2.54 mm (0.1 in) | Arduino, Raspberry Pi, breadboards, prototyping, industrial control boards |
| 2.00 mm (0.079 in) | Compact consumer electronics, space-constrained designs |
| 1.27 mm (0.050 in) | High-density modules, portable devices |
| 1.00 mm | Smartphones, wearables, miniaturized PCBs |
| 3.96 mm (0.156 in), 5.08 mm (0.200 in) | Power delivery, high-current applications |
2.54 mm remains the most widely adopted pitch across the maker and industrial worlds due to its compatibility with breadboards and standard prototyping accessories. However, 2.00 mm headers occupy roughly 38% less board space, making them increasingly popular in commercial products where real estate is at a premium
# Single Row vs. Double Row
Single-row headers carry one line of pins. Double-row headers carry two parallel rows. For example, a header with two rows of eight pins each is described as an 8×2 header. Double-row configurations roughly double the connection density for the same board length.
# Straight vs. Right-Angle
A straight (vertical) header mounts perpendicular to the board and is ideal for stacking boards in parallel. A right-angle header has its pins bent at 90° and is soldered to the board surface, making it useful for horizontal board-to-board connections or edge-mounted cable assemblies.
# Shrouded (Box) vs. Unshrouded
A shrouded header—also known as a box header—has a plastic guide box surrounding the pins, with a square notch for keying. This ensures the mating connector cannot be inserted the wrong way. Shrouded headers are often used with insulation-displacement connectors (IDC) for ribbon cables. Unless your design has fool-proof mechanical alignment, using a shrouded header is recommended as a low-cost prevention against mismating in production and field service.
Types of PCB Headers and Where They Are Used
1. Standard Pin Headers and Sockets
Standard 2.54 mm single- and dual-row pin headers and mating female sockets are the default choice for low-frequency prototyping—Arduino, Raspberry Pi shields, ESP32 breakout boards—and many low-speed industrial applications. Their key advantage is cost: commodity pin headers can be priced as low as $0.01–0.05 USD per contact position, making them a practical choice for designs that prioritize affordability. However, their limitations include vibration sensitivity (reliable operation typically below 10 Hz) and signal degradation above approximately 10 Mbps, above which crosstalk and reflection effects become significant.
2. Machine Pin Headers
Machine pin headers use precision-machined round pins (typically 0.50 mm / 0.020 in diameter) instead of the standard square post. The round profile provides a more consistent contact surface when mated with machine-tooled IC sockets, resulting in lower contact resistance and superior reliability. For 2.54 mm pitch, the choice is between standard 0.64 mm square pins and precision machined 0.50 mm round pins, along with corresponding socket compatibility. These are typically preferred in test jigs and high-reliability applications where consistent contact resistance over many insertion cycles matters more than unit cost.
3. Stacking Headers and Mezzanine Connectors
Stacking headers allow multiple boards to plug together vertically—one board’s male header mates with the next board‘s female socket, which in turn has male pins extending to the board below. This creates a modular, multi-board stack without needing ribbon cables. Mezzanine connectors serve a similar purpose for parallel board stacking but often provide higher pin density and better shielding for high-speed signals. A standard pin header can itself function as a mezzanine connector, but for applications involving PCIe Gen 4 speeds (up to 10 Gbps), designers should consider purpose-built mezzanine or high-speed board-to-board connectors, which are engineered to meet tighter signal integrity and impedance control requirements.
4. Box Headers for Cable Assemblies
Box (shrouded) headers are designed to mate with IDC ribbon cable sockets. This is the classic setup seen in desktop computer internals—hard drive cables, front-panel connectors, and legacy parallel-port connections. The shroud provides both alignment and strain relief.
Mounting Methods: Through-Hole vs. Surface Mount
PCB headers are available in two primary mounting styles, and the choice affects both assembly process and mechanical performance.
Through-hole (THT/THD) headers are the traditional form. Pins are inserted through drilled holes in the PCB and soldered—typically via wave soldering in production—on the opposite side. Through-hole mounting provides superior mechanical strength because the solder joint holds the pin along the full thickness of the board. The lead passes through the entire PCB, creating a solder joint that is anchored inside the board rather than just on the surface. For connectors that will experience repeated mating cycles or mechanical stress, through-hole mounting is generally recommended.
Surface mount (SMD) headers are soldered directly to pads on the PCB surface. The pins bend 90° so they contact the board without penetrating it. SMD headers suit automated pick-and-place assembly and designs where PCB real estate is constrained. However, they are inherently less mechanically robust than through-hole counterparts and are not recommended for connectors that will experience frequent mating cycles. The PicoBlade series, for example, offers both through-hole and SMT mount configurations in a compact 1.25 mm pitch design, achieving up to 45% PCB space savings compared to 2.00 mm solutions.
PCB Header Selection: 5 Practical Decision Points
When specifying a header for a production design, consider these factors:
- Pitch and pin count: Start by filtering by pitch (2.54 mm, 2.00 mm, 1.27 mm, etc.) based on available board space and mating requirements. Then determine the required pin count and row configuration.
- Current rating: Standard 2.54 mm headers typically handle 1–3 A per pin. For power delivery, use larger-pitch connectors (3.96 mm or 5.08 mm) or allocate multiple paralleled pins per power rail.
- Signal integrity requirements: For signals above ~10 Mbps, standard unshrouded headers introduce impedance discontinuities and crosstalk. Consider purpose-built high-speed board-to-board connectors with controlled impedance and ground shielding.
- Mechanical environment: If your product experiences vibration exceeding 10 Hz, standard pin headers may loosen over time. Consider shrouded headers, floating connectors (rated to IEC 60068-2-6 for 10–2000 Hz vibration resistance), or additional mechanical retention.
- Mating cycle expectation: Commodity headers with tin-plated contacts tolerate dozens of insertion cycles before wear increases contact resistance. If your application requires hundreds of cycles, specify gold-plated contacts and machine pin construction.
Assembly and Soldering Considerations
How a PCB header is soldered affects assembly yield and field reliability. Through-hole header assembly in volume production often relies on wave soldering, where the bottom of the PCB passes over a wave of molten solder to form all through-hole joints in a single pass. When a board contains both SMD and through-hole components (mixed-technology assembly), SMD parts are generally reflow-soldered first, and a wave soldering step follows for the through-hole components.
Achieving reliable through-hole solder joints requires proper clearance between the pin and the plated through-hole (PTH) wall. Standard PCB design rules often recommend a gap of 0.2–0.3 mm between the PTH and the component lead. If the gap is too tight, the lead can be difficult to insert, potentially scraping the copper plating, bending the pad, or inducing stress cracks over time. Conversely, if the gap is too loose (grossly oversize), solder may not fill the annular space adequately, resulting in a thin or weak fillet and an uneven-looking solder joint. A well-designed PCBA partner will verify these clearances as part of their design-for-manufacturing (DFM) review.
For SMD headers, a common pitfall is insufficient pad size. The pads must extend beyond the pin footprint to allow a proper solder fillet to form during reflow. Additionally, SMD headers benefit from solder paste stencil apertures designed to deposit adequate paste volume, ensuring sufficient wetting along the full length of each pin‘s contact area.
Header Choice Matters for Production
In prototyping, swapping a mis-specified header takes minutes and costs pennies. In production, a poor connector choice can cascade into field failures, costly rework, and delayed shipments. If your board passes through a wave soldering process, for example, the plastic base of the header must be molded from high-temperature thermoplastic rated to withstand the thermal exposure. Reputable manufacturers mold header housings from materials that resist reflow and wave soldering temperatures. Verifying this specification with your supplier can help prevent melted or warped connector bodies during assembly.
Beyond material selection, compliant finishing is another critical factor. Headers destined for markets requiring RoHS compliance must use lead-free plating. Gold flash or selective gold plating over nickel is standard for high-reliability applications where low and stable contact resistance must be maintained over the product‘s lifetime. Reviewing the finish specification ensures your assemblies meet applicable regulatory requirements.
PCB headers may be among the simplest components on a bill of materials, but they play a disproportionately large role in system reliability. What begins as a straightforward connector choice—pitch, row count, orientation—quickly intersects with signal integrity, mechanical stress, manufacturability, and regulatory compliance. Taking the time to specify headers that match both your electrical requirements and your production environment can help you avoid unnecessary redesigns and field failures. Whether you need standard 2.54 mm breakaway strips for a prototype run or fully shrouded high-temperature headers for mass production, thoughtful specification will serve your design well from engineering bench to end user.
Your Trusted Partner for PCB Assembly Services
At PCBbee, we specialize in providing high-quality PCBA manufacturing services for worldwide clients. Whether you need prototype PCB assembly, low-volume production, or full-scale mass production, our team is equipped with advanced SMT lines, wave soldering capabilities, and rigorous quality control processes to ensure your boards are assembled to the highest standards.
We support a wide range of PCB header types—through-hole, surface mount, shrouded, and custom configurations—and offer comprehensive DFM (Design for Manufacturing) reviews to help you catch connector-related issues before production begins. With competitive pricing, fast turnaround times, and reliable international shipping, we are your go-to partner for all PCBA needs.
👉 Contact us today for a free quote or to discuss your next project. Let‘s build something great together.
Frequently Asked Questions (FAQ)
Q1: What is the difference between a male pin header and a female socket header?
A male pin header consists of exposed metal pins mounted in a plastic base, designed to be inserted into a corresponding female connector. A female socket header (also called a receptacle) contains metal contacts recessed inside a housing that receive the male pins. Together they form a complete, detachable electrical connection.
Q2: What is the most common pitch for PCB headers?
The most common pitch is 2.54 mm (0.1 inch), which is the standard used by Arduino, Raspberry Pi, breadboards, and the majority of prototyping accessories. Other widely used pitches include 2.00 mm, 1.27 mm, and 1.00 mm for higher-density applications.
Q3: Can I use surface mount (SMD) headers for connectors that are frequently plugged and unplugged?
SMD headers are mechanically less robust than through-hole headers because the solder joint is only on the PCB surface rather than anchored through the board. For connectors that will experience frequent mating cycles or mechanical stress, through-hole mounting is strongly recommended.
Q4: What is a shrouded header and why would I use one?
A shrouded header (also called a box header) has a plastic guide box around the pins with a keying notch. This prevents the mating connector from being inserted in the wrong orientation, which is especially important in production environments where incorrect connection can damage components.
Q5: How do I choose the right PCB header for my design?
Start by determining the required pitch based on available board space and mating requirements, then decide on pin count, row configuration (single or double), orientation (straight or right-angle), and mounting style (through-hole or SMD). Consider current rating, vibration environment, mating cycle expectations, and signal speed when making your final selection.
Q6: What materials are PCB headers typically made from?
The pins are usually made from copper alloy (brass or phosphor bronze) with various plating options including tin, selective gold, or full gold over nickel. The plastic base is typically molded from high-temperature thermoplastic such as PBT, PA6T, or LCP (liquid crystal polymer), selected to withstand soldering temperatures. High-temperature LCP plastic housings are specified for lead-free reflow processes where peak temperatures reach approximately 260°C.
Q7: Can I cut a long header strip to the number of pins I need?
Yes. Most pin headers are manufactured in long breakaway strips (commonly 36, 40, or 50 pins) and are designed to be cut or snapped to the desired pin count. Simply score the plastic between pins with a sharp blade and snap carefully to avoid bending the adjacent pins.