loading

One-Stop Precision Metal Manufacturing from Mold to Delivery

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented?

Table of Contents

Porosity is a common internal defect in aluminum die casting, appearing as small voids that can form during filling or solidification. The effect of porosity will vary depending on the size of the void, the distribution, and the location of the voids. In some cases, it can negatively affect the component's strength, pressure tightness, machinability, and surface finish.

Porosity isn't always a reason to reject a custom aluminum die-cast product. A few small, isolated pores in non-critical areas may have no effect. However, pores near threaded holes, machined surfaces, sealing faces, and load paths can cause problems during machining, assembly, and in service.

This article explains the main types of porosity in aluminum die casting, their causes, prevention methods, and inspection techniques. It also covers how porosity affects machining and finishing, and what manufacturers should consider when developing custom aluminum components.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 1

What Are the Main Types of Porosity in Aluminum Die Casting?

Porosity occurs when gas gets trapped in molten metal or when the metal can't make up for volume changes as it solidifies.

In high-pressure die casting (HPDC), porosity generally comes in three types: gas porosity, shrinkage porosity, and mixed porosity.

Gas porosity

Gas porosity occurs when gas becomes entrapped in the molten aluminum during filling or separates from the metal as it solidifies.

Aluminum can contain dissolved hydrogen. Hydrogen solubility decreases as the metal solidifies, causing hydrogen gas to form bubbles. Pores can also form from air entrapped during cavity filling and gases released from the die lubricant and other materials.

During HPDC, the molten aluminum enters the die cavity at high speed. If the flow becomes turbulent, air can get trapped rather than exiting through the vents and overflow channels.

Gas porosity typically has the following characteristics:

· Shape: generally round or oval with rather smooth internal surfaces.

· Distribution: individual pores or small groups of cavities.

· Location: where air gets trapped during filling.

· Effect: can reduce mechanical properties, expose holes during machining, and affect pressure tightness if pores connect or reach a surface.

Pore shape and distribution provide clues about the likely defect mechanism, but they do not prove its cause. Metallographic examination, radiography, or CT analysis can provide further evidence.

Shrinkage porosity

Shrinkage porosity occurs when molten aluminum shrinks as it solidifies and the remaining liquid metal can't fill the resulting void.

The problem is most prevalent in thicker sections, at junctions, in bosses, and in other areas that solidify later than the surrounding metal.

As the outer sections cool and solidify, the remaining liquid aluminum needs a feeding path to make up for contraction. If the surrounding metal solidifies too quickly or the gate freezes before it can feed sufficiently, cavities will form.

Common signs include:

· Shape: Irregular, jagged, or branched cavities instead of smooth, round holes.

· Distribution: Often clustered in localized regions or spread between developing dendrite arms.

· Location: Commonly found in thick bosses, wall intersections, and other last-to-solidify sections.

· Effect: Can reduce strength, create leakage paths, and cause problems in machined holes and sealing areas.

Mixed or complex porosity

Some castings contain defects with characteristics of both gas and shrinkage porosity. These mechanisms can interact during solidification, making the resulting cavities difficult to classify as purely gas-related or shrinkage-related.

Gas-related and shrinkage-related mechanisms can occur in the same region. For example, gas pores may coexist with interdendritic shrinkage cavities, making the defect difficult to classify from shape alone.

The distinction matters because the corrective action depends on the underlying mechanism. A defect with mixed characteristics requires investigation of both gas entrapment and solidification behavior.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 2

What Causes Porosity in Aluminum Die Casting?

Porosity in die-cast aluminum generally results from a combination of molten-metal quality, cavity filling, die design, and solidification conditions.

The location and pattern of the pores can help to point to the likely cause. Visual appearance alone is not sufficient to establish the mechanism.

Poor molten-metal quality and hydrogen content

Hydrogen is the only gas with appreciable solubility in liquid aluminum. Its solubility decreases as aluminum solidifies, which can cause dissolved hydrogen to form gas pores.

Hydrogen can enter the molten metal through moisture in the charge materials, wet tools, and metal-handling equipment. Oxide films and non-metallic inclusions can also affect cast quality. When molten aluminum is agitated or exposed to the atmosphere, oxide films can form and be entrained in the metal. These films, often called bifilms, can serve as sites for pore formation.

There are many sources of molten metal impurities, including:

· Moisture on scrap, charge materials, or melting tools.

