Coupons
Help
  • FAQ
    browse most common questions
  • Live Chat
    talk with our online service
  • Email
    contact your dedicated sales:

How to Add Mounting Holes in KiCad: Footprints, Clearances, and PCB Fabrication

Author : Alex Chen | PCB Design & High-Speed Engineering Specialist

November 26, 2026


Mounting holes look trivial until the board arrives and the screw either won't go in or the head shorts a plane. In KiCad the kicad mounting hole is just another footprint, but the drill file, plating flag, and copper clearance all have to match what the fabricator and the mechanical stack actually need.

Most problems start from treating every hole the same. An M3 standoff clearance hole is not a via, and a plated ground connection is not the same as a bare laminate opening. Get the type, diameter, and keepout wrong and you fight assembly or DFM reviews later.

NPTH and PTH Mounting Holes Serve Different Jobs

NPTH (non-plated through-hole) has bare laminate walls. Use it when the screw or plastic standoff is pure mechanical retention and you do not want metal hardware touching copper. PTH has a plated barrel. Use it when the mounting hardware must connect to ground or a shield, or when you deliberately want a conductive path through the board.

The choice is driven by the mechanical and electrical intent, not by habit. Metal screws into NPTH holes stay isolated only if copper is kept clear of the screw head and washer. PTH holes plate and therefore consume some of the finished diameter; the fabricator drills oversized so the finished size matches the drawing.

Cross-section comparison of NPTH mounting hole (bare laminate wall) versus PTH mounting hole (plated copper barrel) with typical screw hardware.

Placing a kicad mounting hole Footprint

Search the footprint library for MountingHole. KiCad ships several ready-made ones (MountingHole_3.2mm_M3, various NPTH variants). Place the footprint, then set exact coordinates from the mechanical drawing or from a board-edge offset. Rotation is rarely needed unless the courtyard or silkscreen marking is directional.

For a custom size open the KiCad footprint, edit the pad, set type to NPTH Mechanical, make pad diameter equal to hole diameter if you want zero annular ring, and leave the net unassigned. If you need a plated ground connection, switch to Through-hole, assign the net, and size the pad for a proper annular ring. After placement run DRC; the hole-to-copper and hole-to-edge rules will catch most problems before the Gerbers leave.

Coordinates matter more than people expect. A 0.5 mm shift relative to a connector or enclosure feature shows up at assembly. Lock the positions or use the position relative to board origin once the outline is finalized.

Hole Diameter Must Match the Screw and the Process

An M3 screw does not get a 3.0 mm hole. Typical clearance holes sit at 3.2 mm (close fit) to 3.4 mm (normal). Larger if the enclosure tolerance stack is loose or if you expect thermal expansion. The finished diameter is what the screw sees.

For NPTH the number you put in KiCad is essentially the finished size; fabricators drill to that. For PTH the fabricator drills larger by roughly twice the plating thickness plus process allowance, then plates down to the finished size you specified. Always state finished hole size on the fab notes and confirm the drill file matches.

Board thickness also matters. A 1.6 mm board with a short standoff may not give enough thread engagement; thicker boards need longer screws or longer standoffs. Check the mechanical stack before locking the hole size.

Copper Keepout Around Mounting Holes

Copper too close to an NPTH is the classic DFM flag. Even if the screw is insulated, drill wander, routing tolerance, and the screw head or washer diameter can bridge to a plane or trace. A practical minimum is 0.2–0.3 mm from the hole edge to any copper; increase to 0.5 mm or more when a metal washer or screw head is present and isolation is required.

In KiCad set the local clearance on the pad or add a keepout zone on the copper layers. Zone fills respect the clearance, but a manual pour or a trace that sneaks under the screw head will not. Check both sides; a ground pour on the bottom layer is easy to miss.

For PTH grounding holes the annular ring must still meet the fabricator's minimum (typically 0.15–0.2 mm after plating). Too small and the pad lifts or the barrel cracks under mechanical load.

Top-view of insufficient copper clearance

