Ph · Physics

How Can You Temporarily Demagnetize a Magnet?

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the magnet

    A soft iron magnet loses most of its magnetism when the magnetizing field is removed; a permanent magnet usually does not.

  2. 2. Apply an opposing field

    Use a controllable electromagnet or coil to create a field opposite to the magnet’s field.

  3. 3. Adjust carefully

    Increase the opposing field only enough to reduce the field where needed, and avoid exceeding the magnet’s coercive field.

  4. 4. Remove the field

    Switch off the coil. Reversible changes may relax, but a permanent magnet’s original strength is not guaranteed to return exactly.

You can temporarily reduce the magnetic field around a magnet by applying an opposing magnetic field. The practical method is to use a controllable electromagnet or coil, then switch it off. This is different from fully demagnetizing a permanent magnet: strong demagnetizing methods can permanently change its magnetization, so the magnet may not recover its original strength.

The distinction matters because “demagnetize” can mean either cancel the field in a particular place or reduce the magnet’s own magnetization. An opposing field can do the first reversibly; the second is generally not something you can guarantee to reverse exactly.

Use a controllable opposing field

Place the magnet in, or near, the field of an electromagnet. Orient the electromagnet so its field points opposite to the magnet’s field, then adjust the current until the field at the location of interest is small. When you switch off the electromagnet, the applied field disappears.

For an ideal long solenoid with an air core, its approximate interior field is

Bcoil≈μ0nI,B_{\text{coil}} \approx \mu_0 n I,

where nn is the number of turns per unit length, II is the current, and μ0\mu_0 is the permeability of free space. This gives a way to estimate the coil’s field, but it does not by itself determine the current needed to cancel a particular magnet. The magnet’s shape, position, material, and the point where you measure the field all matter.

A compass or a suitable magnetic-field sensor can help you find the direction and measure the change. A compass shows direction, but it is not a precise instrument for checking that the field has been reduced to zero.

Worked example: reducing the field at one point

Suppose a small magnet produces a field of about 2 mT2\,\text{mT} at a sensor. An opposing coil produces about 0.5 mT0.5\,\text{mT} per ampere at that same point. In an idealized setup, a current of 4 A4\,\text{A} would produce a field of 2 mT2\,\text{mT} in the opposite direction:

I=2 mT0.5 mT/A=4 A.I = \frac{2\,\text{mT}}{0.5\,\text{mT/A}} = 4\,\text{A}.

The fields would approximately cancel at the sensor while the current flows. This does not mean the permanent magnet itself has been demagnetized. It means the net field at that point has been reduced. In a real setup, measure and adjust the current; the field may not be uniform, and the magnet can affect the coil’s field.

Why permanent magnets may not recover

A permanent magnet contains magnetic domains whose alignment gives it a net magnetization. Applying a reverse field changes that alignment. Small changes can be reversible, but if the reverse field pushes the magnet past the knee of its demagnetization curve, it can lose strength. This limit depends on the material, temperature, and operating point, and is not necessarily identical to a quoted coercivity. A still stronger reverse field can reverse the magnetization.

Thus, switching off the opposing coil does not guarantee that a permanent magnet returns to exactly its initial state. If you need a reliable temporary effect, cancel the field externally rather than trying to erase the magnet’s magnetization.

Soft iron and electromagnets

Soft iron is relatively easy to magnetize and demagnetize. If it is magnetized by a nearby coil, switching off that coil usually removes most of its magnetism, though some residual magnetism can remain. An electromagnet is simpler still: switch off its current to remove its main magnetic field. In either case, residual fields can depend on the material and its magnetic history.

Methods to avoid for temporary demagnetization

Heating a permanent magnet, striking it, or exposing it to a strong alternating magnetic field can reduce its magnetization. These methods are used for demagnetization, but they do not offer a dependable temporary on/off effect. Heating above a material’s Curie temperature destroys its ordered magnetization while hot, and the magnet may not regain its former strength as it cools. A decreasing-amplitude alternating field is also a demagnetizing procedure, not a reversible switch.

Common mistakes

  • Confusing cancellation with demagnetization: Opposing fields can cancel at a point without removing the magnet’s own magnetization.
  • Using too much reverse field: A sufficiently strong opposing field can permanently weaken or reverse a permanent magnet.
  • Assuming zero field everywhere: Cancellation at one spot does not imply that the field is zero throughout the surrounding space.
  • Using heat or impact for a temporary effect: These can cause lasting changes and are difficult to control.

If you need a magnet to stop attracting an object briefly, changing the geometry, moving a soft-iron flux shunt into place, or using a switchable electromagnet may be more practical than trying to demagnetize a permanent magnet.

References

  1. Introduction to Electrodynamics, David J. Griffiths
  2. Introduction to Electromagnetism, David M. T. Kuo

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.