Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.
  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.
Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.

Common Gerber File Errors and How to Fix Them: Complete Troubleshooting Guide

After fifteen years of submitting PCB designs for manufacturing, I’ve learned that Gerber file errors are simultaneously the most frustrating and most preventable problems in the production process. That email from your fab house asking for corrections always seems to arrive when you’re already behind schedule. The good news is that nearly every common Gerber file error follows predictable patterns, and knowing what to look for means you can catch these problems before they delay your boards. This guide covers the errors manufacturers see most frequently and provides practical solutions for each.

Why Gerber File Errors Happen

Gerber files translate your PCB design into manufacturing instructions. This translation process involves multiple software settings, file format choices, and layer configurations—each representing an opportunity for something to go wrong. Unlike schematic errors that trigger DRC warnings, many Gerber export problems slip through unnoticed until a manufacturer tries to import your files.

Impact of Gerber Errors on Production

Error TypeProduction ImpactTypical Delay
Missing filesCannot proceed, order held1-3 days
Wrong formatImport failure, manual conversion1-2 days
Layer misalignmentPotential board failure, scrapComplete respin
Drill errorsHoles in wrong locationsComplete respin
Incomplete outlineManual interpretation required1-2 days
Empty/corrupted filesCannot determine intent1-3 days

Understanding what can go wrong helps you implement verification steps that catch problems before submission.

Missing or Incomplete Gerber Files

The most common Gerber file error is simply not including all the necessary files in your submission. Every layer of your PCB requires its own Gerber file, and missing even one can halt production.

Required Files for Standard Two-Layer Boards

LayerPurposeCommon Extensions
Top CopperSignal traces, pads.GTL, .top, .cmp
Bottom CopperSignal traces, pads.GBL, .bot, .sol
Top Solder MaskPad exposure openings.GTS, .stc
Bottom Solder MaskPad exposure openings.GBS, .sts
Top SilkscreenComponent labels.GTO, .sst, .plc
Bottom SilkscreenComponent labels.GBO, .ssb, .pls
Board OutlinePhysical boundary.GKO, .gm1, .outline
Drill FileHole locations and sizes.DRL, .XLN, .drd

How to fix: Create a checklist for your specific layer count and verify every file exists before zipping. Open each file in a Gerber viewer to confirm it contains actual data—zero-byte files that appear in your folder won’t help the manufacturer.

Multilayer Board Additional Requirements

For boards with four or more layers, you need inner layer copper files plus potentially multiple drill files if using blind or buried vias.

Layer CountAdditional Files Required
4-layerInner layer 1, Inner layer 2
6-layerInner layers 1-4
8+ layersAll inner layers, stackup documentation
HDI boardsMultiple drill files per drill span

How to fix: Include a stackup document (PDF, Excel, or text file) that clearly identifies the order and purpose of each layer file. Without this information, manufacturers must guess at layer sequence.

Missing Board Outline

The board outline defines the physical boundary where your PCB will be routed from the panel. Without a clearly defined outline, manufacturers cannot determine where to cut your board.

Signs of Board Outline Problems

ProblemSymptomResult
Missing outline fileNo .GKO or similar in packageProduction hold
Outline on wrong layerAppears on silkscreenIncorrect dimensions
Open outlineGaps in boundaryAmbiguous board shape
Multiple outlinesConflicting boundariesConfusion over intent

How to fix in KiCad: Ensure all boundary geometry is on the Edge.Cuts layer. The outline must be a single closed shape—verify there are no gaps where line segments fail to meet.

How to fix in Eagle: Include both Layer 20 (Dimension) and Layer 46 (Milling) in your outline output. Internal cutouts often appear on the Milling layer and will be missed if you only export Dimension.

How to fix in Altium: Export the mechanical layer containing your board outline. Verify the Keep-Out layer matches your intended board boundary.

Missing or Incorrect Drill Files

