When designing a PCB, many engineers have heard the rule: no traces should run under a crystal oscillator. But why? Can a low-speed signal trace really affect a crystal oscillator? And can a guard ring with grounding vias completely eliminate interference?
Although a crystal oscillator provides the clock signal for digital circuits, its oscillation loop is highly sensitive to parasitic capacitance and external noise. Poor crystal oscillator PCB layout and PCB routing can cause frequency shifts, startup problems, or unstable clock signals, and may even increase EMI risks.
So, why should traces be kept away from the area beneath a crystal? How should the guard ring and grounding vias be designed? Let's start with how a crystal oscillator works and then look at the key considerations for its PCB layout and routing.
A crystal oscillator uses the piezoelectric properties of a quartz crystal to generate a stable periodic signal.
When an alternating voltage is applied to the crystal, it mechanically vibrates at a specific resonant frequency. The electrical and mechanical characteristics of the crystal allow it to provide a highly stable frequency reference for the circuit.
In many digital systems, the crystal is connected to an oscillator circuit inside an MCU, processor, or other IC. A common configuration is the Pierce oscillator, where the crystal works together with two load capacitors to form the oscillation loop.
The crystal itself can be considered as a high-Q resonant component. This means that even small changes in the surrounding circuit can affect its behavior.
Therefore, crystal oscillator PCB layout is not simply about placing the component close to the IC. The routing, ground plane, surrounding copper, and parasitic effects also need to be considered.

(Piezoelectric Effect)
The area around a crystal oscillator may look electrically simple, but PCB routing underneath the crystal can introduce several unwanted effects.
A PCB trace running underneath the crystal or its oscillator pins can form parasitic capacitance with the copper layers below or above it.
This additional capacitance changes the effective load seen by the oscillator circuit. As a result, the crystal's oscillation frequency may shift, and the startup characteristics can also be affected.
This is especially important because the crystal oscillator circuit usually operates with relatively small signal levels and is sensitive to its load conditions.
Keeping unnecessary copper and traces away from the crystal area helps reduce these unpredictable parasitic effects.

(recommend pcb layout)
High-speed signal traces can generate rapidly changing electric fields. If these traces pass beneath or too close to the crystal oscillator, noise can couple into the sensitive oscillation loop through parasitic capacitance.
The problem becomes more noticeable when the nearby traces carry high-speed clocks, switching signals, or other signals with large voltage transitions.
For this reason, good PCB routing practice is to keep noisy signal traces away from the crystal and its oscillator pins.
The crystal oscillator area should also be treated as a sensitive clock source.
Poor routing can increase unwanted coupling between the oscillator and nearby circuits. At the same time, the crystal circuit itself can become a source of electromagnetic radiation if its return path and surrounding copper are not properly controlled.
A compact layout with short connections and a clean reference plane can help reduce both noise coupling and EMI risks.

(Sources of EMI Issues)
In addition to keeping signal traces away, some designs use a grounded copper guard ring around the crystal oscillator.
A guard ring is a copper area surrounding the sensitive crystal circuit and connected to ground.
Its purpose is to provide a low-impedance ground barrier around the oscillator area, helping reduce coupling from nearby signals.
The guard ring should not replace the basic keep-out requirements. It is an additional measure for improving isolation and controlling the electromagnetic environment around the crystal.

(Ground Guard Ring)
Grounding vias can be placed around the guard ring to connect the surrounding ground copper to the ground planes on other layers.
This via stitching helps maintain a more continuous ground structure and can reduce the path through which external noise couples into the oscillator area.
However, adding more vias does not automatically make the design better. The via placement should be coordinated with the crystal package, oscillator pins, routing space, and PCB manufacturing requirements.

(Ground Stitching Vias)
The most basic rule is still to keep unnecessary signal traces and copper away from the crystal and its oscillator pins.
The exact keep-out size depends on the crystal, IC, PCB stackup, operating frequency, and layout requirements. Therefore, the IC or crystal manufacturer's recommendations should be followed whenever available.
A typical layout can be organized as: Crystal → Short oscillator traces → Load capacitors → IC. The surrounding area can then use a grounded guard ring and stitching vias where necessary.

(typical crystal pcb layout)
Good crystal oscillator PCB layout focuses on keeping the oscillation loop short, quiet, and predictable.
The crystal should normally be placed as close as practical to the corresponding oscillator pins of the MCU or other IC.
Shorter connections reduce parasitic capacitance and inductance and help minimize the area of the sensitive oscillator loop.
Avoid placing the crystal far away and routing long traces back to the IC.
The traces between the crystal and the oscillator pins should be as short as practical.
Avoid unnecessary vias, sharp detours, and long parallel runs with noisy signals.
When possible, keep the two oscillator connections reasonably symmetrical to reduce differences in parasitic effects.
Load capacitors are normally placed close to the crystal and IC oscillator pins.
Long traces between the capacitors and the IC add parasitic inductance and capacitance, making the actual load different from the nominal capacitor value.
Therefore, component placement and PCB routing should be considered together rather than separately.
During PCB routing, keep high-speed clocks, switching nodes, power converters, and other noisy signals away from the crystal area whenever possible.
If a high-speed signal must cross the region, consider whether the routing can be changed to maintain sufficient physical separation.
This is particularly important for dense multilayer boards where signals on adjacent layers may also couple through the dielectric.
A continuous ground plane can provide a stable reference for the surrounding circuit and help control return-current paths.
However, avoid routing unrelated signals through the sensitive crystal area on other layers.
The goal is not simply to create as much copper as possible, but to create a predictable electromagnetic environment around the oscillator.
For some applications, the crystal oscillator may be enclosed in a metal package or shielded structure.
If shielding is used, make sure its connection to ground is reliable and that the mechanical structure does not introduce unexpected parasitic effects.
For designs with strict clock stability or EMI requirements, testing should be used to verify the actual performance rather than relying only on layout rules.
Several layout mistakes can make an otherwise functional crystal oscillator less stable.
These problems may not always cause an immediate failure. In some designs, the oscillator may still start normally but show frequency deviation, increased sensitivity to noise, or different behavior between PCB revisions.
That is why crystal oscillator layout should be treated as a complete circuit rather than simply a component placement rule.
The rule of “no traces under the crystal oscillator” is not an absolute manufacturing requirement. Its purpose is to reduce parasitic capacitance, noise coupling, and interference around a sensitive oscillator circuit. In practical PCB routing, the most important principles are to keep the crystal close to the IC, minimize the oscillator loop, keep noisy signals away, place load capacitors properly, and provide a clean ground environment.
For more demanding designs, a grounded guard ring and via stitching can provide additional isolation. Ultimately, the recommended layout from the IC and crystal manufacturers should be used as the primary reference, with actual testing used to verify oscillator stability and EMI performance.