· AtlasPCB Engineering · Engineering  · 6 min read

Differential Pair Routing: Rules, Impedance Control, and Layout Best Practices

A complete guide to differential pair routing on PCBs — covering impedance targets, trace geometry, length matching, via transitions, common mistakes, and stackup considerations for USB, PCIe, HDMI, and Ethernet designs.

Every high-speed interface in modern electronics — USB, PCIe, HDMI, Ethernet, SATA — relies on differential signaling. Two traces, equal and opposite signals, one clean data link. The concept is simple. Getting the routing right is where most boards fail.

This guide covers the geometry, the impedance math, the routing rules, and the mistakes that will cost you a respin.

How Differential Pairs Work

A differential pair consists of two traces — conventionally called D+ and D− (or P and N). The transmitter drives equal-and-opposite voltages on each trace. The receiver reads only the difference between them.

Why this matters: Noise from power supplies, adjacent traces, and external EMI couples equally into both traces. When the receiver subtracts D− from D+, the common-mode noise cancels. This is why differential signaling dominates above ~100 MHz.

Impedance Targets by Interface

Every differential interface specifies a target impedance. Your trace geometry must hit this target within tolerance, or the signal reflects at impedance discontinuities and corrupts data.

InterfaceZdiffToleranceData RateSkew Limit
USB 2.090Ω±10%480 Mbps±150 mil
USB 3.x90Ω±10%5–10 Gbps±5 mil
PCIe Gen3/485Ω±15%8–16 GT/s±5 mil
PCIe Gen585Ω±15%32 GT/s±5 mil
HDMI 2.0+100Ω±15%6–12 Gbps±2.5 mil
Ethernet 1G100Ω±10%1 Gbps±50 mil
LVDS100Ω±10%655 Mbps±100 mil

Notice the pattern: As data rates increase, skew tolerance gets dramatically tighter. USB 2.0 allows ±150 mil; USB 3.x allows only ±5 mil. That is a 30× tighter requirement, which fundamentally changes how you route.

Trace Geometry: Width, Gap, and Stackup

Differential impedance is determined by four variables working together. You cannot set them independently.

EDGE-COUPLED MICROSTRIP — CROSS SECTIONReference Plane (GND or PWR)Dielectric (FR-4, Dk ≈ 4.2–4.5)WWS (gap)HD+ traceD− traceCu (1 oz)
W = Trace width
S = Gap between traces
H = Dielectric height to ref plane

The Relationship

For edge-coupled microstrip (outer layer routing):

  • Wider traces (W↑) → lower impedance
  • Wider gap (S↑) → higher impedance (less coupling)
  • Thicker dielectric (H↑) → higher impedance
  • Higher Dk material → lower impedance

Typical Geometries

For standard 4-layer FR4 (Dk ≈ 4.3, dielectric ≈ 4-5 mil to plane):

Target ZdiffTrace Width (W)Gap (S)Dielectric (H)
90Ω (USB)4.5–5.5 mil4–6 mil4–5 mil
100Ω (HDMI/Ethernet)4.0–5.0 mil5–8 mil4–5 mil
85Ω (PCIe)5.0–6.0 mil4–5 mil4–5 mil

Always use a field solver or your manufacturer’s impedance calculator. These values are starting points — actual results depend on your specific stackup, copper weight, and solder mask effects.

Engineering-Driven PCB Fabrication

IPC Class 3 certified. Impedance-controlled designs with ±5% tolerance. No minimum order quantity.

Get Instant Quote →
Complex multilayer PCB board stack

Routing Rules

Rule 1: Maintain Constant Spacing

The gap between D+ and D− must stay constant along the entire route. Any gap change causes a local impedance discontinuity.

✗ Wrong
Gap widens — Z changes
✓ Correct
Gap constant — Z stable

Rule 2: Length Match Within the Pair

D+ and D− must be the same electrical length. Any mismatch converts differential signal to common-mode noise, degrading eye pattern and increasing jitter.

Use serpentine (accordion) tuning on the shorter trace, placed as close to the source of mismatch as possible. Keep serpentine amplitude small — just enough to compensate.