Drill file problems rank among the most critical Gerber errors because they directly affect whether components can be mounted. A missing drill file means no holes—no vias, no through-hole components, no mounting holes.

Common Drill File Errors

ErrorCauseConsequence
Missing drill fileSeparate export step forgottenNo holes drilled
Drill map instead of drill fileWrong export optionSupplementary info only, not machinable
Wrong coordinate formatSettings mismatchHoles in wrong locations
Wrong unitsInch vs. metric confusion25.4x scaling error
Missing tool definitionsIncomplete headerUnknown hole sizes

Identifying the difference: A drill file (.DRL, .XLN) contains machine-readable NC code with coordinate data. A drill map is a visual reference document that cannot be used for manufacturing. If your file opens as an image rather than coordinate data, you exported the wrong thing.

How to fix coordinate format issues: Drill file headers should clearly specify the format. Look for lines indicating:

  • Leading or trailing zero suppression
  • Coordinate format (e.g., 2:4, 2:5, 3:3)
  • Units (INCH or METRIC)

If your header is incomplete or your CAD tool doesn’t include this information, specify it in a readme file. Most manufacturers assume 2:4 format with trailing zero suppression when not specified.

Drill-to-Copper Misalignment

One of the most frustrating problems occurs when drill holes don’t align with copper pads. This typically results from different origin settings between Gerber and drill export.

Symptoms:

  • Holes systematically offset from pad centers
  • Scaling appears correct but position is wrong
  • Problem affects all holes equally

How to fix:

  1. Use the same coordinate origin for both Gerber and drill file export
  2. In KiCad, enable “Use drill/place file origin” for both exports
  3. In Eagle, verify your CAM job uses consistent origin settings
  4. Open both files in a Gerber viewer and overlay them to verify alignment before submission

Obsolete or Wrong File Format

The industry standard format is RS-274X (Extended Gerber). Submitting files in older formats or manufacturer-specific formats causes import failures and delays.

Gerber Format Comparison

FormatStatusCompatibility
RS-274D (Standard Gerber)ObsoleteAvoid—requires external aperture list
RS-274X (Extended Gerber)Current standardUniversal acceptance
Gerber X2CurrentWide but not universal support
Gerber X3DraftLimited support
ODB++AlternativeMany manufacturers accept

How to fix format issues:

  • Configure your CAD software to export RS-274X format
  • If your manufacturer rejects X2 files, disable extended attributes and re-export
  • Never submit native CAD files (.brd, .pcb, .kicad_pcb) unless specifically instructed—convert to Gerber first

Aperture List Problems

RS-274D files require a separate aperture list defining tool shapes and sizes. This external dependency creates opportunities for errors. RS-274X embeds aperture definitions within the file, eliminating this problem.

How to fix: If you must use RS-274D (you shouldn’t), ensure the aperture list format matches the Gerber file format and is included in your submission. Better solution: switch to RS-274X export.

Layer Misalignment Errors

When different layers of your PCB don’t align correctly in the Gerber files, the manufactured board won’t work. Traces might not connect to pads, solder mask might cover connections, and drill holes might miss their targets.

Causes of Layer Misalignment

CauseDetection MethodPrevention
Different export originsOverlay in viewerUse consistent origin
Incremental vs. absolute coordinatesCheck file headersForce absolute mode
Different unit settingsScaling appears wrongStandardize on mm or inches
CAD software bugsAppears after exportUpdate software, verify output

How to fix: Load all Gerber layers plus drill files into a viewer and overlay them. Toggle layers on and off to verify:

  • Copper pads align with drill holes
  • Solder mask openings expose the correct pads
  • Silkscreen doesn’t overlap pads
  • All layers share the same origin point

Consider adding fiducial marks to your design—these provide clear alignment references visible on multiple layers.

Solder Mask Errors

Solder mask problems affect solderability and board reliability. Common issues include missing openings over pads, excessive clearance, and incorrect polarity.

