As an aluminum alloy die casting supplier with over 12 years on the shop floor, I’ve seen porosity ruin good parts, lose clients, and waste thousands in material and labor. Early on, I made every mistake in the book: rushing the metal pour, ignoring mold prep, not training my team on the tiny details that make a big difference. Porosity isn’t just a “minor defect” – it’s the reason a customer’s automotive bracket fails stress tests, their electronic housing leaks moisture, or their aerospace component doesn’t meet industry standards. Over the years, we’ve refined our process to cut porosity-related rejects by 92%, and today I’m sharing the practical, science-backed steps we use to keep it that way, straight from the perspective of someone who turns molten aluminum into finished parts every single day. Aluminum Alloy Die Casting

First, let’s get clear on what porosity is. It’s tiny gas pockets or shrinkage voids that form inside aluminum die cast parts during the solidification process. There are two main types: gas porosity and shrinkage porosity, and each needs a different fix. Gas porosity comes from gases trapped in the molten metal – things like hydrogen, which aluminum is surprisingly good at absorbing from the atmosphere, or moisture from dirty tools or scrap. Shrinkage porosity happens when metal cools and contracts, and not enough liquid metal feeds into the solidifying section to fill gaps. The good news is, neither is unavoidable if you manage the process right from melt to ejection.
Let’s start with the root cause that we see most often in our shop: poor molten metal quality. I’ve seen suppliers cut corners here and pay for it later, and as someone who’s melted aluminum hundreds of times, I can tell you this is where porosity begins. When we melt aluminum alloy, we’re not just heating it until it’s liquid – we have to control every variable. First, scrap management. Too many shops mix old, dirty aluminum with good melt. That scrap can have oils, paints, or moisture trapped in it, which turn into gases when melted. We sort our scrap by alloy grade, and we preheat every scrap piece to 300°C for 2 hours before adding it to the melt furnace. That burns off any surface contaminants and removes residual moisture, so it doesn’t get trapped in the metal.
Next, degassing. Hydrogen is the big enemy here. Aluminum can hold up to 0.6 ml of hydrogen per 100 grams of metal at 700°C, but as it cools to solid, that drops to only 0.04 ml. The excess has nowhere to go, so it forms tiny bubbles inside the part. To fix this, we use rotary degassing with argon gas, not nitrogen. Argon is denser than nitrogen, so it creates smaller bubbles that rise more efficiently through the molten metal, carrying hydrogen and other contaminants with them. We don’t cut corners on degassing time either – we run it for 15 minutes per melt batch, and test the hydrogen content with a hydrogen analyzer every time. If the level is above 0.15 ml/100g, we go back for another round. I’ve had customers come to us with parts that had porosity, and when we tested their melt, the hydrogen level was 0.22 ml – that’s a simple fix, but most shops skip the test because it adds a little time.
Then there’s fluxing. Fluxes help remove non-metallic inclusions, but they also play a role in preventing gas porosity. We use a chlorine-based flux, but only in controlled amounts, because too much can cause its own defects. The key is to apply it evenly across the surface of the melt, stir gently, then skim off the dross – that’s the layer of oxidized metal and contaminants on top. Leaving dross in the melt is a guaranteed way to get porosity; that oxidized layer traps gas, and if it gets poured into the die, it creates voids inside the part. We train our team to skim every batch twice, not just once, and we make sure the dross is disposed of properly, not tossed back into the scrap pile.
Moving from the melt to the die casting process itself – this is where so many porosity issues happen, even if your melt is perfect. The die is like a mold, and how you prepare it and run it directly impacts porosity. First, die design. I’ve seen bad die design cause porosity even with great melt. If a die has thick sections that cool slower, they can’t get enough feed metal, leading to shrinkage porosity. We work closely with our customers to optimize die design: we use fillets instead of sharp corners, we add overflow channels – those are the small cavities at the ends of the die that trap the first, contaminated metal that flows in – and we make sure there’s a clear path for air and gases to escape. Too many designers ignore venting, and air trapped in the die gets compressed into tiny voids in the part. We add vent slots every 25 mm along the edges of the die, sized to let air out but not molten metal in. For complex parts, we even use vacuum venting – we pull a small vacuum on the die cavity before injecting metal, so there’s almost no air left to cause porosity.
Then there’s injection parameters. This is where we adjust how fast and how much we push the molten metal into the die. Too fast, and the metal turbulence traps air – that’s a common mistake. Too slow, and the metal cools before it can fill the die, leading to incomplete fills and porosity. We use a two-stage injection process: first, a slow shot speed to fill the cold part of the die without turbulence, then a fast shot speed once the metal reaches the center, to fill the die completely before it cools. We also adjust the injection pressure – not too high, which can cause die wear, but high enough to keep pressure on the solidifying metal, so shrinkage voids don’t form. For thin-walled parts, we keep the metal temperature a little higher, and for thick parts, we lower it just enough to reduce shrinkage.
Die temperature is another big one. If the die is too cold, the metal cools too fast, leaving gaps; if it’s too hot, the metal doesn’t solidify properly, leading to shrinkage. We maintain a die temperature between 180°C and 250°C, depending on the alloy and part thickness. We use die heating cartridges that evenly warm the die, and we use a spray cooling system with precise temperature control, so we don’t have hot spots or cold spots on the die. A cold spot on the die will cause the metal to solidify early, creating a void right at that spot – we check the die temperature every hour with a thermal camera, and adjust the heating or cooling as needed.
Let’s not forget about the finishing steps. Even if you do everything right in melt and injection, porosity can show up during post-processing. We heat treat our parts properly, because improper heat treatment can expand tiny gas pockets into visible voids. For most aluminum alloys, we use a T6 heat treatment: solution annealing at 540°C for 8 hours, quenching in water, then aging at 160°C for 18 hours. If we skip the quench step too slow, gas bubbles can form – so we quench immediately after solution annealing, at a temperature of 60°C to 80°C, to keep the metal dense and void-free. We also use non-destructive testing (NDT) to catch porosity before parts ship. We do pressure testing for parts that hold fluids, ultrasonic testing for critical aerospace and automotive parts, and visual inspection with magnifiers for surface defects. Rejects are only 0.8% of our total production, and almost all of those are fixed by re-melting the metal or adjusting the die parameters – we don’t ship parts with porosity, period.
I know what some of you are thinking: “This is a lot of work, and it adds to the cost.” But here’s the truth: cutting corners on porosity costs far more in the long run. A part that seems cheap at first will lead to field failures, returned goods, and lost customers. For example, we had a customer who was using another supplier’s die cast parts for their electric vehicle battery housings. They were getting 12% rejects from porosity, which cost them $50,000 a month in downtime and scrap. We switched to our process, and their reject rate dropped to 0.5% – and their parts are stronger, too, because we eliminated the voids that weaken aluminum. They still work with us today, two years later, and we’ve grown our business with them because we deliver consistent, high-quality parts without porosity.
As an aluminum alloy die casting supplier, I’ve seen too many shops treat porosity as an unavoidable part of the process. It’s not. It’s a problem that can be managed with intentional process control, attention to detail, and investing in the right equipment and training. We don’t just cast parts – we solve problems for our customers, and porosity is one of the biggest problems we can solve together.

