HONGYI
How Should You Plan Heat Treatment Before and After CNC Machining?
CNC Machining

How Should You Plan Heat Treatment Before and After CNC Machining?

Heat treatment belongs in the CNC machining plan before drawings are released for quotation. Its position in the route affects the material condition presented to the cutter, the amount of recoverable stock, distortion risk, tool access, final tolerances, inspection timing, cost, and delivery.

The right sequence follows the part’s function. Material supplied in a suitable treated condition may need no additional thermal cycle. Other parts may need annealing before roughing, stress relief between machining stages, or hardening and tempering before critical interfaces are finished.

A sound specification therefore defines the final properties, identifies geometry vulnerable to movement, and separates dimensions completed before heat treatment from those accepted afterward. The RFQ should give the machining supplier and heat treater enough controlled information to plan one coordinated route.

Does the CNC Machined Part Need Heat Treatment?

Heat treatment is necessary only when the specified material condition cannot provide the required wear resistance, fatigue life, strength, toughness, or dimensional stability. Confirm the functional outcome first, because an unnecessary thermal cycle adds cost, scheduling, inspection, and distortion risk without automatically improving the part.

Metal stock and machined pieces in different material conditions arranged for engineering review.

Start with the service requirement, not the name of a thermal process. A part may need resistance to surface wear, a tough core, greater section hardness, improved fatigue behavior, or better stability during later machining. Those needs do not point to the same route.

Some materials can be purchased in a condition already suitable for machining and service. Tempered aluminum and pre-hardened steel are examples of supplied conditions that may avoid another thermal cycle. Suitability still depends on the exact grade, condition, geometry, loading, operating environment, and downstream operations.

Before adding heat treatment to the drawing, resolve these questions:

  • Which property controls acceptance: hardness, toughness, strength, wear behavior, or dimensional stability?
  • Is that property required throughout the section or only on selected surfaces?
  • Can the required material condition be obtained in purchased stock?
  • Will later welding, forming, coating, or machining change that condition?
  • Which dimensions and surface-finish zones must survive treatment or be restored afterward?

Common specification mistake: The drawing says only “heat treat.” That phrase does not distinguish stress relief, annealing, full hardening, tempering, or case hardening. It also fails to define where the result matters. State the required final material outcome1 and treated region, then let the supplier review a compatible route for the actual alloy and geometry.

In practical terms, heat treatment should solve a documented service or manufacturing problem. It should not serve as a general signal of quality.

When Should Heat Treatment Occur Before CNC Machining?

Use heat treatment before CNC machining when the incoming material needs a more machinable or stable condition for roughing. Annealing, normalizing, or stress relief may be appropriate depending on the alloy, supplied condition, residual-stress risk, geometry, and properties required after subsequent machining and thermal processing.

Tool-steel blocks in a machinable condition beside a CNC milling setup for roughing.

Pre-machining treatment2 establishes the condition in which the first major cutting operations occur. Annealing or normalizing may make tool steels and alloy steels more workable for rough machining. Stress relief may be considered when rolled, forged, or previously processed stock contains internal stress that could be released as material is removed.

Incoming condition or concern Treatment decision to review RFQ information needed
Stock is harder than desired for roughing Annealing or a more machinable purchased condition Exact grade, current condition, stock form, and final property requirement
Material condition should be standardized before cutting Normalizing where appropriate to the alloy and route Material specification, prior processing, and later thermal sequence
Heavy cutting may release internal stress Pre-machining or intermediate stress relief Part envelope, removed volume, thin sections, datums, and critical geometry
Suitable treated stock may be available Purchase treated stock or arrange a separate preliminary cycle Required condition, sourcing constraints, quantity, and delivery expectations

The drawing and RFQ should identify more than the alloy family. State the incoming grade and condition, whether the buyer will supply material, and whether the supplier may source stock already in the required state. The material’s prior condition changes tooling assumptions, cutting strategy, and the remaining heat-treatment route.

Example: A tool-steel block contains deep pockets and requires substantial material removal, but the RFQ names only the alloy. One supplier assumes annealed stock; another assumes a harder supplied condition. Their tooling, cycle-time, and thermal plans are not comparable. Defining the incoming condition puts both quotations on the same technical basis.

