Cangzhou Max Automated Machinery Co., Ltd
Casting Porosity and Shrinkage: Causes and Full-process Prevention Solutions
2026-09-18


Porosity and shrinkage are the two most common and detrimental defects in metal casting production, especially for aluminum alloy, stainless steel, and iron castings used in mechanical equipment, automotive, and marine accessories. These two defects not only damage the surface finish of castings but also significantly reduce mechanical properties such as tensile strength, hardness, and air tightness, easily leading to product scrapping, delayed delivery, and customer quality complaints. Many engineers and purchasers often confuse porosity with shrinkage due to their similar macroscopic appearance. This article systematically distinguishes the two defects, analyzes their root causes from mold design, raw material preparation to pouring and cooling processes, and summarizes practical full-process prevention and control measures.

image.png 

1. Basic Difference Between Porosity and Shrinkage Defects

Before formulating prevention solutions, it is essential to clarify the essential differences between porosity and shrinkage, as their formation mechanisms and improvement methods are completely different.

Porosity refers to small, round, or oval hollow holes distributed on the surface or inside of castings. The holes have smooth inner walls, uniform size, and scattered distribution. It is mainly caused by gas entrapment and dissolution in the molten metal. The defect is characterized by regular shape and no obvious aggregation trend.

Shrinkage (Shrinkage Cavity & Shrinkage Porosity) is formed by volume shrinkage during the solidification of molten metal. The holes are irregular in shape with rough inner walls, mostly concentrated in the thick wall, hot spot, and last-solidified areas of castings. Shrinkage defects are prone to aggregation, which will cause local stress concentration and greatly reduce the bearing capacity of castings.

image.png 

2. Root Causes of Defects in the Full Casting Process

2.1 Mold Design and Manufacturing Problems

The mold is the core carrier of casting forming, and unreasonable mold design is the primary inducement of shrinkage and partial porosity defects. First, unreasonable gating and riser system design leads to uneven molten metal filling. If the riser setting is too small, misplaced, or insufficient in number, it cannot provide effective feeding for the hot spot parts during metal solidification, resulting in volume shrinkage and uncompensated shrinkage cavities.

Second, poor mold venting design is the main cause of gas porosity. Insufficient vent holes, blocked vent grooves, or unreasonable vent position design make it impossible for the gas generated in the mold cavity to be discharged in time during molten metal filling. The residual gas is wrapped in the molten metal and forms closed pores after solidification.

In addition, excessive mold surface roughness and residual release agent dirt will cause gas generation during high-temperature pouring and adhere to the casting surface, forming subcutaneous porosity defects.

2.2 Raw Material and Melting Process Factors

Raw material quality directly determines the gas content of molten metal. Foundry alloys, recycled materials, and auxiliary materials with excessive moisture, oxide inclusions, and oil stains will decompose and produce a large amount of hydrogen, oxygen, and water vapor during high-temperature melting. Hydrogen is extremely soluble in high-temperature molten metal, and its solubility drops sharply during cooling and solidification, precipitating a large number of tiny pores to form porosity defects.

Improper melting process control will also aggravate defects. Insufficient degassing and refining, unreasonable melting temperature, and long-term high-temperature standing of molten metal will lead to excessive gas content and unstable liquid phase state, laying hidden dangers for pore formation. Moreover, impure molten metal with more inclusions will destroy the continuity of metal structure and induce shrinkage porosity in local areas.

2.3 Pouring Process Parameter Deviation

Pouring temperature and pouring speed are key process parameters affecting casting quality. Excessively high pouring temperature increases the gas solubility of molten metal and intensifies the thermal shrinkage rate of the metal during solidification, greatly increasing the probability of shrinkage defects. While excessively low pouring temperature will cause poor fluidity of molten metal, incomplete cavity filling, and easy entrapment of gas in the cavity to form porosity.

Unstable pouring speed is also a major problem. Too fast pouring will cause turbulent flow and splashing of molten metal, wrapping air and forming large-area porosity; too slow pouring will lead to premature local solidification of molten metal, resulting in insufficient feeding and shrinkage defects at the joint of solid-liquid phase.

2.4 Cooling and Post-processing Improper Control

Unreasonable cooling rate is an important inducement of shrinkage defects. If the cooling speed of each part of the casting is inconsistent, the thin wall solidifies first and the thick wall solidifies later. The solidified part will block the feeding channel of the riser, making the residual molten metal in the hot spot unable to be supplemented, thus forming concentrated shrinkage cavities. In addition, untimely mold opening and improper heat treatment process will also cause secondary structural shrinkage and tiny pore expansion inside the casting.

 

image.png 

3. Full-process Prevention and Control Solutions for Porosity and Shrinkage

3.1 Optimize Mold Design and Maintenance

First, optimize the gating and riser system according to the casting structure and wall thickness. Set independent risers for thick wall and hot spot areas to ensure sequential solidification of castings and sufficient feeding during metal shrinkage, which is the most effective way to eliminate shrinkage defects. Second, improve the mold venting system, reasonably arrange vent grooves and vent holes at the last filling position and high gas accumulation area of the cavity, and regularly clean the vent structure to avoid blockage.

In daily mold maintenance, keep the mold surface smooth and clean, control the uniform spraying thickness of the release agent, and thoroughly remove residual oil, dirt and oxide scale on the mold surface to reduce gas generation during pouring.

3.2 Strictly Control Raw Materials and Melting Quality

Establish a strict raw material incoming inspection system to ensure that the alloy materials and recycled materials used have low moisture and low impurity content. Preheat and dry all raw materials and auxiliary materials before melting to completely remove internal moisture and oil stains and reduce gas sources.

Optimize the melting process, adopt professional degassing and refining technology, reasonably control the melting temperature and holding time, effectively remove hydrogen, oxygen and inclusions in the molten metal, improve the purity and fluidity of the molten metal, and fundamentally reduce the generation of gas porosity.

3.3 Standardize Pouring Process Parameters

Formulate targeted pouring parameter standards according to different casting materials and structural characteristics. Control the pouring temperature within the optimal range: avoid excessive temperature to reduce thermal shrinkage and gas solubility, and avoid low temperature to ensure molten metal fluidity.

Stabilize the pouring speed to realize smooth and laminar filling of molten metal, avoid turbulent flow and air entrapment, ensure uniform filling of the cavity, and effectively prevent scattered porosity caused by gas wrapping and local shrinkage caused by insufficient filling.

3.4 Optimize Cooling Process and Quality Inspection

Optimize the mold cooling system to balance the cooling speed of all parts of the casting, realize synchronous solidification of thin walls and sequential solidification of thick walls, ensure the smooth feeding of the riser, and eliminate hidden dangers of shrinkage defects. Standardize the mold opening time and post-casting heat treatment process to stabilize the internal metal structure and avoid secondary defect expansion.

In addition, improve the full-process quality inspection mechanism. Use nondestructive testing (NDT) methods such as X-ray and ultrasonic testing to screen internal porosity and shrinkage defects, record defect distribution rules, and continuously optimize process parameters in a targeted manner to realize closed-loop quality control.

image.png 

4. Conclusion

Casting porosity and shrinkage defects are not caused by a single process error, but are the result of the superposition of multiple links such as mold design, raw material melting, pouring control, and cooling molding. Porosity focuses on gas prevention and discharge, while shrinkage focuses onfeeding compensation and sequential solidification. By standardizing the full-process process control, optimizing structural design and parameter settings, manufacturers can effectively reduce casting defect rate, stabilize product quality, and provide high-precision and high-stability customized casting parts for industrial equipment, automotive, marine and other fields.