Porosity in Castings: Causes, Detection, and How to Prevent It

news_banner

Porosity in Castings: Causes, Detection, and How to Prevent It

December 01, 2026

Porosity is the most common internal defect in castings, and it is also the most damaging. A casting that looks perfect on the outside can fail under pressure or fatigue because of internal voids that were never visible.

This article explains where porosity comes from, how to detect it, and what can be done to prevent it.

What Is Porosity in Castings?

Porosity refers to internal voids or cavities formed during solidification. These voids reduce the effective load-bearing cross-section of the part and act as stress concentrators. In pressure-tight applications, they can become leak paths.

There are two main types of porosity in aluminum castings.

Shrinkage porosity forms when molten metal contracts during cooling. The outer surfaces solidify first, and as the interior cools, it pulls away from the already-solid shell. Without a reservoir of pressurized liquid metal to fill these voids, they remain in the final part. This type is worst in thicker sections that cool more slowly.

Gas porosity forms when gas bubbles are trapped in the molten metal during filling. Sources include air trapped during high-speed injection, gas released from lubricant decomposition, and dissolved hydrogen in the melt. These bubbles remain in the solidified part as round or irregular voids.

Why Porosity Matters

Porosity is not just a cosmetic issue. It directly affects mechanical performance and reliability.

◆ Reduced strength – every internal void reduces the effective cross-section carrying the load
◆ Lower fatigue life – voids act as stress concentrators where cracks initiate
◆ Pressure leakage – porosity pathways allow fluid or gas to escape under pressure
◆ Machining problems – voids exposed during machining create surface defects and scrap
◆ Heat treatment issues – internal porosity can cause blistering during solution treatment

How to Detect Porosity

X-Ray Inspection – digital radiography passes X-rays through the part and captures the absorption pattern. Dense material absorbs more radiation; voids appear as darker areas. This is the most common method for internal defect detection and is widely used for safety-critical castings.

Pressure and Leak Testing – for pressure-tight components, helium leak testing or hydrostatic pressure testing directly verifies whether porosity pathways exist. This is a functional test that reflects real service conditions.

Ultrasonic Testing – high-frequency sound waves detect internal discontinuities in thicker sections where X-ray may have difficulty penetrating.

Dye Penetrant and Visual Inspection – surface-level porosity can be detected visually or with dye penetrant, though this does not reveal internal defects.

How to Prevent Porosity

Process Control – maintaining proper melt temperature, die temperature, and injection parameters reduces the likelihood of gas entrapment and shrinkage.

Die Design Optimization – proper gate location, runner design, and cooling channel layout promote directional solidification and reduce hot spots where shrinkage occurs.

Vacuum-Assisted Casting – evacuating the die cavity before injection removes air and reduces gas porosity.

Squeeze Casting – applying and maintaining high pressure throughout solidification forces liquid metal into shrinking areas and collapses gas bubbles before they become trapped. This process typically achieves porosity levels below one percent, compared to three to eight percent in conventional die casting.

Degassing and Melt Treatment – removing dissolved hydrogen from the melt before pouring significantly reduces gas porosity.

Our Approach

We operate both conventional high-pressure die casting and squeeze casting, allowing us to select the right process based on the porosity requirements of each component. For critical parts, we provide in-house X-ray inspection with digital radiography and helium leak testing to verify internal quality before shipment.

Contact us today to discuss your casting project. Send your drawings and porosity requirements for a free feasibility review and process recommendation.


eric@slmetalparts.com

0086-532-84688009