Should Heat Treatment Be Placed Between Rough and Finish Machining?

Place heat treatment between rough and finish machining when major stock removal should occur in a workable condition but critical dimensions must be corrected after thermal movement. This route is especially relevant when bores, mating faces, sealing surfaces, bearing locations, or alignment features control final fit.

Steel housings shown at rough-machined, heat-treated, and finish-machined stages.

The rough–heat treat–finish sequence separates efficient stock removal from final dimensional control. Rough machining creates the main geometry while the material is workable. The thermal operation then establishes the specified condition or relieves stress. Final machining restores the dimensions and feature relationships that matter after the part has experienced heating and cooling.

A practical routing sequence is:

  1. Confirm the material grade, incoming condition, and required final properties.
  2. Rough machine accessible geometry while preserving planned finishing allowance.
  3. Deburr and prepare the part for the specified thermal operation.
  4. Perform hardening, tempering, stress relief, or the approved combination.
  5. Inspect for movement and confirm that sufficient recovery stock remains.
  6. Finish critical bores, faces, diameters, and datum-related features.
  7. Inspect the completed part in its final acceptance condition.

Do not apply this route indiscriminately to every surface. Clearance pockets, cosmetic edges, and non-contact geometry may remain complete before treatment when their movement does not affect function. Post-treatment work should focus on bearing fits, sealing faces, press-fit regions, locating features, and relationships that justify another setup.

Scenario: A steel housing has a bearing bore controlled from a mounting face. Both features are roughed before hardening, but the final bore size and its relationship to the mounting datum are produced afterward. Non-critical exterior faces remain as treated. This clearly labeled teaching scenario shows why the drawing must distinguish rough dimensions from final post-treatment controls; it is not a customer case.

Where Should You Leave Machining Allowance Before Heat Treatment?

Leave machining allowance on surfaces that require dimensional correction, surface cleanup, or final relationship control after hardening or case hardening. The amount cannot be universal; it must reflect material grade, thermal process, section thickness, geometry, likely movement, final tolerance, and the intended finishing method.

Rough-machined steel parts with journals, bores, and faces left for post-treatment finishing.

Allowance is stock intentionally reserved for a later operation. It provides room to correct size, form, position, or surface condition after heat treatment. Without it, a bore that grows, a face that warps, or a journal that shifts may be impossible to recover without violating the final geometry.

Reserve stock selectively on:

  • Bearing bores, seal diameters, and press-fit regions requiring final size control.
  • Mounting faces whose flatness, parallelism, or perpendicularity affects assembly.
  • Shaft journals whose straightness, runout, or concentricity matters.
  • Surfaces scheduled for final cutting or grinding after thermal processing.
  • Datum features needed to establish the final machining and inspection setup.

A blanket allowance is rarely helpful. Excess stock increases hardened-state cutting, tool wear, setup effort, and the possibility of removing a required case-hardened layer. Too little stock leaves no correction margin. The machinist and heat treater should review the proposed allowance against treated depth, masked zones, wall thickness, abrupt section changes, expected movement, and final tool access.

The drawing or process sheet should distinguish four conditions: rough-machined size, reserved stock3, surfaces accepted as treated, and dimensions required after final machining. A dimension that applies only before treatment should be labeled accordingly. Final acceptance dimensions should be unmistakable.

Common specification mistake: The CAD model shows final geometry, while the purchase order requests rough machining before hardening without an allowance map. The shop must guess which surfaces need stock, risking insufficient recovery material or unnecessary post-treatment machining.

Which Part Geometries Create the Greatest Heat-Treatment Distortion Risk?

Thin, long, asymmetric, unsupported, or uneven-section geometry creates the greatest heat-treatment distortion concern. These shapes respond less uniformly to heating and cooling and may already contain stress from stock production or rough machining, so sequence, support, material-removal balance, allowance, and final inspection require early review.

Slender, thin, and asymmetric machined parts arranged for distortion and straightness inspection.

Distortion risk is not determined by the heat-treatment name alone. Geometry affects how regions heat and cool, how the part can be supported, and how residual stress redistributes. The machining route matters too: heavy removal from one side can leave an initially straight part unbalanced before treatment.