Common Solder Mask Problems

ProblemVisual SymptomManufacturing Result
Missing openingsMask covers padsCannot solder components
Excessive clearanceOpenings too largeExposed copper between pads
Wrong polarityFile appears invertedAll copper exposed or covered
Empty mask fileNo data exportedManufacturer guesses intent

How to fix polarity issues: Solder mask Gerber files should be “positive”—the drawn areas represent where mask will be removed to expose copper. If your viewer shows solid mask covering everything or nothing, check your CAD export polarity setting.

Eagle 9.20+ specific fix: The CAM Processor defaults “Negative Polarity” checked for solder mask. Uncheck this option before processing.

How to fix empty solder mask files: Some CAD tools generate empty or malformed solder mask files when a layer has no exposed copper (vias only, tented). Verify your solder mask files contain valid Gerber commands, not just header information.

Silkscreen Problems

Silkscreen errors don’t prevent boards from functioning but create assembly problems and look unprofessional.

Silkscreen Issues and Fixes

IssueProblemFix
Text on padsInk prevents solderingEnable “subtract soldermask from silkscreen”
Missing designatorsComponents unidentifiedPlot reference designators layer
Text too smallIllegible after printingMinimum 0.8mm (32 mil) height
Bottom silkscreen missingOnly top exportedManually add bottom silk output
Silkscreen extends past boardPrints on panelClip silkscreen to board outline

How to fix silkscreen on pads: Modern CAD tools include an option to automatically remove silkscreen from solder mask openings. In KiCad, enable “Subtract soldermask from silkscreen.” In Altium, this is handled by clearance rules.

Vectorized Pad Errors

Some CAD software exports surface mount pads as clusters of small vectors rather than single solid shapes. This phenomenon most commonly affects solder mask and paste mask layers.

Why it matters: Vectorized pads slow down CAM processing, may cause imaging problems during fabrication, and increase file sizes unnecessarily.

How to fix: Configure your CAD software to generate “flash pads” instead of “vector pads.” The exact setting location varies by tool:

  • In Altium, check the Gerber export options for pad generation method
  • In older Eagle versions, this may require CAM job modification
  • If stuck with vectorized files, ask your manufacturer if they can process them (most can, with extra time)

Composite Layer Errors

When CAD software splits a single copper layer into multiple Gerber files (one for pours, one for traces, one for pads), manufacturers must manually reconstruct the complete layer.

How to fix: Check your CAD export settings to ensure each physical layer exports as a single Gerber file. In some tools, this requires disabling “separate positive and negative” or similar options. Verify by loading your exported files—you should have exactly one file per physical layer.

Unclear File Naming

While not technically an error, unclear file names increase the risk of manufacturers misinterpreting your design.

File Naming Best Practices

DoDon’t
Use Protel extensions (.GTL, .GBL)Use generic extensions (.gbr for all)
Include layer descriptionUse numbers only (layer1.gbr)
Match your stackup documentUse your CAD tool’s cryptic defaults
Be consistent across projectsChange conventions randomly

How to fix: Enable “Protel filename extensions” in KiCad. In Eagle, use manufacturer-provided CAM jobs that include proper naming. Create or download a naming convention reference and follow it consistently.

How to Verify Your Gerber Files Before Submission

Prevention is easier than fixing problems after submission. Implement these verification steps before every order.

Pre-Submission Verification Checklist

StepWhat to CheckTool
1. File completenessAll layers presentFile manager
2. File validityNo zero-byte filesGerber viewer
3. Layer alignmentAll layers registerGerber viewer overlay
4. Drill alignmentHoles centered on padsGerber viewer overlay
5. Solder maskPads exposed correctlyGerber viewer
6. OutlineClosed, no gapsGerber viewer
7. DFM checkManufacturing violationsOnline DFM tool

Useful Resources for Verification

