Magnetic Particle testing is a method for detection of surface and sub-surface defects in ferrous materials. By using an externally applied magnetic field or electric current through the material, and the principle that the magnetic flux will leave the part at the area of a flaw.
The presence of a surface or near surface flaw in the material causes distortion in the magnetic flux through it, which causes a leakage of the magnetic fields at the flaw. This leakage will “hold” magnetic particles in the area, revealing the flaw to the technician.