QuestionMagnetism

How Do Magnets Work? Magnetic Fields and Domains Explained

Diagram of the magnetic field lines around a bar magnet next to iron filings lining up around a real magnet
Diagram of the magnetic field lines around a bar magnet next to iron filings lining up around a real magnet. Image: Geek3; derivative work by MikeRun (CC BY-SA 3.0), via Wikimedia Commons

Magnets work because the electrons in atoms act like tiny magnets, and in a magnet the electron magnets of billions of atoms are lined up in the same direction, producing a magnetic field. In most materials these tiny magnets cancel out, but in iron, cobalt and nickel they line up in regions called magnetic domains.

Contents

The full answer

Every magnet is surrounded by a magnetic field, an invisible region in which it pushes or pulls on other magnets and on materials such as iron. The field comes from electrons, the tiny charged particles around the nucleus of every atom. Each electron has a property called spin, which makes it behave like a very small bar magnet with its own north and south poles.

In most atoms the electrons come in pairs with opposite spins, so their magnetism cancels out. Some atoms, such as iron, have unpaired electrons, so each atom is a tiny magnet. Even then, a material is only strongly magnetic if those atomic magnets line up with each other instead of pointing in random directions.

In ferromagnetic materials, mainly iron, cobalt, nickel and some of their alloys, a quantum effect called the exchange interaction makes neighboring atomic magnets line up. They form regions called magnetic domains, each containing billions of atoms pointing the same way. In an ordinary iron nail the domains point in many different directions and cancel out. In a magnet most domains point the same way, and their fields add up to a field strong enough to pick up a paper clip.

Every magnet has a north pole and a south pole. Like poles repel each other, and opposite poles attract.

Domains, field lines and poles

Magnetic domains are small, from about a thousandth of a millimeter to around a millimeter across, and they are separated by thin boundaries called domain walls. When a piece of iron is placed in a strong magnetic field, the domains that point along the field grow while the others shrink, and the whole piece becomes magnetized. Soft iron loses this alignment as soon as the field is removed. Hard magnetic materials, such as hardened steel, ferrite ceramics and neodymium alloys, keep their domains aligned and become permanent magnets.

Physicists draw magnetic field lines to show the shape of a field. Outside a magnet the lines run from the north pole to the south pole, and they crowd together near the poles, where the field is strongest. Iron filings sprinkled around a magnet line up along these lines and make them visible. Inside the magnet the lines continue from south back to north, so every field line is a closed loop.

Cutting a bar magnet in half does not separate its poles: each piece becomes a complete magnet with its own north and south pole. Scientists have searched for a magnetic monopole, a particle with a single pole, but none has ever been found.

Heat destroys magnetism. Above the Curie temperature, named after the French physicist Pierre Curie, husband of Marie Curie, atoms vibrate too strongly to stay aligned. For iron this is 770 °C (1,418 °F).

Magnets in everyday life

Magnets are hidden inside a great deal of modern technology. Electric motors in fans, washing machines and electric cars use magnets and coils of wire to turn electricity into motion, while generators in power stations and wind turbines turn motion into electricity. Loudspeakers and headphones use a magnet and a coil to push a thin cone back and forth and make sound. Hard disk drives store data as tiny magnetized regions on spinning disks, and fridge magnets hold notes to the steel door.

The strongest common permanent magnets are neodymium magnets, made of neodymium, iron and boron (Nd2Fe14B). They were developed in the early 1980s by General Motors and Sumitomo Special Metals, working separately, and are now found in phones, earbuds, electric motors and wind turbines. The strength of a magnetic field is measured in tesla (T):

Magnetic fieldTypical strength
Earth’s field at the surface25–65 microtesla (0.000025–0.000065 T)
Fridge magnetabout 5 millitesla (0.005 T)
Inside a neodymium magnetabout 1.0–1.4 T
Hospital MRI scanner1.5–3 T

How are electricity and magnetism linked?

