A sea-going metal-hulled ship or submarine, by its very nature, develops a magnetic signature as it travels, due to a magneto-mechanical interaction with Earth's magnetic field. This signature can be exploited by magnetic mines, or facilitate the detection of a submarine by ships or aircraft with magnetic anomaly detection (MAD) equipment. Navies use the deperming procedure, in conjunction with degaussing, as a countermeasure against this.
Specialized deperming facilities, such as the United States Navy's Lambert's Point Deperming Station and at Naval Base Kitsap, are used to perform the procedure. Heavy gauge copper cables are wrapped around the hull and superstructure of the vessel, and very high electrical currents (as high as 4000 amperes) are pulsed through the cables. This has the effect of "resetting" the ship's magnetic signature. It is also possible to assign a specific signature that is best suited to the particular area of the world in which the ship will operate. But over time, the deperm will begin to degrade, and the procedure must be redone periodically to maintain the desired effect.
During World War II, the United States Navy commissioned a specialized class of degaussing ships that were capable of performing this function. One of them, USS Deperm (ADG-10), was named after the procedure.
With the introduction of iron ships, the negative effect of the metal hull on steering compasses was noted. It was also observed that lightning strikes had a significant effect on compass deviation, identified in some extreme cases as being caused by the reversal of the ship's magnetic signature. In 1866, Evan Hopkins of London registered a patent for a process "to depolarise iron vessels and leave them thenceforth free from any compass-disturbing influence whatever." The technique was described as follows: "For this purpose he employed a number of Grove's batteries and electromagnets. The latter were to be passed along the plates till the desired end had been obtained... the process must not be overdone for fear of re-polarising in the opposite direction." The invention was, however, reported to be "incapable of being carried to a successful issue," and "quickly died a natural death." 
Media related to Deperming at Wikimedia Commons
- Payne, Craig M. (2006). Principles of Naval Weapon Systems. Naval Institute Press. p. 208. ISBN 978-1-59114-658-2. Retrieved January 3, 2011.
- Holmes, John J. (2008). Reduction of a Ship's Magnetic Field Signatures - Volume 23 of Synthesis lectures on computational electromagnetics. Morgan & Claypool Publishers. p. 19. ISBN 978-1-59829-248-0. Retrieved January 3, 2011.
- Lecky, Commander S.T.S., Wrinkles in Practical Navigation, first published 1881, 19th Edition, George Philip & Son Ltd., London, 1917, pp36