A 42CrMo transmission shaft that has to hold HRC 28–32 without warping, a 17-4 PH robot joint that has to hit HRC 40 while keeping hole position within ±0.02 mm, a 7075-T6 drone arm that has to survive a hard landing without denting — every one of these parts is a heat treated CNC part. Heat treatment is the step that turns a soft, machinable alloy into a hard, wear-resistant component, but it is also the step that introduces the most tolerance risk. Get the heat treatment process wrong and your CNC precision evaporates in the furnace. This guide covers what we have learned running heat treated CNC parts for automotive, drone, robotics and medical brands across 23 years: the five common heat treatment processes, the seven hardness targets you will be asked to hit, the four distortion-control techniques that hold ±0.02 mm after quench, the post-HT machining discipline, and a 5-step process chain you can hand to any qualified shop. For the broader framework on material selection, see our stainless steel CNC guide.
What is a heat treated CNC part
A heat treated CNC part is any CNC machined metal component that has been subjected to a controlled thermal cycle (heating, soaking, cooling) to alter its mechanical properties — hardness, strength, toughness, wear resistance — after the rough machining stage.
Heat treatment happens in three places in the manufacturing flow:
1. Pre-machining — annealing or normalizing to soften stock for easy cutting, then machined, then re-hardened at the end
2. Mid-machining — rough machined, heat treated, then finish machined (most common for tight-tolerance parts)
3. Post-machining — fully machined, then heat treated (highest distortion risk; only acceptable for non-critical-tolerance parts)
For OEM parts that must hold ±0.02 mm or better after heat treatment, the mid-machining HT flow is the right answer: leave 0.10–0.30 mm of material on every critical face, heat treat, then finish grind or finish mill back to final dimension.
5 common heat treatment processes for CNC parts
1. Through-hardening (quench + temper)
The steel is heated to austenitizing temperature (800–900°C for medium-carbon steels), soaked, then quenched in oil or water to form martensite, then tempered at 150–650°C to hit the target hardness. Through-hardening delivers uniform hardness across the cross-section. Typical materials: 1040, 4140, 42CrMo, 4340. Typical hardness range: HRC 28–55.
2. Case hardening (carburizing)
Low-carbon steel (1018, 1020, 20CrMnTi) is heated in a carbon-rich atmosphere, soaking carbon into the surface to roughly 0.5–2.0 mm depth, then quenched. Result: hard surface (HRC 55–62), tough core. Used for gears, shafts, splined hubs where the surface must resist wear but the core must absorb shock.
3. Induction hardening
Localized surface heating with an induction coil, followed by water or polymer quench. Hardens only the heated zone (typically 1–3 mm depth), leaves the rest of the part soft. Used for shaft bearing seats, cam lobes, gear teeth. Fast (seconds per part), repeatable, low distortion.
4. Precipitation hardening (age hardening)
Aluminum (6061-T6, 7075-T6), stainless (17-4 PH, 15-5 PH), titanium (Ti-6Al-4V) alloys are solution treated, quenched, then aged at moderate temperature (150–550°C) to precipitate intermetallic phases that block dislocation motion. Result: significant strength gain without the distortion risk of martensitic quench. Typical hardness gain: 30–100% over annealed condition.
5. Nitriding
Steel is heated to 500–580°C in an ammonia atmosphere; nitrogen diffuses into the surface to form hard nitrides. No quench required — minimal distortion. Surface hardness up to HV 1000 (roughly HRC 70). Used for tools, dies, gears, and any part where post-HT straightness is critical.
| Process | Materials | Hardness | Distortion risk | Cost (relative) |
|---|---|---|---|---|
| Quench + temper | 1040, 4140, 42CrMo | HRC 28–55 | High | 1.0× |
| Carburizing | 1018, 20CrMnTi | HRC 55–62 (case) | Medium | 1.3× |
| Induction hardening | Medium-carbon steel | HRC 50–60 (case) | Low | 1.5× |
| Precipitation hardening | 6061, 7075, 17-4 PH | HRC 18–44 | Very low | 1.4× |
| Nitriding | Alloy steels, tool steels | HRC 60–70 (case) | Very low | 1.6× |
7 hardness targets you will be asked to hit
| Application | Material | Process | Hardness target | Tolerance |
|---|---|---|---|---|
| Drive shaft | 42CrMo | Quench + temper | HRC 28–32 | ±0.02 mm post-HT |
| Transmission gear | 20CrMnTi | Carburizing | HRC 58–62 (case) | ±0.03 mm |
| Robot joint | 17-4 PH | Precipitation | HRC 40–44 | ±0.02 mm |
| Drone arm | 7075-T6 | Precipitation | T6 temper | ±0.05 mm |
| Bearing race | 52100 | Through-hardening | HRC 60–64 | ±0.01 mm |
| Medical surgical tool | 17-4 PH | Precipitation | HRC 38–42 | ±0.02 mm |
| Mold insert | H13 | Quench + temper | HRC 50–54 | ±0.005 mm |
For automotive applications that must meet Cpk ≥ 1.33, our IATF 16949 CNC guide covers the QMS framework.
4 distortion-control techniques that hold ±0.02 mm
1. Stress relieve before finish machining
After rough machining, run a sub-critical anneal (600–650°C for 1 hour, slow cool) to relieve machining-induced residual stress. Without stress relieve, the part will distort during the final quench because the residual stress releases unevenly.
2. Quench in polymer or oil (not water)
Water quench is fastest but causes the most distortion. Oil quench is slower and softer. Polymer quench (PAG — polyalkylene glycol) gives a tunable cooling rate between oil and water. For high-carbon steels (≥0.4% C), oil or polymer is mandatory to avoid quench cracking.
3. Press quench or fixture quench
Long thin parts (shafts, rods) distort severely during quench because gravity acts unevenly on the hot, soft austenite. Press quench (part held between flat plates during quench) or fixture quench (part held in a contour-matched fixture) holds straightness within 0.02 mm per 100 mm.
4. Stabilize temper
After the initial quench + temper, run a sub-zero treatment (-70°C for 2 hours) to convert any retained austenite to martensite, then a final temper at 150–200°C below the original temper temperature. This reduces post-HT dimensional drift over the part's service life.
Post-HT machining: grinding, EDM, or hard turning
Once a part is hardened, standard carbide tooling will not cut it efficiently. Three post-HT processes dominate.
Grinding
Surface grinding, cylindrical grinding, and centerless grinding are the standard post-HT finishing operations. For hardened steel parts, aluminum oxide or CBN grinding wheels deliver surface roughness Ra 0.2–0.8 μm and dimensional accuracy ±0.005 mm.
Wire EDM and sinker EDM
For complex hardened features (sharp corners, small radii, deep slots), EDM (electrical discharge machining) is the right answer. EDM works on any conductive material regardless of hardness. Wire EDM accuracy ±0.005 mm; sinker EDM accuracy ±0.01 mm.
Hard turning
Modern PCBN (polycrystalline cubic boron nitride) inserts can turn hardened steel up to HRC 65 in a single pass. Hard turning replaces grinding for round features (bearing seats, journals, threads) and is often faster and cheaper. Surface roughness Ra 0.4–0.8 μm typical.
| Process | Hardness range | Surface roughness | Tolerance | Best for |
|---|---|---|---|---|
| Surface grinding | Any | Ra 0.2–0.8 μm | ±0.005 mm | Flat faces |
| Cylindrical grinding | Any | Ra 0.2–0.8 μm | ±0.003 mm | Round features |
| Wire EDM | Any (conductive) | Ra 0.4–0.8 μm | ±0.005 mm | Complex features |
| Hard turning | Up to HRC 65 | Ra 0.4–0.8 μm | ±0.005 mm | Bearing seats |
5-step process chain for heat treated CNC parts
Step 1: Material stock and rough machining
Stock arrives in the annealed condition (≤ HRC 22 for steels, T0 for aluminum). Rough machine to near-net shape, leaving 0.10–0.30 mm stock on every critical face.
Step 2: Stress relieve
Sub-critical anneal at 600–650°C for 1 hour, slow cool. This relieves machining-induced residual stress.
Step 3: Heat treatment
Send to the heat treatment supplier with a detailed process specification: material, austenitizing temperature, soak time, quench medium, temper temperature, temper duration, target hardness, distortion allowance. For IATF 16949 parts, the HT supplier must be on the approved supplier list with PPAP documentation.
Step 4: Finish machining or grinding
Finish mill or grind the critical features back to final dimension. Measure every dimension on every part — heat treatment will shift some dimensions by 0.05–0.20 mm, and the shift is not always predictable.
Step 5: Final inspection and documentation
Final dimensional inspection with CMM, hardness testing (Rockwell or Vickers) on every lot, surface roughness measurement, and a certificate of conformance that includes the HT batch number, the heat treatment parameters used, and the actual hardness results.
| Stage | Cycle time | Cumulative |
|---|---|---|
| Material prep + rough machining | 2–3 days | 2–3 |
| Stress relieve | 1 day | 3–4 |
| Heat treatment | 2–3 days | 5–7 |
| Finish machining / grinding | 2–3 days | 7–10 |
| Final inspection + documentation | 1 day | 8–11 |
For the broader DFM logic that controls heat treated CNC part cost, see our DFM analysis guide. For an automotive Tier 1 case study, our EV motor housing guide walks through a real production program.
Conclusion
Heat treatment is the step that turns a CNC machined soft alloy into a hard, wear-resistant component — but it is also the step that introduces the most tolerance risk. Pick the right process for the application (quench + temper for through-hardenable steels, carburizing for gears, induction for shafts, precipitation for stainless and aluminum alloys, nitriding for low-distortion case hardening), lock the seven critical tolerances (leave 0.10–0.30 mm stock on critical faces, distortion ≤ 0.02 mm per 100 mm post-HT, hardness within ±2 HRC of target, surface roughness per the finish specification, flatness and concentricity within drawing), and choose a heat treatment supplier that is on your approved supplier list with full PPAP and Cpk documentation. If you are ready to talk about your next heat treated CNC project, send your STEP file, drawing, and hardness specification to our team. Request a quote today and let our 23 years of heat treated CNC experience work for your brand.
Need a heat treated CNC part quote? Send your STEP file, drawing and hardness specification — DFM review included, firm quote within 24 hours.