· Inadequate molten metal cleaning or degassing.

· Turbulence during metal transfer.

· Contaminated or poorly maintained holding equipment.

Hydrogen is not the only source of gas-related defects. Entrained oxide films and other inclusions can cause porosity even when hydrogen content is minimized. Reduced pressure testing can assess a molten metal sample's tendency to produce gas-related porosity, though results depend heavily on sampling and test conditions.

Turbulent filling and air entrapment

High-pressure die casting (HPDC) injects molten metal into the die cavity at high speed. If the metal flow is poorly controlled, turbulence can cause air entrapment and fold oxide films into the melt. These conditions can contribute to internal porosity and other casting defects.

Air can become trapped when the metal jet changes direction, strikes a die wall or core, or divides into separate streams that later meet. The filling pattern determines where air pockets form and whether they can escape through the vents and overflow system.

Air entrapment in the shot sleeve

Air entrapment can also begin in the shot sleeve, before molten aluminum enters the die cavity. In cold-chamber die casting, molten metal is ladled into the shot sleeve, and the plunger pushes it into the die cavity. If the slow-shot speed or acceleration profile is unsuitable, plunger movement can create waves on the metal surface and fold air into the melt.

This trapped air can travel through the runner system and into the die cavity during the fast shot phase, where it can contribute to internal gas porosity. For that reason, review the slow shot profile, fast-shot injection parameters, and the die venting system.

The correct plunger profile depends on the shot sleeve, metal charge volume, casting machine, and component geometry. There is no one 'right' slow shot speed for all castings.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 3

Venting and vacuum conditions

Air and gases in the die cavity must escape as the molten aluminum enters. If the vents or overflow channels are blocked, in the wrong place, or too small for the filling pattern, then the casting will be gas-charged. Metal residue, lubricant build-up, and the direction and timing of metal flow affect vent performance.

Vacuum-assisted die casting can reduce gas entrapment by removing air from the die cavity before or during filling. Effectiveness depends on vacuum level, die seal, valve action, and filling sequence. It will not eliminate shrinkage porosity and will not necessarily produce a pressure-tight component.

Gate and runner design

The gating system controls the flow of molten aluminum into and through the die cavity. It affects flow direction, fill rate, and air movement toward the vents and overflows.

An incorrect gate position can cause the metal to hit a wall or obstruction, increasing turbulence and air entrapment. An incorrect runner layout can also cause uneven filling, with some parts filling prematurely and others filling later.

Gate design also affects feeding during solidification. If the gate freezes before the remaining liquid metal can feed a contracting region, shrinkage porosity may form.

Thick sections and uneven solidification

Component geometry is a major factor in shrinkage porosity. Thick sections hold their heat longer than thin sections. If a thick section joins thinner walls, the metal around it may have solidified while the thick section is still molten.

This makes a hot spot in one area. As the metal cools and hardens, the missing material can leave gaps inside.

Common risk areas include:

· Thick bosses connected to thin walls.

· Sudden changes in wall thickness.

· Junctions where several walls or ribs meet.

· Heavy sections at the mounting points.

NADCA's design resources deal with wall thickness and component geometry in die casting. Those are the factors that you look at when you're trying to work out where shrinkage is going to occur.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 4

Unstable casting process conditions

Variations between casting cycles can affect both cavity filling and solidification. Relevant process variables include:

· Molten-metal and die temperatures.

· Plunger speed and injection profile.

· Intensification pressure and timing.

· Vacuum performance, where applicable.

· Lubricant application and cooling conditions.

These factors are connected, and their impact depends on the metal type, die, casting machine, and part shape. While intensification pressure can help feed the metal while the gate is still open, it won't fix shrinkage issues once the gate has solidified.

Engineering review and simulation

The engineer needs to review the part's shape, metal flow, filling order, and cooling process. Casting simulations can help predict trapped air, temperature distribution, and potential hot spots. Simulation accuracy depends as much on data quality and process assumptions as on the simulation software itself.

NADCA's porosity resources cover part design, process parameters, and defect measurement. They look at the component, the tooling, and the casting process as a whole rather than changing one machine setting in the hope of fixing the defect.

How to investigate the likely cause of porosity

The location and distribution of the porosity can be of use in narrowing down the investigation. Compare the inspection results with the component geometry, the filling pattern, and the solidification behavior.

Defect location or pattern

