Weld Porosity: Most Common Causes, Types, and Ways to Prevent It
Weld porosity is a group of holes or cavities left when gas gets trapped in molten metal as the weld cools. The usual fixes are to clean and dry the joint, protect the weld pool from drafts, and check your gas flow, filler metal, and machine settings.
Have you spotted tiny pinholes along a bead, or found a cavity after grinding a weld smooth? The frustrating part is that porosity can look like a simple surface flaw while hiding deeper inside the joint.
I once rushed through cleaning a joint and blamed my shielding gas when the finished bead came out peppered with small holes. A closer look at the joint showed grime I’d missed, and the extra grinding and rewelding took longer than cleaning would have.
That’s a common mistake, not a dumb one. Porosity can come from several small problems that add up, so the first visible hole doesn’t always point to the real cause.
I wrote this to help you identify what you’re seeing, trace the likely source, and pick a repair that fits the job. It’s for welders who need practical answers, whether you’re working on a home project or troubleshooting a production weld.
If you catch the cause early, you can avoid wasted filler, repeat repairs, and a weak joint that looks fine from a distance. Skip the diagnosis, and you may end up grinding out a much larger area than the pinholes suggest.
This takes about 10 minutes. By the end, you’ll know how to:
- Tell surface pores from cavities hidden inside the weld.
- Check the most common causes in a useful order.
- Decide when you can repair a weld and when it needs inspection.
- Prevent repeat porosity with a simple pre-weld routine.

