Power up the board and the link trains. Low-speed modes run fine. But at the target data rate it falls back, retrains, or behaves inconsistently from unit to unit. You review the PCB: differential impedance is controlled, length matching is done, via count is under control. The problem is often not whether the traces are length-matched; it is whether the high-speed return current has a continuous, low-impedance path.
In a high-speed serial channel, the signal does not simply travel along two copper traces. The electromagnetic energy is primarily confined between the signal conductor and its reference plane. The return current follows the path that minimizes loop inductance. When a reference plane is interrupted, when a layer change occurs without a local return path, when the route crosses a split, or when ground structures around a connector are discontinuous, the channel can accumulate extra inductance, impedance discontinuities, mode conversion, and radiation—even if the geometric lengths are perfectly matched.

Figure 1 | Example PCIe Gen5 receiver eye and compliance mask from publicly available open-source project material. Values are from the original example and are for illustration: what ultimately matters for a high-speed channel is eye opening, jitter, and mask margin—not whether a length-matching table is all green.
Treat Length Matching as a Geometric Constraint, Not a Final Result Metric
Length matching addresses propagation skew within a differential pair or among parallel signals. It does not automatically ensure impedance continuity, nor does it guarantee that differential-mode energy remains confined to the intended mode. Especially at layer transitions, through connectors, near slots, or across different reference planes, the dominant factor is often the local three-dimensional structure—not the overall trace length.
A straightforward principle widely recommended in high-speed layout guides is to keep high-speed signals referenced to the same ground plane whenever possible. If the reference plane changes, provide a nearby return path and place stitching ground vias adjacent to the signal vias at the transition. The essence is not "add more ground vias indiscriminately"; it is to pull the return current back to the vicinity of the signal via so that the local loop area and added inductance are minimized.

Figure 2 | A transmission line encountering an impedance discontinuity produces reflections. Reference-plane breaks, via fields, connectors, or anti-pads that create sharp local impedance changes ultimately show up in the channel budget as reflection, mode conversion, or additional loss.
Four Return-Path Discontinuities Worth Checking First
1) Crossing a plane split. The top-layer route can look perfectly straight while the reference plane beneath it contains power islands, slots, keep-outs, or is fragmented by via fences. The return must detour around the gap, and the effective loop area increases abruptly. On a TDR, what you see might not be a clean "impedance step" alone; the structure can also induce mode conversion and stronger crosstalk.
2) Layer transitions. When a differential pair moves from a layer referenced to GND1 to a layer referenced to GND2, the signal uses vias but the return lacks a local stitching via or any short coupling path between the references. The current is forced to seek a distant connection. The faster the signal via and the farther the reference tie, the less this section behaves like an "ideal transmission line."
3) Connectors, AC-coupling capacitors, and component pads. The package body may be small, yet the pad geometry, anti-pad clearances, vias, and reference plane openings around it can create some of the sharpest impedance excursions in the entire channel. Do not let "0402 is tiny" replace the need for 3D structural judgment.
4) Ground planes that look solid but are actually pinched. BGA fanout routing patterns, dense via fields, mounting holes, and isolation slots can squeeze the return path into a narrow neck. Inspecting a single Gerber layer in isolation makes it easy to miss this problem.
Troubleshooting: Don't Reroute First—Build an Evidence Chain
The most effective sequence is not to add serpentine or rip-up/reroute the pair as soon as the eye looks poor. First isolate the problem to a concrete structure. Step one: using the final Gerber or manufacturing data, annotate the reference plane segment by segment—what layer is the return referencing for each segment, and does the reference change across each transition? Step two: enumerate all "channel event points," including layer-transition vias, connectors, AC-coupling capacitors, and BGA breakouts. Step three: use TDR/TDT or simulation to correlate event points with the positions of impedance changes and reflections.
If equipment allows, examine S-parameters as well. Sdd21 characterizes differential insertion loss, Sdd11 captures differential reflection, and mixed-mode terms like Sdc21/Sdc11 help assess differential-to-common-mode conversion. A frequent mistake is fixating on the insertion-loss curve alone: a broken return path can create problematic common-mode content and local reflections while the total insertion loss still looks "acceptable."
What Constitutes a Closed-Loop Fix
A closed loop requires at least three elements. First, spatial localization: you can tie the anomaly to a specific via, connector, reference-plane transition, or plane gap. Second, mechanism consistency: after modifying the return-path structure, the anomalies in TDR, mixed-mode S-parameters, or crosstalk change as predicted. Third, link-level consistency: at the target data rate, training stability, bit error rate, the eye diagram, or protocol-level margin improves accordingly.
If the link "works after adding more ground vias" but you never confirmed which structure is truly sensitive, the issue can resurface in the next revision when the package, stack-up, or connector changes. A mature high-speed PCB design is not about completing a checklist of rules. It is about explaining why each critical discontinuity is acceptable, how it was verified, and where the remaining margin resides.
In one sentence: the completion criterion for a high-speed link is not that the differential pair is "routed and length-matched," but that the signal path and return path are both proven continuous. The next step is not to tweak lengths; it is to mark, one by one, the reference-plane transitions, return-path stitching, and local 3D discontinuities.