MFG

CNC Drilling, Tapping & Threading: Process & Design Rules

CNC drilling, tapping, and threading make holes and threads in a milling or turning program. Learn depth limits, taps, thread milling, and design rules.

Drilling, tapping, and threading are the hole-making and thread-making operations that usually run inside a milling or turning program rather than as a standalone process. Drilling opens a cylindrical hole; tapping cuts internal threads inside a drilled hole; threading cuts external or internal threads by single-point tool or die. Together they account for a large share of the features on a typical machined part, and their limits, set by chip evacuation, depth ratios, and material behavior, shape much of what is practical to design. As a method within CNC machining, this family of operations is where small geometry decisions have outsized effects on cost and reliability, because a tapped hole that breaks a tool late in a part’s cycle can scrap a nearly finished component.

The three operations share the tolerance and material limits of the host process, milling or turning, but each has its own discipline. The depth a drill can reach, the size a tap can cut cleanly, and the choice between tapping and thread milling all follow from how chips form and clear, and from how the material behaves under a cutting edge that is, in effect, enclosed by the work it cuts.

The three operations

The three operations are related but distinct: drilling removes material to open a hole, tapping cuts internal threads inside an existing hole, and threading covers the broader family of internal and external thread cuts. Each one is chosen for a particular feature, and each fails in a characteristic way when it is pushed past its limits.

Drilling: opening the hole

Drilling creates a hole by feeding a rotating drill into the workpiece, cutting at the tip and flowing chips up the flutes. The drilled hole is the starting point for almost every threaded or precision hole, and its accuracy and finish set the ceiling for what the later operations can achieve. A drilled hole alone carries general tolerances and a relatively rough finish, so features that need precision are drilled undersize and then reamed or bored.

Tapping: cutting internal threads

Tapping cuts internal threads inside a drilled hole using a multi-fluted tap that matches the thread standard, fed at a rate synchronized to the spindle rotation so the thread pitch tracks correctly. It is the default way to cut internal threads because it is fast and economical, particularly in through holes and shallow blind holes where chips can clear. The trade-off is that a tap is enclosed inside the hole it cuts, so any chip jam, pilot-hole error, or work-hardening can break it and scrap the part.

Threading: the broader family

Threading, in the broader sense, cuts threads either internally or externally, with a single-point tool on a lathe, a die, or a thread mill, and it covers the cases where a tap is not the best choice. Single-point threading on a lathe handles larger diameters and external threads, while thread milling solves the deep, large, or hard cases a tap cannot manage. Each operation has a preferred tool geometry, speed, and depth of cut, and each fails in characteristic ways when pushed past its limits.

Drilling in depth

Depth limits and methods

A standard twist drill is accurate to about 4 times its diameter before chip evacuation and drill walk become limiting. Peck drilling, retracting the drill periodically to clear chips, extends that reach and is essential in deeper holes and in materials that pack chips, like stainless and aluminum. For holes deeper than about 4:1, or where straightness matters, gun drilling reaches ratios of 10:1 and beyond by cutting at the tip of a long, internally-coolant-fed drill that supports its own cut. Drilled holes carry a general ISO 2768 tolerance and a relatively rough finish; where a hole must locate precisely or carry a bearing, it is drilled undersize and then reamed or bored to final size.

Failure modes to design around

The two failure modes to design around are chip packing and drill wander. In a deep hole, chips that cannot clear pack at the bottom, friction weld to the drill or the wall, and break the tool. In a thin or hard spot, a drill deflects and wanders off location, which is why precise holes are often spotted or center-drilled first and why very deep precision holes go to gun drilling instead.

Tapping in depth

Cut taps, form taps, and rigid tapping

Tapping is fast and economical for through holes and shallow blind holes, and it is the default way to cut internal threads. A cut tap removes material to form the thread, while a form (roll) tap displaces material to form the thread without cutting chips, which produces a stronger thread and a cleaner blind hole but needs a ductile material and a precisely sized pilot hole. Rigid tapping, where the feed is synchronized to the spindle by the control, lets a tap run at higher speed and retract without cross-threading, and it is standard on modern CNC machines.

Why taps break, and how to prevent it

The classic tap failure is breakage, and it almost always traces to one of three causes: a pilot hole too small for the material, which overloads the tap; chips packed in a blind hole, which jam the flutes; or a material that work-hardens, like stainless, where a dull or slow tap rubs a hard skin and then seizes. Designing around these means sizing the tap drill correctly for the material, choosing a spiral-flute tap that pulls chips up and out of a blind hole, and running work-hardening materials with sharp taps, adequate lubrication, and enough speed to keep cutting rather than rubbing.

Thread milling

Thread milling cuts threads with a single-point cutter that spirals down the hole, and it solves several problems tapping cannot. Because the tool is smaller than the hole, one thread mill can cut a range of diameters, which cuts tooling inventory. It can cut threads far larger than any tap, it leaves a path for chips and coolant, and in hard or tough materials it is far less likely to break and scrap the part, because a broken thread mill can usually be extracted where a broken tap often cannot. The trade-off is cycle time: thread milling is slower than tapping, so it is chosen where its advantages matter, on large diameters, deep holes, hard materials, and high-value parts where a broken tap is catastrophic.