Geometry characteristic Likely dimensional concern Specification or routing response
Thin flange or broad plate Warping or loss of flatness Balance material removal, review support, and preserve correction stock
Long slender shaft Sagging, bow, or straightness change Define support, functional axis, final journal machining, and inspection condition
Asymmetric component Uneven movement during heating and cooling Consider staged roughing, intermediate stress relief, and localized finishing
Abrupt section change Different thermal response between thick and thin regions Review transitions, treatment route, and inspection locations
Thin wall beside a heavy boss Local movement and difficult post-treatment clamping Protect tool access, plan distributed support, and define the free-state measurement condition4

The RFQ should flag critical flatness, straightness, runout, concentricity, and cross-face relationships. A nominal size tolerance may miss the functional issue. Where relationships control assembly, establish accessible datums and use appropriate geometric controls.

Example: A long shaft has a bearing journal at each end and substantial material removed from one side of its center section. End-diameter tolerances alone do not control the resulting axis. The supplier needs the complete model, functional datum axis, final straightness or runout requirement, proposed roughing balance, and inspection condition before selecting support and finishing operations.

Which Features Should Be Machined After Hardening?

Machine features after hardening when their final size, form, position, surface condition, or datum relationship must be corrected in the treated state. Limit this work to functional interfaces where possible, because hardened-state machining can increase tooling demands, cutting forces, setup sensitivity, cycle time, and inspection effort.

CNC machine finishing a bearing bore in a darker heat-treated steel housing.

Post-hardening machining5 should protect function rather than become a blanket requirement. Strong candidates are features whose acceptance could be compromised by thermal movement or whose final surface must be generated after the material reaches its specified condition.

Review the part by feature function:

  • Fits and rotation: Bearing bores, shaft journals, press fits, and aligned diameters may require final size, runout, or concentricity control.
  • Sealing: Seal diameters and mating faces may need final geometry and a localized surface-finish requirement.
  • Location: Dowel holes, datum bores, mounting faces, and critical hole patterns may need finishing after the part has moved.
  • Assembly: Interfaces controlling position, parallelism, perpendicularity, or alignment may justify post-treatment correction.
  • As-treated regions: Wear surfaces and case-hardened zones may need to remain untouched if later cutting would remove or alter the treated layer.

Check accessibility in the treated state. A feature that is easy to reach in soft stock may become expensive to finish when nearby geometry limits cutter approach or when suitable clamping surfaces have already been removed. The RFQ should mark the exact post-treatment surfaces while leaving the supplier room to propose tooling and workholding.

Surface finish must be local as well. A sealing face may need controlled roughness, while an adjacent non-contact face can remain as treated or normally machined. If a later coating is planned, state whether dimensional acceptance occurs before or after finish buildup.

Before release, verify that allowance, datum recovery, tool access, and the planned inspection method remain workable after distortion. If any of those fail, revise the sequence instead of depending on an uncertain recovery cut.

How Should Hardening, Tempering, and Case Hardening Be Specified?

Specify the complete thermal route and final material outcome, not hardness as an isolated note. Distinguish full hardening with subsequent tempering from case hardening, and identify treated zones, areas that remain soft or masked, later-machined surfaces, material grade, geometry constraints, and final acceptance requirements.

Shafts, gears, and pins with selected working surfaces and protected assembly regions prepared for heat treatment.

Hardening changes the material condition to create a harder section or working surface. Tempering follows full hardening when the required result includes toughness and reduced brittleness rather than maximum hardness alone. Case hardening is considered when a wear-resistant surface and a differently conditioned core are both important.

Functional requirement Route to evaluate Drawing and RFQ controls
Hardened section with controlled toughness Hardening followed by tempering Exact material grade, final mechanical target, critical geometry, and later machining
Wear-resistant surface with a tougher core Compatible case-hardening route Treated zones, required case outcome, masked areas, and surfaces that remain uncut
Improved stability without higher service hardness Stress relief Roughing sequence, critical form controls, and dimensions completed afterward
Better machinability before roughing Annealing or normalizing where suitable Incoming condition and the later hardening route