Porosity in Welding: How to Find and Fix the Main Causes
Porosity forms when gas bubbles get trapped in molten weld metal before the metal solidifies. To stop it, remove contamination, restore proper shielding, and correct the welding process before depositing new metal.
Start with the basic checks: clean the joint and filler, inspect the shielding-gas setup if your process uses one, and make sure the work area isn’t exposing the weld pool to wind. Then check your settings and technique against the machine and filler recommendations.
Shielding gas is the protective gas that keeps air away from the molten weld pool in processes such as MIG and TIG. If the gas supply is interrupted, poorly directed, or disturbed by a draft, air can reach the pool and contribute to pores.
A sensible first pass looks like this:
- Stop welding and inspect the full affected area, not just the largest hole.
- Remove paint, oil, rust, moisture, and other contamination from the joint and nearby surfaces.
- Check the gas cylinder, hose connections, regulator, torch or gun, and nozzle for leaks or blockages if your process uses shielding gas.
- Keep drafts off the weld and hold the torch or gun at the angle and distance recommended for the process.
- Make a test weld on clean, similar material, then inspect it before returning to the part.
If porosity appears in a MIG bead even though the gas cylinder is open, check the path from the cylinder to the nozzle. A loose connection, damaged hose, clogged nozzle, or excessive stickout can reduce effective shielding at the weld pool.
Porosity is one of several common welding defects, but the repair depends on the defect’s location and the job’s acceptance rules. A decorative bead and a pressure-containing component shouldn’t be judged by the same casual standard.
Pro Tip: Change one likely cause at a time on a test piece. If you change gas flow, travel speed, and voltage all at once, a better bead won’t tell you which change solved the problem.
Common Porosity Types and What They Tell You
Porosity types describe the size, shape, and distribution of gas cavities in a weld. Their pattern can help narrow down the cause, but appearance alone can’t confirm what’s hidden below the surface.
Surface porosity appears as visible pinholes or open cavities. Subsurface porosity sits below the weld surface and may not show until the weld is cut, machined, or examined with a suitable inspection method.
| Pattern | What it looks like | Common clues |
|---|---|---|
| Distributed pores | Small holes spread through part of the bead | Contamination, weak shielding, or damp materials |
| Cluster porosity | Several pores grouped in one area | A local dirty spot, poor fit-up, or a temporary shielding problem |
| Linear porosity | Pores arranged along a line | A joint surface or edge may be contaminated |
| Wormhole porosity | Elongated cavities or tracks | Gas may have been trapped as the weld solidified |
| Surface pinholes | Small openings visible at the bead surface | Surface contamination or shielding trouble |
Terms can overlap in everyday shop talk. Blowholes usually means larger cavities caused by gas trapped in the weld, while a field worker may use the word for a visible hole without describing its exact shape. The label matters less than finding the cause and the full extent of the defect.
For more detail on larger cavities, weld blowholes and their causes are worth distinguishing from scattered pinholes. If the surface shows only one opening, don’t assume there’s only one cavity underneath.
Does a smooth cap prove the weld is sound? No. Subsurface pores can remain hidden under a bead that looks tidy, so appearance alone isn’t enough when the drawing, procedure, or application calls for inspection.
Slag inclusion is a different defect: nonmetallic material becomes trapped in the weld rather than gas forming cavities. A dark line or pocket after chipping may point toward slag inclusion in a weld, while rounded voids are more consistent with porosity, though inspection may be needed to tell what’s actually present.
How to Diagnose and Repair a Porous Weld
A porous weld should be repaired only after you’ve found the likely cause and determined how much defective metal must come out. Covering holes with another pass can trap the defect rather than remove it.
The repair path usually follows this order:
- Check the job requirements. Review the drawing, welding procedure, and inspection criteria before grinding or rewelding.
- Mark the affected area. Include visible pores and any nearby section that could contain related defects.
- Remove defective metal. Grind or use another approved removal method until the area is sound, taking care not to thin the part beyond its limits.
- Clean the excavation. Remove abrasive dust, oil, and residue before rewelding.
- Correct the cause. Fix the contamination, gas coverage, draft, or process issue before adding metal.
- Weld and inspect again. Use the required method and acceptance criteria for the job.
A weld procedure is the set of approved directions for how a particular joint is to be welded. If the part is safety-critical, governed by a code, or subject to formal inspection, don’t improvise a repair; follow the approved procedure and bring in a qualified welding inspector or engineer when required.
I’ve had a repair start as a quick skim over a rough-looking bead, only to reveal more pores once the surface was ground back. That was a good reminder to remove the defective metal first, rather than hoping fresh filler would bury the problem.
If the weld also looks poorly bonded to the base metal, don’t treat every dark line or groove as porosity. Lack of fusion in welding means the weld metal didn’t properly bond to the base metal or an earlier pass, and it needs a different diagnosis and repair.
For a noncritical project, you may be able to make a repair after removing the defect and correcting its cause. If you can’t confirm the defect is gone, or the part must meet a stated inspection standard, stop and get the right inspection rather than guessing.
Prevent Porosity Before You Strike an Arc
The best prevention is a clean, dry joint and a stable process from the first pass. A short setup check is far cheaper than cutting out a bead and starting again.
Before welding, check the items that match your process:
- Base metal: Remove oil, paint, rust, scale, and moisture from the joint area.
- Filler metal: Keep wire, rod, or electrodes clean and stored as their manufacturer directs.
- Shielding gas: Confirm the correct gas and flow setup for the process, then check connections and the torch or gun path.
- Work area: Block wind that could disturb shielding, especially outdoors.
- Fit-up: Make sure the joint is accessible and prepared for the required weld.
- Machine settings: Use settings suited to the material, thickness, position, and filler.
Avoid setting gas flow by guesswork. Too little flow may leave the weld pool exposed, while excessive flow can create turbulence that draws surrounding air into the shielding area. Use the process guidance and equipment instructions, then make a test weld when conditions change.
Could a different welding process solve a recurring porosity problem? Sometimes, but changing processes won’t clean dirty metal or correct poor preparation. I’d first fix the basics, then consider a process change if the joint, work area, or production needs make the current setup hard to control.
Important Tip: If you’re welding galvanized, coated, painted, or unknown material, identify the coating and follow the proper safety controls before heating it. Some coatings can release hazardous fumes; use suitable ventilation and respiratory protection where required, and ask a qualified safety professional if you’re unsure.
A weld with pores may look ugly, but appearance can’t tell you whether the problem is cosmetic or serious. If the bead has several visible flaws, common causes of an ugly weld can help separate surface appearance problems from defects that need a closer inspection.
FAQs About Porosity in Welding
Can you weld over porosity?
No, adding another pass over visible pores doesn’t reliably remove the defect. The porous metal needs to be removed to sound material, the cause corrected, and the area rewelded under the job’s approved procedure. A cover pass can hide holes while leaving cavities underneath.
Is porosity in a weld always a defect?
Yes, porosity is a weld discontinuity, but whether it must be repaired depends on the job’s acceptance criteria. A drawing or applicable welding code may set limits for pore size, number, spacing, or location. Don’t assume a few tiny pores are acceptable without checking the requirements.
Can wet metal cause porosity?
Yes, moisture on the joint can contribute gas to the weld pool and lead to porosity. Dry the material and remove other contamination before welding. Also check filler storage and surface conditions, because water isn’t the only source of contamination that can create pores.
What causes pinholes in a MIG weld?
Pinholes in a MIG weld often point to contamination or poor shielding, though more than one cause can be present. Check for oil, paint, rust, drafts, gas leaks, a blocked nozzle, and gun position. A test bead on clean material helps distinguish a setup problem from a dirty workpiece.
Can porosity be hidden inside a weld?
Yes, subsurface porosity can sit below a smooth-looking surface. The inspection method depends on the part, the applicable requirements, and the defect being checked. Visual inspection can find open pores, but a qualified inspector may need another approved method to assess hidden cavities.
Make the Next Weld Easier to Trust
Porosity is a clue, not a complete diagnosis. The reliable fix is to remove the defective metal, correct the source of gas or contamination, and inspect the repair using the standard required for the part.
In my view, clean preparation deserves more attention than last-minute setting changes. A few minutes spent checking the joint, shielding path, filler, and work area can save you a frustrating round of grinding and rewelding.
Your clearest next step is to inspect the porous area and compare the likely cause with the material, process, and job requirements. If the part is safety-critical or acceptance rules are unclear, pause and get qualified guidance before repairing it. That’s how you avoid turning a small, visible problem into a hidden one.