Positioning for Enclosure and Connector Alignment

Mounting holes are part of the mechanical system. Place them relative to the board outline, connector faces, and enclosure bosses, not relative to component centroids. Symmetric layouts reduce board bow when screws are tightened. Minimum hole-to-board-edge is usually 1.0–1.5 mm for standard processes; closer and the edge can chip or the hole can break out during routing.

Export the board outline and hole positions to the mechanical CAD package and verify against the enclosure drawing before releasing Gerbers. A 0.3 mm offset that is invisible in the PCB editor becomes a problem when the connector shell hits the wall of the box.

How Fabricators Treat NPTH versus PTH

NPTH holes are typically drilled after plating or masked so they receive no barrel copper. They appear in the drill file as non-plated. PTH holes are drilled before plating and receive the copper barrel. If the Gerber and drill files disagree with the fab notes, CAM will either plate a hole you wanted bare or leave a hole unplated that you expected to ground.

Call out the distinction clearly: "Mounting holes M1–M4 are NPTH, finished diameter 3.2 mm, no plating." Or "Mounting holes connected to GND are PTH, finished diameter 3.2 mm." Ambiguous files generate questions or, worse, boards that do not match the intent.

Pre-Release Checks That Catch Most Failures

Measure every mounting hole diameter in the drill file against the mechanical requirement. Confirm hole-to-edge and hole-to-copper clearances on both outer layers. Verify that NPTH holes have no net and no copper pad that would force plating. Check that PTH grounding holes have annular rings that survive the fabricator’s minimum and that the net is actually connected in the schematic and layout.

Open the Gerbers in a viewer and look at the copper and mask around each hole. Mask opening should not expose copper that the screw can touch unless that contact is intentional. Finally, confirm the positions against the enclosure drawing one last time. These checks take minutes and prevent the most common assembly returns.

Mounting Hole Release Checklist

  • Hole type (NPTH or PTH) matches the mechanical and electrical intent.
  • Finished diameter matches the screw or standoff clearance requirement.
  • Copper keepout or annular ring satisfies isolation or grounding needs.
  • Hole-to-board-edge distance meets process minimum.
  • Positions verified against enclosure and connector datums.
  • Drill file, Gerbers, and fab notes agree on plating and size.
  • DRC run with correct clearance rules; no unexplained warnings remain.

When you kicad add mounting holes, treat them as mechanical features first and electrical features only when required. The footprint is simple; the clearances, finished sizes, and plating flags are what keep the board from fighting the screws or the fabricator.

FAQ

Q1: How do I add a mounting hole in KiCad?

A1: Place a MountingHole footprint from the library or create a pad set to NPTH Mechanical with pad size equal to the desired finished hole. Position it by absolute coordinates.

Q2: What diameter should I use?

A2: Finished hole diameter is set by the fastener. For an M3 screw a 3.2 mm NPTH is a common starting point; confirm against the standoff or enclosure drawing and the fabricator’s tolerance.

Q3: Does a mounting hole need copper?

A3: Only if you want the hardware to connect electrically. Pure mechanical holes are NPTH with copper kept clear of the screw head and washer. Grounding holes are PTH with a proper annular ring tied to the net.

Q4: How do I avoid copper shorting the screw?

A4: Set a keepout or pad clearance larger than the screw head or washer radius plus process tolerance. Inspect both copper layers in the Gerber viewer before release.

Alex Chen | PCB Design & High-Speed Engineering Specialist Alex Chen | PCB Design & High-Speed Engineering Specialist

Alex Chen is a senior PCB design engineer with extensive experience in high-speed and high-density circuit design. He specializes in signal integrity, impedance control, and multilayer PCB layout optimization. At AIVON, he reviews and refines content related to PCB design principles, EDA tools, and advanced layout techniques. His expertise helps engineers avoid common design pitfalls and improve performance, reliability, and manufacturability in complex PCB projects.

Related Tags


2026 AIVON.COM All Rights Reserved
Intellectual Property Rights | Terms of Service | Privacy Policy | Refund Policy