HomeExamplesPCIe Design
Design Example

PCIe PCB Design Guide

Design PCIe Gen3, Gen4, and Gen5 interfaces. Learn differential routing, via optimization, and material selection for the highest-bandwidth PCB interconnects.

PCIe Design Checklist

  • 85Ω differential impedance (±10%)
  • Intra-pair skew < 5 mils
  • Back-drill vias for Gen4+
  • AC coupling caps near transmitter
  • Low-loss material for Gen5

PCIe Specifications by Generation

GenerationData RateBandwidthImpedanceMaterialEncoding
PCIe 3.08 GT/s1 GB/s/lane85ΩFR-4/Mid-loss128b/130b
PCIe 4.016 GT/s2 GB/s/lane85ΩMid-loss128b/130b
PCIe 5.032 GT/s4 GB/s/lane85ΩLow-loss128b/130b
PCIe 6.064 GT/s8 GB/s/lane85ΩUltra low-lossPAM4

PCIe Routing Best Practices

Trace Geometry

  • • 5-6 mil trace width typical
  • • 8-10 mil pair spacing
  • • 4-5 mil dielectric for microstrip
  • • Keep traces on outer layers when possible

Via Optimization

  • • Use 8-10 mil via drill
  • • Back-drill stubs for Gen4+
  • • Ground vias near signal vias
  • • Minimize via transitions

Length Matching

  • • Intra-pair: < 5 mils
  • • Lane-to-lane: per spec
  • • Use serpentines sparingly
  • • Match at package side

FAQ

What impedance is required for PCIe?

PCIe requires 85Ω ±15% differential impedance for all generations. This translates to ~42.5Ω single-ended. The tighter the tolerance, the better - aim for ±10% for Gen4 and ±7% for Gen5. Work with your fab to achieve consistent impedance across the board.

How do I route PCIe through a connector?

PCIe slots have specific pinouts with TX/RX lanes, power, and sideband signals. Route each differential pair with consistent impedance. Keep TX and RX pairs separated to avoid crosstalk. Use via optimization at layer transitions. Edge-finger impedance matching is critical for add-in cards.

What material should I use for PCIe Gen5?

PCIe Gen5 at 32 GT/s requires low-loss materials like Megtron 6 or similar (Df < 0.004). Standard FR-4 has too much loss. For Gen4, mid-loss materials (Df ~0.008-0.010) often work. Always run channel simulation to verify your loss budget before finalizing material selection.