Threads in CNC Machining: Classes, Galling and When to Thread Mill

Threads

A thread is the feature most likely to fail at assembly and the one most often specified with a single note: “M6”. The class, the hole size, the material and the assembly frequency decide whether it starts cleanly or galls on the third disassembly.

Quick answer

Specify the thread class (6H for a nut, 6g for a bolt), the minimum engagement and the material. In stainless and titanium, plan for galling: use the right class, a thread insert for repeated assembly, and a test piece. For large or awkward threads, thread milling is often more reliable than tapping. Check the thread with a go/no-go gauge, not a bolt from the bin.

CNC machined PTFE hex bolts and nuts with clean threads
CNC machined PTFE hex bolts and nuts with clean threads

Thread classes in one table

ClassWhere it is usedWhat it means
6HInternal thread (nut)Standard tolerance for a mating 6g bolt; the common default for machined parts
6gExternal thread (bolt)Standard tolerance with a small allowance; the common default for a plated or coated bolt
5H / 4HInternal, tighterLess clearance; used for precision or preload-critical joints
6H modInternal, with allowanceUsed when the thread will be coated or anodised; the allowance protects the fit
8GInternal, looseMore clearance for difficult materials or quick assembly

A thread class is a tolerance, not a quality grade. A 6H thread is not “better” than a 6H mod; it is a different fit. If the part is anodised or plated, the coating builds on the flanks; a standard 6H may become too tight. Mask the thread or use a class with an allowance.

Hole size and engagement

The tap drill size decides the thread’s minor diameter and the percentage of thread engagement. A hole that is too small overloads the tap and can break it; a hole that is too large gives a weak thread. The standard tap drill chart is a starting point, but the material and the class matter.

Engagement matters more than depth. A thread that is 1.5× diameter deep in aluminium may strip before a 1× diameter thread in steel. For soft materials, use a thread insert or increase the engagement. For repeated assembly, a thread insert is often the right answer, not a deeper thread.

Tapping vs thread milling

Tapping is fast and common for small threads in a drilled hole. It needs the right tap, the right lubricant and a hole that is straight. In stainless and titanium, a worn tap galls and tears the thread; a new, coated tap and a test piece are cheaper than a rework.

Thread milling uses a rotating cutter on a helical path. It is slower per hole but more forgiving: one tool can cut several thread sizes, the thread is clean, and the risk of a broken tap in a large part is lower. It is the better choice for large threads, hard materials, awkward locations and parts where a broken tap would be expensive.

At GY we tap and thread-mill depending on the size, material and location. The quote should say which route is used if the thread is critical.

CNC machined parts with tapped and threaded holes
CNC machined parts with tapped and threaded holes

Galling in stainless and titanium

Galling is cold welding: the bolt and the thread seize and tear the surface. Stainless and titanium are both prone to it, especially with stainless-on-stainless or titanium-on-titanium joints. The thread class alone does not prevent it.

The practical controls are: a slightly looser class, a lubricant, a thread insert, a different material for the fastener, and a limit on the assembly torque. For a joint that will be disassembled repeatedly, a thread insert (helical or solid) is often the most reliable answer. It also lets you replace the wear surface without remaking the part.

Threads in soft plastics

PTFE, POM and PEEK behave differently from metal. PTFE cold-flows; a thread can creep under load. POM cuts cleanly but strips if the engagement is short. PEEK is stronger but galls and is expensive. For soft plastics, a thread insert or a metal nut is often better than a tapped plastic thread, especially if the joint is opened more than once.

If the design uses a self-tapping screw in plastic, specify the boss diameter and the screw type. A thread designed for metal may split the boss or strip on the first assembly.

How to inspect a thread

A go/no-go gauge is the standard check. The go gauge must enter the full thread; the no-go gauge must not. A bolt from the bin is not a gauge: it may be undersized, worn or plated, and it does not prove the class.

For critical threads, check the minor diameter, the pitch diameter and the thread depth. On the first article, record the gauge result and the thread depth. If the part is coated, check the thread after coating or confirm that it was masked.

Turned bushings with threaded and grooved features
Turned bushings with threaded and grooved features

Thread milling vs tapping: a cost comparison

Tapping is usually faster per hole, but it is not always cheaper. A broken tap in a large part can cost more than the entire milling operation, and a tap that is slightly worn can tear a thread in stainless or titanium.

