Post-Machining and Finishing Die Cast Parts: Order of Operations

2026-10-16 (updated 2026-10-19)  ·  Back to blog index

Why the sequence is part of the design

A die casting rarely ships as it leaves the machine. Between casting and packing there is usually trimming, some CNC machining, possibly impregnation, a cleaning step and one or more finishing operations — and the order of those steps quietly decides whether the finished part meets its tolerances, looks the way the drawing intends, and survives the field. Sequencing errors are expensive to discover late: a batch anodized before final machining may need stripping and recoating; a part coated before leak testing may fail the test for reasons the coating introduced. This article lays out the practical order of operations and the reasons behind each placement.

The baseline sequence

For a machined, coated aluminum die casting, the workable default sequence is:

  1. Cast and trim — degate and remove overflow; check that trim dies have not moved datum surfaces.
  2. Heat treat / stress relief if specified — most die castings age naturally; artificial aging or stress relief is specified only where dimensional stability matters.
  3. Rough machining — establish datums, machine the heavy stock.
  4. Cleaning and degreasing — machining fluids are the enemy of every coating process downstream.
  5. Impregnation (if required) — seal porosity before coating, on machined parts, because machining can open subsurface porosity that casting alone would not expose.
  6. Leak test (if required) — after impregnation, so the result reflects the part as it will ship.
  7. Finish machining — final tolerances on sealing faces and bores, either before coating (with masking planned) or after coating for the most critical fits.
  8. Finishing — anodize, conversion coating, powder coat, e-coat or plating, with masking applied where coating must not reach.
  9. Final inspection and packing — visual standard, thread chasing, dimensional audit on the finished part.

Not every part needs every step, but the relative order holds surprisingly steady across part families. The two steps whose placement causes the most arguments — impregnation and final machining — deserve their own sections.

Machining before or after finishing?

The general rule is machine before you coat, for three reasons. First, coatings add thickness: a 25 µm anodic film adds real dimension to the part (roughly half to two thirds of the film builds outward), and powder coat adds even more. Machining after coating would require stripping tolerances down to compensate — possible, but fragile. Second, coating processes involve baths, ovens and racks; precision machined faces can be marked, contaminated or thermally moved in the process. Third, machined surfaces that will be visible should carry the coating, not sit bare against a coated field.

The exceptions are the reasons masking exists. Where a sealing face or bearing bore must hold a tight fit, the standard approaches are:

Anodizing on high-silicon casting alloys

Anodizing a die casting is not the same job as anodizing a wrought aluminum part. Casting alloys like A380 and ADC12 carry 7 to 11% silicon, and silicon does not anodize — it stays as particles in or under the film. The result is the characteristic grey or mottled appearance that buyers sometimes reject as a defect. It is not a process fault; it is the alloy family. Practical implications:

Where the appearance requirement is strict, the conversation to have early is alloy choice or finish choice, not anodizing process parameters. The full finishing menu lives in our surface treatment options guide, with the comparison angle in surface finishes compared.

Impregnation and leak testing: before finishing, always

Resin impregnation seals interconnecting porosity so pressure-tight parts pass leak testing. Its place in the sequence is non-negotiable: after rough machining (which opens porosity the as-cast skin hid) and before coating. Two reasons: coating over an unsealed leaker hides the problem until the part fails in the field, and the curing cycle of coatings can interact with open porosity — outgassing during powder cure produces the classic blister clusters that end up photographed in complaint emails. Leak testing then runs on the impregnated part, and if the application allows, after coating as a final containment check on high-risk programs.

Datum inheritance: the quiet cause of "out of tolerance" parts

Every machining operation on a casting inherits its datums from the as-cast surface, and every later inspection re-measures against the drawing's GD&T. If the fixture uses different locators than the inspection datum scheme, perfectly good parts measure badly. The fix costs nothing at design time: agree the datum scheme at DFM, use the same scheme for machining fixtures and for the CMM, and record it on the inspection plan. Our datums article and the machining allowance guide cover the mechanics.

A worked example

Consider a typical aluminum die cast housing for an industrial drive: casting with integral heatsink fins, four machined mounting bosses, a machined sealing face, M5 threads, and a specified powder coat finish with an IP64 requirement.

StepOperationWhy here
1Cast, trim, degateBaseline geometry
2Deburr + degreaseClean surface for coating adhesion
3Rough machine bosses and sealing faceEstablish datums, remove stock
4Impregnate (spec'd for IP64 sealing)Seal porosity opened by machining
5Leak testValidate pressure-tightness as shipped
6Finish machine sealing face to tolerancePost-impregnation, pre-coat
7Mask threads, powder coatCoating everywhere except masked features
8Thread chase, final audit, packRemove mask edge, verify

The same housing without the IP64 requirement would skip steps 4 and 5; with an anodized finish instead of powder, step 7 changes chemistry but not position.

What to agree with your supplier, in writing

Three items prevent almost every sequence-related surprise: the coating thickness window (so tolerances can be planned around it), the masking map (a drawing marked with where coating must not reach), and the leak/impregnation specification (method, pressure, and whether it applies before or after coating). None of these are exotic — but all three are cheaper to agree at DFM than to negotiate against a finished batch. That is the recurring theme of die casting: the sequence, like the draft angles and the alloy, is cheapest to get right before the first shot.

FAQ

Why does anodized die casting look grey or mottled?

Silicon particles in the alloy do not anodize and show through the film. It is inherent to high-silicon casting alloys, not a process fault, and the effect is stronger with thicker Type III films.

Should machining happen before or after coating?

Almost always before. Coating thickness shifts dimensions measurably, and anodize buildup on precision machined faces can push tolerances out — critical faces are either machined last or masked.

Does a coating seal casting porosity?

No. Coatings sit on the surface; open subsurface porosity can show through, outgas during curing, or cause blisters. Impregnation decisions belong before finishing, not after.

Can threads be finished on a die cast part?

Threads are usually masked or chased after finishing so coating thickness does not shift the fit. Plugging machined threads before coating is also common practice.

How much does anodizing change part dimensions?

The anodic film builds partially outward — roughly half to two thirds of its thickness adds to the part dimension. On a 25 µm Type II film, that is a real shift for close-tolerance machined faces.

All figures above refer to standard product data sheets; final confirmation is subject to written quotation.

Back to homepage →