A compass points north because its magnetized needle aligns with Earth’s magnetic field, a vast but invisible force generated deep inside the planet’s molten iron core. That field stretches from pole to pole, and a lightweight magnet free to rotate will swing until it lines up with the field lines running roughly toward the geographic north. The story behind why those field lines exist, why they shift over time, and why “north” on a compass is not quite the same as true north turns out to be surprisingly rich.
The Magnet Inside the Earth
Earth behaves like an enormous bar magnet, but there is no actual bar magnet buried underground. Instead, the planet’s magnetic field is generated by the churning motion of liquid iron and nickel in the outer core, roughly 2,900 kilometers beneath your feet. This process, known as the geodynamo, works because the flowing metal is electrically conductive. As convection currents carry hot liquid upward and cooler liquid sinks, the movement of that conducting fluid through existing magnetic field lines induces electric currents, which in turn sustain and regenerate the magnetic field. It is a self-reinforcing loop that has been running for billions of years.
The strength of the resulting field at Earth’s surface is modest by everyday standards. Calculations based on the thermal gradients and electrical properties of the core put it at roughly 30 to 50 microtesla, thousands of times weaker than a refrigerator magnet.1IOP Publishing. A New Look On the Nature of the Earth’s Magnetic Field Yet that faint field is enough to tug a lightweight compass needle into alignment because the needle is balanced on a nearly frictionless pivot and needs only the tiniest torque to rotate.
Why the Needle Swings to North
A compass needle is a small permanent magnet, usually a sliver of magnetized steel or a ferrite ceramic. Like all magnets, it has a north pole and a south pole. When placed inside a magnetic field, a magnet experiences a torque that tries to line it up with the surrounding field lines, the way a weather vane swings to face the wind. Earth’s magnetic field lines emerge from the southern hemisphere and curve through space before re-entering near the northern hemisphere (in magnetic terms, what we call Earth’s magnetic north pole is actually the south pole of the planet’s internal magnet, which is why the north-seeking end of a compass is attracted to it). The needle rotates until its north-seeking pole points along the local field direction, and because the field runs predominantly from south to north at the surface, the needle settles pointing roughly northward.
Friction and the needle’s inertia are the only things that slow this process. Traditional liquid-filled compasses surround the needle with a damping fluid to prevent it from oscillating back and forth endlessly. Dry-card compasses rely on jewel bearings and air resistance instead. Either way, the underlying physics is the same: a free magnet in an external field will align itself with that field.
Magnetic North Is Not True North
One of the first things navigators learn is that a compass does not point to the geographic North Pole. It points toward the magnetic north pole, which is a separate location that wanders over time. The angle between true north and where the compass actually points is called magnetic declination, and it varies depending on where you are on the planet. In some places declination is negligible. In others, it can exceed 20 degrees, enough to send a hiker seriously off course over a long trek if uncorrected.
The reason for this mismatch is that Earth’s magnetic axis is tilted relative to its rotation axis by about 11 degrees, and the geometry of the core’s convection patterns does not produce a perfectly symmetric dipole field. So the magnetic pole sits in a different spot than the geographic pole, and local irregularities in the field pull the compass needle slightly east or west of even the magnetic pole direction. Centuries of careful measurement have tracked how declination shifts over time, and the effort to understand it has driven much of the history of geomagnetism.2Springer Link. The Magnetic Declination: A History of the Compass
Modern topographic maps print the local declination value for their region, and GPS-equipped devices can correct for it automatically. But if you are navigating with a traditional compass and a paper map, applying the right declination adjustment is essential. Getting it wrong by even a few degrees compounds into large errors over distance.
A Pole That Will Not Sit Still
The magnetic north pole drifts because the fluid convection in the outer core that generates the field is not static. Currents shift, eddies form and dissolve, and the overall pattern slowly rearranges itself. The north magnetic pole is defined as the point on Earth’s surface where the geomagnetic field points straight down, and that point has been tracked migrating across the Canadian Arctic toward Siberia for more than a century.3Eos, Transactions American Geophysical Union. What Caused Recent Acceleration of the North Magnetic Pole Drift?
The pace of that drift has not been constant. For much of the twentieth century, the pole ambled along at perhaps 10 to 15 kilometers per year. Starting in the 1990s, it accelerated noticeably, reaching speeds closer to 50 or even 55 kilometers per year. Researchers attribute the speedup to changes in large-scale flow patterns in the outer core, particularly shifts in the intensity of magnetic flux patches beneath Canada and Siberia.3Eos, Transactions American Geophysical Union. What Caused Recent Acceleration of the North Magnetic Pole Drift? The drift is significant enough that the World Magnetic Model, the mathematical representation of the field that underpins everything from smartphone compass apps to military navigation, has to be updated regularly. An out-of-cycle update was issued in 2019 because the pole had moved faster than expected since the previous scheduled release.
When North and South Swap Places
Drift is one thing, but Earth’s magnetic field has done something far more dramatic over its history: it has completely reversed polarity. During a reversal, the magnetic north pole becomes the magnetic south pole and vice versa. This is not a theoretical possibility. It has happened hundreds of times across geologic time, and the evidence is literally written in stone.
When molten rock solidifies, tiny magnetic minerals inside it freeze in the orientation of the ambient magnetic field, locking in a record of the field’s direction at that moment. By studying these records in rocks of different ages, geologists have reconstructed a detailed timeline of reversals. One well-studied example comes from the Tatoosh intrusion in Mount Rainier National Park, where researchers documented a reversal that took place about 14.7 million years ago. Just before the flip, the field’s intensity dropped by roughly an order of magnitude while its direction initially remained stable, and then the pole swung rapidly along a great-circle arc.4PubMed. Paleomagnetic Study of a Reversal of the Earth’s Magnetic Field
That pattern of weakening followed by a directional flip appears to be a general feature of reversals, though the details vary from event to event. The transitional period, when the field is weak and disorganized, can last anywhere from a few thousand to tens of thousands of years. During that time a compass would be unreliable at best, and the weaker field would offer less shielding against solar and cosmic radiation.5PubMed Central. Deciphering records of geomagnetic reversals The last full reversal happened about 780,000 years ago. The field has weakened somewhat over the past few centuries, which occasionally fuels speculation about an impending flip, though predicting the timing of the next reversal remains beyond current science.
Local Distortions That Throw a Compass Off
Even without a reversal, the field your compass reads at any given spot is not a clean, smooth signal from the core. The rocks beneath you can introduce their own magnetic signatures. Volcanic basalt, for example, is rich in magnetite and other iron-bearing minerals, and thick layers of it can create local anomalies that nudge the compass a degree or two away from where the deep-earth field alone would point it. In Iceland, where fresh basalt is abundant and the crust records millions of years of changing polarity, these crustal magnetic anomalies are pronounced enough that geophysicists use them to map underlying geologic structures.6ScienceDirect (Elsevier / Journal of Geodynamics). Paleomagnetism and magnetic anomalies in Iceland
Artificial environments cause even more trouble. The steel frame of a ship, the wiring in a car dashboard, a nearby power line, or even the magnets inside a phone case can overpower the faint pull of Earth’s field and send the needle wandering. This is why aircraft and ships have their compasses carefully calibrated to account for the vessel’s own magnetic signature, and why a hiker is told to hold a compass away from belt buckles and electronics. In a dense urban setting surrounded by rebar and electrical infrastructure, a traditional magnetic compass can become nearly useless.
The Dip Angle You Do Not See
A standard handheld compass only shows you the horizontal component of the magnetic field, because the needle is balanced to stay level. But Earth’s field is not horizontal. It dives into the ground at steep angles near the poles and runs more or less parallel to the surface near the equator. This vertical component is called the dip angle or magnetic inclination, and it ranges from zero degrees at the magnetic equator to 90 degrees at the magnetic poles, where the field plunges straight down.7European Journal of Physics. Measuring the Earth’s magnetic field dip angle using a smartphone-aided setup: a simple experiment for introductory physics laboratories
At high latitudes, the dip is steep enough that a compass needle balanced for use in temperate regions will tilt noticeably, with the north-seeking end dragging downward in the northern hemisphere. Compass manufacturers deal with this by weighting the needle for specific latitude zones. A compass built for use in North America will misbehave in Australia because the counterweight is on the wrong end. Specialty compasses designed for global use have adjustable balance or gimbal-mounted needles to handle the changing dip angle as you travel.
Animals That Navigate by Magnetic Field
Humans need a magnetized needle to sense the field, but many animals appear to detect it directly. Migratory birds are the best-studied example. For nearly half a century researchers have known that species like European robins and homing pigeons can orient themselves using Earth’s magnetic field, but the sensory mechanism behind this ability has been surprisingly hard to pin down.8PubMed. The Radical-Pair Mechanism of Magnetoreception
The leading hypothesis involves a protein called cryptochrome, found in the retinas of birds and some other animals. When light strikes cryptochrome, it generates a pair of reactive molecules whose chemical behavior is sensitive to the orientation of the surrounding magnetic field. In effect, the bird may “see” the magnetic field as a pattern overlaid on its visual scene, brighter or darker depending on which direction it faces. Theoretical work supports the idea that the spin dynamics in these reactions can act as a geomagnetic compass, and that even very low concentrations of the key molecules are sufficient for the mechanism to work.9PubMed Central. Magnetoreception through cryptochrome may involve superoxide The hypothesis is elegant and has strong theoretical backing, though definitive proof that this is the mechanism birds actually rely on remains elusive. Other proposed mechanisms involve iron-containing cells in the beak, and it is possible that some species use more than one system.
Birds are far from alone. Sea turtles, salmon, lobsters, and certain bacteria also respond to magnetic fields. Magnetotactic bacteria contain tiny chains of magnetite crystals that physically rotate the organism to align with field lines, essentially turning the entire bacterium into a living compass needle. The diversity of magnetic senses across the tree of life suggests that the ability has evolved independently multiple times, which makes sense given how reliable and omnipresent the field is as a navigational cue.
Magnetic Fields on Other Worlds
Earth is not the only planet with a magnetic field, and comparing our field to others sheds light on why ours works the way it does. The basic requirement is a conducting fluid undergoing convection somewhere deep inside the planet. On Earth, that fluid is molten iron in the outer core. On Jupiter and Saturn, it is metallic hydrogen, compressed so intensely that hydrogen atoms shed their electrons and behave like a liquid metal. On the ice giants Uranus and Neptune, the conducting fluid may be a pressurized slurry of water, ammonia, and methane. All of these worlds sustain dynamos driven by convection, whether the heat source is primordial or comes from ongoing processes like compositional separation.10Reports on Progress in Physics. Planetary magnetic fields
Mars, by contrast, lost its global field billions of years ago when its smaller core cooled and convection ceased. Without a dynamo, Mars has no dipole field, and a compass on its surface would be useless for navigation (though patches of strongly magnetized crust create localized fields). Venus, despite being similar in size to Earth, also lacks a significant magnetic field, likely because its core convection is too sluggish or because it lost its internal heat through a different pathway. A compass, in other words, only works because Earth happens to have the right combination of a large, still-liquid, convecting iron core and a planet-scale magnetic dynamo to sustain the field. Take away any piece of that puzzle, and the needle has nothing to follow.
Why a Compass Still Matters in a GPS World
With satellite navigation in every pocket, you might wonder whether magnetic compasses are obsolete. They are not, for a practical reason: a compass needs no batteries, no signal, and no software updates. GPS tells you where you are, but a compass tells you which direction you are facing, and it does so passively and reliably in conditions where electronics fail. Backcountry search-and-rescue teams, military units, sailors, and pilots all carry magnetic compasses as backups. Aviation regulations in many countries still require a functioning magnetic compass aboard even the most modern glass-cockpit aircraft, because it is the one instrument that keeps working when everything electronic goes dark.
Smartphones contain tiny magnetometers that mimic a compass, but they are susceptible to interference from the phone’s own speaker magnets, nearby electronics, and even the metal case. Calibration drifts. Software glitches happen. The traditional magnetic compass, a device whose basic design has barely changed in centuries, continues to earn its place in the kit precisely because its simplicity is its strength. It works because Earth has a magnetic field, and because a free magnet will always try to align with the field around it. That fundamental physics is not going anywhere.