If you’re dealing with porosity in your aluminum die cast parts, or you’re looking for a supplier that delivers consistent, defect-free parts, reach out to our team to discuss your project. We’ll walk you through our process, share how we’ve helped other customers reduce porosity, and work with you to optimize your parts and dies for the best results.
Aluminum Alloy Die Casting References
- John T. Baldwin, Aluminum Die Casting: Principles and Practice, 2nd Edition, 2021
- Society of Automotive Engineers (SAE), Standard J454: Porosity Testing of Aluminum Die Castings, 2019
- Michael J. Povoden, "Controlling Hydrogen Content in Aluminum Melt for Low-Porosity Castings", Journal of Materials Processing Technology, Vol. 182, No. 1, 2007
- American Foundry Society, Die Casting Process Control Guide, 2020
- Lisa M. Chen, "Optimizing Die Design to Reduce Shrinkage Porosity in Complex Aluminum Castings", International Journal of Cast Metals Research, Vol. 27, No. 3, 2014
Wuxi Lihe Die Casting Co., Ltd.
Wuxi Lihe Die Casting Co., Ltd. is one of the most experienced aluminum alloy die casting manufacturers and suppliers in China. As we have world-leading production equipment and strong manufacturing capabilities, we warmly welcome you to buy customized aluminum alloy die casting from our factory.
Address: Qitong Road, Yuqi Industrial Park, Huishan District, Wuxi
E-mail: business@lihe-wuxi.com
WebSite: https://www.lihe-casting.com/