Porosity is one of the common die casting defects, but reducing it requires identifying how it forms. This guide focuses on high-pressure die casting, explaining gas and shrinkage porosity, their causes, and practical ways to reduce them through part design, die design, and process control. It also covers machining-related concerns and inspection methods for evaluating the finished casting.
What Is Die Casting Porosity?
Porosity is the presence of small cavities within the metal of a die casting. These cavities may be isolated or connected, concentrated in one area or distributed throughout a section. A casting can therefore have an acceptable external appearance while containing internal voids.
The effect depends on where the pores occur. A pore exposed on a sealing surface may interrupt contact with a gasket, while connected pores can create a leakage path through a housing wall. Porosity near a loaded feature can also reduce the metal available to carry the load. Evaluation should consider these functional requirements rather than surface appearance alone.
Gas Porosity
Gas porosity forms when gas becomes trapped in the metal as it solidifies. In high-pressure die casting, air can be entrained during metal movement through the shot sleeve and die cavity. Die lubricants and residual moisture can contribute gas, while dissolved hydrogen is another potential source in aluminum alloys.
Gas pores often appear rounded, with relatively smooth internal surfaces. They may remain hidden until a hole is drilled or a surface is milled. Their shape provides a useful clue, but it does not establish the source of the gas by itself.
Shrinkage Porosity
As molten metal solidifies, it contracts. Shrinkage porosity develops where that contraction cannot be compensated by additional liquid metal. Thick sections, heavy bosses, and junctions between walls can form local hot spots that solidify later than the surrounding material.
Shrinkage cavities generally have a more irregular or interconnected appearance than gas pores. A thick mounting boss, for example, may contain internal shrinkage that becomes exposed during drilling or tapping. Gas and shrinkage porosity can occur together, so identifying the mechanism may require sectioning, imaging, and a review of the casting conditions.
What Causes Porosity in Die Casting?
Porosity may originate during filling or develop as the metal solidifies. Its location, shape, and consistency across repeated castings help narrow down the cause. Pores concentrated in a thick boss suggest a different problem from pores appearing where separate metal streams meet.
Air Entrapment During Filling
In cold-chamber die casting, the advancing plunger moves molten metal through the shot sleeve toward the die. An unsuitable slow-shot profile can cause the metal wave to fold over and trap air before it reaches the cavity.
Air can also become trapped inside the die. Metal flowing around cores or openings may divide into separate streams, then meet and enclose air between them. As filling progresses, the remaining air needs an escape route. If metal closes that route too early, or the vents cannot discharge air quickly enough, gas remains within the casting.
This explains why porosity can repeatedly occur in the same location: the filling pattern may create a pocket of trapped air on every shot.
Gas from Melt Handling and Die Lubrication
Aluminum melt can absorb hydrogen through reactions involving moisture. As the metal solidifies, its capacity to retain dissolved hydrogen decreases, allowing gas pores to develop. Melt preparation therefore matters, although melt treatment alone cannot resolve air trapped during cavity filling.
Die spraying introduces another possible source. Excess release agent, residual water, or insufficient drying can leave material that generates vapor or gas when contacted by molten metal. Excessive plunger lubricant can also contribute gas in the shot sleeve.
These sources require different checks. A change in porosity after melt treatment points toward a different investigation from a change following adjustments to die spraying or drying.
Solidification Shrinkage and Local Hot Spots
A thick section generally takes longer to solidify than an adjacent thin wall. At a heavy boss or wall junction, the surrounding metal may solidify first and restrict the supply of liquid metal to the remaining hot region. Continued contraction then leaves internal cavities.
Pressure can help compensate for shrinkage only while it can still be transmitted through the liquid metal. If the gate freezes before the local hot spot solidifies, increasing pressure later may provide little benefit to that region.
Uneven die temperatures and cooling conditions can shift these last-to-solidify areas. A cavity that repeatedly appears beneath a thick mounting feature therefore needs a review of both its geometry and local thermal conditions.
How to Reduce Die Casting Porosity
Start by locating the affected areas and identifying the likely porosity mechanism. Compare several castings, including parts after the relevant machining operations. A repeatable defect at a flow junction calls for a different correction from shrinkage inside a heavy boss. Record process changes and check their effect against the same inspection criteria.
Improve Gating, Venting, and Overflow Design
Review how metal enters the cavity, divides around features, and reaches the last areas to fill. Gate position and flow direction should help move air toward working vents rather than enclose it between converging metal streams. Filling simulation can help identify potential air pockets, but its predictions should be checked against trial castings.
Vents and overflows need to suit the actual filling sequence. An overflow placed away from the problem area may do little to relieve trapped gas. Check whether metal reaches and closes the vent before air has escaped, particularly around deep pockets and features that divide the flow.
Maintenance matters as much as the original design. Release-agent residue and metal buildup can restrict vent passages. Where porosity increases during a production run, inspect these passages before assuming the casting parameters need adjustment.
Control the Shot Profile and Pressure Transfer
In cold-chamber die casting, adjust the slow-shot profile to move metal through the sleeve without folding the wave over and trapping air. The appropriate motion depends on sleeve geometry and fill level; simply reducing plunger speed is not a universal solution.
The transition to fast shot must also match the filling conditions. Switching too early can increase air entrainment, while switching too late can leave insufficient time to fill thin sections before the metal cools. Evaluate the transition alongside gate velocity and cavity fill time.
For shrinkage, check when intensification pressure builds and whether it reaches the affected region before the feeding path freezes. Increasing pressure alone does not remove trapped gas, and it cannot effectively feed a hot spot once that region is isolated by solidified metal.
Use Vacuum Assistance Where Appropriate
Vacuum-assisted die casting removes air from the cavity before and during filling, helping reduce gas entrapment. Its effectiveness depends on the complete system: die sealing, valve timing, evacuation capacity, and clear vacuum passages.
If gas porosity remains, check whether the required vacuum is achieved within the available evacuation time. A leak or restricted passage can undermine performance even when the vacuum pump is operating. Review these conditions together with the filling pattern rather than relying only on a pump setting.
Vacuum assistance addresses gas-related porosity. Thick sections and poorly fed hot spots still require separate thermal and design checks.
Maintain Melt Quality and Consistent Die Conditions
For aluminum alloys, use suitable melt-treatment procedures to control dissolved hydrogen and maintain cleanliness. Avoid unnecessary turbulence during transfer, and keep ladles and tools properly prepared and dry. Assess melt quality using an appropriate testing method rather than judging it only by surface appearance.
Apply enough release agent for reliable operation without leaving excessive deposits or residual moisture. Pay attention to recessed areas where spray can collect, and allow adequate drying before the next shot.
Stable die temperatures help make filling and solidification repeatable. Check local cooling near thick features, and distinguish startup castings from parts produced after the die reaches its normal operating condition. A process adjustment should be evaluated under comparable thermal conditions.
Review Wall Thickness and Critical Features
Reduce isolated masses of metal where the part’s function permits. A heavy solid boss may be redesigned with a cored section or supported by ribs, while smoother wall transitions can reduce local hot spots. These changes need to preserve fastening strength, stiffness, and access for manufacturing.
Identify sealing faces, threaded holes, bearing seats, and other critical machining areas during design review. Their position relative to likely porosity zones can affect whether an otherwise usable casting meets the finished-part requirements.
Plan machining allowance with the casting process in mind. Removing more material is not a remedy for internal porosity and may expose additional cavities. Where a critical feature repeatedly intersects a porous region, review the casting geometry, filling conditions, and cooling arrangement before changing the machining operation alone.
Why Porosity Appears After Machining
A die casting may look sound before machining because its outer surface does not reveal the cavities beneath it. Milling, drilling, or turning removes material and can intersect these internal pores. The machining operation exposes existing casting porosity rather than creating it.
Consider an aluminum housing with a machined sealing face. Small pores may become visible as the cutter reaches the finished depth. Their significance depends on whether they interrupt the sealing contact area or connect to a passage through the wall. Pores elsewhere on the housing may have different acceptance requirements.
Drilling and tapping can expose cavities inside a mounting boss. Porosity that interrupts the thread flanks reduces the material available for engagement, but its effect depends on the extent, location, and loading of the connection. A pore near a hole should therefore be evaluated against the fastening requirements rather than accepted or rejected solely by appearance.
When porosity repeatedly appears at the same feature, record its position and the depth at which it becomes exposed. Share this information with the die caster so it can be compared with the filling pattern, local wall thickness, and cooling conditions. Do not deepen a cut beyond the drawing requirements simply to remove a visible pore; doing so may expose more cavities and leave the part undersized.