Rule 3: No Reference Plane Breaks

Differential pairs must have a continuous reference plane (GND or power) directly below them. Slots, splits, or gaps in the reference plane under a differential pair cause:

  • Impedance spike at the break
  • Return current forced to find alternate path
  • Increased EMI radiation from the gap

If you must cross a plane split, route the pair perpendicular to the split to minimize exposure, and add stitching vias on both sides.

Rule 4: Symmetric Via Transitions

When transitioning between layers, both traces must use identical via structures:

  • Same via size and pad diameter
  • Same distance from pad to trace
  • Matching ground return vias adjacent to the signal pair
  • GND vias placed symmetrically — one on each side, equidistant

Rule 5: Isolation from Other Signals

Keep differential pairs isolated from single-ended signals and other pairs:

  • Minimum 3× gap distance from other traces (3S rule)
  • Guard traces with ground vias for critical high-speed pairs
  • Avoid parallel routing with other signals for more than 1 inch

Common Mistakes

Routing pair on different layers

D+ on layer 1, D− on layer 3. Different dielectric thickness = different impedance per trace. The pair is no longer matched.

Necking down at BGA escape

Reducing trace width to fit between BGA pads changes impedance. Use HDI microvias to escape on inner layers instead of squeezing traces.

Serpentine tuning mid-route

Adding length compensation far from the mismatch source creates a phase error window. Always place serpentines immediately after the point where mismatch occurs.

Missing return via at layer change

Signal vias without adjacent GND return vias force the return current to find an alternate path — creating a slot antenna that radiates EMI.

Ignoring solder mask effect

Solder mask (Dk ≈ 3.5) over outer-layer traces changes impedance by 2–5Ω. Include mask in impedance calculations, or request mask opening over critical pairs.

Test points on diff pair

Test pads add capacitive stubs that degrade the signal. If test access is mandatory, use resistive probe points or move to a breakout section after termination.

Stackup Recommendations

Differential pair performance depends heavily on the PCB stackup. Here are practical guidelines:

4-layer board — Route pairs on the outer layers (L1/L4) with dedicated GND planes on L2 and L3. This gives tight dielectric control and clean reference planes.

6-layer board — Use L1 and L6 for component-side pairs, L3/L4 as inner routing layers for less critical pairs, with GND on L2 and L5. Keeps pairs close to their reference planes.

8+ layer board — Dedicate specific layers for high-speed differential routing. Adjacent ground planes on both sides (stripline configuration) provide the best impedance control and shielding.

The key principle: Every differential pair needs a solid, unbroken reference plane on the immediately adjacent layer. This is non-negotiable.

Manufacturer Considerations

When sending your design for fabrication, communicate clearly:

  1. Specify impedance targets — call out Zdiff for each pair class in your fab notes
  2. Provide the stackup — do not let the manufacturer guess. Specify layer order, dielectric thickness, and materials
  3. Request impedance test coupons — TDR (Time Domain Reflectometry) coupons on the panel edge verify that the manufacturer hit your targets
  4. Review Dk values — confirm the actual Dk of the laminate at your signal frequency, not just the datasheet nominal value

At AtlasPCB, our engineering pre-audit includes impedance stackup verification. We run your target impedance through our field solver against the proposed stackup and flag any geometry changes needed — before production begins.

Key Takeaways

Differential impedance is a system property — W, S, H, and Dk must be solved together, not set independently

Constant gap spacing is the #1 rule — any gap change is an impedance discontinuity

Length matching tightens dramatically with speed — USB 3.x needs 30× tighter matching than USB 2.0

Unbroken reference plane under every pair — no exceptions, no compromises

Always use a field solver for final impedance calculations — rules of thumb fail at high speeds

Communicate impedance specs to your manufacturer in fab notes and request TDR test coupons


Designing a board with high-speed differential pairs? Upload your Gerber files for a free impedance stackup review, or talk to an engineer about your signal integrity requirements.

Further Reading

  • differential pair
  • signal integrity
  • impedance control
  • high speed pcb
  • pcb routing
  • pcb design
Share:
Back to Blog

Related Posts

View All Posts »