How to export Gerber and drill files from KiCad
The layers, drill files and settings a PCB manufacturer needs, step by step in KiCad, and what to check before you upload.
What your set must contain
- Copper layers: top, bottom and every inner layer of a multilayer board.
- Solder mask: top and bottom.
- Silkscreen (legend): top and bottom.
- The board outline as a closed shape, with cut-outs and slots included.
- Drill files in Excellon format, with plated and non-plated holes in separate files.
- Everything together in one ZIP archive. Paste layers and assembly files are only needed for stencils and assembly.
Step by step in KiCad
Checked against the KiCad 10 manual (current stable version 10.0.8, October 2026); the Plot dialog is the same in recent versions. In KiCad 5 it is under File → Plot. Menu names are quoted as in the English interface of the program.
- Open the board in the PCB Editor and run the design rules check (Inspect → Design Rules Checker). Fix every error.
- Choose File → Fabrication Outputs → Gerbers (.gbr)…. The Plot dialog opens.
- Set Plot format to Gerber and choose an empty Output directory, for example gerbers.
- Under Include Layers tick every layer the board uses: F.Cu, B.Cu and all inner copper layers (In1.Cu, In2.Cu …), F.Mask, B.Mask, F.Silkscreen, B.Silkscreen and Edge.Cuts (the board outline). Leave the paste and fabrication layers off.
- Keep Check zone fills before plotting ticked and Plot drawing sheet unticked. The other Gerber options can stay at their defaults.
- Click Plot. KiCad writes one file per layer into the output folder.
Drill files (Excellon)
- In the same dialog click Generate Drill Files… (or choose File → Fabrication Outputs → Drill Files (.drl)…).
- Set Drill file format to Excellon and Drill units to Millimeters.
- Leave PTH and NPTH in single file, Minimal header and Mirror Y axis unticked. Plated and non-plated holes then go into two separate files.
- Choose the same Origin as in the Plot dialog (Absolute, or Drill/place file origin if you ticked that option there).
- Click Generate Drill File and put the .drl files together with the Gerber files in one ZIP archive.
Check the set before you upload
- Open every file in a viewer (see how to open and check Gerber files).
- Confirm that the outline is closed and that the drill holes sit on the pads.
- Make sure the Gerber and drill files use the same units and the same origin.
- Compare the number of copper layers with what you want to order.
Upload the set to the calculator
Put all Gerber and drill files in one ZIP archive and upload it in the price calculator. The calculator reads the layers, shows a preview of the board and fills in the size and the number of layers. Our engineers still check every file before production. The rules for the files are in the Gerber guide and in the drill file guide.
Common mistakes in KiCad
- Zone fills not refreshed before plotting: copper pours are missing or out of date. KiCad warns that the output may be incorrect if Check zone fills before plotting is off.
- Edge.Cuts left out, or drawn as separate unconnected segments: the board shape is unclear.
- Plated and non-plated holes merged into one drill file.
- A different origin in the Gerber plot and in the drill file: the holes are shifted against the pads.
Frequently asked questions
Which KiCad layers do I have to tick?
All copper layers the board uses, F.Mask and B.Mask, F.Silkscreen and B.Silkscreen, and Edge.Cuts. Paste and fabrication layers are not needed for a bare board.
Do I need the .gbrjob file?
No. It only records the plot settings. It does no harm if it is in the ZIP archive.
Can I send the .kicad_pcb project file instead of Gerber files?
The calculator cannot read .kicad_pcb files, so it cannot show a preview or fill in the settings. Export the Gerber and drill files as described above and upload them in one ZIP archive. You can still send the request with the native file: our team will then contact you.
Which units and format should I use?
Gerber files in RS-274X format and Excellon drill files, both in millimetres and with the same origin. Plated and non-plated holes go into separate drill files.
Browse the questions and answers →
Upload your files and see the price
Add your Gerber files in the calculator: you see the board, the options and an instant price in euros.
Upload files in the calculator →Ask an engineer
Not sure what applies to your board? Describe it in a few lines and our engineers will advise you.