Why Does My KiCad Gerber Show Zero Solder Mask Expansion?
If the mask opening and copper pad measure the same width, KiCad may have plotted exactly what the pad specifies. In a KiCad 10.0.8 test, a footprint called for 0.05 mm of expansion per edge. One pad had an explicit local value of zero. Its 0.30 mm copper pad produced a 0.30 mm opening, while the pad beside it produced a 0.40 mm opening. Changing the board default would be the wrong first move for that pattern.
Start with the files you intend to send. Establish where the opening changes size before deciding whether a 1:1 opening is appropriate for the part and the board you are ordering.
Do the copper pad and the mask opening actually match?
Plot the two layers that answer the question
If you already have the ZIP that went to fabrication, extract it into an empty folder and start with that revision. To make a fresh comparison in PCB Editor, open a copy of the board so you can keep the original release settings.
- Choose File → Plot. Set Plot format to Gerber and set Output directory to a new folder such as
check-top. - Under Include Layers, select F.Cu and F.Mask for a top-side pad. Leave Plot on All Layers empty for this check. Adding copper to every plot would put extra geometry into the very file you want to inspect.
- Click Plot. Read Output Messages, then open the output folder and check that both files were regenerated. In the example below Use Protel filename extensions is enabled. The resulting pair is
mask-F_Cu.gtlandmask-F_Mask.gts.

| Feature under inspection | Copper to open | Mask to open | What you should see |
|---|---|---|---|
| Top-side SMD pad | F.Cu (.gtl) | F.Mask (.gts) | Copper land and coating opening at the same pad position |
| Bottom-side SMD pad | B.Cu (.gbl) | B.Mask (.gbs) | Matching pair from the bottom side |
| Stencil aperture | — | Use F.Paste or B.Paste for a stencil check | Paste artwork describes solder paste deposition. It cannot establish solder mask clearance. |
KiCad can also write both layers with a .gbr extension. Use the layer name in the filename or the X2 file-function attribute. In our pair the headers read Copper,L1,Top and Soldermask,Top.
Overlay the release files and measure one pad in GerbView
- Launch Gerber Viewer from the KiCad project manager. Open the mask Gerber and the matching copper Gerber in the same window. Find their filenames in the Layers Manager on the right.
- Turn on copper alone and locate your pad by footprint, pad number and position in PCB Editor. In this example U1 pad 1 is on the left and pad 2 is 0.50 mm to its right. Turn on both files and zoom in until you can distinguish the straight edges. Layer colors depend on the viewer setup.
- Compare the two pads before measuring. Below, green is copper and red is the mask opening. Pad 2 has a visible red border. Pad 1 appears solid green. Hide the copper layer: if a red opening appears under pad 1, the opening exists even though its border disappeared in the overlay. If the mask layer is empty there, check the board side and the pad’s mask-layer membership.

- In the Layers Manager, leave only the mask visible. Select millimetres and choose a grid fine enough to place the endpoints on the edges; the screenshot uses a 0.01 mm horizontal grid. Activate the Measure Tool (ruler icon), click the midpoint of the left straight edge and move horizontally to the opposite edge. Read the horizontal and vertical displacement. Here x = 0.300 mm and y = 0.000 mm. A diagonal measurement or a measurement across rounded corners will give a different result.
- Press Esc, show only copper, and repeat at the same location. Pad 1 also measures 0.300 mm across the copper. Repeat on pad 2: its opening is 0.400 mm across 0.300 mm copper. If the grid is coarser than the difference you need to resolve, zoom in and reduce the grid spacing or inspect the aperture geometry in the file.

For a centered rectangular pad, subtract the copper width from the opening width and divide by two. A 0.40 mm opening over 0.30 mm copper gives 0.05 mm on each side. With a displaced opening, measure left and right separately. Equal total widths can hide an exposed strip on one side and covered copper on the other. A nominal plot can establish file alignment; registration on a manufactured board requires physical inspection.

