# Solder-mask

- Link: https://www.smartdataline.com/pcb-design-manufacturing/solder-mask/
- Published: 2026-11-29T18:14:54+00:00
- Author: Sinoptik

Solder mask is the colored coating you see on a PCB. Most people think of it as 
decoration, but it does real work, and its settings can affect whether a board can
be soldered reliably. This article explains what solder mask does, how openings 
and dams work, and when the details start to matter.

## What solder mask does

Solder mask is a thin polymer layer over the copper. It has several jobs:

 * **Prevents solder bridges.** Solder sticks to bare copper but not to the mask,
   so it stays on the pads and does not flow between neighboring traces.
 * **Protects copper** from oxidation and some contamination.
 * **Insulates** traces from accidental contact with other conductive parts.

The mask is removed over pads and other places where you need exposed copper. In
your design software the mask layer is usually drawn as the openings, not as the
coating itself, which confuses many beginners.

## Mask openings and expansion

The opening in the mask around a pad is slightly larger than the pad. This difference
is the **solder mask expansion** (sometimes called margin). It exists because the
mask cannot be aligned with perfect accuracy, and the opening should not cover the
edge of the pad.

 * If the expansion is too small, a small misalignment lets mask creep onto the 
   pad, which reduces the solderable area.
 * If it is too large, the opening may expose neighboring copper, and the mask between
   pads becomes too thin to survive.

Use your manufacturer’s recommended expansion and minimum values instead of the 
software default if they differ.

## Mask dams between pads

The thin strip of mask between two neighboring pads is called a **solder mask dam**
or bridge. It helps stop solder from bridging fine-pitch pads. If the pad spacing
is too small, the dam would be narrower than the fab can reliably produce, so the
fab removes it and the pins end up in one long opening. That usually still works
but increases the chance of bridges when soldering.

Check your fab’s minimum mask dam width and compare it with the gap between pads
on your fine-pitch parts.

 [ADD: a close-up photo of a fine-pitch footprint with and without mask dams]

## Vias and tenting

A via can be left open (exposed), or covered with mask. Covering it is called **
tenting**. Tented vias are protected from solder and probing is harder; open vias
allow test probes but can draw solder away from pads if they sit too close. Keep
vias away from pads or tent them, and check your fab’s tenting options.

## Color and appearance

The color does not change the electrical function. It does affect practical things:

 * Green is the most common color and is often the default and quickest option at
   many fabs.
 * Black and dark colors look good but make it harder to see traces and solder joints
   during inspection and rework.
 * White and light colors can reflect more and make silkscreen text less readable.

Availability and price vary by fab, so check yours.

## When mask details really matter

 * **Fine-pitch and BGA parts,** where the dam between pads and pad definition decide
   solderability.
 * **Hand soldering,** where mask openings that are too small make joints difficult.
 * **Test points and edge connectors,** which need exposed copper.
 * **High-voltage designs,** where mask is not a substitute for proper clearance.
   Do not count on it as insulation.

## Common mistakes

 * Misreading the mask layer: drawing coating where you needed an opening.
 * Forgetting that unintentionally exposed copper can create shorts.
 * Leaving silkscreen over pads, which interferes with soldering.
 * Using fine-pitch footprints without checking the fab’s minimum dam width.

 [ADD: a practical lesson from your own boards, such as a mask problem you ran into]

## Checklist

 * Mask expansion matches the manufacturer’s recommendation.
 * Mask dams on fine-pitch parts are wide enough, or you accept the merged opening.
 * Test points and connector pads are open where needed.
 * Vias are either tented or kept away from pads.
 * You previewed the mask layer in a Gerber viewer.
