Porosity in castings: causes, prevention and how to specify inspection - Haworth Castings

Porosity in castings: what causes it, how do you prevent it, and what should you specify?

For: design engineers, manufacturing engineers, procurement, quality/inspection.

 

Porosity is voiding in a casting that can reduce strength or create leak paths. The key prevention step is confirming the mechanism: gas porosity is managed through gas and melt handling controls (often including degassing), while shrinkage porosity is managed through feeding and solidification control. To avoid repeat issues, specify where porosity matters, how it will be verified, and what evidence is required, rather than using blanket “no porosity” wording.

On this page:

 

What is porosity in castings, and when does it matter?

Answer: Porosity is voiding within a casting, and it matters most when integrity, leak-tightness, fatigue resistance, or reliable machining performance is required.

Why: Voids reduce effective material cross-section and can create leak paths or stress concentrations, especially at sealing faces, pressure boundaries, or fatigue-loaded zones.

How to decide:

  • Treat porosity as critical on sealing faces and pressure boundaries.
  • Treat porosity as critical in high-stress or fatigue-loaded zones.
  • Define whether as-cast surfaces are functional or cosmetic.
  • If only cosmetic, specify cosmetic zones rather than applying blanket rules.

When this advice may not apply: Some surface marks are not porosity and require confirmation before treatment.

 

What causes gas porosity in castings?

Answer: Gas porosity is caused by gas entering or remaining dissolved in molten metal, then forming voids during solidification or being trapped during filling.

Why: Gas can originate from moisture sources, melt handling conditions, or turbulent entrainment during filling. It forms fine voiding when it cannot remain in solution as the metal cools.

How to decide:

  • Increased humidity or moisture exposure raises gas porosity risk.
  • Turbulent filling increases entrainment-related voiding risk.
  • Repeated fine voiding across a casting suggests a gas-related mechanism.
  • Gas controls are prevention levers, not substitutes for inspection evidence.

When this advice may not apply: Gas and shrinkage mechanisms can be present together in the same casting.

 

What causes shrinkage porosity in castings?

Answer: Shrinkage porosity is caused by insufficient feeding as the casting contracts during solidification, creating voids in last-to-solidify regions.

Why: If a hot spot cannot be fed with molten metal as it solidifies, contraction leaves cavities or spongy voiding. Heavy sections and abrupt thickness transitions are the most common locations.

How to decide:

  • Localised voiding at heavy sections suggests a shrinkage mechanism.
  • Thick junctions and isolated mass increase hot spot risk.
  • Feeding strategy and solidification control are the primary prevention levers.
  • Geometry changes can shift hot spot locations and move where shrinkage appears.

When this advice may not apply: Fine dispersed voiding can be gas-driven rather than shrinkage-driven, and visual appearance alone does not always distinguish them.

 

How do I tell gas porosity from shrinkage porosity?

Answer: Gas porosity is usually fine and dispersed across broader areas, while shrinkage porosity is usually localised at hot spots or heavy sections where feeding is difficult.

Why: Gas mechanisms produce small voids more widely distributed through the casting, while shrinkage mechanisms concentrate voiding where solidification ends last and feeding becomes inadequate.

How to decide:

  • Fine pinholes or dispersed voids across the casting suggest gas-related porosity first.
  • Larger cavities concentrated at heavy sections suggest shrinkage-related porosity first.
  • Porosity revealed only after machining indicates sub-surface voiding that was not visible as-cast.
  • Use internal inspection methods when distinguishing mechanisms and evidencing integrity.

When this advice may not apply: Visual appearance alone can misclassify mixed mechanisms. Internal inspection is more reliable for confirmation.

Video Transcript

 

How do I tell gas porosity from shrinkage porosity?

The short answer is this. Gas porosity is usually fine and dispersed – small voids spread broadly across the casting. Shrinkage porosity is usually localised – concentrated at hot spots or heavy sections where feeding becomes difficult.

The reason they look different comes down to mechanism. Gas mechanisms produce small voids more widely distributed through the casting. Shrinkage mechanisms concentrate voiding where solidification ends last, and where feeding has become inadequate.

So, what should you look for in practice?

Fine pinholes, or dispersed voids spread across the casting, suggest a gas-related mechanism first. Larger cavities concentrated at heavy sections suggest shrinkage first. If porosity only appears after machining – if it wasn’t visible as-cast – that points to sub-surface voiding, and internal inspection is the more reliable way to understand what you’re dealing with.

One important caution. Visual appearance alone can misclassify mixed mechanisms. In more complex geometries, both mechanisms can be present in the same casting. Where internal integrity needs to be evidenced, internal inspection methods are more reliable than visual assessment alone.

If you’re trying to distinguish the two – or confirm which mechanism is driving a repeat issue – our team is used to working through exactly these questions.

Sand casting is usually the better choice for complex or changeable designs at low to medium volumes, with lower upfront tooling commitment. Gravity die casting is usually the better choice for stable designs with repeat volumes, where consistent outputs and as-cast finish matter.

 

What prevention actions reduce porosity risk most reliably?

