How to cnc a pcb

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: CNC milling a PCB involves using a computer-controlled machine to physically carve out the copper traces and pads from a copper-clad board. This process requires specialized software to convert your circuit design into toolpaths and a CNC machine equipped with a fine-tipped milling bit.

Key Facts

Overview

Creating a Printed Circuit Board (PCB) typically involves either chemical etching or mechanical milling. CNC (Computer Numerical Control) milling offers a precise, dry method for fabricating PCBs at home or in a small workshop. Instead of dissolving unwanted copper with chemicals, a CNC machine physically removes copper to define the conductive paths and pads of your circuit.

What is CNC Milling for PCBs?

CNC milling uses a router or milling machine controlled by a computer. For PCBs, this means a small, high-speed spindle holds a very fine milling bit. This bit follows a path dictated by your circuit design files, carving away copper to leave behind the desired traces and pads. This process is also known as subtractive manufacturing because you start with a full sheet of copper-clad material and subtract the unwanted parts.

The CNC Milling Process Step-by-Step

  1. Design Your PCB: First, you need to design your circuit using PCB design software (e.g., KiCad, Eagle, EasyEDA). The software generates Gerber files, which are the industry standard for describing PCB layers.
  2. Generate G-Code: PCB design software typically includes a CAM (Computer-Aided Manufacturing) processor or can export files compatible with CAM software. This step converts your Gerber files into G-code, a set of instructions that tells the CNC machine exactly where to move the milling bit, at what speed, and at what depth. Key parameters include trace width, isolation (the gap between traces), and milling depth.
  3. Prepare Your CNC Machine: Ensure your CNC machine is properly set up. This includes securing the PCB blank (a piece of copper-clad substrate like FR-4) firmly to the machine's bed. It's crucial that the board does not move during the milling process. You'll also need to install the correct milling bit, typically a V-groove bit for PCB work, and set the machine's 'zero' point (origin) relative to the PCB.
  4. Set Up the Milling Bit and Depth: The choice of milling bit is critical. V-groove bits are preferred because their conical shape allows for precise control over trace width and depth. The depth setting is paramount: it must be deep enough to cut through the copper but shallow enough not to damage the underlying substrate. A common depth is around 35-70 micrometers, just enough to clear the copper layer.
  5. Mill the Traces: Load the G-code into your CNC machine's control software and start the milling process. The machine will meticulously carve out the copper according to the G-code instructions. This can take a significant amount of time, depending on the complexity of the board and the speed of your machine.
  6. Clean Up: After milling, carefully remove the board from the machine. You may need to brush away any loose copper debris. Sometimes, a light sanding might be necessary to ensure clean edges.
  7. Drill Holes: If your design includes through-holes for components, these will need to be drilled. This can often be done on the same CNC machine using a standard drill bit, or with a separate drill press.
  8. Plating and Soldermask (Optional): For more advanced PCBs, you might consider plating the traces for better conductivity or applying a soldermask for protection. These steps are typically beyond the scope of basic home CNC milling.

Advantages of CNC Milling

Disadvantages of CNC Milling

Key Considerations for Successful CNC PCB Milling

CNC milling is a powerful technique for prototyping and small-batch PCB production, offering an alternative to chemical etching that is cleaner and offers high precision.

Sources

  1. Printed circuit board - WikipediaCC-BY-SA-4.0
  2. DIY PCB Milling with a CNC Router - Eagle Blogfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.