Opens in a new tab

A Quick Guide to Understanding the Differences and Functions of Solder Mask and Solderable Layers on Printed Circuit Boards

Published: October 7, 2026 · Updated: October 7, 2026

With the rapid advancement of electronic technology, printed circuit boards (PCBs) play a vital role in various electronic devices. The quality and performance of PCBs directly affect the reliability and stability of these devices. During the PCB manufacturing process,Solder MaskThe solder mask and the solder-assist layer are two crucial elements that play a key role in protecting the circuit board, improving soldering efficiency, and ensuring soldering quality.

What Are Solder Mask Layers and Solder Paste Layers?

1. A Quick Breakdown: The Roles of the Solder Mask and the Flux Layer

Although these two levels differ by only one character in their names, their functions are completely different:The solder mask determines "which areas will not be soldered," while the flux layer determines "which areas will be soldered and how much solder will be applied.". The former is a permanent coating left on the plate, while the latter is merely a layer of data used by the steel mesh manufacturer that disappears once the sheet is applied.

2. What Is a Solder Mask: Negative Film Output and Window Logic

A solder mask refers to the areas on a printed circuit board that need to be covered with green solder mask ink. However, here’s an interesting fact: the solder mask layer actually uses a negative-image process. This means that when the solder mask pattern is transferred to the circuit board, it is not actually green ink but rather exposed copper foil. Typically, to increase the thickness of the copper foil, lines can be drawn on the solder mask, followed by tin plating to thicken the copper traces.

3. Design Requirements for the Solder Mask Layer

The solder mask plays a critical role in the reflow soldering process; therefore, PCB designers should minimize the spacing or air gaps around pads as much as possible. While some process engineers may prefer to isolate all pad features on the solder mask, special consideration is required for densely arranged component leads. For example, on a four-sided QFP (Quad Flat Package), an unsegmented solder mask opening or window may be acceptable, but controlling solder bridges between component pins may be more difficult. For BGA (Ball Grid Array) packages, many companies offer a solder mask that does not directly contact the pads but covers any features between them to prevent solder bridging. Most surface-mount PCBs use a solder mask; however, it is important to note that if the solder mask thickness exceeds 0.04 mm, it may affect solder paste application. In particular, surface-mount PCBs with densely packed components require a low-profile photoresist solder mask.

Here are two additional quantities that must be verified in engineering:Solder Mask Bridge Width与The Effect of Solder Paste Thickness on Pad Obstruction. The solder mask bridge between adjacent pads should generally be no less than 0.1 mm; if it is narrower than this value, the ink is prone to peeling off after development, causing it to lose its anti-bridging function during reflow. In such cases, the design should be modified to include a full-width opening or solder mask plug holes. Additionally, the alignment tolerance between the solder mask window and the pad is typically ±0.05 mm; allow for this margin when designing fine-pitch components.

Solder Mask

4. Solder Mask Manufacturing Process: How to Choose Between Liquid Photoresist and Dry Film

Solder mask materials can be applied using either a liquid wet-process or a dry-film lamination process. Dry-film solder mask materials are typically supplied in thicknesses ranging from 0.07 to 0.1 mm and are suitable for some surface-mount products, but are not recommended for high-density layout applications. Dry-film solder mask materials rarely offer sufficient thinness to meet the standards for high-density layouts; however, several companies offer liquid photoresist solder mask materials. Typically, the solder mask opening should be 0.15 mm larger than the pad to allow for a 0.07 mm gap around the pad. Low-profile liquid photosensitive solder mask materials offer excellent cost-effectiveness and are commonly specified for surface-mount applications, providing precise feature dimensions and clearances.

Liquid photosensitive ink (LPI) is the mainstream choice in mass production. The process is as follows: pretreatment (board grinding or micro-etching) → screen printing or spraying → pre-baking → exposure → development → post-curing. The adequacy of pretreatment directly determines the adhesion of the solder mask. More than 80% of on-site issues such as solder mask bubbling or peeling after reflow can be traced back to pretreatment and board surface cleanliness. In terms of color, green is the most commonly used and is the most AOI-friendly; black and white are often used for consumer-facing components. However, black solder mask reduces contrast during AOI and manual visual inspection, leading to increased rework hours.

The method for defining pads must also be specified in the file:

  • NSMD (Non-Solder Mask Defined, Copper Defined): The opening is larger than the copper pad; the pad size is determined by the copper foil, and this results in better stress distribution at the BGA solder joints—it is the current industry standard.
  • SMD (Solder Mask Definition): The opening is smaller than the copper pad; the pad size is determined by the solder mask opening. While the pad has higher adhesion, stress concentrates at the edges of the solder mask, making it prone to cracking under thermal cycling.