Answer: Porosity risk is reduced by confirming the mechanism first, then applying targeted controls for gas management or feeding and solidification control as appropriate.

Why: Porosity is a category, not a single cause. Prevention fails when gas controls are applied to a shrinkage problem, or when feeding changes are applied to a gas problem. Mechanism identification is the prerequisite.

How to decide:

  • For gas porosity: control moisture sources, melt handling, turbulence during filling, and apply degassing where appropriate.
  • For shrinkage porosity: review feeding strategy, improve solidification control, and reduce isolated mass.
  • Use geometry changes to reduce abrupt thickness transitions and isolated hot spots.
  • Treat impregnation as a sealing route for microporosity, not as a root-cause fix.

When this advice may not apply: If the mechanism is unconfirmed, prevention actions may be partial or inconsistent in their effect.

 

What inspection methods confirm porosity, and what should be specified?

Answer: Porosity confirmation requires an inspection method matched to the risk, with internal methods needed where internal integrity must be evidenced.

Why: Visual inspection detects surface-breaking or near-surface porosity but cannot confirm internal integrity. Where pressure boundaries, sealing faces, or structural integrity are at stake, internal inspection methods are needed and must be specified with acceptance criteria.

How to decide:

  • Use internal inspection methods where internal integrity must be evidenced.
  • Define zones where porosity is unacceptable rather than applying blanket rules to the whole part.
  • Specify acceptance criteria aligned to function and risk, not general tightness.
  • Specify reporting outputs if documentation is required for traceability or customer evidence.

When this advice may not apply: Applicable standards can dictate inspection methods, acceptance criteria, and reporting requirements regardless of application detail.

 

What are common mistakes when specifying porosity requirements?

Answer: Common mistakes include blanket “no porosity” wording, not defining critical zones, and specifying inspection without acceptance criteria or evidence outputs.

Why: Ambiguous requirements drive conservative assumptions or mismatched inspection. The result is inflated cost and, in some cases, functional risks that are still not controlled because the requirement was not linked to the function it was meant to protect.

How to decide:

  • Define critical zones explicitly: sealing faces, pressure boundaries, stressed or fatigue-loaded regions.
  • Avoid applying tight requirements to non-functional surfaces where porosity has no functional consequence.
  • Specify inspection method, acceptance criteria, and reporting together – one without the others is incomplete.
  • Align porosity requirements to the integrity and machining needs of each specific zone.

When this advice may not apply: Some customer or sector specifications impose blanket requirements regardless of function. In those cases, the specification governs.

 

What information is needed to assess porosity risk for a specific part?

Answer: You need geometry, integrity requirements, critical zone identification, process route assumptions, and the inspection evidence required to assess porosity risk appropriately.

Why: Porosity acceptability depends on where it occurs and what the part must prove in service. Incomplete inputs lead to over-control on non-functional areas or under-control on critical ones.

How to decide:

  • Provide 3D model and 2D drawing, or full dimensional information, with critical zones identified.
  • State whether the part must be leak-tight or pressure-tested, and to what standard.
  • Identify machined sealing faces, bores, and high-stress or fatigue-loaded zones.
  • State the inspection method, acceptance criteria, and reporting requirements needed.

When this advice may not apply: External standards or customer requirements may define acceptance and evidence outputs regardless of the application detail provided.

 

Porosity quick reference

MechanismTypical signsPrimary preventionConfirmation method
Gas porosityFine pinholes, dispersed small voids across the castingMoisture control, melt handling, reduced turbulence, degassingInternal inspection where required
Shrinkage porosityLarger voids localised at hot spots or heavy sectionsFeeding strategy, solidification control, hot spot reductionInternal inspection where required
Mixed mechanismsDispersed and localised voiding in the same castingConfirm dominant mechanism, then apply targeted controlsInspection that distinguishes internal discontinuity types
Post-process sealing (impregnation)Microporosity causing leak paths on pressure or fluid-carrying partsImpregnation seals voids but does not address the casting mechanismLeak testing before and after to confirm sealing performance

 

FAQs

Can a casting have both gas and shrinkage porosity at the same time?
Yes. Mixed mechanisms are common, particularly in more complex geometries. Where both are present, the dominant mechanism should be identified first so that prevention actions are correctly targeted. Applying only one set of controls when both mechanisms are active typically gives inconsistent results.
Is impregnation an acceptable fix for porosity?
Impregnation is an established process for sealing microporosity in pressure or fluid-carrying castings and is widely used in aerospace, defence, and other sectors. It is a post-process sealing route, not a root-cause fix. The underlying mechanism should still be understood and, where possible, controlled to reduce void volume before impregnation is applied.
Does machining reveal porosity that was not visible before?
Yes. Machining removes surface material and can expose sub-surface voids that were not detectable as-cast. This is particularly relevant at sealing faces and bores where tight function is required. It is one reason why inspection of machined surfaces and internal inspection of critical zones should be considered at the design and specification stage, not only after machining has taken place.

 

If you have a project, talk to our experienced sales team

Contact us