First areas to investigate

Rounded pores across several areas

Hydrogen content, air entrapment, melt handling

Pores near gates or runners

Shot-sleeve filling, flow turbulence, injection profile

Pores near final filling regions

Venting, overflow design, trapped cavity air

Irregular cavities in thick sections

Local hot spots, feeding, cooling, gate freeze

Pores exposed after machining

Subsurface porosity, machining allowance, feature location

These patterns are starting points, not definitive diagnoses. Confirm the suspected cause through radiography, sectioning, metallography, CT where appropriate, and a review of production records. Compare trial results before and after corrective changes to determine whether you addressed the actual cause.

How Can Porosity Be Prevented in Aluminum Die Casting?

Preventing porosity starts at the product design stage and continues through tooling, melt preparation, casting, and production checks. The right controls depend on whether the porosity is due to trapped gas, shrinkage, or both.

Optimize component geometry

Review the engineering drawing and 3D CAD model before tooling. Wall thickness and section transitions strongly affect metal flow and cooling, so avoid unnecessary heavy sections and abrupt thickness changes.

Key design considerations include:

· Maintain reasonably uniform wall thickness where the design permits.

· Use gradual transitions between thick and thin sections.

· Avoid unnecessary heavy bosses and wall junctions.

· Review ribs and mounting features for local heat build-up.

Any geometric changes must still align with the component's strength and functional requirements.

Review gating, venting, and overflow design

Assess the gate, runner, vent, and overflow system as a system. Ensure the layout fills the die cavity in the right sequence and lets air escape to help prevent porosity.

Use filling simulation and production trials to check the filling sequence, air-trapping areas, and potential for premature solidification. Check the results by looking at the trial castings.

Maintain molten metal quality and control process conditions

Keep charge materials, tools, and all metal handling equipment dry and clean. Use appropriate degassing and molten metal cleaning techniques and check the metal quality in accordance with the alloy and process.

Record and monitor the relevant process parameters, such as metal and die temperatures, injection profile, intensification pressure, lubricant application, and cooling. Set limits based on the specific alloy, tooling, and component rather than using the same values for all castings.

Consider vacuum-assisted die casting

Vacuum-assisted HPDC can be of benefit to components where there are very stringent internal quality or pressure tightness requirements, i.e., where gas entrapment is a genuine issue. The extent of the benefit depends on the vacuum system, die seal, valve timing, and fill sequence.

Vacuum assistance doesn't automatically get rid of shrinkage porosity or ensure you have a pressure-tight component. Geometry, feeding, cooling, and process control are still all very much in play, and the part will still need to meet the required inspection and leak test standards.

Other casting process options

Depending on the component's geometry, alloy, and production requirements, manufacturers may also consider squeeze casting or semi-solid die casting. Squeeze casting applies pressure during solidification, while semi-solid processing changes the metal's flow behavior and can reduce gas pickup.

Aluminum gravity casting may suit components where its filling behavior, wall thickness, and production requirements are appropriate. It is an alternative process, not an automatic solution to porosity.

Select the process based on the component's functional and quality requirements.

Manage solidification and cooling

Shrinkage control depends on managing how the metal solidifies. Review cooling-channel positions, local die temperatures, and the feeding path to reduce isolated hot spots. Depending on the tooling design, local squeeze pins may also apply pressure to areas that are still liquid or semi-solid.

All aluminum casting manufacturers should assess these measures against the component geometry and solidification sequence. Reducing an unnecessarily heavy section through product redesign may also help.

Validate process changes through production trials

A change that reduces porosity in one sample won't necessarily deliver the same result across the entire production run. Check these changes under repeatable production conditions. A practical validation process involves:

1. Record the defect's location, size, shape, and distribution.

2. Identify the likely mechanism and select a corrective action.

3. Produce trial castings under controlled conditions.

4. Inspect the affected areas across repeat production cycles and compare the results.

This confirms whether the change reduced the defect across production cycles, not just in a single sample.

How Is Porosity Detected and Evaluated?

Porosity isn't always visible on the casting surface. You can detect internal cavities only by sectioning or non-destructive inspection. The right method depends on the component geometry, material thickness, critical areas, and application.

Visual inspection

Visual inspection detects surface-connected pores, holes, blisters, and other surface discontinuities. It's ideal for in-line production checks and final inspection.

