CNC Machining Cavity Parts: How Pockets, Cores and Deep Cavities Are Actually Cut
Cavity parts are the parts where the tool has to go inside and cut something the tool itself can barely reach. This page explains how material is removed, where the geometry stops being machinable, and how to decide between 3-axis, 4-axis and 5-axis cavity work before you send a drawing out for quote. Written for design engineers and manufacturing engineers who need to defend a decision in a design review.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
What makes a cavity part different from a surface part
A surface part is cut from the outside in. The tool approaches the stock from open space and every point on the finished face is reachable by a straight line. A cavity part is the opposite. The finished geometry encloses volume, so the tool must enter through a restricted opening and cut material it cannot see. That single fact drives almost every design rule that follows.
The cutting tool is a cylinder with a flute length. It has a diameter, a corner radius and a maximum depth it can reach without chattering. When we machine a pocket or an internal core, the tool body has to fit through the opening, reach the floor, and still have enough stiffness to hold tolerance. If any of those three conditions fails, the feature is not machinable as drawn, no matter how good the CAM software is.
This is why cavity parts are quoted differently from open parts. We look at the deepest cavity, the smallest internal radius and the number of faces that need a second setup. Those three numbers usually decide whether the part runs on a 3-axis machine, a 4-axis mill-turn, or a simultaneous 5-axis center.
- 1Enclosed volumeThe tool enters through an opening, so reach and clearance matter more than raw spindle power.
- 2Tool stiffnessA long, thin tool deflects. Deflection shows up as taper on the wall and a floor that is not flat.
- 3Setup countEvery side of a cavity part that cannot be reached in one orientation adds a setup and a re-datum.
The four numbers that decide whether a cavity is machinable
Depth-to-diameter ratio is the first gate. A carbide end mill cutting aluminium or stainless is stable up to roughly 4:1 in a rigid holder. Beyond that, we step down to a smaller radial engagement, reduce feed per tooth, and often accept a rougher wall that needs a finishing pass with a longer reach tool. At 8:1 you are in specialty-territory: reduced neck tools, high-pressure coolant through the spindle, and slower cycle time.
Internal corner radius is the second gate. A pocket cut with an Ø10 mm end mill always leaves an Ø10 mm corner before finishing, unless you use a smaller tool or a corner-radius cutter. If your drawing calls for a sharp internal corner in a pocket deeper than 20 mm, the answer is usually a wire EDM insert or a broached corner, not a milled one. Designers who specify R0.5 in a 40 mm deep pocket should expect either a very slow smaller tool or a design change.
Wall thickness is the third gate. Thin walls deflect under cutting force. In aluminium, a 1.0 mm wall at 30 mm tall is workable with light finishing passes. In 304 stainless or Ti-6Al-4V, the same wall needs support material, a fixture that backs the wall, or a different process. We have run walls down to 0.5 mm in aluminium on parts that were later anodized, but that requires a conversation before the drawing is frozen.
Floor radius is the fourth gate. A flat-bottom pocket with a sharp internal floor corner is only possible if the tool can plunge. Ball-nose tools leave a scalloped floor. If the floor has to be flat and the corner sharp, you need a fillet radius at the floor equal to at least the corner radius of the cutter, typically R0.5 to R2.0 mm.
- 1Depth to diameterKeep under 4:1 for standard tooling. 4:1 to 8:1 needs reduced-neck tools and slower feeds.
- 2Internal radiusMatch the corner radius to the largest tool that fits the pocket, not the smallest you can find.
- 3Wall thicknessAluminium: 1.0 mm workable. Stainless and titanium: 2.0 mm and up unless supported.
- 4Floor cornerAdd R0.5–R2.0 mm at internal floor corners so a radiused cutter can reach the floor.
When 3-axis is enough and when 5-axis cavity machining pays off
A 3-axis vertical mill can cut any cavity that opens upward. If the pocket floor is perpendicular to the Z axis and the walls are vertical or drafted, a 3-axis machine with a good fixture handles it. The limitation is orientation. Every face that is not normal to Z needs either a re-setup or an angle fixture.
A 4-axis mill with a rotary table adds rotation about one axis. For cavity parts with features on four sides of a prismatic block, this removes two or three setups. The rotary table on our 4-axis mills is Ø400 mm, which suits cavity housings up to roughly 300 mm across without a tailstock.
Simultaneous 5-axis is where curved cavity geometry becomes practical. A 5-axis center tilts the tool so a short, stiff cutter can reach a deep wall at the correct contact angle. The tool stays short, the wall finish improves, and the number of setups drops to one or two for the whole part. Our 16 simultaneous 5-axis machining centers run cavities with compound angles, blended internal radii and non-planar floors without special fixturing.
The trade-off is programming time and machine rate. A cavity that can be cut in two 3-axis setups should stay on a 3-axis machine. Simpler setup, easier inspection, lower cost. Move to 5-axis when the geometry forces it: intersecting pockets at compound angles, deep cavities with undercut walls, or a tolerance that depends on a single datum that cannot be re-established between setups.
- 13-axisBest for open pockets, vertical walls, floors normal to Z. Lowest cost per part.
- 24-axisAdds a single rotary axis. Good for prismatic housings with features on four sides.
- 35-axisNeeded for compound angles, undercut walls, non-planar floors, single-datum tolerance.
How we sequence a cavity so the walls stay straight
Roughing removes most of the volume with a large tool. We use adaptive or trochoidal paths to keep radial engagement constant and reduce heat. On aluminium 6061 and 7075, a Ø16 mm carbide end mill at 12,000 rpm and 3,000 mm/min feed removes material quickly without loading the flutes. On 17-4PH stainless, the same cutter runs much slower and we accept a longer roughing cycle to protect the tool.
Semi-finishing brings the walls within 0.3 to 0.5 mm of final size. This pass is where we correct any deflection from roughing. If the cavity is deep, we check the wall with an on-machine probe before finishing. That step catches a bent tool before it becomes scrap.
Finishing uses the shortest possible tool. In a deep cavity we often switch to a reduced-neck end mill or a high-feed cutter with a small corner radius. Cutting forces drop, wall straightness improves, and surface finish lands in the Ra 0.8–1.6 μm range without a separate polish. Where the drawing calls for Ra 0.2–0.8 μm, we add a finishing pass at lower feed per tooth and higher spindle speed, sometimes followed by bead blasting.
Inspection happens in two stages. In-process probing checks critical wall positions and floor depths while the part is still in the fixture. Final inspection on a CMM confirms the cavity dimensions against the model. Every part is inspected before shipment, and dimensional reports are available on request.
- 1RoughLarge tool, adaptive paths, constant radial engagement, controlled heat.
- 2Semi-finishLeave 0.3–0.5 mm. Probe deep walls before committing to finish.
- 3FinishShortest reach tool available. Lower feed per tooth for Ra 0.2–0.8 μm.
Material choice changes cavity rules more than most engineers expect
Aluminium is the easiest cavity material. 6061-T6 and 7075 cut fast, hold a 1.0 mm wall at moderate depth, and finish well with standard carbide. 2024 is stronger but gummier and tends to build up on the cutting edge, so we slow the spindle and increase coolant pressure. ADC12 die-cast aluminium behaves differently again because porosity in the casting can open up when a thin wall is machined.
Stainless is where cavity design gets strict. 303 and 304 work-harden if the tool rubs instead of cuts, so we keep a minimum chip load and never dwell. 17-4PH (SUS630) in the H900 condition machines cleanly but requires more tool changes. 316L for medical and food-contact parts is machinable, but deep cavities should be designed with a minimum 2.0 mm wall unless the part is backed by a fixture.
Titanium and Inconel are the hardest cavity materials we run. Ti-6Al-4V conducts heat poorly, so the cutting edge stays hot and the tool wears quickly. Deep cavities in titanium usually mean reduced depth of cut, slower speeds, and a design review before the part is quoted. Inconel is worse; we often recommend a cast or additively manufactured near-net shape with only the critical faces machined.
Surface finish options interact with cavity geometry. Anodizing adds a few micrometres and can round a sharp internal edge. Electroless nickel builds uniformly, which helps a worn cavity but changes the dimension. Bead blasting inside a deep pocket is difficult to do evenly, so we usually restrict blasting to reachable faces and specify a machined finish for the cavity floor.
- 1Aluminium 6061 / 7075Fast, stable, 1.0 mm walls workable. Best cavity material.
- 2Stainless 304 / 17-4PHWatch work hardening and tool wear. Keep minimum chip load.
- 3Titanium and InconelSlow, hot, expensive. Review the design before quoting.
How cavity accuracy is verified before the part ships
A cavity part cannot be checked with calipers on the bench. The walls are inside, the floor is often not flat, and the datum is frequently a face that is no longer accessible. We plan inspection at the same time we plan the machining sequence, so the datum used for the CMM matches the datum used in the fixture.
In-process probing is the first line. After semi-finishing, we probe the wall positions and floor depths on the machine. If a wall has drifted more than 0.05 mm from nominal, we adjust the finishing pass rather than scrap the part. This is especially useful on deep cavities where a long tool has deflected.
Final inspection runs on a CMM with a scanning head for curved cavity surfaces. We verify critical dimensions, wall thicknesses and floor flatness against the model. Tolerances down to ±0.005 mm (±0.0002 in) are achievable on cavity features when the design allows a rigid setup and a short finishing tool.
Reports are available on request. Raw material certificates, in-process records and final dimensional reports can be packaged with the shipment. For medical and automotive cavity parts, the inspection plan is written before production starts so the records match the qualification requirements.
- 1Datum planningCMM datum matches the machining datum to avoid stacked error.
- 2In-process probingCatches drift before finishing, when the part can still be corrected.
- 3CMM finalScanning head for curved cavity surfaces, reports on request.
Cavity feature versus machining approach
Use this table to match a cavity feature to the process that will hold it. If two rows conflict, the tighter tolerance governs.
| Cavity feature | Typical limit | Recommended approach | Watch out for |
|---|---|---|---|
| Open pocket, depth < 4× tool Ø | Ø2 mm min tool | 3-axis with standard end mill | Chip evacuation in blind pockets |
| Deep pocket, depth 4–8× tool Ø | Reduced-neck tool | 3-axis with reduced-neck cutter | Wall taper from tool deflection |
| Sharp internal corner | R0.2 mm practical | Small cutter or EDM corner | Long cycle time, tool breakage |
| Compound-angle wall | Non-planar contact | Simultaneous 5-axis | Programming time, machine rate |
| Undercut inside cavity | No straight-line access | 5-axis or split-part design | Inspection access |
| Thin wall, 1.0 mm in aluminium | 1.0 mm at 30 mm tall | Light finishing passes, back support | Chatter, wall bowing |
| Thin wall, 2.0 mm in 304 SS | 2.0 mm at 25 mm tall | Rigid fixture, low radial engagement | Work hardening, tool wear |
| Floor Ra 0.2–0.8 μm | Mirror finish floor | Finish pass plus optional polish | Cost per part, handling damage |
The practical verdict on cavity design
Design for a 4:1 depth-to-diameter ratio, put a radius in every internal corner, and keep walls above 1.0 mm in aluminium and 2.0 mm in stainless. If the cavity needs compound angles, undercut walls or a tolerance tied to one datum, go to 5-axis and stop trying to fixture around it.
Cavity machining questions engineers ask before quoting
What is the smallest internal corner radius you can machine in a cavity?
It depends on the depth. A shallow pocket can take an R0.2 mm corner with a small cutter. In a deep cavity, the tool that reaches the floor is limited by its length-to-diameter ratio, so the practical radius grows to R1.0 mm or more.
If the drawing requires a sharp internal corner in a deep cavity, we normally recommend a design change or a wire EDM corner insert. Trying to mill it with a long, thin tool adds cycle time and risk without a reliable result.
How deep can you machine a pocket without a special tool?
With standard carbide end mills in a rigid holder, we stay near 4:1 depth-to-diameter. A Ø10 mm cutter reaches about 40 mm comfortably. Beyond that we switch to reduced-neck or high-feed tools and reduce the radial engagement.
At 8:1 and deeper, cycle time increases and wall finish becomes harder to control. We will usually flag this in the DFM analysis and suggest a design change or an EDM operation for the deepest section.
Can you machine a cavity with an undercut inside?
Yes, with a 5-axis machine and a lollipop or T-slot cutter, or by tilting the part so the undercut face becomes reachable. Both approaches add programming time and reduce tool stiffness.
If the undercut is large, splitting the part into two pieces that are machined separately and then joined can be cheaper and easier to inspect. We review this trade-off during DFM.
What wall thickness should I specify for a stainless cavity part?
For 304 or 316L stainless, keep the wall at 2.0 mm or more unless the part can be backed by a fixture. Thin stainless walls chatter, work-harden and bow. The material is also less forgiving than aluminium when the tool rubs.
For 17-4PH in the H900 condition, 2.0 mm is a reasonable minimum. If the design needs 1.0 mm in stainless, we will run a test cut and may recommend a different process or a design change.
Does cavity machining take longer than open-surface machining?
Usually yes, because the tool has to be smaller and the passes are more conservative. A deep cavity with a 4:1 depth-to-diameter ratio might take two to three times longer than the same volume cut as an open pocket.
The bigger cost driver is often setup count, not cutting time. A cavity part that needs four orientations on a 3-axis machine can sometimes be cut in one 5-axis setup, which shortens the overall schedule even if the spindle time is similar.
What files do you need to quote a cavity part?
A STEP or IGES model plus a 2D drawing with tolerances, material and finish. If you have them, add the critical dimensions and the datum scheme. That lets us give a meaningful DFM analysis rather than a rough estimate.
Uploads are secure and confidential. An NDA is available on request, and we return a quotation with free DFM analysis within 12 hours.
Send a cavity part drawing and get a manufacturability answer
We review depth-to-diameter ratios, corner radii and wall thickness before quoting, so you get a DFM note with the price instead of a surprise after the first cut.
12-hour quoteFree DFM analysis100% inspectionNo MOQ