XPJoin AX

Welding Defects: Types, Causes, Prevention & Detection

⚙️ Mechanical Engineering 10 min read · Medium · Updated Sep 2026
Master all common welding defects including porosity, undercut, cracks, and slag inclusions. Learn causes, prevention methods, and detection techniques.

Introduction

Welding defects are flaws or imperfections in a weld that reduce its strength, integrity, and performance. Understanding welding defects is essential for welding inspectors, quality control personnel, and anyone preparing for CSWIP or other welding certification exams.

Types of Welding Defects

1. Porosity

Porosity is the formation of small cavities or holes in the weld metal caused by trapped gas. It appears as small round holes on the weld surface or within the weld metal.

  • Causes: Moisture on base metal, contaminated electrode, inadequate shielding gas, high welding speed
  • Prevention: Clean base metal, dry electrodes, ensure proper gas flow, reduce welding speed
  • Detection: Visual inspection, radiographic testing, ultrasonic testing

2. Undercut

Undercut is a groove melted into the base metal adjacent to the weld toe or weld root and left unfilled by weld metal. It creates a stress concentration point that can lead to failure.

  • Causes: Excessive current, improper electrode angle, high welding speed, incorrect arc length
  • Prevention: Adjust current, correct electrode angle, reduce speed, maintain proper arc length
  • Detection: Visual inspection, fillet gauge measurement

3. Weld Cracks

Cracks are the most serious welding defects as they can lead to catastrophic failure. They can occur in the weld metal, heat-affected zone, or base metal.

Types of Cracks

  • Longitudinal cracks: Run parallel to the weld axis
  • Transverse cracks: Run perpendicular to the weld axis
  • Crater cracks: Form at the end of a weld due to improper termination
  • Hot cracks: Occur during solidification at high temperature
  • Cold cracks: Occur after the weld has cooled, often in the HAZ

4. Slag Inclusion

Slag inclusion occurs when non-metallic solid material (slag) is trapped within the weld metal or between the weld and base metal.

  • Causes: Improper cleaning between passes, low current, incorrect electrode angle, contaminated base metal
  • Prevention: Clean thoroughly between passes, use correct current, proper electrode manipulation
  • Detection: Radiographic testing, ultrasonic testing

5. Incomplete Fusion

Incomplete fusion occurs when the weld metal does not properly fuse with the base metal or with previously deposited weld metal.

  • Causes: Low current, low heat input, incorrect electrode angle, contaminated base metal
  • Prevention: Increase current, ensure proper electrode angle, clean base metal thoroughly
  • Detection: Radiographic testing, ultrasonic testing, visual inspection

6. Incomplete Penetration

Incomplete penetration occurs when the weld metal does not extend through the full thickness of the joint.

  • Causes: Insufficient current, improper joint preparation, excessive gap, rapid travel speed
  • Prevention: Increase current, proper joint preparation, correct gap, reduce travel speed
  • Detection: Radiographic testing, ultrasonic testing

Weld Defect Classification

DefectSeriousnessPrimary Detection Method
PorosityModerateVisual, RT
UndercutModerate-HighVisual, Fillet Gauge
CracksCriticalVisual, RT, UT, MT, PT
Slag InclusionModerateRT, UT
Incomplete FusionHighRT, UT
Incomplete PenetrationHighRT, UT

Acceptance Criteria

Different codes and standards have specific acceptance criteria for welding defects. The most commonly used standards are:

  • BS EN ISO 5817 - Quality levels for fusion-welded joints
  • ASME Section IX - Welding qualification
  • AWS D1.1 - Structural welding code

📚 Related Learn

In this page

Loading headings...