However, it cannot confirm internal porosity. A casting with a smooth surface could still have internal cavities.

Sectioning and metallographic examination

Sectioning involves cutting through a casting at a particular location to reveal the internal structure. You can then examine the sectioned surface for pore size, distribution, and shape. Metallographic preparation and microscopy can provide a much better view of the material's structure.

This is a good method for looking at and characterizing defects in a given area. The downside is that you can only assess defects in the area you've examined, so you may miss defects elsewhere.

X-ray radiographic testing

X-ray radiography can be used to inspect the interior of a casting without having to cut it open. Variations in thickness and density are visible in the image and can reveal internal cavities.

Inspectors use radiography to check selected areas for porosity. The ability to detect porosity depends on part thickness and shape, porosity direction, image quality, and inspection settings. Small defects and those masked by part geometry can be very difficult to see.

ASTM E505 reference radiographs help compare and classify discontinuities in aluminum and magnesium die castings. They support agreement on defect type and severity, but they do not set pass-or-fail limits. The purchaser and aluminum die casting manufacturer define acceptance criteria in the drawing, specification, or purchase agreement.

ASTM E2422 provides digital reference images for evaluating discontinuities in aluminum-alloy castings. It applies to digital radiographic inspection, not film X-rays.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 5

Computed Tomography (CT)

Computed tomography uses multiple X-ray projections to generate a 3D representation of a component's internal structure. It can show pore location, pore distribution, and an estimated pore volume.

CT inspection relies on specialized equipment, scan time, and image analysis. Its ability to find small pores depends on the part’s size and thickness, scan settings, voxel resolution, and image-processing settings. Pore measurements also depend on the threshold used to separate voids from metal. Pores near the scanner’s resolution limit may not be measured reliably.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 6

Pressure and leak testing

For pressure-bearing parts, check whether porosity creates a leak path through the casting or its sealing surfaces. Pressure and leak tests show whether a finished part can hold gas or liquid under set conditions.

Choose a test based on the required leak-rate sensitivity, part shape, internal volume, and test conditions. Common methods include air-pressure decay, differential pressure, and helium leak testing.

Pressure decay testing measures the change in pressure over time. The results depend on test volume, temperature stability, test pressure, and measurement equipment. In large test volumes, temperature changes can mask or even simulate a small leak.

Narrow or complex leak paths can also restrict gas flow, making leaks harder to detect. Validate the test method and pass/fail limit against the part’s actual requirements.

For parts with machined sealing surfaces, test after machining. Machining can expose pores inside the casting and create leak paths that earlier inspections could not detect.

Setting acceptance criteria

No single pore size works for all aluminum die castings. Acceptability depends on the part's function, where the porosity is located and how it's distributed, and the relevant customer or industry specification.

A pore in a non-functional area may be acceptable, but a pore near a sealing surface or a pressure boundary may well affect performance. Acceptance criteria define the relevant inspection areas and allowable defect levels.

Depending on the application, the criteria may include:

· Allowable pore size and distribution.

· Restricted areas around sealing faces or load-bearing features.

· Additional pressure or leak-test requirements.

The customer and the manufacturer should agree on the inspection method and acceptance criteria before production begins. NADCA's Product Specification Standards for Die Castings provide a reference for specifying and assessing die-casting quality.

How Does Porosity Affect Machining, Finishing, and Component Performance?

Porosity can sit hidden in aluminum die casting and remain unseen until you get down to machining or surface finishing. Its effect depends on pore location and the part's requirements.

CNC machining can expose internal pores

Machining bores, threaded holes, and sealing faces can remove the as-cast surface layer and expose pores that were previously underneath it. This can affect surface finish, thread quality, dimensional accuracy, and/or sealing.

CNC machining service does not remove internal porosity. Review machining allowances and inspection requirements before tooling begins.

What Causes Porosity in Aluminum Die Casting, and How Can It Be Prevented? 7

Pressure-bearing and sealing components

For pressure-carrying components, the issue is whether the pores form a continuous path through the casting or indeed reach a sealing surface. Individual internal pores won't necessarily cause leakage, but connected pores can allow gas or liquid to pass through the component. Pressure or leak testing may therefore be necessary to confirm that the component meets its specification.

Vacuum impregnation for certain leaking castings

