Why Is Iron Magnetic? The Science Explained

Iron is magnetic because of a rare combination of atomic and collective properties that only a handful of elements share. Each iron atom carries four unpaired electrons whose quantum-mechanical spins produce a small magnetic moment, but the real key is what happens when billions of iron atoms sit together in a solid: a quantum effect called the exchange interaction forces neighboring atoms to align their spins in the same direction, turning individual atomic magnets into something you can feel pulling on a paperclip. That cooperative alignment is what separates iron from the many other metals that have unpaired electrons yet never stick to your fridge.

What Happens Inside an Iron Atom

Iron has 26 electrons arranged in shells around its nucleus. The outermost shell that matters for magnetism is the 3d shell, which can hold up to ten electrons but in iron contains only six. Because of how electrons fill available energy levels, four of those six end up without a partner spinning in the opposite direction. Each unpaired electron behaves like a microscopic magnet, and four of them in a single atom add up to a meaningful magnetic moment.

Having unpaired electrons is necessary for magnetism, but it is not sufficient on its own. Plenty of elements across the periodic table have unpaired electrons. Manganese, for instance, has five unpaired 3d electrons, one more than iron, yet a chunk of manganese metal sitting on a table is not ferromagnetic. The difference between a paramagnetic material (one that responds weakly to an external magnet and loses interest the moment the magnet is removed) and a ferromagnetic material (one that can become a permanent magnet) depends on what happens between atoms, not just within them.

Why Iron and Not Most Other Metals

The property that makes iron, cobalt, and nickel the only three elements that are strongly magnetic at room temperature is the exchange interaction. This is a purely quantum-mechanical phenomenon with no everyday analogy. In simplified terms, the energy of a system of two neighboring atoms depends on whether their electron spins point the same way or opposite ways. In iron, the math works out so that parallel alignment is the lower-energy state, meaning nature favors it. The atoms spontaneously cooperate.

Whether the exchange interaction favors parallel or antiparallel alignment depends heavily on the ratio between the distance separating two atoms and the size of their electron orbitals. A concept known as the Bethe-Slater curve captures this relationship: it predicts a crossover from antiferromagnetism (neighboring spins pointing opposite ways, canceling out) to ferromagnetism (spins aligned, adding up) as you move across the 3d transition metals from chromium and manganese to iron, cobalt, and nickel.1Scientific Reports. The Bethe-Slater curve revisited; new insights from electronic structure theory Iron sits on the ferromagnetic side of that curve, and its particular lattice spacing happens to produce an especially strong preference for parallel alignment. Chromium and manganese fall on the antiferromagnetic side, which is why their bulk magnetism cancels out despite all those unpaired electrons.

The real understanding of why the exchange interaction works the way it does arrived only with quantum mechanics in the early twentieth century. Earlier theories, like those of Langevin and Weiss, could partly describe paramagnetic and ferromagnetic behavior but could not explain the underlying cause.2arXiv. A Brief history of magnetism Weiss postulated an internal “molecular field” that forced spins to align, but it took quantum theory to reveal that this field arises from the exchange interaction between overlapping electron wave functions, not from any classical magnetic force.

Magnetic Domains and Why a Piece of Iron Is Not Always a Magnet

If every iron atom in a nail spontaneously aligns its spin with its neighbors, you might expect every iron nail to be a magnet right out of the box. Most are not, and the reason is that a bulk piece of iron breaks up into magnetic domains. Each domain is a tiny region, sometimes only micrometers across, within which all the atomic spins point in the same direction and the material is magnetized to saturation.3ScienceDirect. On the magnetic structure of iron But neighboring domains point in different directions, so their fields largely cancel out. From the outside, the nail looks non-magnetic.

This domain structure exists because it is energetically favorable. A single large domain would create a strong magnetic field extending into the surrounding space, and maintaining that field costs energy. By splitting into many small domains with opposing orientations, the material minimizes its total magnetic energy. The boundaries between domains, called domain walls, are thin transition zones where the spin direction rotates gradually from one orientation to the next.