Reaming and boring

Where a drilled hole must hold a tight diameter or a smooth finish, reaming and boring finish it. Both are secondary operations added when the function of the hole, a press fit, a sealing surface, or a bearing seat, demands more than a drilled hole delivers.

Reaming for size and finish

Reaming enlarges a drilled hole by a small amount with a multi-fluted reamer, holding ±0.05mm (±0.002in) or better and leaving a smooth surface suited to a pin or bearing fit. It is fast and economical for holes within its diameter range, and a reamer only sizes the hole it finds, so the drilled location must already be correct. A typical sequence on a precision hole runs spot, drill, and ream, with each step building on the location of the previous one.

Boring for larger diameters

Boring uses a single-point tool on a rotating spindle or boring head to true up and size a hole, reaching close tolerances on larger diameters that a reamer cannot economically cover. Because it cuts with a single point, boring can also correct minor location errors that reaming cannot, and it handles irregular or oversized cavities such as cast bores. The trade-off is cycle time, since boring is slower than reaming and demands a rigid setup to hold both size and straightness.

Tolerances

Drilled holes hold general ISO 2768 tolerances and a finish around Ra 3.2 to 6.3µm (125 to 250µin), which is enough for a clearance hole or a tapped hole but not for a locating or bearing fit. Reamed holes reach ±0.05mm (±0.002in) or better for location and diameter, with a finish around Ra 0.8 to 1.6µm (32 to 63µin). Thread tolerances follow the thread class of fit called out on the drawing, with standard commercial classes covering most assemblies. The hard limit on hole accuracy is depth: beyond about a 4:1 depth-to-diameter ratio a standard drill loses straightness and size, and deeper precision holes need gun drilling or boring.

Spotting, centering, and hole location

A drilled hole is only as well located as the drill’s start, which is why precision holes are spotted or center-drilled before the main drill begins. A spot drill creates a shallow conical start that guides the drill’s tip and keeps it from wandering off location, particularly on curved or angled surfaces where a drill would otherwise skate. A center drill makes a small, accurate start for between-centers work or for a subsequent drilling operation. For holes that must hold tight true position, the sequence often runs spot, drill, and ream, each operation building on the location the previous one established. Skipping the spot step on a precision hole is a false economy, because a drill that wanders at the start cannot be recovered by reaming, which only sizes the hole it finds rather than moving it back to position.

The location of a hole is also affected by the surface it starts on. A drill entering a flat face perpendicular to its axis starts cleanly; a drill entering a curved, angled, or irregular surface tends to walk toward the low side. Where a hole must start on an angled or curved face, the surface is often milled flat locally, or a spot drill with a steeper point angle is used to establish the start before the main drill runs. Designing parts so that critical holes start on flat, perpendicular faces is one of the simplest ways to improve hole accuracy and reliability.

Intersecting and cross-holes

Cross-holes, holes that intersect another hole or cavity, present their own challenges. When a drill breaks through into an existing cavity, the cutting force suddenly drops on one side and the drill can deflect or grab, leaving a bell-mouthed or off-center break-through. Intersecting holes are often drilled in a sequence that manages this, or finished with a reamer or boring bar after the intersection is open. Very deep, small, or intersecting cross-holes that no drill can clear reliably may need EDM, which erodes the hole without relying on chip evacuation and can reach geometries conventional drilling cannot. Designing cross-holes with generous intersections, avoiding very small holes that cross large cavities, and routing lubrication or coolant passages along sensible paths all reduce the risk of a feature that is expensive or impossible to produce.

Cycle integration

Drilling, tapping, and thread milling rarely run alone; they are integrated into the cycle of a milling or turning program, sequenced with the other operations. The ordering matters as much as the operations themselves, because the wrong sequence wastes cycle time or risks scrapping the part.

Operation ordering

A capable programmer orders the operations so that rough drilling happens early, when the part is still rigid and well supported, and precision reaming and tapping happen late, after the part’s critical surfaces are cut and the geometry is stable. Tapping in particular is often scheduled near the end of a cycle, because a tap that breaks deep in a nearly finished part can scrap it, and running it last limits the exposure of the expensive part to that risk.

Machine features that change the cycle

Through-spindle coolant, rigid tapping, and synchronized retract all let these operations run faster and more reliably. Through-spindle coolant delivers fluid right at the cutting tip to clear chips in deep holes, while rigid tapping synchronizes feed to spindle rotation so a tap can run at higher speed and retract cleanly. A well-integrated cycle is where a shop’s process knowledge shows up as shorter cycle times and fewer scrapped parts.

Worked examples

