What is a Connector Header? A Practical Guide for Makers
Learn what a connector header is, how it works, and how to choose the right header for PCB projects. Practical guidance for DIYers, makers, and tech enthusiasts seeking reliable board-to-board and board-to-cable connections.

Connector header is a type of electrical connector consisting of a row of male pins mounted on a PCB, designed to mate with female sockets for quick, repeatable connections.
What is a Connector Header?
What is a connector header? In electronics, a connector header is a PCB mounted row of male pins that mates with a matching female housing or socket. This simple interface creates a repeatable, plugable connection between boards, cables, or modules. Connector headers are used in development kits, embedded systems, and instrument panels because they let you swap parts quickly without soldering every time.
Headers come in several configurations. A single row header presents a straight line of pins. A double row header fans out two parallel rows for more connections in a compact footprint. Some headers are right angled so the pins exit the board sideways, which helps when space is tight or when the mating plug sits above the board. Others are shrouded or keyed to prevent misalignment. Each variant serves a different mechanical and electrical need, but all share the core purpose of providing a reliable mating interface between a PCB and a mating connector.
According to Adaptorized, understanding the basic geometry of a header helps you predict how your mating component will sit next to the board and how much clearance you need for cables and housings. This awareness reduces the chance of mis-mating and damaged pins during assembly.
Common header types and shapes
Connector headers come in several common shapes, each designed to suit a particular mating partner and mechanical constraint. Pin headers are the classic straight row of pins that fit into a matching female socket. Box headers add a protective shell around the pins, improving alignment and preventing accidental contact. Shrouded headers enclose the pins on multiple sides, which is helpful in dense assemblies and when using ribbon cables or IDC connectors. There are also right angle variants that bend the pins ninety degrees to accommodate vertical board stacking. IDC and box type headers are popular in computer and automotive applications because they provide straightforward, high reliability connections. The choice depends on how the mate will engage with the pins, whether a latch or locking feature is needed, and how much space the assembly allows.
Electrical characteristics and mating compatibility
At heart, a connector header is a way to transfer signals, power, and data with a physical interface. The key considerations are how many contacts you need, the order of the pins, and how the mating connector expects to align with them. Mating compatibility means the gender, pitch, and footprint of the header must match the female partner. The electrical environment matters too: contact materials influence resistance and corrosion resistance, while the housing design can add strain relief and shielding. Some headers include polarized features, such as keying notches or asymmetric shapes, to prevent incorrect mating. In practice, ensuring clean, snug contact and a reliable lock between header and socket is more important than flashy features.
Through-hole vs surface mount headers
Mounting style affects durability, ease of prototyping, and the final product’s solder footprint. Through hole headers insert long pins through the PCB and are soldered on the opposite side, creating a robust mechanical connection ideal for rugged environments or boards that will be handled frequently. Surface mount headers sit flush against the PCB and solder to pads on the same surface. They save space, reduce vertical protrusion, and suit compact or automated assembly lines. For hobbyists, through hole is often easier to modify, while production designs may prefer surface mount headers for compactness and automation readiness. Choosing between these two approaches depends on your board layout, tooling, and intended usage.
Pitch, spacing, and pin counts you will encounter
Headers are defined by how closely the pins are spaced and how many pins are included. The pitch describes the distance between adjacent pins and governs how much room the mating connector needs. A taller, multi row configuration can provide many signals in a small area, but also increases the risk of alignment errors if the plug is not guided precisely. Pin counts range from a few to many, enabling simple data lines or larger bus structures. Spacing and tolerances matter during assembly; wider footprints can ease hand soldering while tighter footprints suit automated equipment. In all cases, verify the footprint in your design tools and compare it to the actual mating connector you plan to use.
How to choose a connector header for your project
Start by listing the signals you must carry and the space available on the board. Then identify the mating connector that will plug into the header and confirm its pitch, row arrangement, and polarity. Consider the operating environment: will the product encounter vibration, moisture, or dust? If so, select headers with suitable shielding, locking features, and robust contact materials. Review the PCB footprint and soldering method your production line supports, and ensure compatibility with your tooling. Finally, prototype with a few header variants to validate fit, ease of assembly, and mating reliability before committing to a final design.
Your Questions Answered
What is a connector header and where is it used?
A connector header is a row of male pins on a PCB that mates with a female connector, enabling quick, repeatable connections between boards, cables, or modules. They are common on development boards, consumer electronics, and modular systems.
Connector headers are rows of male pins on a circuit board that plug into female connectors, making it easy to connect or swap parts without soldering.
How should I choose header pitch and pin count?
Choose a pitch and pin count that match your mating connector’s design and the signals you need to carry. Consider space, alignment, and the mechanical tolerances of your assembly. Prototyping helps validate that the chosen header meets both electrical and physical requirements.
Pick a pitch that matches your mate, and choose enough pins for all signals you need.
What is the difference between through hole and surface mount headers?
Through hole headers mount pins that go through the PCB and are soldered on the opposite side, offering robust mechanical strength. Surface mount headers solder to pads on the same surface, saving space and improving automation compatibility.
Through hole pins go through the board; SMT headers attach on the surface for compact designs.
Can headers handle power or high current signals?
Headers can carry power and data, but you must consider current ratings, contact material, and shielded designs. Choose headers rated for the expected current and use proper mating connectors to minimize resistance and heat.
Yes, but verify current handling and use the right materials and shielding.
What maintenance should I perform on headers?
Keep headers clean, inspect for bent pins, and ensure mating surfaces are free of debris. Re-seat connectors if you notice loose connections or poor contact during operation.
Inspect pins, clean contacts, and make sure the connector sits firmly.
Are there common mistakes to avoid with headers?
Common mistakes include choosing the wrong pitch, mixing header types, or forcing a connector that won’t align. Plan the footprint carefully, verify mating partners, and prototype before finalizing the design.
Avoid misalignment by checking pitch and mating parts, and prototype first.
What to Remember
- Know the term and purpose of a header as a PCB mounted row of pins
- Match header and mating connector for proper alignment and signals
- Choose mounting style based on environment and prototyping needs
- Check footprint, pitch, and pin count during design
- Prototype variants to confirm fit and reliability