When you bring a magnet near the nail, the domains whose orientation already aligns with the external field grow at the expense of their misaligned neighbors. Domain walls shift, and if the external field is strong enough, the entire nail becomes a single domain pointing one way. Remove the magnet, and some of that alignment persists because the domain walls do not always snap back to their original positions. Defects in the crystal, like grain boundaries or impurity atoms, act as pinning sites that resist wall motion, creating a frictional force that keeps some magnetization locked in.4ScienceDirect. Theory of ferromagnetic hysteresis This is hysteresis, and it is the reason you can make a permanent magnet by stroking a steel needle with a magnet: you are shoving domain walls past their pinning sites and trapping them in a new configuration.

How Crystal Structure Changes the Picture

The form of iron you encounter in everyday life is called alpha-iron, and it has a body-centered cubic (bcc) crystal structure. This is the strongly ferromagnetic phase, with a magnetic moment of about 2.2 Bohr magnetons per atom. But iron can also adopt a face-centered cubic (fcc) structure, called gamma-iron or austenite, which appears at temperatures above about 910 °C in pure iron or at room temperature in certain alloys like austenitic stainless steel.

The magnetic behavior of fcc iron is dramatically different. First-principles calculations on thin fcc iron films show that they prefer a low-spin ferromagnetic state with an average magnetic moment of only about 1.0 Bohr magneton per atom, roughly half that of the bcc phase.5arXiv. Magnetic properties and structural phase transition in ultrathin fcc Fe(111) and bcc Fe(111) films: first-principles study In bulk fcc iron, the situation is even more complicated: depending on the lattice spacing, fcc iron can be ferromagnetic, antiferromagnetic, or essentially nonmagnetic. This is why your stainless-steel kitchen sink, which is mostly fcc iron stabilized by nickel and chromium, does not attract magnets. The atoms are the same element, but the geometry of how they are packed changes the exchange interaction enough to suppress ferromagnetism.

The transition between the two structures also explains a curiosity about iron thin films. As fcc films grow thicker, there is a critical thickness (around 23 atomic layers) at which the preferred structure flips from fcc to bcc, and the magnetic anisotropy energy drops to near zero, matching what you would expect from bulk bcc iron.5arXiv. Magnetic properties and structural phase transition in ultrathin fcc Fe(111) and bcc Fe(111) films: first-principles study In other words, iron “finds” its familiar strong magnetism once the crystal structure shifts to the bcc arrangement.

Impurities, Steel, and Magnetic Quality

If you have ever noticed that some steel objects stick to a magnet while others do not, the explanation usually comes down to composition and crystal structure. Pure iron, defined as 99.9% or better purity, is a soft magnetic material, meaning it magnetizes and demagnetizes easily. But even tiny amounts of nonmetallic impurities like carbon, oxygen, sulfur, and nitrogen can substantially degrade its magnetic performance because these atoms slip into the spaces between iron atoms in the lattice and interfere with domain wall movement.6ScienceDirect. Chapter 2 Soft magnetic metallic materials

Commercial iron typically has maximum permeabilities (a measure of how easily it magnetizes) in the range of 10,000 to 20,000, but careful annealing in hydrogen and vacuum can push that figure above 100,000.6ScienceDirect. Chapter 2 Soft magnetic metallic materials This matters enormously for applications like transformer cores, where you want iron that magnetizes and demagnetizes with as little energy loss as possible. The less carbon and other junk in the lattice, the more freely the domain walls can move, and the less energy is wasted as heat.

On the other end of the spectrum, permanent magnets benefit from impurities and microstructural features that pin domain walls in place, making it hard for the magnetization to reverse. Hard steel, with more carbon, holds a magnetic field better than pure iron precisely because all those carbon atoms create obstacles for domain walls. The same underlying physics, domain wall motion and pinning, explains both soft and hard magnetic behavior; the difference is whether you are trying to help or hinder wall movement.

The Curie Temperature