FactorTappingThread milling
Cycle time per holeShortLonger (helical path)
Tool costLow per tap, but taps wear and breakHigher per cutter; one cutter covers several sizes
Thread qualityGood if the tap is sharp and the hole is straightClean, controllable, good in hard materials
Broken tool riskHigh in small/deep holes and hard materialsLow; a broken cutter is rare
Best batchHigh volume, small threads, soft materialsLarge threads, hard materials, awkward locations, low volume

For 1,000 M3 holes in aluminium, tapping is usually the right route. For 20 M20 holes in 316 stainless, thread milling is often cheaper once the broken-tap risk is included. The quote should say which route is used if the thread is critical.

Thread classes and coating allowance

A standard 6H internal thread is designed for a 6g bolt with no coating. If the part is anodised, plated or powder-coated, the coating builds on the flanks and the thread becomes tight. The usual solutions are to mask the thread or to specify a class with an allowance, such as 6H mod.

The allowance depends on the coating thickness. Type II anodising is 5–20 µm; Type III is 25–50 µm; plating can be 5–25 µm. A 20 µm coating on each flank can reduce the pitch diameter enough to make a standard bolt bind. Masking is more reliable than guessing an allowance, especially on small threads.

If the thread must be coated, put the allowance on the drawing and prove it with a go/no-go gauge after coating. Do not assume the coater will “keep it loose”.

Galling: a materials table

PairGalling riskWhat to do
Stainless bolt / stainless threadHighAnti-seize, a different alloy, or a thread insert
Titanium bolt / titanium threadVery highDry-film lubricant, insert, or a different pairing
Steel bolt / aluminium threadMediumInsert or increased engagement; aluminium threads wear
Steel bolt / brass threadLow–mediumLubricant; avoid over-torque
Plastic thread / metal boltLow, but stripsInsert or a coarser thread with more engagement

Galling is not a lubrication-only problem. It is pressure, material pair, surface finish and assembly speed. A thread insert removes the stainless-on-stainless or titanium-on-titanium couple and gives you a replaceable wear surface.

Design rules for blind, deep and cross threads

  • Blind holes need a tap drill depth and a thread depth. A thread that runs to the bottom of a blind hole packs chips and breaks taps. Leave 2–3 pitches of clearance below the thread.
  • Deep small threads are a trap. A long, small tap is fragile; the deeper the hole, the higher the break risk. If the thread must be deep, consider thread milling.
  • Cross-holes need a deburr plan. A cross-hole intersects the thread and leaves a burr inside. Specify the deburr and inspect the thread after it.
  • Thread relief helps. A relief groove at the end of a thread gives the tool room to stop and avoids a partial thread.
  • Engagement beats depth. In aluminium, 1.5× diameter engagement is often better than a deeper thread with a thin wall.

Thread inspection and sampling

A go/no-go gauge is the first check. The go gauge must enter the full thread; the no-go must not. For a critical thread, check the minor diameter, the pitch diameter and the depth on the first article. For production, sample every 10th or 20th part, and after every tap change.

If the part is coated, inspect after coating or confirm the masking. A thread that passes before anodising and fails after is a masking problem, not a tapping problem.

A worked example

An M6 thread in 6061, 12 mm deep, 100 parts. Tapping is fast: a spot drill, a 5.0 mm tap drill and a forming or cutting tap. The risk is low if the tap is new and the hole is straight. The thread is checked with a 6H go/no-go gauge.

The same thread in 316 stainless, 12 mm deep, 20 parts. Tapping is slower and the galling risk is higher; a sharp, coated tap and a lubricant are essential. If the part is large and a broken tap would be expensive, thread milling is the safer route, even at a higher cycle time. The quote should reflect the risk, not just the hole count.

Thread standards: metric, UNC, UNF, NPT and BSP

Most machined parts use one of five thread families. The choice is usually set by the mating part or the market, not by the machine shop. Mixing families on one drawing is a common source of assembly errors.

FamilyExampleWhere it is usedWatch
Metric coarseM6 × 1General machinery, European and Asian partsDefault unless the drawing says otherwise
Metric fineM8 × 1Thin walls, adjustment, automotiveLess engagement per turn; check depth
UNC / UNF1/4-20, 10-32US-designed equipment, optics, firearmsDo not substitute metric on a US assembly
NPT1/8-27 NPTPipe threads, pneumatics, hydraulicsTaper thread; sealing depends on engagement
BSP / BSPPG 1/4European pipe fittingsParallel vs tapered; sealing washer

