Gigabit Ethernet PHY PCB Layout: Four Pairs, Magnetics and Grounding
Gigabit Ethernet PHY PCB Layout: Four Pairs, Magnetics and Grounding
An Ethernet port that links at 100Mb/s but refuses 1Gb/s is a useful clue. It does not prove the PCB is wrong, but it should send the review toward the four-pair analog interface, magnetics, connector and PHY configuration—not straight to the software team. Gigabit Ethernet uses all four twisted pairs, and a mistake that leaves a two-pair connection apparently healthy can show up immediately at 1000BASE-T.
There are two routing problems on one Ethernet board
On the cable side of a typical gigabit PHY design, the MDI interface runs from the PHY to the isolation magnetics. On the processor side, the MAC-to-PHY connection may be RGMII, SGMII or another interface. Their routing constraints are not interchangeable. A rule copied from an SGMII reference design should not silently become an RGMII constraint.
For example, TI's DP83867 guidance calls for 100Ω differential impedance on its MDI pairs, while its RGMII interface uses single-ended controlled-impedance traces with timing requirements around data and clock groups. The exact skew budget, clock-delay strategy and termination depend on the PHY and MAC. Begin with those two datasheets and the selected stackup.
Place the PHY, magnetics and RJ45 as a chain
The four MDI pairs should have a short, readable route from PHY to magnetics. Keep each positive/negative pair together, avoid unnecessary layer changes and prevent reference-plane gaps under the pair. Do not solve a crowded escape by sending one conductor around a connector while the other takes the direct path.
With integrated-magnetics RJ45 connectors, the routing terminates at the rear of the jack. With discrete magnetics, review the physical separation between PHY, transformer and exposed board edge against the PHY vendor's reference layout. There is no universal “one inch” placement rule that overrides a device-specific evaluation board.

Length matching is not a license to add loops
Within a differential pair, control skew to the applicable vendor limit. Keep the pair geometry stable through bends and transitions. Avoid tightly packed accordion patterns next to the magnetics just to make every pair numerically identical. The pair-to-pair matching requirement is not necessarily the same as the within-pair requirement, and it may differ between MDI, SGMII and RGMII.
For RGMII, the important issue is the timing relationship between clock and data at the receiving device. Some PHYs and processors can insert delay internally; others rely partly on PCB trace delay. If the register setting and PCB strategy both add the same delay, a beautifully length-matched board can still fail timing.
Do not improvise the transformer center taps
The magnetics schematic deserves its own design review. A KSZ9031RNX reference, for instance, uses separate PHY-side center-tap capacitors and a defined cable-side termination network. Other PHY families have different internal bias and termination arrangements. Copying a generic “Bob Smith” circuit without checking the selected transformer and PHY can introduce unwanted common-mode paths.
Keep the RJ45 shield and chassis connection deliberate. Isolation requirements and EMI behavior govern where chassis ground exists, where circuit ground stops and how any capacitive or resistive coupling is implemented. A copper pour beneath magnetics may violate the vendor's isolation or EMI layout guidance even though it looks like a good ground plane in the CAD tool.
What to inspect when the first board fails
| Symptom | First checks | Evidence to keep |
|---|---|---|
| Links at 100M, not 1G | All four MDI pairs, magnetics pinout, cable pairs | PHY status and cable test |
| Intermittent link after warm-up | PHY rails, clock, reset and strap states | Power and clock captures |
| EMI peak around the port | Shield bond, center taps, common-mode return | Near-field scan and layout revision |
| High packet errors at 1G | Impedance discontinuities, pair skew, connector | Counter registers and TDR if available |
Review the complete path before touching the meanders. On a high-speed PCB layout project, a PHY reference schematic, chosen magnetics part number and impedance-controlled stackup are essential handoff files. Without them, “route the Ethernet pairs to 100Ω” is only part of the assignment.
Discuss your PCB or electronics project with FYPCB
Share your requirements, drawings or BOM for an engineering and manufacturing review.

Electronics Design & Development
PCB Design & Layout Services
PCB Fabrication & Prototyping
PCB Assembly & PCBA Services