The chosen route must suit the specified alloy. A process label cannot be applied to every grade with an equivalent outcome. The machinist and heat treater need the material condition, relevant stock history, section geometry, treated boundaries, and final functional requirements.

A zone-based heat-treatment drawing6 is often clearer than a broad note. It can distinguish the working surface, masked thread, soft assembly region, and surfaces scheduled for later machining.

Common specification mistake: A shaft drawing requests a hard surface but does not say whether the entire section or only a journal is treated. It also omits a threaded region that must remain machinable. That ambiguity changes masking, distortion planning, final cutting, and inspection. Define the complete route and the boundaries of its result.

Which Tolerances and Inspections Must Apply After Heat Treatment?

Apply final-condition tolerances and inspection to features whose size, form, orientation, or location can change during heat treatment and affect function. The drawing must distinguish pre-treatment controls from final acceptance requirements and connect each critical feature to a suitable measurement condition, inspection scope, and required record.

Heat-treated shaft and housing undergoing final dimensional inspection on a granite table.

Inspection before heat treatment confirms only the pre-treatment condition. It cannot establish that a mounting face remains flat, a shaft remains straight, or a bore remains correctly located after heating and cooling. Final acceptance should focus on features and relationships that affect assembly or service.

Use a tiered specification:

  • Functional features: Bearing bores, sealing surfaces, press fits, journals, dowel holes, and alignment features need explicit final controls where they affect function.
  • Assembly relationships: Position, flatness, perpendicularity, parallelism, coaxiality, runout, or profile may communicate intent better than tightening every size dimension.
  • Non-critical geometry: Clearance pockets, cosmetic edges, and non-contact surfaces can often remain under general or looser tolerances.
  • Material outcome: Identify the locations where hardness or another final material condition must be verified.
  • Inspection evidence: State whether the order requires first-article results, batch sampling, final dimensional reports, or documented checks of selected features.

Datums should reflect how the part locates in assembly and remain accessible after treatment. If a datum face will move and then be refinished, the routing must state when it becomes the controlling reference. This avoids a tolerance stack-up between a temporary rough datum and the final functional datum.

Measurement condition matters on flexible geometry. A thin plate can show different flatness while supported, clamped, or free. Specify the agreed condition rather than leaving acceptance to the inspector’s fixture choice.

Avoid requesting broad documentation by default. Link each required record to a named feature, tolerance, datum, or material result so metrology and reporting can be planned accurately.

Which Heat-Treatment Sequence Offers the Best Total Cost and Lead Time?

The best sequence is the technically acceptable route with the lowest total manufacturing risk, not simply the lowest material or machining price. Compare treated-stock machining with post-machining heat treatment across sourcing, tooling, cycle time, handling, distortion, finishing, inspection, quantity, revision risk, and delivery scheduling.

Two manufacturing routes showing treated stock before machining and rough-machined parts before heat treatment.

Two technically acceptable routes can have very different cost structures. Machining material already supplied in a treated condition may remove a separate thermal-processing step, but cutting effort and tool wear can rise. Machining softer material may simplify roughing, yet later treatment adds handling, scheduling, distortion exposure, and possible corrective finishing.

Quotation factor Machine treated stock Machine first, then heat treat
Material sourcing Requires availability of the exact grade, stock form, and condition May use a more machinable condition but requires later thermal processing
Rough machining Hardness may increase cutting and tooling demands Cutting may be easier before the final condition is established
Process coordination May avoid a separate project heat-treatment stage Adds transfer, scheduling, handling, and approval points
Dimensional risk Major stock treatment has already occurred, though machining can still release stress Rough or finished geometry may move during treatment
Final correction Features may be completed in the main machining route Critical surfaces may require reserved allowance and another setup
Inspection plan Verifies geometry in the purchased condition May require pre-treatment checks and final-condition inspection
Revision exposure Depends on stock availability and machining difficulty Late changes can invalidate allowance and thermal planning

Request both routes only when both meet the material and functional specification. Compare complete process plans7 rather than raw stock price or machine rate. Include quantity, prototype or repeat-production intent, setup strategy, secondary finishing, inspection records, and delivery expectations.

A prototype may favor route flexibility. Stable repeat production may justify more deliberate stock sourcing, fixturing, and batch coordination. Geometry, final properties, tolerance risk, revision stability, and supplier capability should decide the route.

