IntelCAD team

PCB Creepage and Clearance: Rules, Standards and Layout

Short answer: Clearance is the shortest distance between two conductors through air. Creepage is the shortest distance between them along the surface of the insulating material. On a PCB, clearance protects against arcing from voltage peaks and transients, while creepage protects against tracking, the slow build-up of conductive paths across a contaminated board surface. Both …

PCB isolation slot with a straight clearance path through air and a longer creepage path along the board surface

Short answer: Clearance is the shortest distance between two conductors through air. Creepage is the shortest distance between them along the surface of the insulating material. On a PCB, clearance protects against arcing from voltage peaks and transients, while creepage protects against tracking, the slow build-up of conductive paths across a contaminated board surface. Both are set by your product’s safety standard (for example IEC 62368-1, IEC 61010-1 or IEC 60601-1), using the working voltage, overvoltage category, pollution degree, altitude and the laminate’s material group. Size them from the standard first, then apply your fab’s limits, and add slots or coating only where the standard allows it.

PCB isolation slot with a straight clearance path through air and a longer creepage path along the board surface
PCB isolation slot with a straight clearance path through air and a longer creepage path along the board surface

Creepage vs clearance: what is the difference?

The two terms are often used together, but they measure different paths and guard against different failures.

On a flat board with no slots, the surface path and the air path between two pads are often the same length, so the larger of the two requirements usually decides the spacing. Once you add a slot, a component body or a barrier, the two paths separate, and that is where good layout gains space.

What decides the required distance?

There is no single PCB creepage number. Product safety standards define spacing tables, and the inputs are broadly the same across them.

Voltage

Clearance is driven mainly by peak voltages, including the transient overvoltages expected on the supply. Creepage is driven mainly by the RMS working voltage across the insulation over the product’s life. Use the real working voltage between the two specific nets, not just the input rating.

Insulation type

Functional insulation only needs to keep the circuit working. Basic insulation provides one level of protection against electric shock. Double or reinforced insulation, used between mains and anything a user can touch, typically requires roughly twice the basic distances. Medical standards add their own categories, such as means of operator protection and means of patient protection, with stricter requirements.

Overvoltage category

Equipment connected directly to building wiring sees larger transients than equipment behind a well-filtered supply. The overvoltage category sets the impulse voltage used to size clearance.

Pollution degree

Pollution degree describes the environment at the insulation itself. Pollution degree 1 means no or only dry, non-conductive pollution, such as a sealed or coated assembly. Pollution degree 2, typical for office and home electronics, allows occasional temporary condensation. Pollution degree 3 covers conductive pollution or dry pollution that becomes conductive with condensation, common in industrial settings. A higher pollution degree means larger creepage.

Material group (CTI)

The laminate’s comparative tracking index (CTI) shows how well its surface resists tracking. Materials are grouped from I (highest CTI, 600 or more) through II and IIIa down to IIIb (lowest). Many standard FR-4 laminates fall into group IIIa or IIIb, so check the datasheet. A higher-CTI laminate can allow shorter creepage at the same voltage.

Altitude

Air insulates less well at altitude. Clearance tables usually assume operation up to 2,000 m, and products used higher need correction factors.

IPC-2221 vs safety standards

IPC-2221 includes a conductor spacing table by voltage and by location (internal layers, external uncoated, external coated, and so on). It is a useful general design guide for functional spacing. It does not replace the safety standard your product must pass. If your product has a safety certification, that standard’s tables win.

How to lay out creepage and clearance on a PCB

1. Define the isolation barrier early

Before routing, mark where the hazardous side ends and the safe side begins: across optocouplers, digital isolators, transformers, relays and Y capacitors. Draw a keepout along that line in the CAD tool so nothing crosses it by accident.

2. Set net-class rules from the standard

Create net classes for primary, secondary and safety extra-low voltage (SELV) circuits and set spacing rules between each pair. Add rules for high-voltage nets that sit near each other on the same side, such as the rectified bus and switch node, which need functional spacing even when no safety barrier is involved.

3. Check every layer, not just the top

Spacing on inner layers is set by the solid insulation between them, which standards treat differently from surface creepage. Follow your standard’s rules for cemented joints and insulation through the laminate, and plan the PCB stackup so isolated planes do not overlap across the barrier.

4. Watch the component footprints

The pads of an isolator or optocoupler define the narrowest point of your barrier. Choose packages with wide-body pin spacing when you need reinforced insulation, and confirm that the part’s own creepage rating matches what the board requires. Remember that a component body sitting flat on the board can trap contamination at its edges.

5. Use slots to add creepage

A milled slot under or between pads forces the surface path to go down one side of the slot and up the other, adding creepage without moving the parts. Standards only count the slot if it is wide enough, typically around 1 mm at pollution degree 2, because narrow grooves fill with dirt and are treated as bridged. A slot adds creepage, not clearance, since the air path still goes straight across.

6. Treat solder mask and silkscreen with care

Solder mask is not normally counted as insulation for safety creepage, and silkscreen ink is not insulation at all. Do not rely on either to close a spacing gap.

7. Consider conformal coating

A qualified conformal coating can reduce the pollution degree at the protected surface, which some standards allow you to use for smaller spacing. That only works if the coating process, material and coverage are controlled and documented, so involve your compliance lab before relying on it.

8. Leave margin for manufacturing

Etching, mask registration and routing tolerances eat into spacing. Design to the required distance plus a margin, and make sure the trace width you need for current does not force tighter gaps.

Common creepage and clearance mistakes

Where AI and DFM checks help

Creepage and clearance errors are easy to miss in review because the rules depend on which two nets are involved, not just on a single global value. A late copper pour, a moved mounting hole or a swapped footprint can break a barrier that was correct a week earlier. An AI-assisted check reads net classes and the isolation barrier, measures surface paths around slots as well as straight air gaps, compares footprints against isolation ratings, and flags anything that crosses the keepout on any layer.

That is the IntelCAD approach: catch spacing and isolation problems during design, alongside your PCB DFM checks and design review checklist, before a board goes to a compliance lab.

FAQ

What is the difference between creepage and clearance?

Clearance is the shortest distance between two conductors through air. Creepage is the shortest distance between them along the surface of the insulating material.

Which is usually larger, creepage or clearance?

Creepage requirements are often larger than clearance at the same working voltage, especially at higher pollution degrees or with low-CTI laminates, but the governing standard decides.

Does a slot in the PCB increase clearance?

No. A slot lengthens the surface path, which adds creepage. The straight air path across the slot, which is the clearance, stays the same.

Does solder mask count as insulation for creepage?

Usually not. Most safety standards do not credit standard solder mask as insulation, so creepage is measured as if the mask were not there.

Which standard sets PCB creepage and clearance?

The product safety standard does, for example IEC 62368-1 for audio, video and IT equipment, IEC 61010-1 for test and lab equipment, and IEC 60601-1 for medical devices. IPC-2221 gives general spacing guidance.

Next step

Want every isolation gap and high-voltage net on your board checked before you send it to a compliance lab? Start Your Design with IntelCAD for AI assisted PCB design and manufacturability checks.

Design your next board by describing it.

Start Your Design