A PCB may look correct in the layout editor and still produce repeated soldering defects during assembly. Common symptoms include solder bridging, tombstoning, poor wetting, and, in severe cases, short circuits across an entire production batch. One frequent root cause is confusing the solder mask layer with the paste mask layer.
The two names sound similar, but they serve different purposes, follow different data logic, and affect different manufacturing steps. A mistake in either layer can create serious consequences, particularly on small-pitch or high-density packages.
One Protects the PCB; the Other Controls Solder Paste
The solder mask is a permanent insulating and protective coating applied during PCB fabrication. It covers most of the copper and substrate surface while leaving controlled openings over areas that must remain solderable, such as component pads, test points, and selected exposed copper features. The green, blue, red, or black coating visible on a finished PCB is the solder mask.
The opening in the solder mask is commonly made slightly larger than the corresponding copper pad. A typical design range mentioned in this context is approximately 0.05–0.1 mm of additional opening, although the actual value depends on the PCB manufacturer's process capability, registration tolerance, pad geometry, and the design rules used for the specific product. The purpose is to compensate for manufacturing misalignment and prevent the solder mask from partially covering the pad.
The paste mask, also called the solder paste layer, serves a different function. It is not a permanent coating on the PCB. Instead, its data is used to manufacture the stencil for SMT assembly. The apertures in the stencil are positioned according to the paste mask artwork. During printing, solder paste is forced through these apertures and deposited onto the exposed PCB pads.
For this reason, the paste mask aperture is normally equal to or slightly smaller than the copper pad, depending on the component package, pad geometry, and required paste volume. If the aperture is larger than the pad, solder paste may extend beyond the copper area. During reflow, the excess paste can contribute to solder bridging between adjacent pads, especially where the spacing is narrow.