In 1820 the Danish physicist Hans Christian Ørsted noticed that an electric current in a wire made a nearby compass needle swing. Moving electric charges create magnetic fields, and this link between electricity and magnetism is called electromagnetism. In fact, the magnetism of spinning electrons and the magnetism of a current in a wire are two forms of the same thing.

An electromagnet is a coil of wire that becomes a magnet when current flows through it. Winding the coil around an iron core makes it much stronger, because the coil’s field lines up the domains in the iron. Unlike a permanent magnet, an electromagnet can be switched on and off and its strength can be adjusted. Scrapyard cranes use large electromagnets to lift old cars, and doorbells, relays and MRI scanners depend on them too. The effect also works in reverse: moving a magnet near a coil of wire produces an electric current, which is how generators work.

Why does Earth act like a giant magnet?

Earth has its own magnetic field, generated deep underground. Its outer core is a layer of liquid iron and nickel more than 2,000 km (1,200 miles) thick. Heat escaping from the inner core, together with Earth’s rotation, keeps this molten metal churning, and the moving metal carries electric currents that produce a magnetic field. This self-sustaining process is called the geodynamo.

A compass needle is a small magnet that is free to turn. Its north pole points toward geographic north. Because opposite poles attract, the magnetic pole near the geographic North Pole is actually a magnetic south pole. Earth’s magnetic poles slowly wander, and over geological time the whole field has reversed direction many times. The field also shields the planet from many of the charged particles streaming from the Sun, and some animals, including sea turtles and migrating birds, sense it to find their way.

Common misconceptions

Magnets attract all metals. They do not. Only a few metals, led by iron, cobalt and nickel, are strongly attracted, as explained in is iron magnetic. Aluminum drink cans, copper wires, gold and silver are not noticeably attracted. Many kitchen-grade stainless steels are not attracted either, because the way their atoms are arranged prevents magnetic domains from forming.

Bigger magnets are always stronger. Strength depends mainly on the material. A small neodymium magnet can grip far more strongly than a much larger ceramic fridge magnet.

The magnetic north pole sits exactly at the North Pole. The magnetic pole is several hundred kilometers from the geographic pole and moves every year. In recent decades it has drifted from the Canadian Arctic toward Siberia.

Magnets slowly run out of power. A good permanent magnet loses only a tiny part of its strength over many years, unless it is heated, dropped hard or placed in a strong opposing field.

Frequently asked questions

How do magnets work in simple terms?

Each electron acts like a tiny magnet because of a property called spin. In a magnet, the electron magnets of billions of atoms point the same way, so their effects add up to a magnetic field that pushes and pulls on other magnets and on iron.

What metals are attracted to magnets?

Iron, cobalt and nickel, and many alloys that contain them, such as most steels, are attracted to magnets. Aluminum, copper, gold, silver and lead are not noticeably attracted.

Why do magnets have a north and a south pole?

The magnetic field of a magnet leaves from one end, called the north pole, and loops around to the other end, the south pole. Like poles repel and opposite poles attract, and no magnet with only one pole has ever been found.

What is the strongest type of magnet?

The strongest common permanent magnets are neodymium magnets, made of neodymium, iron and boron (Nd2Fe14B). The strongest magnetic fields of all are made by electromagnets, including the superconducting magnets used in MRI scanners and research laboratories.

Can a magnet lose its magnetism?

Yes. Heating a magnet above its Curie temperature, 770 °C (1,418 °F) for iron, scrambles its magnetic domains. Strong blows or a powerful opposing magnetic field can also weaken a magnet.

Why does a compass point north?

A compass needle is a small magnet that lines up with Earth’s magnetic field. Its north pole is attracted toward the magnetic pole near the geographic North Pole, which is therefore a magnetic south pole.

More on Big World List

Sources and further reading

  • OpenStax, "College Physics 2e"
  • Encyclopaedia Britannica, "Magnetism"
  • Richard Feynman, "The Feynman Lectures on Physics"
  • National High Magnetic Field Laboratory, "Magnet Academy"

Cite this page

“How Do Magnets Work? Magnetic Fields and Domains Explained.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-magnets-work/.

More about Iron