LEARN · 2026-10-07
How to fasten 3D-printed parts: self-tapping screws vs heat-set inserts vs captive nuts vs through-bolts (M2–M5 hole sizes)
What hole size for screws in 3D prints? Compare self-tapping screws, heat-set inserts, captive hex nuts and through-bolts for strength, torque and reusability, with M2–M5 self-tap holes, heat-set insert holes (vendor reference values), nut pocket sizes, and tightening torque versus washer bearing pressure.
Four ways to fasten a printed part
Plastic is far weaker and softer than a steel screw, so the question with printed parts is not whether the screw is strong enough but whether the plastic pulls out, crushes or strips first. There are four common approaches: drive a self-tapping screw straight in, melt in a heat-set insert, trap a hex nut in a pocket, or pass a bolt all the way through and tighten a nut.
| Method | Pull-out strength | Torque | Reuse | Installation | Cost | Best for |
|---|---|---|---|---|---|---|
| Self-tapping screw | ★★ | Low (M3 about 0.3–0.5 N·m) | Threads wear after 5–10 cycles | Easiest | Lowest | Enclosures, covers, rarely opened joints |
| Heat-set insert | ★★★★ | Medium–high (limited by insert spin-out) | Dozens of cycles or more | Needs a soldering iron | Low | Products and jigs that are opened often |
| Captive hex nut | ★★★★ | High (steel-on-steel thread) | Practically unlimited | Needs a pocket, maybe a print pause | Lowest | Structural parts, higher clamp loads |
| Through-bolt + nut | ★★★★★ | Highest (limited by bearing pressure) | Unlimited | Needs access to both sides | Low | Load paths, clamps, pivots |
The star ratings compare the same screw size in PLA / PETG. Real pull-out forces depend on material, perimeter count, wall around the hole and print orientation and can differ several-fold — print and test a coupon with your settings when you need numbers.
TIPMany products mix methods: self-tapping screws for the housing, heat-set inserts for the service hatch that is opened repeatedly, through-bolts for the load-bearing bracket.
Self-tapping screws: hole size and boss design
The simplest option is to draw the hole smaller than the screw and let the screw form its own thread. Machine screws work, but screws designed for plastics (smaller flank angle, coarser pitch, e.g. PT-style) create less radial stress and are less likely to split the boss.
Self-tap hole ≈ 0.9 · d (typically 0.85–0.95 · d) engagement ≥ 2 · d boss OD ≥ 2.5 · d
| Size | Self-tap hole 0.9d (mm) | Engagement depth (mm) | Boss OD ≥ 2.5d (mm) | Lid clearance hole (FDM, ISO 273 medium + 0.2) |
|---|---|---|---|---|
| M2 | 1.8 | 4 | 5 | 2.6 |
| M2.5 | 2.25 | 5 | 6.3 | 3.1 |
| M3 | 2.7 | 6 | 7.5 | 3.6 |
| M4 | 3.6 | 8 | 10 | 4.7 |
| M5 | 4.5 | 10 | 12.5 | 5.7 |
- Brittle PLA wants the larger hole (about 0.95 d) to avoid cracking; tougher PETG and nylon can go to 0.85 d for more engagement.
- Surround the hole with perimeters, not infill: at least 3–4 walls, or add a local modifier around screw holes in the slicer.
- Orient the screw axis vertical (perpendicular to the bed): the hoop stress then runs within each layer instead of prying layers apart.
- Add a 0.5 mm chamfer or countersink at the entry to centre the screw and stop the rim from lifting.
- Don't reassemble the same hole too often; when you do, turn the screw backwards until it drops into the existing thread, then tighten.
TIPThe tap drill calculator's "3D print self-tap hole" row gives the 0.9·d hole directly, together with ISO 273 clearance and counterbore sizes.
Heat-set inserts: hole sizes and installation
A heat-set insert is a knurled brass nut that you press into a printed hole with a soldering iron. The surrounding plastic melts into the knurls and solidifies, giving the part a metal thread that survives repeated assembly and higher torque — the go-to method for functional parts.
| Size | Recommended hole (mm, vendor reference) | Insert length L (mm) | Min. hole depth L + 1 (mm) | Suggested boss OD ≈ 2 × hole (mm) |
|---|---|---|---|---|
| M2 | 3.2 | 4 | 5 | 6.4 |
| M2.5 | 3.6 | 5.7 | 6.7 | 7.2 |
| M3 | 4 | 5.7 | 6.7 | 8 |
| M4 | 5.6 | 8.1 | 9.1 | 11.2 |
| M5 | 6.4 | 9.5 | 10.5 | 12.8 |
The table shows vendor reference values for common standard inserts (e.g. Ruthex or CNC Kitchen sizes). Outer diameters and lengths differ between brands and between short and long versions, so always follow the data for the inserts you actually buy. Make the hole about 1 mm deeper than the insert so displaced plastic has somewhere to go and the insert doesn't bottom out and tilt.
- Fit a flat or dedicated insert tip and set the iron near the filament's print temperature (about 200–220 °C for PLA).
- Place the insert small end down on the hole, align the iron vertically and press lightly — let the heat sink it rather than forcing it.
- Stop about 0.1–0.2 mm below the surface, remove the iron and press flush with a flat metal plate while the plastic is soft so the insert stays square.
- Let it cool before driving a screw. If the insert spins, the hole was too large or heated too long — go 0.1 mm smaller next time.
TIPKeep at least 3–4 perimeters around the hole, and install the insert on the side that is pulled toward the screw head so the load pushes it into the plastic. The tap drill calculator lists reference insert holes for each size too.
Captive hex nut pockets: sizes and printing tricks
Model a hexagonal pocket, drop in a standard ISO 4032 nut and you have a steel thread at almost no cost and with high strength. The pocket stops the nut from turning, so you only need to drive the screw from the other side.
| Size | Nut across flats s (mm) | Nut height m (mm) | Pocket across flats s + 0.2–0.3 (mm) | Pocket depth m + 0.2 (mm) | Pocket across corners e (mm) |
|---|---|---|---|---|---|
| M2 | 4 | 1.6 | 4.2–4.3 | 1.8 | 4.91 |
| M2.5 | 5 | 2 | 5.2–5.3 | 2.2 | 6.06 |
| M3 | 5.5 | 2.4 | 5.7–5.8 | 2.6 | 6.64 |
| M4 | 7 | 3.2 | 7.2–7.3 | 3.4 | 8.37 |
| M5 | 8 | 4.7 | 8.2–8.3 | 4.9 | 9.53 |
Across corners e = across flats / cos 30° ≈ 1.155 × across flats (when drawing a hexagon by its circumscribed circle in CAD, enter e, not the across-flats size)
- Top-loaded pockets: the screw hole above the pocket is an overhang — leave a 0.2 mm sacrificial layer on top of the pocket and drill through it after printing.
- Side-loaded slots: make the slot across flats + 0.2–0.3 mm wide and nut height + 0.2 mm tall; ideal when the nut goes in after printing.
- With a horizontal hole axis, put a corner of the hexagon at the top: the two upper faces are at 60° to horizontal and need no support.
- Fully enclosed nuts: add a pause at the layer just below the pocket roof (Marlin M600, Prusa M601, Klipper PAUSE), drop the nut in and resume.
TIPDownload an ISO 4032 nut from the hex nut generator into your assembly, add 0.2–0.3 mm clearance and subtract it with a Boolean — no more mis-sized pockets.
Through-bolts and nuts: clamp load and bearing pressure
When the bolt passes through the whole part and a nut tightens on the far side, the steel carries the load and the plastic is only clamped, so this is the strongest method and can be reassembled indefinitely. The only limit is whether the plastic under the head and nut crushes or creeps.
Preload F ≈ T / (K · d) (K ≈ 0.2) bearing pressure p = F / A A = π/4 · (outer diameter² − hole²)
| M3 tightening torque | Preload F | Under socket head (A = 14.7 mm²) | With ISO 7089 washer (A = 29.4 mm²) |
|---|---|---|---|
| 0.3 N·m | 500 N | 34 MPa | 17 MPa |
| 0.4 N·m | 667 N | 45 MPa | 23 MPa |
| 0.5 N·m | 833 N | 57 MPa | 28 MPa |
For an M3 socket head cap screw (ISO 4762, 5.5 mm head) through a ⌀3.4 mm hole: at 0.4 N·m the preload is about 667 N and the pressure under the head about 45 MPa — high for PLA or PETG, which will creep and lose preload over time. An ISO 7089 washer (7 mm OD) doubles the bearing area and cuts the pressure to about 23 MPa. That is why M3 screws in plastic should be tightened to only 0.3–0.5 N·m, always with a washer.
- Clearance holes: ISO 273 fine or medium plus 0.2 mm on FDM (3.4–3.6 mm for M3); use a teardrop for horizontal holes.
- For high clamp loads press a metal sleeve (compression limiter) into the hole so the clamp force goes through the sleeve instead of the plastic.
- For vibrating joints use nylon-insert lock nuts or a threadlocker that is safe for plastics.
- For pivots and hinges use shoulder screws or a bronze bushing so rotation happens on metal.
TIPThe socket head cap screw, hex nut and washer generators all export ISO-sized STEP files for checking clearance and tool access in your assembly; from M6 up you can also choose the 3D-print thread mode and print the threads directly.
FAQ
What hole size should I model for screws in a 3D print?
For M3: self-tap hole about 2.7 mm (0.9 d); clearance hole 3.4–3.6 mm (ISO 273 plus 0.2 mm); heat-set insert hole per the vendor, 4.0 mm for common standard inserts; hex nut pocket 5.7–5.8 mm across flats and 2.6 mm deep.
Heat-set inserts or self-tapping screws — which is better?
Self-tapping screws are simplest for lightly loaded joints that are rarely opened. For repeated assembly or higher torque use heat-set inserts: the thread is metal and survives dozens of cycles without wearing.
Can I install heat-set inserts without a soldering iron?
Forcing them in other ways tends to tilt them or crack the part. Without an iron, use a captive hex nut pocket instead — it gives a steel thread of similar strength and needs no tools.
Can I print the threads directly?
Yes, from about M6 up — a 0.4 mm FDM nozzle can barely resolve an M3's 0.5 mm pitch. The screw and nut generators have a 3D-print thread mode (external thread 0.15 mm smaller, internal 0.2 mm larger); print screws standing up with ≤ 0.12 mm layers.
Why does my part crack when I drive the screw?
Usually the hole is too small, the boss too thin, or the screw axis lies parallel to the layers. Open the self-tap hole to 0.95 d, make the boss at least 2.5 d, use 4 perimeters and print with the screw axis vertical; control torque and add a washer.