One useful way to distinguish the two layers is to consider their physical destination. The solder mask remains on the PCB and determines which copper areas are exposed. The paste mask is used to create stencil openings and determines where solder paste is printed and how much paste is deposited. One controls surface protection and solderability; the other controls the assembly material placed on the board.
The Most Common Trap: Negative and Positive Layer Logic
The solder mask layer is often handled using negative-image logic in an EDA tool. A shape drawn on the solder mask layer generally represents an area where solder mask should not be applied. In other words, the drawn shape is an opening, not an area of green coating.
This is different from the way engineers commonly think about copper layers. On a signal or copper layer, drawing a shape generally adds copper. On a solder mask layer, drawing a shape normally removes solder mask from that location. If this polarity is misunderstood, the result can be a pad that is covered by solder mask. The copper may exist underneath, but the component lead or terminal cannot properly contact it during soldering.
The paste mask layer follows positive-image logic in the practical sense used for stencil generation. The geometry defined in the paste mask data corresponds to the stencil aperture. Where an aperture exists, solder paste can be printed; where no aperture exists, paste is not intentionally deposited. The layer does not represent a permanent coating and should not be treated as another PCB surface finish.
This distinction is especially important when reviewing Gerber files. The PCB fabricator uses solder mask data to manufacture the board, while the stencil manufacturer uses paste mask data to produce the SMT stencil. The PCB fabricator does not apply paste mask material to the board. These two datasets therefore need separate reviews, separate checks, and separate acceptance criteria.
Solder Mask Openings and the Importance of the Solder Mask Dam
The area of solder mask remaining between two adjacent openings is commonly called the solder mask dam or solder mask web. It separates neighboring pads and prevents solder mask openings from merging into one continuous exposed region.
When two pads are close together, increasing the solder mask expansion around each pad reduces the remaining dam width. If the expansion is too large, the two openings can merge. The copper pads may still appear separate in the copper artwork, but the finished PCB can have no solder mask barrier between them. During reflow, molten solder can then spread across the gap more easily and form a bridge.
A practical design value cited in the discussed cases is a minimum solder mask dam of approximately 0.075–0.1 mm. This is not a universal requirement for every PCB process or package. It is a process-dependent engineering guideline that must be checked against the fabricator's registration capability and the geometry of the selected footprint. When the remaining dam is smaller than the manufacturer's reliable process window, registration variation can eliminate it during fabrication.
High-density components require particular attention because the nominal spacing visible in the CAD layout does not tell the whole story. The copper pad spacing, solder mask expansion, manufacturing registration, and stencil aperture geometry interact with one another. A footprint that appears acceptable at the copper level may become risky after solder mask openings are applied.
Why a 0.1 mm Difference Can Cause Large-Scale Failure
In one medical-equipment PCBA case, the solder mask opening in a 0402 resistor footprint was designed too large. The mask between two adjacent pads disappeared completely, leaving no effective solder mask dam. During reflow, the solder paste and molten solder spread between the neighboring pads and formed bridges. The reported result was that all 500 boards in the batch were scrapped because of short circuits.
Another reported case involved a production automotive MCU mainboard. When the inward shrinkage of the solder mask geometry was less than 20 μm, the bridging defect rate increased from 0.02% to 1.8%. These values describe that particular production case and should not be treated as a universal prediction for every PCB process. They do, however, demonstrate how a small geometric change can interact with process variation and produce a large yield impact.
The underlying chain is straightforward:
- A solder mask opening is made too large or a solder mask dam is made too narrow.
- Manufacturing registration variation further reduces or removes the remaining dam.
- Adjacent copper pads become exposed through one merged or nearly merged opening.
- Printed solder paste spreads closer to the neighboring pad.
- During reflow, molten solder forms a conductive bridge.
- The assembled board fails electrical inspection or requires rework and may be scrapped.
The same physical dimensions also influence assembly yield in other ways. If the paste mask aperture is too large, the printed paste volume may be excessive even when the solder mask geometry is correct. If the paste aperture is too small, insufficient solder may be deposited, which can lead to weak joints or incomplete wetting. Therefore, solder mask and paste mask must not be adjusted as if they were interchangeable layers.
How to Review a Footprint Before Release
A reliable footprint review should examine the copper, solder mask, and paste mask as three related but independent datasets.
- Check the copper pads: Confirm that the pad dimensions and spacing match the intended component package and assembly method.
- Check the solder mask openings: Verify that the openings expose the required copper while preserving a manufacturable solder mask dam between adjacent pads.
- Check the paste mask apertures: Confirm that the stencil openings do not unintentionally extend beyond the pad area or create excessive paste volume.
- Review narrow gaps: Pay special attention to 0402 components, fine-pitch leads, dense MCU packages, and any footprint where the solder mask dam approaches the fabricator's minimum capability.
- Confirm layer polarity: Make sure the CAD software is interpreting the solder mask layer as an opening definition rather than as a coating region.
- Review the manufacturing data: Inspect the generated Gerber or other manufacturing outputs instead of relying only on the footprint editor view.
- Confirm process capability: Ask the PCB fabricator and stencil supplier to verify the applicable registration, minimum dam, and aperture limits for the design.
A common mistake is to apply one global solder mask expansion value to every footprint. Such a rule may work for some large pads but create unacceptable dams or merged openings on fine-pitch packages. Solder mask expansion and paste aperture treatment should be evaluated according to package type, pad geometry, board fabrication capability, and assembly process requirements.
Keep the Two Layers Separate During Design Reviews
The key lesson is simple: the solder mask opening determines whether a copper pad remains properly exposed on the finished PCB, while the paste mask aperture determines how the SMT stencil deposits solder paste onto that pad. The first is part of PCB fabrication; the second is part of stencil and assembly preparation.
A difference of 0.1 mm may appear insignificant on a screen, but at the scale of a 0402 component or a fine-pitch MCU, it can remove the solder mask dam, increase paste overlap, and turn a nominally correct footprint into a production defect. Reviewing both layers independently—and checking their combined effect on the actual pad-to-pad spacing—is essential for preventing bridging, insufficient solder, and costly batch failures.