Loading Scale Physics...
Your device does not support WebGL2, so interactive animations are not available. All text content and images are fully accessible.
Updated May 2026
6 min read

Magnetism

Order from Aligned Spins

A Strange Everyday Force

A small ceramic magnet stuck to a refrigerator holds itself up against all the gravity of Earth pulling on it. One cheap piece of metal beats the gravitational field of an entire planet. This is not a demonstration of how strong magnetism is; magnets are usually weak. It is a demonstration of how much weaker gravity is. What is interesting about magnetism is not its strength but its structure: it only shows up when spins inside a material cooperate, and that cooperation is a collective phenomenon that exists nowhere in single-atom physics.

Every electron is a tiny magnet, thanks to its intrinsic spin. In most materials, those little magnets point every which way, averaging to nothing. Bring a compass near a glass of water and nothing happens. In certain materials, the little magnets lock into alignment, and the sum of trillions of aligned spins shows up as a bulk magnetic field. What makes a refrigerator magnet different from a slab of copper is not the individual atoms but how they talk to their neighbors.

Microscopic Magnetism

Every electron carries half a quantum of angular momentum, called spin-1/2, and a corresponding magnetic moment. The moment is tiny but real. In an atom, electrons sharing the same orbital must have opposite spins by Pauli exclusion, so their magnetic moments cancel. Atoms with an odd number of electrons, or with unpaired electrons in partially filled outer shells, have a net magnetic moment per atom. These are the magnetic atoms: iron, cobalt, nickel, gadolinium, and others in the middle of the periodic table with partially filled d or f shells.

Nuclei also carry magnetic moments from the spins of their protons and neutrons, but those moments are about 2,000 times smaller than electron moments because the particles are that much heavier. Nuclear magnetism is real and observable – MRI machines use it – but it is negligibly weak compared to electron magnetism in everyday materials. When you hold a refrigerator magnet, the pull you feel is almost entirely the cooperative alignment of electron spins in iron, not the atomic nuclei.

Electron spin generating a tiny magnetic dipole, with many aligned spins in a lattice creating bulk magnetism
Every electron is a tiny magnet; aligned spins in a lattice create a bulk magnetic field

Why Spins Cooperate

Most of what you might guess about how neighboring spins interact turns out to be wrong. The direct magnetic force between two neighboring electron spins in a crystal is far too weak to hold them in alignment at room temperature; thermal jiggling would scramble them immediately. The real mechanism is a quantum effect called the exchange interaction. It comes from the Pauli exclusion principle combined with electrostatic energy: electrons with the same spin cannot occupy the same region, so the spatial part of their joint wave function is forced to separate, which changes their electrostatic energy. Depending on the crystal, this energy either favors aligned spins (ferromagnetism) or anti-aligned spins (antiferromagnetism). The characteristic energy per spin pair is thousands of times larger than the direct magnetic energy, which is why magnetic order can persist at temperatures where direct magnetic coupling would have no chance.

This is one of those cases where a classical intuition fails entirely. Refrigerator magnets exist because of exchange energy, a purely quantum phenomenon, not because of the magnetic force most people first picture. The magnetic force is too weak. The Pauli exclusion principle, acting through an electrostatic pathway, is what holds a magnet together.

Phase Transition at the Curie Point

Raise the temperature of a ferromagnet and thermal noise starts competing with the exchange energy. Individual spins flip more often. Below a critical temperature – the Curie point – the exchange energy wins on average, and a majority of spins align. Above the Curie point, thermal disorder wins, and the spins are randomized. The transition between these two regimes is a phase transition in the classical thermodynamic sense, sharp and specific, and it looks mathematically identical to the liquid-gas critical point in a completely different system.

Ising model on a 2D grid – temperature cycles through the Curie point to show ordering and disordering

For iron, the Curie temperature is 1043 kelvin (770 degrees Celsius). Hotter than that and iron loses its ferromagnetism entirely, becoming only weakly magnetic. This is why the iron in Earth's inner core, deep enough to be above the Curie point, does not contribute to the planet's magnetic field; the field comes from molten outer-core convection acting as a dynamo, not from any residual magnetization of the iron itself. Cool hot iron back below the Curie point in a magnetic field and the spins re-align. This is roughly how ancient ferromagnetic materials on Earth have recorded the orientation of the geomagnetic field through geologic history, preserving fossil evidence of the geomagnetic reversals that have happened hundreds of times in Earth's past.