ToolTypeURL
HQDFM (NextPCB)Online viewer + DFMnextpcb.com/free-online-gerber-viewer
GerbvFree desktop viewergerbv.github.io
ViewMateFree/paid desktop viewerpentalogix.com
KiCad GerbViewFree desktop viewerkicad.org
Altium 365 ViewerOnline vieweraltium.com/viewer
JLCPCB ViewerOnline viewer + orderjlcpcb.com
PCBWay ViewerOnline viewer + orderpcbway.com

Frequently Asked Questions

What should I do if my manufacturer says files are missing but I included everything?

First, verify your ZIP file actually contains all the files you think it does—occasionally files fail to add during compression. Check that none of your files are zero bytes (empty). If files are present and non-empty, the issue may be file recognition. Unclear naming can cause automated import systems to miss files. Ask your manufacturer which specific files they need, and either rename your files to match their expected naming convention or include a readme document mapping your file names to layer functions.

How do I fix drill files that show holes offset from pads?

Drill-to-pad misalignment almost always results from different coordinate origins between Gerber and drill exports. In your CAD software, ensure both exports use the same origin reference point (board origin, absolute origin, or aux axis origin—just make them match). Export both file types again with consistent settings. Before resubmitting, load the new files into a Gerber viewer and overlay the drill layer on a copper layer. Zoom in on several pads to verify holes are centered. If alignment is still off after matching origins, check for unit mismatches (inches vs. millimeters) which would cause 25.4x scaling errors.

Why does my solder mask appear inverted in the Gerber viewer?

Solder mask polarity confusion is common. The industry convention is “positive” polarity where drawn features in the Gerber file represent areas where mask will be removed (pad openings). If your viewer shows the entire board covered or entirely exposed, your CAD tool may have exported with inverted polarity. Check your export settings for a “negative” or “polarity” option and ensure it’s set for positive/normal output. Some Eagle versions default to negative polarity for solder mask—uncheck this option in the CAM Processor before export.

Can manufacturers fix minor Gerber errors, or do I need to regenerate files?

Many manufacturers can make minor corrections during their CAM review process, but this adds time and introduces risk. Issues like missing silkscreen layers, minor clearance violations, or silkscreen-on-pad problems can often be corrected. However, more significant problems—missing drill files, wrong formats, misaligned layers, incorrect outlines—require you to fix the source files and resubmit. Even when manufacturers can fix problems, they charge engineering fees for the time involved. Fixing errors yourself before submission is faster, cheaper, and ensures the corrections match your design intent.

What’s the difference between a drill file and a drill map?

A drill file contains NC (numerical control) code that directly programs drilling machines. It includes coordinate data for each hole location and tool definitions for each hole size. File extensions are typically .DRL, .XLN, or .NC. A drill map is a visual reference document showing hole locations and sizes in human-readable form—think of it as a diagram of your drill pattern. While useful for documentation, drill maps cannot be processed by manufacturing equipment. If your manufacturer requests a drill file and you provide a drill map, they cannot drill your board. When exporting from your CAD tool, select “Generate Drill File” or similar, not “Generate Drill Map” or “Generate Drill Drawing.”

Conclusion

Common Gerber file errors share one thing in common: they’re all preventable. Missing files result from incomplete checklists. Alignment errors come from inconsistent export settings. Format problems happen when export options aren’t verified. Every error in this guide can be caught before submission with systematic verification.

Build a personal verification routine: export your Gerbers, open them in a viewer, overlay all layers, verify alignment, run a DFM check, then submit. The few extra minutes this takes pays back in faster turnaround, fewer engineering questions, and boards that work correctly the first time.

When errors do slip through, respond quickly with corrected files. Provide context about what you changed so the manufacturer can verify the correction. And document what went wrong so you can add that specific check to your verification process for next time.

The goal isn’t perfection—it’s systematic improvement. Each error you catch teaches you what to check for, building toward a personal process that catches problems before they become expensive manufacturing delays.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.

  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.

Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.