A drawing that says “M6” means metric coarse unless a pitch is specified. A drawing that says “1/4-20” means UNC. If the mating part is unknown, do not guess; send the mating thread or the assembly drawing.

Thread depth and engagement by material

MaterialTypical engagementNotes
Steel1.0× diameterStandard; a longer thread adds little
Aluminium1.5–2.0× diameterThreads strip; consider an insert for repeated assembly
Brass1.5× diameterGood machinability; avoid over-torque
Stainless1.0–1.5× diameterGalling risk; lubricant or insert
Titanium1.0–1.5× diameterGalling; use a dry-film lubricant or insert
POM / PEEK1.5–2.0× diameterCreep and strip; inserts for repeated use

Engagement is not the same as thread depth. A blind hole needs a tap drill depth, a thread depth and a clearance below the thread. If the drawing gives only “M6 × 12 deep”, the shop has to decide whether 12 mm is the thread or the drill. Say which.

A supplier checklist for threaded parts

  • Thread standard, size and pitch.
  • Class (6H, 6H mod) and coating/masking plan.
  • Thread depth and drill depth, especially for blind holes.
  • Engagement required for the material.
  • Whether an insert is allowed or required.
  • Inspection: go/no-go gauge, first article, sampling.
  • Galling risk and lubricant/insert for stainless or titanium.
  • Deburr plan for cross-holes and blind holes.

Common mistakes

  • “M6” with no class. The shop will choose; the assembly may not agree.
  • Anodising an unmasked thread. The coating builds on the flanks and the bolt will not start.
  • Too short an engagement in aluminium. The thread strips before the bolt breaks.
  • A worn tap in stainless. The thread tears or galls; a new tap and a test piece are cheaper.
  • No lubricant on a stainless joint. Galling is a function of pressure and material, not just torque.
  • Checking with a bolt instead of a gauge. A bolt proves that one bolt fits, not that the thread is in tolerance.

FAQ

What does 6H mean on a thread?

6H is the standard internal thread tolerance for a mating 6g bolt. It is the common default for a machined nut or tapped hole.

Should I use a thread insert?

For repeated assembly, soft materials or a joint that must not gall, a thread insert is often the most reliable choice.

Can you tap titanium?

Yes, with a sharp, coated tap, the right lubricant and a test piece. Titanium galls; a worn tap will tear the thread.

Can a thread be anodised?

It can, but the coating builds on the flanks and changes the fit. Most production parts mask threads or use an allowance.

What is the best way to check a thread?

A go/no-go gauge. A bolt from the bin is not a gauge and does not prove the thread class.

Do you thread mill?

Yes, for large threads, hard materials and locations where a broken tap would be expensive. We also tap small threads where it is the efficient route.

What we see at GY on threaded parts

“M6” with no class or depth. The shop chooses; the assembly may not agree. A thread callout should include the standard, the size, the pitch if it is fine, the class and the depth.

Anodising without masking. The coating builds on the flanks and the bolt will not start. Masking the thread is cheaper than re-tapping a coated part.

A worn tap in stainless. The thread tears or galls. A new, coated tap and a test piece are cheaper than a rework.

A blind hole with no clearance. The thread runs to the bottom, the tap packs chips and breaks. Leave 2–3 pitches below the thread.

No insert on a repeated joint. Aluminium or plastic threads wear out. A thread insert is a replaceable wear surface and often the right answer.

A bolt used as a gauge. A bolt proves that one bolt fits, not that the thread is in tolerance. Use a go/no-go gauge.

A 10-point checklist for threaded parts

  1. Thread standard (metric, UNC, UNF, NPT, BSP).
  2. Size, pitch and class.
  3. Thread depth and drill depth.
  4. Engagement for the material.
  5. Coating and masking plan.
  6. Insert allowed or required.
  7. Galling risk and lubricant.
  8. Deburr plan for cross-holes.
  9. Inspection: go/no-go, first article, sampling.
  10. Assembly torque and repeated-use requirement.
Eileen Zheng, GY Machining
Eileen Zheng
Quoting, order follow-up & delivery · GY Machining

Eileen is your single contact from RFQ to shipment: quoting, customer communication, order follow-up and delivery. She works with GY’s engineering team on DFM and first-article approval, and writes about the tolerances, finishes and supplier decisions that decide whether a part assembles.

Scroll to Top