Liquid photosensitive ink (LPI) is the mainstream technology in mass production. The typical process is as follows:

  1. Preprocessing: Grinding or micro-etching to remove oxidation and create microscopic roughness.
  2. Coating: Screen printing, roller coating, or spray coating, ensuring uniform thickness.
  3. Preheat: The solvent is removed through low-temperature drying to bring the ink to a state where it can be exposed.
  4. Exposure: Using a negative film or LDI (Laser Direct Imaging), define the windowed pattern.
  5. Development: Dissolve the unexposed areas to expose the copper surface of the pads.
  6. Post-curing: High-temperature baking causes the ink to fully cross-link, achieving its final hardness and adhesion.

For guidance on combining solder mask application with final surface treatment, please refer toSurface Treatment Capabilities与4 Common PCB Surface Treatments。

5. What is the solder mask: The alignment layer between the stencil and the solder paste

The solder mask is used in surface-mount packaging and corresponds to the pads on surface-mount components. During the surface-mount technology (SMT) manufacturing process, a steel stencil is typically used; holes are punched in the stencil at the locations corresponding to the component pads on the PCB, and solder paste is then applied to the stencil. When the PCB is positioned beneath the stencil, the solder paste flows through the holes, ensuring that each pad is precisely coated with solder. Therefore, the solder mask should generally not exceed the size of the actual pads; ideally, it should be smaller than or equal to the size of the actual pads.

What Is a PCB Stencil?

6. Essential Elements of the Flux Layer

To create a solder mask, the following key elements must be defined:

  1. BeginLayer: ThermalRelief and AnTIPad are 0.5 mm larger than the actual dimensions of the standard pads.
  2. EndLayer: ThermalRelief and AnTIPad are 0.5 mm larger than the actual dimensions of the standard pads.
  3. DEFAULTINTERNAL: Middle layer.

These three elements are part of the padstack definition and determine the shape of the pad where it connects to the heat sink on the inner layer. While this is distinct from the stencil cutouts themselves, they are output together when generating Gerber files; therefore, they must be checked simultaneously when creating a package library.

7. What are the two layers called in the Gerber files?

When placing an order or checking files, the most common mistake is confusing the file extensions for these two layers. Here is a common naming reference:

When only the routing layer is provided without GTS/GBS, the PCB manufacturer will, by default, apply a full-board solder mask and cut out openings based on the pad outer dimensions; When only GTP/GBP is provided without explicit rules, stencil manufacturers typically cut holes at a 1:1 ratio relative to the pads; this results in holes that are too large for fine-pitch components and is a common cause of solder balls and bridging.

8. The Functions of the Solder Mask and the Flux Layer

The primary function of the solder mask is to prevent the copper foil on the circuit board from being directly exposed to the air, thereby providing protection. The solder resist layer, on the other hand, is used to create a stencil, which accurately applies solder paste to the surface-mount pads that need to be soldered during the soldering process. Both of these layers are related to soldering, rather than the application of green ink or solder.

SMT Solder Paste Printing Process Flow

9. The Difference Between Solder Mask and Flux Layer

Finally, let’s clarify the difference between the solder mask and the flux layer:

  1. Solder Mask: A layer of green ink that allows for soldering; it is typically applied to the entire circuit board, but windows are left around the pads to allow for soldering.
  2. Flux Layer: Used for soldering surface-mount packages; it typically aligns with the pads on surface-mount components, and a stencil is used to ensure precise solder application.

Overall, both the solder mask and the flux layer play indispensable roles in PCB manufacturing; they protect the circuit board and ensure soldering quality, thereby providing critical support for the reliability and performance of electronic devices.

10. List of Engineering Parameters: Window Openings, Solder Mask Bridges, and Steel Mesh Cutouts