What Should a Heat-Treated CNC Machining RFQ Include?

A heat-treated CNC machining RFQ should identify the exact process, controlled design data, material grade and condition, thermal route, quantities, production intent, final tolerances, finish, inspection evidence, revision, and delivery expectations. It must also distinguish machining from sheet metal, stamping, and molding processes before quotation.

Machined steel housing beside controlled design, material, and inspection information prepared for RFQ review.

Confirm the manufacturing process first. CNC machining removes material from solid stock through milling, turning, drilling, boring, reaming, and related operations. CNC turret punching or CNC punch press work uses programmed punch tools on sheet metal. Metal stamping uses dedicated dies to cut or form sheet. Sheet metal fabrication may combine cutting, punching, bending, welding, and finishing. Plastic injection molding forms polymers in a mold.

“CNC turret punching, CNC punch press, CNC-controlled stamping equipment, or metal stamping depending on the actual process” is not one standard process term. It may informally refer to CNC turret punching, a CNC punch press, CNC-controlled stamping equipment, or general metal stamping. Clarify the intended operation, material form, geometry, quantity, and production intent before discussing heat treatment.

RFQ and approval checklist8

  • 3D CAD model showing complete geometry and areas vulnerable to treatment movement.
  • Controlled 2D drawing with units, part number, active revision, and governing notes.
  • Exact material grade, incoming condition, stock form, and required material documentation.
  • Required final mechanical or material outcome and the regions where it applies.
  • Complete thermal route, including annealing, normalizing, stress relief, hardening, tempering, or case hardening as applicable.
  • Treated zones, masked or soft regions, and surfaces that must remain as treated.
  • Rough-machining stage and allowance map for post-treatment correction.
  • Final dimensions, datums, GD&T, and localized surface-finish requirements.
  • Quantity and prototype, pilot, or repeat-production intent.
  • Inspection method, reporting scope, sampling expectation, and final measurement condition.
  • Secondary finishing, assembly, welding, or other operations that may affect the material condition or dimensional acceptance.
  • Revision level, delivery expectations, partial-shipment needs, and approval stages.

If the model and drawing conflict, state which document governs. Invite coordinated manufacturability feedback from the machining supplier and heat treater rather than prescribing an incomplete sequence.


For a sequence recommendation or quotation, send the 3D model, controlled 2D drawing, exact material grade and condition, quantity, prototype or production intent, heat-treatment objective, critical final tolerances, surface finish, inspection expectations, revision level, and required delivery date.


References


  1. Chapter 24: Hardenability and Heat Treatment - Castings are heat treated to enhance particular properties such as hardness, toughness, corrosion resistance, etc. and to improve uniformity of properties ... 

  2. Chapter 6: Annealing of Metals and Normalizing of Steel - Highly stressed material is usually annealed to lower the residual stress to some safe value. For all practical purposes, the higher the annealing temperature, 

  3. Heat Treatment for CNC Machined Parts: The Complete Guide - uneed - Leave machining allowance on critical datums so you can re-establish alignment after heat. Plan inspection datums that still exist after rough machining, ... 

  4. Investigating the Role of Geometric Dimensioning and ... - Form toler- ances are further classified as straightness, flatness, circularity, and cylindricity. a freeform area can be specified to ascertain the shape of ... 

  5. Surface Finish in Machining, Types, Charts & Testing - JLCCNC - At its core, surface finish in machining refers to the small-scale irregularities left on the surface of a part after machining. 

  6. Designer's Guide: Other Processes-Heat Treatment - CASE HARDENING On low carbon steel parts (1213, 12L14, 1117, 8620, etc.) specify case depth and hardness that is required. Specified case depth should have a ... 

  7. CNC Machining Precision & Heat Treatment Auditing - TradeAider - Learn how to evaluate CNC machining precision and heat treatment capabilities during a factory audit. 

  8. CNC Machining RFQ Checklist: Get Faster, Accurate Quotes - 1) Send both the drawing and the 3D model (when available). Best combo: 2D drawing (PDF) with dimensions, tolerances, notes, revision, and date. 

Share
Ask AI