Which KiCad setting controls the pad that stayed unchanged?
Compare one pad, its footprint and the board default
In Board Setup → Solder Mask/Paste, record the expansion and the minimum web width separately. Open the placed footprint’s clearance overrides, then inspect the individual pad’s solder mask expansion. Check the placed copy on the board, especially if a library footprint was recently edited. The pad, footprint and board can carry different values. A similarly named copper clearance field governs spacing to copper and answers a different question. KiCad PCB Editor manual
| Pattern in the release files | First place to inspect in PCB Editor | Controlled check |
|---|---|---|
| One pad is 1:1; its neighbor expands | Hover over the affected pad, press E, and select the pad if KiCad offers several items. In Pad Properties, inspect its layers and clearance overrides. | Record the pad number and its solder mask expansion. Replot the copy, then compare both pads again. |
| Every pad on one footprint differs from similar devices | Open the placed Footprint Properties and inspect its clearance overrides. | Compare one pad with no local override to a pad on a second footprint. |
| The discrepancy appears on many footprints | Check Board Setup → Solder Mask/Paste, the output directory and the side you opened. | Replot into a new directory. Check a pad that inherits the board setting, then one with a known override. |
Replot one change with a second pad as a control
We exported the following teaching board with the KiCad 10.0.8 command-line plotter. U1 has two identical 0.30 × 0.80 mm rectangular copper pads, 0.50 mm apart center to center. Board expansion is zero, footprint expansion is +0.05 mm and U1 pad 2 has no local override. Only pad 1’s saved mask-margin field changes between runs. The widths below were read from the exported Gerbers.
| Pad 1 local mask setting | Pad 1 opening | Pad 2 opening | Mask between openings |
|---|---|---|---|
| Field omitted | 0.40 mm | 0.40 mm | 0.100 mm |
| Explicit 0 mm | 0.30 mm | 0.40 mm | 0.150 mm |
| Explicit −0.025 mm | 0.25 mm | 0.40 mm | 0.175 mm |
Pad 2 stays at 0.40 mm in every run. That makes it a useful control: the rectangle on pad 1 changes while the file still contains the expected footprint-level result next door. The negative value illustrates overlap and is not a recommendation for that pad.
To run the same check on your design, work on a copy. Export the original pair, change one setting and plot into a second directory. Compare the same two pad positions. The test above distinguishes an omitted field from an explicit zero in a saved board. For another KiCad build, verify what its dialog actually saves by repeating the export.
For an exact file-level cross-check, the rectangular flash on pad 1 in the zero run uses %ADD10R,0.300000X0.800000*% in both the mask and copper files, with millimetres selected by %MOMM*%. The number 10 identifies an aperture within that file. Compare its definition and its flash position. A different export may assign a different number to the same rectangle, or use a macro or a filled region.
To repeat the two-layer export from the command line with KiCad 10.0.8, save your modified board copy and run this from its folder:
kicad-cli pcb export gerbers -l F.Cu,F.Mask -o check-top mask.kicad_pcb
Why did two separate mask openings become one?
Measure the web between the pads
The web, also called a mask dam, is the strip of coating between two openings. In the first run above, each 0.40 mm opening extends 0.20 mm toward its neighbor. That leaves 0.50 − 0.20 − 0.20 = 0.10 mm. Increasing expansion takes material away from that web even though the copper spacing stays the same. On the outer edge of a pad, the same change can uncover part of a nearby trace. Measure clearance to adjacent copper separately.
On this board the copper-to-copper gap is 0.50 − 0.15 − 0.15 = 0.20 mm throughout. In the zero run the first opening stops at the copper edge, while the second extends 0.05 mm into the gap. That leaves 0.15 mm of mask. A screenshot that measures the copper gap would therefore overstate the available web by 0.05 mm. For different opening widths, calculate the centerline web as pitch minus half of each opening width; use the nearest actual edges for rotated or irregular pads.
Compare the plotted shape with the DRC message
In a fourth export we kept both openings at the inherited setting and changed only the board’s minimum web width to 0.15 mm. The available 0.10 mm gap fell below that threshold. The mask Gerber now contained one connected region spanning the two pads. The copper Gerber still contained two separate pads.

If your DRC reports that an aperture bridges items on different nets, locate the two items it identifies and inspect that spot in the plot. Determine whether they are adjacent leads within a package whose drawing permits a common opening, or unrelated copper that must stay covered. Allowing a DRC exception changes how the warning is handled. Always reopen the plotted mask to see the actual outline.
When is a 1:1 mask opening the right result?
Check two documents before increasing expansion: the component’s recommended land pattern and the fabricator’s instructions for the selected process. Some processes accept copper-sized openings in the submitted artwork. Others ask the designer to supply a positive allowance. Ask whether a quoted allowance is per edge or an increase in overall opening width. On a centered pad, those differ by a factor of two.
| Design intent | What decides the opening |
|---|---|
| Copper-defined land | Check the package drawing for the exposure needed around the land, then verify how the fabricator expects that condition to be specified. |
| Solder-mask-defined land | The opening sets the solderable area. Preserve the specified overlap when changing settings elsewhere. |
| 1:1 submitted artwork with CAM adjustment | Confirm which features the fabricator may adjust and whether the resulting web and adjacent copper coverage meet the design intent. |
A fabrication note that says “enlarge by 0.05 mm” leaves room for two different outputs. On the 0.30 mm land, 0.05 mm per edge produces a 0.40 mm opening; 0.05 mm added to the total width produces a 0.35 mm opening. If both lands receive that adjustment at 0.50 mm pitch, the nominal webs are 0.10 mm and 0.15 mm respectively. Specify the incoming opening width or state the per-edge allowance explicitly.
A common opening can also be deliberate. Analog Devices’ AN-772 shows a trench opening along a row of leads for a particular 0.4 mm-pitch LFCSP geometry where individual webs would be too narrow. Figure 11 gives the package context. Applying that treatment to two unrelated components would require a separate justification. Analog Devices AN-772
What should you check when the fabricator’s preview differs?
First establish what the preview contains. An upload viewer may simply render your files. A production proof can include CAM adjustments for the selected process. If your release ZIP already contains one opening, trace the change back through the footprint and plot settings. If the ZIP contains two openings and the proof shows one, put the two views side by side at the same scale, with the same revision, side and pad numbers.
For the teaching board, a useful review note would read: “U1 pads 1 and 2, top side. Our released mask shows a 0.10 mm web here. Your production proof shows a shared opening. Was the web removed for this process, and will the neighboring trace stay covered?” That gives the CAM engineer a precise feature to check. If the package requires the web or depends on a defined opening, resolve that point before approving the proof.
Keep the agreed production view with the board revision. If the design itself needs changing, update the source board and generate a fresh release ZIP so the next order carries the same intent. FLJ PCB fabrication file guide
About the author
Cindy Lee
Founder, FLJ PCB / Philifast
Cindy Lee is the founder of FLJ PCB / Philifast, a Shenzhen-based PCB fabrication and assembly company established in 2005. She shares practical perspectives on PCB manufacturing, assembly and working with production teams.
Connect on Facebook (opens in a new tab)