GlossarySolder mask
Solder mask
Solder mask is the thin polymer coating over a circuit board's copper that prevents solder bridges between pads and protects traces from oxidation and damage. Green is the common color, but the color does not change its function.
How it works
Most boards use liquid photoimageable (LPI) mask. After the outer copper is etched and plated, the shop coats the whole panel with liquid mask, dries it, and exposes it through artwork made from the mask layer of the design. The exposed areas harden. Unexposed areas, over the pads, wash away in a developer. A final cure sets the mask. Some shops expose the pattern directly with a laser instead of a phototool.
The mask layer in the design files is a negative: it shows where the mask is open, not where it is. Each pad usually has an opening slightly larger than the copper, a gap called solder mask expansion. Between closely spaced pads, the thin strip of mask that remains is called a mask dam or web. IPC-SM-840 is the IPC qualification specification for permanent solder mask, and IPC-6012 sets coverage and thickness requirements for the finished board.
Solder mask vs silkscreen
Solder mask is a functional coating that controls where solder can go and insulates copper. Silkscreen is ink printed on top of the mask for labels: reference designators, polarity marks and logos. Mask is applied first, and silkscreen must stay off any area the mask leaves open, or it gets in the way of soldering.
Why it matters
Without mask, molten solder flows along copper and joins pads that should stay separate. That is a solder bridge, and on fine-pitch parts it happens fast. The mask dam between pads is what stops it. If the dam is thinner than the shop can hold, the mask flakes off and the bridge is back.
Mask also changes the electrical behavior of outer layer traces. Its thickness and dielectric constant shift the impedance of surface microstrip traces, so controlled impedance designs account for it. And mask protects traces from scratches, contamination and the corrosion that attacks bare copper. IPC-2221C treats a mask-covered external conductor as its own spacing category for this reason.
How to get it right
- Set expansion from the shop's rules. Use the fabricator's mask expansion and minimum dam width in your design rules. Too large an expansion exposes neighboring copper. Too small risks mask on the pad.
- Check dams on fine-pitch parts. If the pitch is too fine for a dam, many designs open one window over the whole row of pads, called a gang opening. Do this on purpose, not by accident.
- Decide on vias. State whether vias are tented, plugged or open. Open vias near pads can wick solder.
- Pick the color on purpose. Green is standard and gives good contrast for inspection. Other colors are available, but black and white can make AOI and visual inspection harder, and some colors cost more or take longer.
- Keep mask off contacts. Pads for test probes, gold fingers and connectors need clear openings.
- Name the mask on the drawing. State the color, the mask type and any qualification class the board needs, so the fabricator quotes the right material.
Solder mask in robotics and drone hardware
Robot and drone boards often pack fine-pitch processors, IMUs and connectors into a small area, which puts mask dams under pressure. Boards mounted near motors or exposed to dust and moisture rely on mask, sometimes with conformal coating over it, to protect copper. Dark mask colors are popular on consumer drones for appearance, which is worth weighing against inspection contrast.