Magnets for steel mandrel pigs are mounted on the steel body of the pig and are used to pick up loose metallic debris in the pipeline. When used in conjunction with brushes mounted on the pig the magnets will catch the mill scale the brushes remove. They can also be used for detection by certain magnetic sensors and receivers.