What are you looking for?
Search
Why Does Porosity Form in Aluminum Castings? Gas, Shrinkage & Solidification
Why Does Porosity Form in Aluminum Castings? Gas Entrapment, Shrinkage and Solidification Explained
Porosity is one of the most frequently discussed defects in aluminum casting.
It is also one of the most frequently misunderstood.
A pore exposed after CNC machining may be called porosity.
An internal void found by X-ray may also be called porosity.
A component that fails an air-tightness test may again be described as having a porosity problem.
But these defects do not necessarily originate from the same physical mechanism.
Some pores originate from trapped gas.
Others develop because liquid aluminum cannot adequately compensate for volumetric contraction during solidification.
Still others are associated with entrained oxide films, turbulent filling, local solidification conditions or combinations of several mechanisms.
This distinction matters because different defects require different process solutions.
For engineers developing high-strength aluminum components, the real question should therefore not be:
“Does this casting contain porosity?”
A more useful set of questions is:
What kind of internal discontinuity is present?
When was it created?
Where is it located relative to the final load path, sealing surface or machined feature?
Can the process prevent it from developing in the first place?
Those questions move porosity analysis away from simple defect inspection and toward actual process engineering.

What Causes Porosity in Aluminum Castings?
Porosity in aluminum castings usually develops from several broad mechanisms:
gas entrapment
gas precipitation
solidification shrinkage
oxide-film entrainment
and, in many real components, interactions between them.
These mechanisms should not be treated as interchangeable.
The shape, position and distribution of an internal defect often provide clues about how it formed.
Understanding that origin is the first step toward controlling it.
1. Gas Porosity: Gas Becomes Trapped Before the Metal Fully Solidifies
Gas porosity develops when gas exists inside the molten aluminum and remains trapped as the surrounding metal solidifies.
The gas may originate from several sources.
Air can be physically entrained during cavity filling.
Hydrogen dissolved in molten aluminum can come out of solution as the metal cools and solidifies.
Moisture, lubricants or other process-related sources can also contribute gas under certain manufacturing conditions.
When a gas bubble remains surrounded by liquid or semi-solid aluminum, pressure acts relatively evenly around the bubble.
For this reason, gas porosity often tends to be more rounded than shrinkage cavities.
But the important point is not simply what the pore looks like.
The important point is when the gas became trapped.
If substantial air has already been entrained during mold filling, the later stages of the process begin with an unfavorable internal condition.
That is why porosity control starts before solidification.
It starts with the way molten aluminum enters the cavity.
Why Does Filling Speed Affect Gas Porosity?
A casting process has to move molten aluminum through a runner and gate system and then through the product cavity.
In complex parts, the metal may need to pass:
around bosses,
through thin walls,
past ribs,
into deep pockets,
and around multiple changes in direction.
Simply filling the cavity is not enough.
The metal front also needs to progress in a controlled way.
When metal streams move too aggressively, collide, fold over one another or surround pockets of cavity gas, air can become enclosed in the melt.
The cavity may still appear fully filled.
The external surface may still look acceptable.
Yet the internal structure can contain trapped gas.
This is an important distinction:
Complete filling does not necessarily mean controlled filling.
A process can successfully reproduce the geometry while still creating poor internal material quality.
That is one reason the BEIGONG Integrated Cast-Forging process does not treat cavity filling as an isolated step.
Filling behavior, solidification and subsequent pressure/deformation are treated as related stages of the same forming process.
Turbulence Does More Than Trap Air
Turbulent liquid-metal movement can create another problem.
Molten aluminum develops a thin oxide film extremely quickly when its surface is exposed to oxygen.
Under relatively stable conditions, this oxide remains on the metal surface.
But when the melt folds over itself during turbulent flow, surface oxide films can be folded into the liquid.
Instead of remaining outside the component, they become internal interfaces.
These folded films are often referred to in casting metallurgy as bifilm-type defects.
They are important because two oxidized surfaces do not behave like two clean metallic surfaces brought together under ideal metallurgical conditions.
The result can be an internal discontinuity.
Such oxide-film defects can also interact with gas and shrinkage.
For example, a folded oxide film may provide a location where gases collect or where an internal cavity opens during subsequent solidification.
So when an irregular defect appears after machining, it should not automatically be diagnosed as:
“a gas bubble.”
The real mechanism may involve:
turbulent filling → oxide entrainment → local gas accumulation → solidification shrinkage
rather than one isolated event.
2. Shrinkage Porosity: The Metal Cannot Feed the Region That Is Still Solidifying
Shrinkage porosity has a different physical origin.
Aluminum changes volume as it transforms from liquid into solid.
During solidification, regions that remain liquid must receive enough additional material to compensate for this contraction.
This process is usually described as feeding.
If the remaining liquid metal can reach a region that is still shrinking, the volume loss can be compensated.
If the feeding path becomes blocked before solidification is complete, an internal void may remain.
That void is shrinkage porosity.
This means shrinkage is strongly controlled by:
solidification sequence
local wall thickness
thermal gradients
feeding paths
and
the ability of material to move while solidification is occurring.
Why Thick Sections Are More Vulnerable to Shrinkage
Consider a structural aluminum part containing:
a thin rib,
a thick mounting boss,
and a transition between them.
The three areas do not necessarily cool at the same rate.
The thin rib loses heat relatively quickly.
The thick boss contains more thermal mass and generally remains hot longer.
The intersection between them may become a local hot region.
As a result, the thin section can become substantially solid while the thick region is still undergoing solidification.
At that point the earlier-solidified area may begin to restrict the flow of remaining liquid metal toward the thicker section.
If the thick region continues contracting but can no longer be fed adequately, internal shrinkage can develop.
This is why recurring porosity around:
bosses
thick junctions
large bearing seats
or
wall-thickness transitions
should not automatically be treated as random process variation.
The component geometry may be creating a repeatable solidification condition.
Solidification Is Not an Instantaneous Liquid-to-Solid Switch
A useful way to understand shrinkage is to stop imagining solidification as:
Liquid → Solid
with nothing in between.
In reality, aluminum develops through intermediate material states.
As cooling begins, solid crystals start to form inside the liquid.
These crystals grow into branching structures known as dendrites.
At the beginning, large amounts of liquid still remain between them.
As solidification progresses, the dendrites grow and begin to interact.
The liquid becomes confined to increasingly narrow channels.
Eventually, a continuous solid skeleton develops.
The material therefore passes approximately through:
mostly liquid
↓
liquid with developing solid crystals
↓
semi-solid dendritic network
↓
near-solid material with restricted liquid feeding
↓
fully solid material
The ability of the material to respond to pressure changes continuously through these stages.
This is why timing matters so much.
What Is Dendrite Feeding and Why Does It Matter?
During the earlier stages of solidification, liquid aluminum can still move between developing dendrites.
This allows the material to compensate for local volume contraction.
But as the dendritic network becomes more interconnected, those feeding channels become narrower and more difficult to use.
Eventually, long-range liquid feeding becomes severely restricted.
If a region still needs material after the effective feeding path has closed, shrinkage porosity becomes increasingly likely.
This explains why pressure applied at different moments during solidification can produce very different results.
Pressure applied while substantial feeding is still possible may help move material toward a shrinking region.
Pressure applied after a rigid solid network has already formed has to act through a different mechanism.
At that stage, the process increasingly depends on plastic deformation and local structural compaction rather than liquid feeding.
This transition is central to understanding pressure-assisted forming.
Why Simply Increasing Casting Pressure Is Not Enough
A common reaction to porosity is:
“Increase the pressure.”
But pressure alone is not a complete process strategy.
Several questions need to be answered first.
When is the pressure applied?
Where is the pressure applied?
Can the pressure actually reach the defect-prone region?
What physical state is the aluminum in at that moment?
Can liquid feeding still occur?
Can the developing solid structure still deform?
These questions are more important than the machine's nominal pressure value alone.
Consider trapped gas.
If turbulent filling has already enclosed a large gas pocket and the surrounding metal rapidly solidifies, increasing pressure at another location in the die does not magically remove the original gas.
Gas is compressible, so pressure may reduce the pore volume while the surrounding material is still responsive.
But the gas itself does not simply disappear.
Likewise, a folded oxide film introduced during poor filling is not automatically converted back into clean, continuous aluminum merely because the machine later applies higher pressure.
Pressure is therefore most useful when it is built into a coordinated forming strategy.
Pressure-Assisted Solidification Is Different From “High Pressure”
The term pressure-assisted solidification describes something more specific than simply operating a casting machine at a high pressure.
The engineering objective is to apply useful pressure while the material is still undergoing structural development.
At this stage, pressure can potentially assist:
feeding of remaining liquid metal
compaction of developing semi-solid structure
reduction of local shrinkage cavities
and
controlled deformation as the material approaches a solid condition
The key idea is:
Pressure has to interact with the material at the right stage—not merely exist somewhere in the machine cycle.
This is one of the principles behind Integrated Cast-Forging technology.
Instead of treating casting as one completed manufacturing operation and forging as another completely separate operation, the process coordinates filling, solidification and deformation within one forming route.
Why the Timing of Forging Matters
Forging too early and forging too late are not equivalent.
If deformation is applied while the material is still excessively liquid, the developing solid skeleton may not yet be able to sustain the intended plastic deformation.
Material can move, but the structural strengthening mechanism is different from deforming a near-solid or solid network.
If forging is delayed too long, the component may already have developed:
restricted feeding paths
coarse solidification structure
or
internal defects that can no longer be effectively influenced through the intended mechanism.
Between these extremes exists a process window in which the material condition allows pressure and deformation to interact with the developing structure.
That process window depends on:
alloy
part geometry
local section thickness
temperature
solidification rate
and
the location of the critical area.
This is why Integrated Cast-Forging should not be interpreted simply as:
casting + forging machine.
The important technology is the coordination of material state, pressure, time and deformation.
Why Local Pressure Can Matter More Than Uniform Pressure
Complex structural parts do not have uniform geometry.
They also do not have uniform stress distribution.
A steering knuckle, for example, may contain regions associated with:
bearing support,
suspension connection,
steering connection,
and structural transitions.
A motor mount may contain thick mounting zones connected to thinner ribs or shells.
A wheel-end component may contain local areas where both dimensional accuracy and load-carrying capacity are critical.
These areas may require different forming attention.
That is why applying one identical forming condition to the entire component is not always the most effective strategy.
BEIGONG's Integrated Cast-Forging equipment was developed around coordinated injection, loading, pressure application and local forging actions.
The purpose is not simply to generate maximum force.
It is to make pressure and deformation controllable around the process requirements of the actual component.
3. Why Gas Porosity and Shrinkage Porosity Respond Differently to Pressure
Two voids inside a casting may look similar in a simple X-ray image.
But their response to process changes can be very different.
Gas-Filled Porosity
Gas is compressible.
When external pressure increases, the volume of a gas-filled pore can decrease while the surrounding aluminum remains sufficiently deformable.
But this does not mean that pressure has eliminated the original gas source.
If filling continues to entrain excessive air, the process is still creating the same underlying problem.
Therefore, a better strategy is usually:
reduce unnecessary gas entrainment first
rather than:
trap the gas and try to compress it later.
This brings the process back to:
metal cleanliness,
filling behavior,
venting,
gate design,
and controlled metal movement.
Shrinkage Porosity
Shrinkage is connected to lack of material during solidification.
If sufficient liquid or deformable semi-solid material remains available, pressure can potentially help compensate for the volume loss.
This makes pressure during solidification particularly relevant to shrinkage control.
But even here, timing matters.
Once the surrounding material becomes too rigid and feeding is fully interrupted, the available mechanisms become increasingly limited.
The process therefore needs to anticipate the solidification sequence rather than merely reacting after a defect appears.
Why Porosity Often Appears Only After CNC Machining
A raw aluminum component can look completely sound.
No pores are visible.
No obvious surface defects appear.
Then CNC machining begins.
Material is removed from a bearing seat, flange, sealing surface or precision bore.
Suddenly, an internal cavity appears.
It may look as though machining produced the defect.
In most cases, machining has simply exposed an internal discontinuity that already existed beneath the original surface.
This distinction is important because the correct solution is upstream.
Changing CNC parameters cannot eliminate a pore that was already created during filling or solidification.
For this reason, the manufacturing engineer should ideally know which surfaces will later become:
bearing seats
sealing faces
threaded interfaces
precision bores
fluid passages
or
critical structural transitions
before the forming process is finalized.
We discussed the related production-cost issue in Why Does CNC Machining of Aluminum Billets Become Expensive?, where near-net-shape manufacturing can reduce the amount of material that must later be removed.
But reduced machining alone is not enough.
The material beneath the machining allowance also has to possess the required internal integrity.
Porosity Does Not Automatically Mean Leakage
Another important distinction is:
Porosity ≠ leakage.
Suppose a housing wall contains several isolated pores.
The internal path may look like this:
Pressure cavity → sound metal → isolated pore → sound metal → external surface
There is no continuous channel.
The component may remain completely pressure-tight.
Now consider a network of connected discontinuities:
Pressure cavity → pore → connected defect → pore → surface
Gas or liquid can move through the wall.
Now the component can fail a leak test.
So for pressure-containing or sealed aluminum components, pore connectivity can be more important than the simple existence of one isolated pore.
This is why a casting can look perfect externally and still fail functional testing.
The subject is explained in more detail in Why Can an Aluminum Casting Look Perfect and Still Fail a Leak Test?.
The key engineering principle is:
Internal integrity must be evaluated according to the function of the component.
Why Porosity Also Matters for Welding
The same internal defect can create a completely different problem when the downstream process changes.
Consider an aluminum part containing subsurface gas porosity.
During machining, the pore may remain harmless.
But later the part is welded.
The welding process creates intense localized heating.
If a gas-containing region enters or approaches the molten weld pool, trapped gas may expand or enter the liquid metal.
This can contribute to weld porosity and unstable joint quality.
The welding station may appear to be the source of the problem.
But the underlying defect may have been created much earlier during casting.
This is why the manufacturing history of the base material matters.
For high-performance components, joining requirements should be considered before the blank is produced, not after production has already fixed the internal material condition.
Porosity Can Also Affect Heat Treatment
Heat treatment exposes the material to another demanding condition.
During solution treatment, aluminum components can be held at elevated temperature for a significant period.
Internal gas pores and casting defects do not simply disappear during this process.
Under some conditions, defects that were relatively inconspicuous in the as-cast condition may become more problematic after high-temperature exposure.
This is one reason many conventional die-casting alloys and casting routes require careful consideration before a full solution-treatment cycle is specified.
The manufacturing challenge is discussed further in Why Is Die-Cast Aluminum Difficult to Solution Heat Treat?.
Again, the lesson is similar:
downstream processing reveals the quality created upstream.
Why Porosity Can Affect Anodizing
Porosity is usually discussed as an internal structural problem.
But near-surface defects can also affect surface treatment.
A pore located completely inside a component may never affect appearance.
If machining, polishing, blasting or chemical pretreatment exposes the defect, however, the anodized surface can develop:
pits
dark spots
local irregularities
or
visual inconsistency.
This shows why forming quality cannot be separated completely from finishing quality.
The surface-treatment tank is close to the end of the manufacturing process.
But some surface defects originate much earlier.
Why Porosity Location Matters More Than a Simple Percentage
Engineers sometimes ask:
“What porosity percentage is acceptable?”
There is rarely one useful answer for every part.
Consider the same small defect in four different places:
inside a thick cosmetic region,
next to a threaded hole,
at the edge of a sealing surface,
inside a high-stress suspension connection.
The defect has not changed.
Its engineering significance has.
For structural components, engineers therefore need to consider:
defect size
defect morphology
defect location
orientation
distance from critical surfaces
and
the local stress state of the finished part.
This is particularly important for components such as:
steering knuckles,
control arms,
wheel hubs,
motor mounts,
structural connectors,
and other load-bearing aluminum parts.
That is why manufacturing development for these parts cannot rely only on cosmetic inspection.
Porosity Control Should Begin With the Part Design
A useful process review starts with the component itself.
Before tooling, engineers should identify:
Where are the thick sections?
Where are thin-to-thick transitions located?
Where could two metal fronts meet?
Which regions are likely to become last-solidifying hot spots?
Where are the final machining surfaces?
Which areas carry the highest structural load?
Which surfaces must remain leak-tight?
These questions influence:
gate design,
filling strategy,
solidification behavior,
local pressure application,
machining allowance,
and inspection planning.
This is why solving porosity only at the quality-control stage is inefficient.
By the time inspection finds the pore, most of the decisions that created the pore have already been made.
From “Casting a Shape” to “Controlling the Material State”
This is one of the most important distinctions in understanding Integrated Cast-Forging.
A conventional process discussion often begins with geometry:
Can the mold reproduce the component shape?
Integrated Cast-Forging adds another question:
What condition is the aluminum in while that geometry is being produced?
During one forming sequence, the material moves through different states:
Liquid
The primary requirement is controlled cavity filling.
↓
Early solidification
Feeding remains relatively easy and the process begins managing contraction.
↓
Semi-solid
Dendritic networks develop and liquid movement becomes increasingly restricted.
↓
Near-solid
The material becomes capable of supporting more significant deformation.
↓
Solid-state strengthening
Controlled deformation can influence local structure and load-bearing regions.
The manufacturing process therefore uses the changing material state rather than treating every stage as mechanically identical.
This is fundamentally different from simply using higher pressure during an otherwise conventional casting cycle.
Why Casting and Forging Do Not Have to Be Two Completely Separate Processes
Traditionally, casting and forging are often considered two distinct manufacturing families.
Casting provides excellent geometric freedom because liquid metal can fill complex cavities.
Forging provides strong structural performance because solid or near-solid material undergoes plastic deformation.
The traditional trade-off is therefore:
complex geometry → casting
versus
forging-type material structure → forging
Integrated Cast-Forging attempts to use advantages from both stages within a coordinated process.
The goal is not simply to shorten the process chain.
That would undervalue the technology.
The more important objective is to use:
liquid-state formability
together with
pressure-assisted solidification
and
controlled deformation
to influence the finished material condition.
For a high-strength structural component, this opens manufacturing possibilities that are difficult to obtain from conventional casting alone.
Why This Matters for High-Strength Aluminum Alloys
The issue becomes even more important when the project requires alloys or performance levels beyond what conventional die-casting systems are normally optimized for.
For example, 6061 is widely used in structural aluminum applications because of its heat-treatment response, mechanical performance, machinability and established engineering use.
But conventional casting of 6061 presents significant metallurgical challenges.
That is why complex 6061 components have traditionally been associated more strongly with:
forging,
extrusion,
plate,
billet,
and subsequent CNC machining.
The manufacturing problem is discussed in Why Is 6061 Aluminum Difficult to Cast?.
Integrated Cast-Forging creates a different route: use forming to generate complex near-net geometry while coordinating solidification and deformation rather than asking a wrought alloy to behave exactly like a conventional die-casting alloy.
That is where the technology becomes more than an efficiency improvement.
It becomes a way of expanding the manufacturing design space for high-performance aluminum components.
Can Integrated Cast-Forging Eliminate All Porosity?
No.
No credible manufacturing process should be described as automatically eliminating every possible internal defect.
Final quality still depends on:
alloy preparation,
melt condition,
component geometry,
tooling,
gate design,
temperature,
filling behavior,
pressure timing,
solidification sequence,
local deformation,
heat treatment,
machining,
and validation.
Integrated Cast-Forging provides additional process mechanisms for controlling the material.
It does not eliminate the need for engineering.
This distinction is important.
A supplier statement such as:
“Our process has zero porosity.”
is much less meaningful than explaining:
where the defect risks are,
how the forming process addresses them,
which locations require local pressure or deformation,
and
how the finished component will be validated.
How Should Engineers Diagnose Porosity in Aluminum Parts?
When a porosity problem appears, it is useful to investigate the process systematically rather than changing parameters randomly.
Step 1: Examine the Defect Shape
Ask whether the defect is:
round,
irregular,
dendritic,
film-like,
elongated,
clustered,
or crack-like.
Different morphologies suggest different mechanisms.
Step 2: Map the Defect Location
Determine whether defects repeatedly occur:
near a gate,
at the end of the filling path,
around a thick boss,
inside a large junction,
near a wall-thickness transition,
or after machining a specific feature.
Consistent location usually indicates a consistent process condition.
Step 3: Review Filling Behavior
Ask:
Could air become trapped here?
Do metal fronts collide here?
Could the melt fold over itself?
Is venting adequate?
Step 4: Review the Solidification Sequence
Ask:
Which region solidifies first?
Which region remains hot longest?
Can liquid metal still feed the final solidifying area?
Step 5: Review Pressure Timing
Do not ask only:
“What pressure is being applied?”
Ask:
“What state is the material in when that pressure reaches the region?”
This is usually a much more useful question.
Step 6: Review Final Part Function
Finally ask whether the defect intersects:
a high-stress region,
a sealing boundary,
a bearing seat,
a thread,
a weld zone,
or a critical machined interface.
This determines the real engineering significance of the defect.
What Should an OEM Provide Before Process Development Begins?
For custom structural aluminum components, a good manufacturing review should begin before tooling.
Useful project information includes:
2D drawings
3D CAD data
target aluminum alloy
heat-treatment requirements
critical dimensions
machined surfaces
load-bearing regions
sealing requirements
surface-treatment requirements
inspection standards
prototype quantity
and
expected production volume
This allows the manufacturing team to evaluate the complete route rather than answering only:
“Can we make this shape?”
BEIGONG develops custom aluminum components around the actual geometry, material and performance requirements of the project. You can review our custom aluminum component manufacturing capabilities when evaluating a new structural component.
Frequently Asked Questions About Aluminum Casting Porosity
What is the main cause of porosity in aluminum castings?
There is no single cause. Porosity can result from trapped gas, dissolved hydrogen, inadequate feeding during solidification, shrinkage or oxide-film-related defects. In many real components, multiple mechanisms interact.
What is the difference between gas porosity and shrinkage porosity?
Gas porosity contains trapped gas and often appears relatively rounded. Shrinkage porosity forms because solidification contraction cannot be adequately compensated by remaining liquid metal and often has a more irregular or dendritic morphology.
Why does aluminum die casting have gas porosity?
Rapid cavity filling can trap air if the flow front becomes unstable, folds over itself or isolates cavity gas before adequate venting occurs. Melt hydrogen and other process conditions can also contribute.
Can increasing pressure remove casting porosity?
Not necessarily. Pressure can assist feeding and structural consolidation when applied under suitable material conditions, but it cannot automatically reverse defects already created through turbulent filling, gas entrapment or oxide-film entrainment.
What is pressure-assisted solidification?
Pressure-assisted solidification means applying useful pressure while the aluminum is still undergoing solidification so that feeding, contraction compensation and structural consolidation can be influenced before the material becomes completely rigid.
Why does porosity show up after machining?
The pore often existed beneath the original surface. CNC machining removes the material covering it and exposes the internal defect.
Does all porosity cause leakage?
No. Isolated pores may remain completely enclosed within sound metal. Leakage becomes more likely when internal defects connect and create a continuous passage between a pressurized cavity and the outside surface.
Does porosity reduce aluminum part strength?
It can. The effect depends on pore size, morphology, location and local stress. A defect located in a highly stressed structural region can be much more significant than the same defect located in a low-load area.
Can Integrated Cast-Forging reduce porosity risk?
Integrated Cast-Forging provides more process control over filling, pressure-assisted solidification and subsequent deformation. These mechanisms can improve internal material conditions, but component-specific process development and validation are still required.
Is Integrated Cast-Forging the same as casting first and forging the part later?
No. The key difference is that filling, solidification and deformation are coordinated within one forming route. The material is acted upon as its physical state changes rather than completing a conventional casting cycle and treating forging as a completely separate downstream operation.
The Real Porosity Problem Begins Before Inspection
Porosity is often discovered near the end of manufacturing.
But that is rarely where the problem began.
A pore revealed during machining may have originated during cavity filling.
A leak discovered during pressure testing may have originated from connected discontinuities formed during solidification.
Weld porosity may expose gas that had already been trapped inside the base material.
An anodizing defect may reveal near-surface material irregularities that existed long before surface treatment began.
The recurring lesson is the same:
Downstream processes often reveal the material quality created upstream.
For demanding aluminum components, the better approach is therefore not simply:
manufacture → inspect → reject defective parts.
It is:
understand the component → design the forming route → control filling → manage solidification → apply pressure and deformation at the appropriate material state → machine → validate.
That is the manufacturing logic behind BEIGONG's Integrated Cast-Forging technology.
For projects involving complex high-strength aluminum structural components, you can also review the Integrated Cast-Forging equipment platform and custom aluminum component manufacturing capabilities.
The objective is not simply to manufacture the external geometry of an aluminum part.
It is to control what happens inside the material while that geometry is being created.