Check the following set of parameters before sending the board to production to avoid the vast majority of rework related to these two layers:

  • Solder Mask Cutouts: Extend 0.05–0.075 mm beyond the outer edge of the pad on one side; in BGA areas, solder mask is commonly used to define the pads (SMD), which improves pad adhesion.
  • Solder Mask Bridges: The distance between adjacent pads must be at least 0.1 mm; if this cannot be achieved, either create a window across the entire row or add solder mask stoppers.
  • Steel Mesh Perforations: Indent 5%–10% on one side of the pad, or control based on the area ratio; the area ratio (opening area / wall area) must be ≥ 0.66 to ensure smooth demolding.
  • Wire Mesh Thickness: 0.12 mm is the most common; when fine-pitch components with a pitch of 0.4 mm or less are used, the pitch is reduced to 0.1 mm or a stepped stencil is used.
  • Wire Mesh Manufacturing Process: Prioritize laser cutting + electropolishing; the smooth hole walls can significantly reduce tin balls and burrs.
  • Through-hole devices: For through-hole reflow, the solder mask layer must be scaled separately and compensated for the hole ring; seeA Detailed Explanation of PCB Through-Hole Pad Design and Laser Soldering Technology。

11. Common Welding Defects and Their Relationship to These Two Layers

Most of the problems observed on-site can be traced back to design or process settings at these two levels:

  • Lian Xi / Qiao Lian: The solder mask bridge is too narrow or has come loose; the stencil apertures are too large; there is an excessive amount of solder paste.
  • Poor Solder Joint / Insufficient Solder: The steel stencil openings are too small, and the rough surface of the openings causes poor demolding; thick steel stencils are used for fine-pitch components.
  • Solder balls: Hole expansion, solder paste edge collapse, and excessive gap between the stencil and the board surface.
  • Solder Mask Bubbling and Peeling: Poor pretreatment, moisture on the board surface that was not dried, and insufficient post-curing.
  • The pads are oxidized and won't accept solder: Insufficient exposure of the copper surface due to misalignment when opening the window, or a mismatch between the surface treatment and the storage period.

An In-Depth Analysis of the Causes of Solder Paste Short Circuits

For a more comprehensive list of corrective actions, seeAnalysis of SMT Soldering Defects and Solutions, For the solder paste printing process, please refer toSMT Solder Paste Printing Process Flow。

12. Conclusion

Solder mask and flux mask layers are indispensable components of the PCB manufacturing process; they play a crucial role in protecting the circuit board, ensuring soldering quality, and improving production efficiency. For PCB designers and manufacturers, understanding how to properly use and configure these two layers is essential for producing high-quality printed circuit boards. We hope this article helps you better understand the functions and requirements of solder mask and flux resist layers.

13. Frequently Asked Questions

1. Are the solder mask and the flux layer used for the same purpose?

No. The solder mask is primarily used to protect the circuit board, while the flux layer is used to help apply solder during the soldering process.

2. Why can't the solder mask be larger than the actual pad size?

An excessively thick solder mask may cause soldering problems because the solder may not coat the pads properly.

3. What is the main function of the solder mask?

The primary function of the solder mask is to prevent the copper foil on the circuit board from being directly exposed to the air, thereby protecting the circuit board.

4. Why does the solder mask need to have windows or openings?

Openings or cutouts are permitted for welding, but the area around the pads must still be protected.

5. How do you choose the right solder mask material for PCB manufacturing?

When selecting solder mask materials, it is important to consider the material's thickness, photosensitivity, and suitability, especially for PCBs with densely packed components.

6. What should I do if I was only given the trace layer and there is no separate solder mask layer file?

Most PCB manufacturers can automatically generate solder mask openings based on the circuit layers. By default, they extend 0.05–0.1 mm beyond the pads; in areas with dense component placement, the openings are generated along the entire path. However, this automatic generation cannot distinguish between NSMD and SMD pad definitions. For BGAs and high-density boards, it is recommended that the design team directly provide GTS/GBS files and include notes specifying the opening rules.

7. Should the openings in the steel mesh be larger or smaller than the pads?

Typically smaller than the pad. A hole with a single-side recess of 5%–10% (or a total area approximately 10% smaller than the pad) can offset solder paste edge collapse and reduce bridging and solder balls. If the aperture is larger than the pad, solder paste will overflow onto the solder mask, forming solder balls after reflow—a phenomenon that is particularly noticeable in fine-pitch components.

8. Does the thickness of the solder mask affect soldering?

Yes. When the solder mask thickness exceeds approximately 40 μm, it can interfere with the gap between the solder mask and the stencil used for solder paste printing, resulting in localized solder paste deficiency; in areas with densely packed components, a low-profile liquid photoresist solder mask is required, with a thickness controlled between 15 and 25 μm. Additionally, excessively thick solder mask can create steps at the edges of pads, affecting the placement accuracy of fine-pitch components.

Additional Information:What Are Solder Mask Layers and Solder Paste Layers? · How to Choose the Right SMT Placement Machine