Vacuum impregnation can seal interconnected porosity that causes leaks, provided the casting has the correct structure and dimensions. A sealing resin is introduced into the connected porosity and then cured to seal the leak. It will not repair cracks or open knit lines and should only be used where the customer's specification and service conditions allow.

Effects on mechanical performance

Pores are local stress concentrators and can initiate fatigue cracks, particularly if they're large or close to a highly stressed surface. They can also reduce elongation and fatigue life. The effect depends on pore size, shape, distribution, location, and loading. A static tensile strength test will not indicate fatigue performance.

Gas-containing pores near the surface can expand during heat treatment and cause blisters. Therefore, include heat treatment requirements in your casting and quality planning.

Surface finishing and coating defects

Surface-connected or near-surface pores can release trapped gas or volatile residues during paint and powder coating, resulting in pinholes, bubbles, and blisters. Pores exposed during surface preparation can also affect anodizing, plating, and the final finish. Coating does not solve internal porosity issues.

How Can Manufacturers Control Porosity Throughout Production?

Controlling porosity requires collaboration across product design, mold design, casting, machining, and inspection. Since each step influences the final product, it is crucial to get things right and agree on all requirements beforehand.

At Long Win, we integrate mold design and manufacturing, custom aluminum die casting, CNC machining, and surface treatment.

We can handle everything from prototype and sample runs through small and medium batches to high volume. We have machines from 200T right up to 1300T.

These capabilities support porosity control at different production stages:

· Mold and casting review: assess metal flow, venting, and cooling to identify areas prone to air entrapment and local hot spots before production.

· Machining review: identify the bores, threads, and sealing faces that could expose internal porosity. Set your machining allowances and inspection requirements before tooling.

· Inspection and validation: X-ray inspection to check for internal discontinuities, airtightness testing to check for leakage, and a CMM to verify finished dimensions.

Our metal manufacturing capabilities cover the main production stages, and our case studies show our work with custom metal components.

Conclusion

Porosity control depends on identifying the defect mechanism and addressing it at the correct production stage. Gas entrapment depends on melt quality, shot-sleeve filling, cavity venting, and injection conditions. Shrinkage depends on feeding, local cooling, and solidification behavior.

For custom aluminum components, porosity location matters as much as its size. Machined bores, sealing faces, threaded features, and pressure-bearing sections should have clearly defined internal quality and inspection requirements before production begins.

If you are developing aluminum die casting products, contact Long Win with your engineering drawings and identify the features that require particular attention. The team can review the manufacturing, machining, and inspection requirements before production begins.

prev
How Much Does Custom Aluminum Die Casting Cost, and What Factors Affect the Price?
Which Aluminum Alloy Is Best for Die Casting Your Custom Metal Parts?
next
Recommended For You
No single aluminum alloy is best for every die casting application. The best alloy depends on the component’s function, operating environment, and manufacturing method. A lightweight housing, a heat-dissipation component, a pressure-containing part, and a precision mounting bracket will all have very different requirements for mechanical strength, castability, corrosion resistance, and surface finish.
2026 11 25
Porosity is a common internal defect in aluminum die casting, appearing as small voids that can form during filling or solidification. The effect of porosity will vary depending on the size of the void, the distribution, and the location of the voids. In some cases, it can negatively affect the component's strength, pressure tightness, machinability, and surface finish.
2026 11 19
A custom aluminum die casting cannot be priced by alloy and weight alone. Its design, requirements, and order volume all affect the quote. Two components made from the same alloy and weighing the same can differ significantly in price, because the price depends on geometry, production volume, technical specifications, and the condition in which the part must be delivered. An accurate quote is possible only when all of these are defined.
2026 11 12
A component may look perfect in CAD, but it can be expensive and hard to manufacture. Even if the component meets requirements for weight, size, and stiffness, it may still face problems with mold filling, cooling, ejection, machining, or testing.
2026 11 12
Get in touch with us
Longwin Metal, founded in 2002 as Xiamen Zhenyuan Die Casting Factory, is now an integrated ODM/OEM manufacturer of precision aluminum and zinc die cast components based in Zhangzhou, Fujian.
Contact Us
Contact: Paul Hu
Phone: +86 13950196086
WhatsApp: +86 13950196086
Address: No. 18-1, Fu Zhao Road, Chen Xiang Town, Chang Tai District, Zhang Zhou City, Fujian Province, China
Contact us
email
whatsapp
Contact customer service
Contact us
email
whatsapp
cancel
Customer service