Skip to content
Lyme Regis Arts Festival Jurassic Coast · Est. 2007

PCB Footprint and Keepout Rules for Shrouded Pin Headers

By admin ·

How Box Headers Work in PCB Designs | Soulin

A shrouded pin header PCB footprint must match both the electrical pin pattern and the physical connector housing. A reliable design normally uses manufacturer drawings, finished hole sizes of 1.0–1.2 mm, pad diameters of 1.8–2.4 mm, and mechanical clearance of 0.5–1.0 mm around the plastic body. Incorrect keepout settings can cause connector seating problems, assembly conflicts, and solder defects in production.

A shrouded pin header footprint is defined by three dimensions: electrical connection area, mechanical housing area, and assembly clearance area. Ignoring any one of them can reduce manufacturing reliability.

A standard 2.54 mm pitch shrouded header is often used for board-to-board connections, programming ports, and industrial control interfaces. The contact arrangement may look similar to a regular pin header, but the plastic housing creates additional PCB layout requirements. A 2×5 connector with 10 pins may have only a small solder area, while the complete housing can extend several millimeters beyond the outer pins.

Connector manufacturers usually provide mechanical drawings based on standards such as IEC and JEDEC practices. PCB designers should use these drawings instead of creating footprints from pitch measurements alone. For example, a 2.54 mm pitch header with a pin diameter of 0.64 mm commonly uses a finished hole around 1.0 mm, providing approximately 0.18 mm clearance around the pin after considering manufacturing tolerance.

The pad design affects both solder strength and routing space. Through-hole connectors experience mechanical force during insertion and removal, so the copper pad must provide enough annular ring area.

Parameter Common Range
Pin pitch 1.27 mm, 2.00 mm, 2.54 mm
Pin diameter 0.40–0.80 mm
Finished drill size 0.80–1.20 mm
Pad diameter 1.60–2.40 mm
Annular ring 0.35–0.70 mm

A 2019 IPC manufacturing guideline study showed that plated through-hole reliability improves when sufficient copper coverage remains around the drilled hole. In practical PCB production, a 0.4–0.5 mm annular ring is commonly selected for connector applications because it provides a balance between solder reliability and board density.

The drill size should also consider PCB fabrication tolerance. A manufacturer may specify hole tolerance around ±0.075 mm for standard production, while precision processes can achieve approximately ±0.05 mm. If the hole is too small, connector insertion becomes difficult; if it is too large, solder volume decreases and mechanical retention becomes weaker.

The finished hole should be selected from the connector pin specification first, then adjusted according to PCB manufacturer capability.

Solder mask settings influence the final exposed copper area. For many through-hole connector footprints, solder mask expansion is usually between 0.05 mm and 0.15 mm. Excessive expansion can reduce the distance between adjacent pads, especially for compact 1.27 mm pitch headers.

For high-density PCB designs, the footprint should maintain:

Design Item Recommended Value
Standard mask expansion 0.05–0.10 mm
High reliability design 0.10–0.15 mm
Minimum pad-to-pad clearance Based on PCB capability

The mechanical keepout area requires more attention because the plastic shroud occupies space above the PCB. The copper pad pattern only represents the electrical connection, while the housing outline defines the actual occupied area.

A typical keepout calculation includes:

  • Connector housing width

  • Housing length

  • Polarization key position

  • Locking structure

  • Mating connector movement area

For example, if the connector body measures 8 mm × 12 mm, adding 1 mm clearance around the outside creates a recommended mechanical area of approximately 10 mm × 14 mm. This clearance prevents nearby components from touching the connector during assembly.

The same principle applies to component placement. Tall parts near the header can interfere with cable insertion even when PCB traces have enough space.

Nearby Component Height Suggested Clearance
Below 2 mm 0.5 mm or more
2–5 mm Around 1 mm
Above 5 mm 2 mm or more

A PCB designed for automated assembly should also include courtyard spacing. The courtyard represents the space required for component placement machines and inspection tools. In many CAD libraries, the courtyard extends approximately 0.25–0.5 mm beyond the physical outline.

A properly created footprint includes:

  1. Copper pads

  2. Drill definitions

  3. Solder mask openings

  4. Silkscreen outline

  5. Courtyard boundary

  6. Mechanical keepout area

Many footprint errors happen because only the first three items are created. The electrical connection works during testing, but the connector body collides with surrounding parts during final assembly.

A detailed keyed PCB header guide should always start from the connector manufacturer's mechanical specification because keyed structures vary between models. Some shrouded headers use a missing pin position for polarization, while others use internal guide ribs or external locking features.

The pin-1 location and key direction should be marked clearly on both the PCB silkscreen and assembly drawing.

Silkscreen placement is important for preventing assembly mistakes. The pin-1 indicator should remain visible after soldering and should not overlap the connector housing. Designers commonly use a triangle, dot, or notch marking placed near the first pin row.

For signal applications, footprint design also affects electrical performance. Shrouded headers are frequently used in JTAG, SWD, SPI, and industrial communication interfaces. Although many operate below 100 MHz, some systems use higher-speed signals where routing quality becomes important.

Recommended routing practices include:

  • Keep high-speed traces short

  • Maintain continuous ground return paths

  • Avoid unnecessary vias near connector pins

  • Match differential pair routing when required

A 2021 signal integrity analysis of board connectors showed that discontinuities around connector transitions can increase reflection levels when signal rise times become shorter than 1 ns. Therefore, connector footprints used in faster digital systems should consider pad geometry and return current paths.

Manufacturing method also affects footprint selection. Wave soldering, selective soldering, and hand assembly have different solder requirements. A through-hole connector used in industrial equipment may require larger pads than a connector used only for factory programming.

Assembly Process Footprint Consideration
Wave soldering Larger solder volume, stronger joints
Selective soldering Controlled solder area
Manual soldering Easier access and larger pads
Reflow with press-fit parts Manufacturer-specific rules

Before releasing a PCB design, engineers should verify the footprint using a 3D model. Modern CAD tools allow the connector body model to be placed directly on the PCB, helping identify collisions that cannot be detected through electrical design rule checks.

A final footprint review should confirm:

  • Pin pitch matches the datasheet

  • Hole diameter matches pin size

  • Housing outline matches the connector body

  • Courtyard includes assembly tolerance

  • Keepout areas prevent mechanical contact

  • Pin-1 marking is correct

A shrouded pin header footprint requires accurate coordination between electrical layout and mechanical design. Using manufacturer dimensions, suitable pad geometry, and proper clearance settings allows the connector to maintain reliable mating performance through production and repeated use.

Ten days of art, sea and stories — on the Jurassic Coast.

Now in its 18th edition. Free entry throughout, across 27 venues in and around Lyme Regis. Download the 2025 programme guide.

Get the 2025 Programme