For heat-set inserts in 3D printed parts, three things decide whether the joint works: the hole diameter, the hole depth and the amount of solid plastic around the hole. For a common M3 brass insert that means a 4.0 mm hole, at least 1 mm deeper than the insert is long, with 2 mm or more of wall around it printed as solid perimeters. Most failures I see trace back to one of those three, and usually to the last.
The numbers below are for FDM parts in PLA, PETG, ABS and ASA. Nylon from an SLS machine behaves similarly. Resin doesn't, and I'll come to that.
Hole size: start from the datasheet, then correct for the printer
Insert makers publish a recommended hole diameter, and it's the number to use. The trouble is that "M3 heat-set insert" covers a dozen different geometries. Some are straight with two knurled bands, some are tapered, some are 3 mm long and some are nearly 6. Their outer diameters differ by several tenths, and so do their holes.
| Thread | Typical insert OD | Typical hole | Typical length |
|---|---|---|---|
| M2.5 | 3.6 to 4.0 mm | 3.2 to 3.5 mm | 3 to 5 mm |
| M3 | 4.4 to 4.6 mm | 4.0 mm | 3 to 5.7 mm |
| M4 | 5.6 to 6.1 mm | 5.6 mm | 4 to 8 mm |
| M5 | 6.8 to 7.1 mm | 6.4 mm | 5 to 9.5 mm |
Treat that table as a sanity check and not a specification. If you've bought a bag of unbranded inserts with no datasheet (most of us have), measure one with calipers. The working rule I use is a hole about 0.4 to 0.5 mm smaller than the diameter across the knurls, and never smaller than the plain pilot end of the insert, which has to drop into the hole by hand so the insert stands straight before any heat is applied.
Then correct for the printer. FDM holes come out small. A circle is printed as short straight segments on the inside of the curve, the plastic shrinks as it cools, and the result is commonly 0.1 to 0.2 mm under the CAD value on a vertical hole. A 4.0 mm hole that prints at 3.8 mm is too tight: the insert displaces more plastic than the hole can absorb, and the excess goes up into the thread or bulges the boss. I've covered the general pattern in the article on 3D-printing tolerances by process.
My habit is boring and it works. I print a small coupon with five holes in 0.1 mm steps around the nominal size, install an insert in each, and keep the one that goes in smoothly with a thin, even ring of displaced plastic at the top. Fifteen minutes of printing, once per material and printer. After that the offset goes into the CAD model as a parameter.
Depth: leave room for the plastic you displace
The plastic that the knurls push aside has to go somewhere, and most of it goes down. If the hole is exactly as deep as the insert, that melt collects underneath, cools into a plug, and the screw bottoms out on it two turns before it's tight.
So the hole is the insert length plus 1 to 1.5 mm.
It needs more if the screw is long, and that part gets forgotten. Check the stack. If a 10 mm screw passes through a 3 mm lid into a 5 mm insert, there are 2 mm of screw past the end of the insert, and the hole has to be deep enough for that too. Where the wall allows it, I make the hole a through hole with a smaller diameter beyond the insert seat, which gives melt and screw a way out and lets me see from the back whether the thread is clear.
A small lead-in helps as well. A 0.5 mm chamfer at the mouth, or a counterbore about 0.3 mm deep and slightly wider than the insert, centres the insert and gives the displaced ring a place to sit, so the top surface stays flat.
The wall around the hole matters more than infill
Here's the mistake that surprises people: a correctly sized hole in a part printed with two perimeters and 15 percent infill holds almost nothing. The insert melts into a shell less than 1 mm thick, and behind that shell there's mostly air. Pull on the screw and the insert takes a thin ring of plastic with it.
What grips the knurls is solid material, so the boss needs to be solid. I aim for at least 2 mm of wall around an M3 insert and 2.5 to 3 mm for M4 and M5, and I make sure the slicer actually fills it: four or five perimeters around the hole, set with a modifier on that region if the rest of the part doesn't need them. Raising infill for the whole part is a slow, heavy way of getting the same result.
Edge distance follows from that. An insert whose hole is 1 mm from the outside face of an enclosure will bulge the face during installation and split it later.
Orientation plays a part too. A hole printed along the Z axis is round and its walls are continuous loops, which is the strong case. A hole printed sideways is slightly oval, sags at the top, and the boss around it is a stack of layers that the insert can wedge apart. If an insert has to go into a horizontal hole, I add wall and expect to ream the hole to size before installing.
Installing them without tilting
A soldering iron with a proper insert tip costs little and is worth it, because a conical tip sits loosely in the thread and lets the insert lean. Prusa's guidance for its own inserts is the printing temperature of the filament plus 10 to 20 °C, which puts PLA at about 220 to 230, PETG near 250 to 260 and ABS or ASA around 265 to 275. Hotter isn't better. An overheated insert turns the surrounding plastic to liquid, sinks under its own weight and can be twisted loose once it cools.
Press gently, and let the heat do the work.
It should take three to five seconds for an M3. I stop with the insert about 0.5 mm proud, take the iron away, and press it flush with something flat and cold: a steel rule, the back of a chisel, a scrap of aluminium plate. That last push squares the insert to the surface while the plastic is still soft, and it's the single habit that got rid of crooked screws for me.
How they fail, and what each failure tells you
A failed insert is a decent diagnostic tool if you look at it before throwing the part away.
- Pulls straight out with a thin skin of plastic on it: not enough perimeters, or the hole was too large.
- Spins when you tighten the screw: overheated during installation, or an oversized hole so the knurls barely bite.
- Screw stops early or binds: melt in the thread, from a hole that's too small or too shallow.
- Boss cracks along a layer line: wall too thin, or the hole runs parallel to the layers.
- Sits at an angle: no lead-in, a loose iron tip, or it was pushed faster than it melted.
- Loosens after weeks in a warm place: creep. PLA starts to soften at around 55 to 60 °C, and an insert under constant screw tension near a motor or in a parked car slowly walks out.
The last one deserves a note. Last year a founder sent me a small sensor enclosure, printed in PLA with M3 inserts holding the lid against a gasket. It passed every bench test. Units mounted outdoors behind glass started weeping within a month, because the lid screws had lost their preload and the gasket had relaxed. The inserts were installed perfectly. The material was wrong for the temperature, and moving to ASA fixed it without touching the geometry.
What I'd actually do: put the insert on the far side
Everyone installs inserts from the face where the screw goes in, since that's the face you can reach. It means the screw is trying to pull the insert back out the way it came, and the only thing resisting is the grip of the knurls.
Where the design allows it, I do the opposite. The insert goes in from the back of the wall, into a blind seat with a small clearance hole in front of it for the screw. Now tightening the screw pulls the insert against a shoulder of solid plastic. It can't pull out, short of tearing the wall, and the knurls only have to stop it spinning. This takes one extra feature in CAD and makes the joint several times more forgiving of a sloppy hole.
My other rules are short. Use inserts where a joint will be opened more than a handful of times, and use a plain self-tapping screw into a printed pilot hole where it will be closed once. Use a captive hex nut in a pocket when the load is high and space is tight, because a steel nut on a printed shoulder beats any insert in pull-out. And don't use heat-set inserts in SLA resin at all: it's a thermoset, it chars instead of melting, and a press-in or glued insert is the right part.
If the printed part is a step on the way to moulding, design the bosses with that in mind from the start, since the same inserts are used in moulded housings but the boss rules are stricter. The injection molding DFM questions page lists what a moulder will ask.
When I build enclosures and fixtures as part of functional prototyping or mechanical design and 3D modeling work, insert seats are parametric features, so changing supplier means changing one number. If you've got a printed assembly where screws strip, lids lift or bosses crack, you can request a free initial DFM review and I'll send back short written observations on what to change first.