Domains

A block of iron at room temperature is below the Curie point, and the exchange interaction aligns spins within small regions. But different regions have different preferred directions, because aligning spins everywhere would store a lot of magnetic energy in the external field. Iron instead forms magnetic domains: patches typically micrometers across, each fully magnetized, but with neighboring domains pointing in different directions. Across the bulk, the domain directions average to nearly zero, and the block is magnetically "neutral" from the outside.

When you apply an external field, domains aligned with the field grow at the expense of domains pointing elsewhere. Domain walls move. Above a certain field strength the block becomes nearly uniformly magnetized. Remove the external field and some domains snap back, but not all – there is residual magnetization, and the block stays magnetic. This is how you turn an ordinary piece of iron into a magnet: apply a strong field and trap the domains in the new configuration. Heat it above the Curie point and the domains vanish, resetting the material.

Cross-section of iron showing magnetic domains with arrows pointing in different directions, some growing under an external field
Magnetic domains in iron, each internally aligned but pointing in different directions

Five Kinds of Magnetic Response

Not every material is ferromagnetic. The full menagerie is richer. Ferromagnets (iron, cobalt, nickel) have spins that spontaneously align at low temperatures, producing a strong, permanent magnetization. Antiferromagnets (chromium, hematite) have spins that alternate direction neighbor-to-neighbor, so the net magnetization is zero even though there is magnetic order. Ferrimagnets (magnetite, the original natural magnet) have alternating spins of different magnitudes that do not cancel, giving a weaker net magnetization than a ferromagnet but with similar behavior.

Paramagnets are materials with unpaired spins that do not mutually align – thermal noise wins at all practical temperatures. They respond weakly to external fields by aligning spins with the field, but the response vanishes when the field is removed. Oxygen gas, aluminum, and liquid oxygen (spectacularly) are paramagnetic. Diamagnets are materials with no net magnetic moment at all; instead, any external field induces a tiny opposing moment in the electron orbitals, producing a very weak repulsion. Water, copper, bismuth, and every living thing are diamagnetic. A strong enough magnet can levitate a live frog, and this has actually been demonstrated.

Planetary and Stellar Magnetism

Earth's magnetic field is not produced by any ferromagnetic material inside the planet. The deep interior is too hot. Instead, the outer core is liquid iron, and its convective motion combined with Earth's rotation drives a dynamo: moving conductive fluid generates electric currents, and those currents generate a magnetic field that sustains the fluid motion in a self-reinforcing loop. The field flips direction at irregular intervals – sometimes a few tens of thousands of years apart, sometimes tens of millions. The most recent full reversal happened about 780,000 years ago, and the present field has been gradually weakening for the past two centuries. Whether that weakening is the early stage of another reversal or just normal variability is currently unsettled. Reversals are stochastic events, not a regular cycle the planet is "due for."

The Sun has a dynamo too, much stronger and more complicated. Solar magnetism drives the sunspot cycle, coronal heating, solar flares, coronal mass ejections, and the entire space weather environment around the solar system. Neutron stars have magnetic fields trillions of times stronger than Earth's, produced by the collapse of their progenitor stars' fields combined with dynamo amplification. Magnetars have fields reaching 1015 gauss – strong enough to distort atoms into needle shapes. Magnetism in extreme environments is a recurring theme across astrophysics, and the physics is always the same: moving charged matter generates fields, and the fields in turn steer the matter.

Earth seen from space with magnetic field lines arcing between the poles, deflecting solar wind particles
Earth's magnetosphere deflects solar wind, protecting the atmosphere and life below

The Bigger Picture

Magnetism is one of the cleanest demonstrations in physics of how bulk properties emerge from collective behavior. Individual electron spins are nearly structureless. A single atom's magnetic moment is unremarkable. A billion aligned atoms in a single domain store serious energy. A planet's worth of convecting conductor generates a field that can steer charged particles across the solar system. The same quantum mechanics acts at every scale, but its consequences look wildly different depending on how many particles are cooperating. This is the central lesson of condensed matter physics, and magnetism is one of its first and clearest chapters.

Most of this is the world you already live in, looked at carefully

An unhandled error has occurred. Reload ðŸ-™