PCB Spark Gap Design for On-Board ESD Protection
Static discharge remains one of the few failure mechanisms that can destroy a board before it is ever powered. The conventional answer is a protection component placed between the connector and the circuit, but a component adds cost, consumes board area and introduces capacitance on the very net it protects. A PCB spark gap takes a different approach: two shaped copper electrodes separated by a controlled air gap, arranged so that a discharge in the gap occurs before the voltage reaches a level that can damage the circuitry behind it.
Why Use a Spark Gap Instead of a Component
A spark gap is essentially free. It is drawn in copper, requires no placement, no bill of materials line and no assembly step. It also introduces almost no capacitance on the protected net, which matters for high-speed interfaces where a diode array would degrade the signal. The trade-off is that it is a coarse device: it clamps at a voltage set by geometry rather than by a semiconductor junction, it works once per event in the sense that the arc must extinguish before the gap recovers, and it dissipates the event as a spark rather than by diverting it through a junction. For interfaces that only need to survive an ESD event without damage, that trade is often acceptable.
Breakdown Voltage and Gap Distance
Dry air breaks down at roughly 3 x 10^6 volts per metre, which is a useful working figure for design. Dividing the voltage by that field strength gives the approximate separation needed: a pair of electrodes about 1 mm apart will arc at around 3000 V, and the same calculation scales linearly. Because the field concentrates at a sharp point, a pointed electrode pair fires at a lower voltage than two flat edges at the same spacing, which is the reason the geometry is sawtooth rather than rectangular. In practice the value should be treated as an estimate rather than a specification: humidity, altitude, contamination and the surface finish all shift the breakdown voltage, and the design should be verified by test rather than trusted on calculation alone.

Electrode Geometry and Layout
The standard arrangement is a pair of interlocking sawtooth patterns in copper, with one half connected to the signal net and the other to the board ground. The points of the teeth face each other across the gap, so the discharge path is defined by geometry rather than left to chance. A gap of about 1 mm is a reasonable starting point for a general-purpose interface, while 0.4 mm is used where a lower trigger voltage is wanted and the net can tolerate it. Several pairs can be placed in parallel along the same net to increase the chance that an event is caught and to spread the energy, and this is common practice at a connector where a single pair would be a single point of failure. Keeping the electrodes roughly symmetric avoids an unbalanced discharge that erodes one side faster than the other.
Solder Mask Window and Surface Requirements
The single most common mistake with this structure is covering it with solder mask. A solder mask window must be opened over the entire gap so that the arc travels through air and not through a polymer film that will carbonize and leave a conductive path. The mask opening should extend past the tips of the electrodes on both sides, and the copper itself must be exposed and free of the residue that plating and finishing processes leave behind. Surface finish choice matters as well, since a thick finish rounds the tips and raises the firing voltage; a thin, uniform finish preserves the profile. The mask opening also needs to satisfy the fabricator’s minimum opening and registration rules so that the window does not shift onto one electrode, and the ink behaviour around a narrow opening is the same problem described in this article on solder mask ink thixotropy.
Placement on Interfaces and Rails
The gap belongs as close to the entry point of the disturbance as possible. At a connector, the electrodes should be placed between the connector pin and the protected circuit, so that the discharge occurs before the transient travels along the board. The same arrangement can be used on low-voltage supply rails, where a gap from rail to ground provides a coarse clamp. High-voltage lines should not have a gap to ground unless the gap distance is deliberately sized above the working voltage with adequate margin, because a spark gap that fires during normal operation is a fault, not a protection feature. The physical spacing of the electrodes from unrelated circuitry should also be checked as creepage distance, since a discharge path across the surface of the board is not confined to the intended gap.
What to Keep Away from the Gap
A discharge produces a visible spark, ozone and a small amount of ionized gas, and the copper tips erode a little with each event. Any trace, via, component or solder mask sliver that passes above or immediately beside the gap can be damaged by repeated events or can provide an unintended path that bypasses the electrodes. The area should be kept clear on both the component side and the opposite side of the board, and no material that could ignite or carbonize should sit above the opening. If the board is later coated, the conformal coating must be excluded from the gap in the same way as the solder mask, since a coating over the electrodes changes both the firing voltage and the recovery behaviour.
<img src="https://www.gopcba.com/wp-content/uploads/2023/05/pexels-kateryna-babaieva-2760343.png" alt="solder mask window opened over an ESD discharge electrode pair” />
Limits of the Technique
A spark gap does not replace proper ESD protection where the standard requires a defined clamp level or a specified number of discharges. It is a supplementary structure, and its firing voltage is too high and too variable to protect a sensitive integrated circuit by itself. It is also ineffective against slow surges that do not reach the breakdown voltage, and it offers no protection against conducted disturbances that arrive through the supply. Used alongside edge-oriented measures such as keeping the sensitive nets away from the board edge and providing a wide, unbroken ground on the connector side, it reduces the energy that reaches the circuit and buys the primary protection device time to respond. Those layout measures are described in this article on ESD and PCB edge traces.
Fabrication Checks and Documentation
Because the structure lives entirely in the copper and mask layers, its correctness depends on the fabrication data. The gap width should be drawn on a dedicated layer or noted in the fabrication drawing, and the mask opening should be called out so that it is not trimmed by a mask expansion rule applied globally. It is worth including a note on the assembly drawing as well, since a technician who sees an exposed copper sawtooth pattern without explanation may assume it is a defect. With the geometry documented, the pad and mask rules that apply to any fine feature apply here too; the general standards are covered in this article on PCB pad design standards.
FAQ
How wide should the gap be for a 3 kV interface? About 1 mm, based on the breakdown field of dry air. Verify by test, because humidity and surface condition change the firing voltage.
Should the spark gap be covered by solder mask? No. The gap needs an open window in the solder mask so the discharge occurs in air rather than through a film that will carbonize and become conductive.
Can a spark gap replace an ESD protection device? No. It is a coarse, supplementary structure with a high and variable firing voltage, and it should be used in addition to, not instead of, the rated protection device.



