Follow the Forge:FacebookInstagram

Weld porosity: causes and fixes for pinholes

Free guide · The Welder's Forge · updated September 2026

Porosity is a set of small cavities in the weld, formed by gases (hydrogen, carbon monoxide, nitrogen) that get trapped as the metal freezes. Sometimes the pinholes show on the surface. Sometimes they are inside and only appear when you grind the bead.

Quick answer

The most common causes are dirty metal (paint, oil, rust, galvanizing), poor gas shielding (draft, wrong flow, spatter-clogged nozzle) and damp consumables. The type and location of the pores tell you which one it is.

Diagnosis: each cause leaves a signature

CauseHow it shows upFix
Moisture in the electrode or consumableUniform pores along the beadDry the consumables; preheat if needed
Contaminated surface (oil, paint, rust)Pores at the start of the beadClean with a non-chlorinated solvent (let it dry fully) and grind to bright metal
Insufficient gas shielding (flow, draft)Pores on the surfaceSet the correct flow; block the draft
Arc too long (stick)Scattered round poresShorten the arc
Current too lowPorosity at the rootRaise the current

Table 12.1 of the e-book The Welder's Forge.

Porosity in MIG: the checklist

In MIG, the gas is all that protects the puddle. When pores appear, check in this order:

  1. Is the cylinder open and does it have gas? It sounds obvious, but it explains many "mystery" pores.
  2. A draft or fan near the gun: any moving air carries the gas away.
  3. Correct flow: about 17–21 CFH (8–10 L/min) with .030 in wire and 21–25 CFH with .035 in wire. More is not better: it creates turbulence and pulls air in.
  4. Nozzle full of spatter: it deflects the gas. Clean it and use anti-spatter spray or gel.
  5. Leaks in the hose, the fittings or the gas diffuser.
  6. Gun held too far from the work: the gas never reaches the puddle.
  7. Dirty or galvanized metal: grind to bright metal on both sides of the joint.

Gases and flow rates are in MIG welding gas compared. If the diffuser or the nozzle is clogged, replacement and cleaning are covered in MIG contact tip.

The complete e-book

Reference tables, stick, MIG/MAG and TIG technique and safety in one PDF, written in plain American English.

Porosity with stick electrodes

Galvanized and coated metal

Zinc coating causes pores and releases toxic fume. Grind the zinc off the weld area, ventilate well, wear a NIOSH-approved respirator with P100 filters, and never weld galvanized steel in an enclosed space. Paint and other coatings can also give off hazardous fume, so strip them back first.

Porosity with flux-cored wire

Self-shielded flux-core carries its shielding in the wire, so wind matters less. The usual causes are damp wire (a spool left open in the garage), dirty or galvanized metal and slag not removed between passes. With gas-shielded flux-core (E71T-1), use the same checklist as for MIG: the gas still has to reach the puddle. More in gasless MIG with flux-core wire.

A routine that prevents it

Bench tip

Before you change any setting, run a short bead on clean scrap with the door shut against drafts. If the pores disappear, the problem is the part or the environment, not the machine.

Is porosity a serious defect?

It depends on how much and where. A few small pores in a decorative piece may not matter. In a part that carries load, porosity reduces the effective section and can start cracks. Quality standards such as ISO 5817, AWS D1.1 and ASME Section IX set how much is acceptable in each case. In a structural part, the right move is to grind the area out and weld it again. Other problems are covered in common welding defects.

Frequently asked questions

Why is my MIG weld full of pinholes?
Almost always lack of gas shielding (empty cylinder, draft, wrong flow, dirty nozzle) or dirty metal. Work through the checklist in order.
Will turning up the gas fix porosity?
Not always. Above the recommended flow the gas turns turbulent and pulls in air. Eliminate the draft and clean the nozzle first.
Does welding over rust cause porosity?
Yes. Rust, paint and oil release gases into the puddle. Grind to bright metal before you weld.
How can I tell if there are pores inside the bead?
They often show only when you grind the bead. On demanding work, nondestructive tests such as radiography or ultrasonic testing are used.

Want all of this in one PDF?

The e-book The Welder's Forge covers stick, MIG/MAG and TIG from the first arc to the shop floor, with reference tables and technical figures, in plain American English.

PDF for phone, tablet or computer · instant access · 14-day guarantee

More welding guides

Common welding defects and how to fix themUndercut, porosity, lack of fusion, spatter and cracksMIG welding gas: 75/25, CO₂ or argon?75/25, CO₂ or argon: which to use and what flow rateMIG welding settings chart: voltage, wire speed and gas flowWire size, thickness, voltage, wire speed and gas flow