A magnetic compass works because its needle is a small magnet free to rotate. Earth’s magnetic field exerts a torque on that needle until it aligns with the field’s horizontal direction. The marked end then indicates magnetic north, which is usually close to—but not identical with—geographic north.

What happens in five steps

1. The needle has magnetic poles

Inside a basic compass, a magnetized steel needle or magnetic card has two poles. Magnetic materials contain many microscopic magnetic regions. Manufacturing and magnetization leave enough of those regions aligned for the needle to behave as a lasting bar magnet.

2. A low-friction support lets it turn

The needle balances on a pivot, jewel bearing, or fluid-damped suspension. Gravity supports its weight while the bearing allows horizontal rotation with little friction. Liquid slows oscillation, helping the pointer settle, but the liquid does not create the north-seeking behavior.

3. Earth’s field applies a torque

A magnetic dipole in an external magnetic field experiences a turning effect when it is not aligned. One pole is pushed one way and the other the opposite way, producing torque rather than a large net translation. The needle swings past the preferred direction, loses energy to friction and damping, and settles along the local field.

4. The horizontal field defines magnetic north

Earth’s field is three-dimensional. A level compass responds mainly to its horizontal component. The north-marked end points along that component, not directly toward one physical spot called the magnetic pole. Near magnetic poles the horizontal component becomes weak, so an ordinary compass can be unreliable.

5. The scale turns alignment into a bearing

A rotating bezel or printed card divides the horizon into degrees and directions. Once the compass is level and settled, the user compares the needle with that scale. Navigation then requires a correction if the desired reference is true north rather than magnetic north.

Magnetic north, true north, and grid north

True north follows a meridian toward Earth’s geographic North Pole, the point where the rotation axis meets the surface. Magnetic north is the horizontal direction a compass indicates locally. Grid north follows the vertical lines of a map projection. These directions can differ, so a compass bearing and a map bearing are not automatically interchangeable.

Why declination matters

Magnetic declination is the angle between magnetic north and true north at a location. It can be east or west, varies across Earth’s surface, and changes with time as processes in the liquid outer core alter the geomagnetic field. A declination printed on an old map may no longer be accurate. NOAA and other geomagnetic agencies publish models and calculators for current estimates.

Adding or subtracting declination requires a consistent convention, so navigators should follow the instructions for their map, compass, and region rather than memorize an ambiguous slogan. For consequential travel, a current local value and practiced technique matter more than the general mechanism.

Why some needles tilt

Field lines are not normally horizontal. In much of the Northern Hemisphere they angle downward toward the north; in much of the Southern Hemisphere they angle upward in that direction. This magnetic inclination, or dip, can make a freely suspended magnet tilt. Manufacturers balance compass needles for broad geographic zones so they remain level enough to turn without rubbing.

What makes a compass point the wrong way?

Nearby magnetic fields add to Earth’s relatively weak field. Speakers, phones, magnets, steel tables, vehicles, reinforced concrete, electric currents, and magnetized rock can deflect the needle. Moving away and comparing readings helps reveal local interference. A bubble under the capsule, a bent pivot, static charge, or holding the body at a steep angle can also prevent a stable reading.

Is a phone compass the same thing?

A phone usually uses a three-axis magnetometer rather than a visible needle. Software combines magnetic measurements with accelerometers and gyroscopes, applies calibration, and may compare location data with a magnetic-field model. The sensor still measures the local field and remains vulnerable to magnetic cases, mounts, vehicles, and nearby metal. GPS can estimate travel direction while moving, but that is a different measurement from magnetic heading.

Why magnetic north moves

Most of Earth’s field is generated by moving electrically conducting fluid in the outer core. That geodynamo changes over time, while magnetized crust contributes smaller local variations. The field is approximately dipolar but not a perfect, fixed bar magnet. Models such as the World Magnetic Model are therefore updated periodically.

A navigation safety boundary

A compass is a tool, not a guarantee of location. Backcountry, marine, aviation, and emergency navigation require appropriate maps, current corrections, redundant methods, weather awareness, and practiced judgment. Do not rely on a phone or an unfamiliar compass as the sole means of returning safely.

The useful mental model

Imagine a tiny bar magnet on a nearly frictionless turntable. Earth’s local field twists it into alignment; the compass scale labels that direction. Declination then translates the magnetic answer into the geographic reference used by a map.