Heat is the enemy of ferromagnetism. As temperature rises, the thermal energy of the atoms begins to compete with the exchange interaction that holds neighboring spins in alignment. At a critical temperature called the Curie temperature, thermal jostling wins, and the cooperative alignment collapses. For iron, the Curie temperature is about 770 °C. Above that point, iron becomes paramagnetic: it still responds to an external magnetic field, but only weakly, and it loses all magnetization the instant the external field is removed.

This transition is abrupt and reversible. Cool the iron back below 770 °C and domains reform spontaneously, though the specific domain pattern may differ from what existed before heating. The Curie temperature is an intrinsic property of the material that depends on the strength of the exchange interaction. Cobalt, whose exchange interaction is stronger, has a higher Curie temperature (about 1,115 °C), while nickel’s is lower (about 358 °C). Alloying iron with other elements shifts its Curie point, which is one of the tools engineers use to tailor magnetic materials for high-temperature applications like jet engine sensors.

Iron Compounds and How Magnetism Can Vanish or Survive

Iron the element is ferromagnetic, but iron compounds run the full spectrum from strongly magnetic to completely nonmagnetic, depending on how the iron atoms are arranged and what oxidation state they are in. Magnetite, Fe₃O₄, is one of the most magnetic naturally occurring minerals. It was the original “lodestone” that fascinated ancient civilizations. Magnetite contains iron in two different oxidation states (Fe²⁺ and Fe³⁺), and the way these are distributed across two types of crystal sites creates a net magnetic moment through a mechanism called ferrimagnetism, where opposing sublattice magnetizations do not fully cancel.

Rust, by contrast, is mostly hematite (α-Fe₂O₃), which is only very weakly magnetic. In hematite, the iron atoms are all Fe³⁺ and arranged so that neighboring spins nearly cancel, leaving only a faint residual magnetism from a slight canting of the spin axes. If magnetite oxidizes further toward maghemite (γ-Fe₂O₃), it can retain significant magnetism, but the process introduces defects (missing iron atoms in the crystal lattice) that progressively reduce the saturation magnetization.7Corrosion Science. The application of infrared spectroscopy to the study of rust systems—II. Study of cation deficiency in magnetite (Fe3O4) produced during its transformation to maghemite (γ-Fe2O3) and hematite (α-Fe2O3) So a rusty piece of iron is gradually losing its magnetic identity as its surface iron converts from metallic bcc iron to various oxides.

Iron at the Center of the Earth

The largest concentration of iron on Earth sits thousands of kilometers beneath your feet, in the planet’s core. The outer core is liquid iron (alloyed with nickel and lighter elements), and its churning convective motion generates Earth’s magnetic field through a self-sustaining dynamo process.8PubMed. Earth’s core and the geodynamo Ironically, none of this core iron is ferromagnetic. At core temperatures exceeding 4,000 °C, iron is far above its Curie temperature, so its atomic spins are not cooperatively aligned. The geodynamo works through electromagnetic induction in a conducting fluid, not through the kind of spin alignment discussed in this article.

What does change under those extreme conditions is the electronic spin state of the iron atoms themselves. At the pressures found in the lower mantle (above roughly 100 GPa), iron in minerals like perovskite undergoes a gradual transition from a high-spin state, where the electrons occupy the maximum number of unpaired orbitals, toward a low-spin state, where electrons pair up and the magnetic moment shrinks.9PubMed Central. Electronic spin state of iron in lower mantle perovskite This spin transition affects the density and physical properties of the minerals, which in turn influences how material flows in the mantle. So even when iron is not ferromagnetic, its spin behavior has planetary-scale consequences.

Iron in Your Blood

Every red blood cell carries roughly 270 million molecules of hemoglobin, and at the center of each hemoglobin molecule sits an iron atom. This is the iron responsible for binding oxygen in your lungs and releasing it in your tissues. A natural question is whether that iron makes your blood magnetic, and the answer is: barely, and not in the way you might think.

