Post-Machining and Finishing Die Cast Parts: Order of Operations
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:
- Cast and trim — degate and remove overflow; check that trim dies have not moved datum surfaces.
- Heat treat / stress relief if specified — most die castings age naturally; artificial aging or stress relief is specified only where dimensional stability matters.
- Rough machining — establish datums, machine the heavy stock.
- Cleaning and degreasing — machining fluids are the enemy of every coating process downstream.
- Impregnation (if required) — seal porosity before coating, on machined parts, because machining can open subsurface porosity that casting alone would not expose.
- Leak test (if required) — after impregnation, so the result reflects the part as it will ship.
- Finish machining — final tolerances on sealing faces and bores, either before coating (with masking planned) or after coating for the most critical fits.
- Finishing — anodize, conversion coating, powder coat, e-coat or plating, with masking applied where coating must not reach.
- 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:
- Mask before coating — plugs and caps on threaded holes, tape or removable masks on sealing faces; cheapest, but adds labor and leaves a coating edge to manage.
- Machine after coating — final cut on the critical faces removes the film there; used where masking coverage is impractical, at the cost of exposing bare alloy at the coating boundary.
- Design the coating into the tolerance — agree a coating thickness window with the finisher and let the drawing carry post-coating tolerances. The cleanest solution when the tolerance is not extreme.
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:
- Type II anodizing (conventional, ~10–25 µm) on die castings gives a darker, less uniform film than on wrought aluminum; it is entirely serviceable for corrosion protection and paint adhesion but is a poor choice for bright cosmetic work.
- Type III hard anodizing thickens the effect — more silicon show-through, higher film thickness, larger dimensional shift. Specify it for wear and insulation, not appearance.
- Alternative chemistries — for cosmetic aluminum appearance on die castings, chromate conversion (with paint or powder over it) or powder coating directly usually outperforms anodizing on looks.
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.
| Step | Operation | Why here |
|---|---|---|
| 1 | Cast, trim, degate | Baseline geometry |
| 2 | Deburr + degrease | Clean surface for coating adhesion |
| 3 | Rough machine bosses and sealing face | Establish datums, remove stock |
| 4 | Impregnate (spec'd for IP64 sealing) | Seal porosity opened by machining |
| 5 | Leak test | Validate pressure-tightness as shipped |
| 6 | Finish machine sealing face to tolerance | Post-impregnation, pre-coat |
| 7 | Mask threads, powder coat | Coating everywhere except masked features |
| 8 | Thread chase, final audit, pack | Remove 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.