Example: a 6061-T6 aluminum housing needs a row of M6 tapped holes for a cover. Each hole is drilled to the M6 tap-drill size, then tapped with a spiral-flute tap under rigid tapping, holding the standard ISO metric coarse class of fit. Because 6061 is ductile, the same holes could be form-tapped if a stronger thread is wanted, but the pilot hole must then be sized precisely for the displaced material.

Example: a 316 stainless fitting needs a deep through-hole for a fluid passage, at roughly an 8:1 depth-to-diameter ratio. A standard twist drill would wander and pack chips at that ratio, so the hole is peck-drilled with flood coolant and then reamed to ±0.05mm (±0.002in) for the sealing surface, since a drilled hole alone would not hold the diameter tolerance the bore needs.

When not to use this

Conventional drilling and tapping have limits that call for other processes. Very deep, small, or intersecting cross-holes that no drill can clear may need EDM, which erodes the hole without chip evacuation. Very hard materials may resist tapping and call for thread milling or EDM thread cutting. And high-volume simple holes may be more economical on dedicated drilling or stamping equipment than on a general CNC. For the common case, though, drilling and tapping inside a CNC milling or turning program is the standard, economical way to put holes and threads in a part.

File format guidance

  • Call out thread standard, size, class of fit, and depth on the 2D drawing; a STEP alone does not fully define thread data.
  • Mark which holes are reamed or bored to a fit, and give the fit or tolerance, not just a nominal diameter.
  • Note blind versus through holes and the required thread depth in a blind hole, since the model may not show the bottom clearance.
  • Always specify units in the file or filename. Files submitted without explicit units are read against a supplier default and can come out at the wrong scale, a 25.4x error.

Design rules for holes and threads

The design rules below group by feature type, since each kind of hole or thread has its own limiting factor and its own remedy. Reading them as groups rather than a flat list makes it easier to see which rule applies to a given feature on a drawing.

Hole depth and type

Keep hole depth under 4:1 where possible, because beyond that the drill loses straightness and chips pack at the bottom. Beyond about 4:1, plan for peck drilling or gun drilling, both of which add cycle time. Prefer through holes to blind holes wherever the design allows: through holes let chips and the tap lead exit freely, while blind holes trap chips and need a spiral-flute tap and room at the bottom.

Threads and tapped holes

Size the tap drill for the material, since harder and work-hardening alloys need the correct, sometimes larger, pilot hole to avoid overloading the tap. Leave room at the bottom of a blind thread so the tap has lead and chip space below the threaded length; designing the thread to end well short of the hole bottom prevents jamming. Standardize thread sizes, because common UNC, UNF, and metric sizes are cheaper to tool and stock than specials.

Precision holes

Specify reaming where fit matters. A clearance hole can stay drilled, but a bearing or pin fit should be reamed or bored and called out on the drawing with its tolerance. Avoid very small, deep, or intersecting cross-holes, which are hard to drill and clear; very deep small holes may need EDM rather than conventional drilling.

Thread standards

Threads are specified by standard, size, class of fit, and depth. The two systems that cover most CNC work are the imperial ASME B1.1, with UNC (coarse) and UNF (fine) series, and the ISO metric system. The choice follows the assembly the part joins, and the class of fit controls how loosely or tightly the threads engage. Coarse threads (UNC, metric coarse) resist stripping and damage better and assemble faster, so they are the general choice; fine threads offer more adjustment and a larger minor diameter but are more easily cross-threaded. Call all of this out on the 2D drawing, since a STEP model alone does not fully define thread data.

Frequently asked questions

What is the difference between tapping and thread milling?
Tapping cuts a thread with a formed tap in one pass, suited to through and shallow holes. Thread milling uses a single-point cutter that spirals down, giving more control in deep holes, large diameters, and hard materials, and one tool can cut a range of diameters.
How deep can a CNC-drilled hole go accurately?
Accurately to about 4x the diameter with a standard drill. Beyond that the drill wanders and chips pack; gun drilling reaches about 10:1 and beyond.
Can I thread stainless steel on a CNC?
Yes, with sharp taps or thread mills, lower speeds, and good lubrication. Stainless work-hardens if the tap dulls or rubs, which is the main cause of broken taps.
What is a tap drill size and why does it matter?
It is the pilot hole drilled before tapping, sized to leave just enough material for the thread flanks. An undersized pilot overloads the tap and breaks it; an oversized pilot leaves a weak thread.
Are through holes or blind holes easier to thread?
Through holes. Chips and the tap lead can exit the bottom freely. Blind holes trap chips and need room at the bottom, plus a peck or spiral-flute tap to clear them.
When should I ream instead of just drilling?
When a hole needs a tight diameter tolerance or a smooth finish for a bearing or sliding fit. A drill leaves a rougher, looser hole; a reamer brings it to size and finish in one pass.
Which thread standard should I specify?
The one your assembly uses: UNC and UNF (ASME B1.1) for imperial, ISO metric for metric. Call out size, class of fit, and depth on the drawing.
What is the practical minimum thread size?
About M4 or 8-32 for general work. Smaller threads are possible but difficult to tap cleanly, inspect, and rescue if a tap breaks inside.

Sources