Linus Pauling and Charles Coryell discovered in the 1930s that there is a large difference in magnetism between the oxygenated and deoxygenated forms of hemoglobin.10PubMed Central. Discovery of the magnetic behavior of hemoglobin: A beginning of bioinorganic chemistry Deoxyhemoglobin is paramagnetic, with unpaired electrons on the iron, while oxyhemoglobin is diamagnetic, meaning its electrons are all paired and it is actually very slightly repelled by a magnetic field. This difference is real and measurable, and it is the physical basis of functional MRI (fMRI), which detects changes in the ratio of oxy- to deoxyhemoglobin in the brain to map neural activity.

But no amount of dietary iron supplements will make you attract paperclips. The iron in hemoglobin is bound inside a complex organic structure (the heme group) that completely changes its magnetic character compared to metallic iron. Each iron atom is isolated from every other iron atom by the protein scaffold, so there is no exchange interaction, no cooperative alignment, and no ferromagnetism. The total amount of iron in an adult human body is only about 3 to 4 grams, distributed across billions of molecules, each one magnetically on its own.

Magnetic Records in Meteorites

Some of the most magnetically interesting iron on Earth did not originate here. Iron-nickel meteorites contain a mineral called tetrataenite, an ordered iron-nickel alloy that forms only under extraordinarily slow cooling rates, sometimes just a few degrees per million years. Tetrataenite is a remarkably hard permanent magnet, and the nanoscale islands of it found in the “cloudy zone” of certain meteorites can preserve a record of the magnetic fields that existed in the early solar system billions of years ago.

Not all meteorites are equally useful for this kind of paleomagnetic detective work. If the meteorite cooled too slowly, the tetrataenite islands grew large enough to break up into multiple magnetic domains, creating large-scale uniform magnetization regions that cannot reliably record an ancient field. If it cooled too quickly, there was not enough time for the iron and nickel atoms to order themselves into tetrataenite at all. The most reliable magnetic records come from meteorites with intermediate cooling rates, roughly 2 to 500 °C per million years, which produce tetrataenite islands that are, in the researchers’ phrasing, “just right” in both size and degree of chemical ordering.11Geochemistry, Geophysics, Geosystems. Variations in the Magnetic Properties of Meteoritic Cloudy Zone

Tetrataenite has also attracted commercial interest as a potential rare-earth-free permanent magnet material. The strongest permanent magnets used in electric motors and wind turbines today rely on neodymium and other rare-earth elements, which are expensive and concentrated in a few countries. Tetrataenite’s magnetic hardness is competitive, but replicating in a laboratory the million-year cooling process that produces it in space remains a formidable challenge. Recent work on rapid synthesis methods has made progress, though a commercially viable process is still in development.

Common Misconceptions Worth Clearing Up

One persistent misconception is that iron is magnetic “because it is a metal.” Most metals are not ferromagnetic. Copper, aluminum, gold, silver, titanium, and zinc are all metals, and none of them stick to a magnet. Metallic bonding and electrical conductivity have nothing to do with ferromagnetism. The relevant property is the exchange interaction between localized 3d electrons, something specific to iron, cobalt, nickel, and certain rare-earth elements like gadolinium (which becomes ferromagnetic only below room temperature).

Another common confusion involves the idea that magnets “run out” of magnetism over time. A well-made permanent magnet loses its magnetization extremely slowly under normal conditions. What does destroy magnetism is heating above the Curie temperature, applying a strong opposing magnetic field, or physically shocking the material hard enough to jostle domain walls off their pinning sites. A magnet sitting quietly on a shelf at room temperature can retain its field for decades or longer.

A subtler misunderstanding is that stainless steel “isn’t magnetic.” Some stainless steels are and some are not. Ferritic stainless steels (like the 400 series) have a bcc crystal structure and are clearly magnetic. Austenitic stainless steels (like 304 and 316) have an fcc structure stabilized by nickel and are mostly nonmagnetic, though cold working can induce a partial transformation to a magnetic phase. If your refrigerator door attracts magnets but your kitchen sink does not, the difference is the crystal structure of the alloy, not whether the steel contains iron.