How to Inspect and Evaluate Die Casting Porosity
Inspection should answer a specific question: are pores exposed on a critical surface, is there an internal concentration of cavities, or does the part leak under its specified operating conditions? These questions require different methods. A casting that passes visual inspection may still contain internal porosity, while the presence of internal pores does not automatically establish a leakage path.
| Inspection Method | What It Can Assess | Main Limitation |
| Visual inspection | Pores exposed on cast or machined surfaces | Cannot assess hidden internal cavities |
| X-ray radiography | Internal discontinuities in a projected image | Overlapping features can make interpretation difficult |
| Computed tomography (CT) | Three-dimensional pore location, size, and distribution | Detectable pore size depends on scan resolution and part characteristics |
| Sectioning and metallography | Local pore shape and surrounding metal structure | Destructive and limited to the sections examined |
| Leak testing | Leakage under defined test conditions | Does not measure all internal porosity or establish its cause |
For a machined sealing face, visual inspection can identify exposed pores, but a leak test may be needed to establish whether the completed part meets its sealing requirement. The test specification should define the medium, pressure, allowable leak rate, and relevant test conditions. An unspecified requirement such as “airtight” leaves room for different interpretations.
X-ray or CT inspection can help investigate internal pore concentrations, particularly around thick sections and critical features. Sectioning selected samples provides a closer view of pore morphology, although a single section may miss defects elsewhere in the casting. Findings should be compared with the casting geometry and process records before selecting a corrective action.
Acceptance criteria need to identify the areas that matter. A sealing land, threaded boss, and nonfunctional outer surface may require different limits. Where pore size, distribution, or distance from a critical feature affects acceptance, define those requirements on the drawing or in an agreed inspection specification. A single overall porosity percentage may not describe the condition of a small but important region.
For a die casting quotation, provide the material grade, machining requirements, critical surfaces, and any sealing or internal-porosity criteria. ZH Precision can review these requirements alongside the casting and secondary machining scope, with inspection methods and reporting agreed before production.
FAQ
A completely pore-free casting should not be assumed, even when the process is well controlled. The practical target is to reduce porosity to a level that meets the part’s requirements, particularly around sealing surfaces, loaded features, and machined interfaces. Any requirement for “zero porosity” needs a defined inspection method and detection limit.
Vacuum impregnation can seal connected porosity that causes leakage in suitable castings. The process introduces a sealant into accessible pore networks and cures it according to the treatment procedure.
It does not remove the cavities or restore missing metal. A casting with unacceptable structural porosity, damaged threads, or dimensional defects cannot be made acceptable simply by sealing it. Its use should be approved against the application requirements, followed by the specified verification tests.
No. An isolated internal pore may have no connection to either surface of a wall. Leakage becomes possible when a connected pathway allows fluid or gas to pass through the part.
Machining can open a previously enclosed pore network, so sealing performance may need to be tested after the relevant machining operations. Whether leakage occurs also depends on the test medium, pressure, and required leak-rate limit.




