Compasses and Magnets

Where Does a Compass Point Near a Magnet?

Learn where a compass needle points near a magnet, why a strong magnet can override Earth's field, and how to keep your compass accurate outdoors.

On this page
  1. The short answer
  2. How a compass needle lines up
  3. What happens near a bar magnet
  4. How strong a magnet needs to be to matter
  5. Everyday sources of trouble
  6. Keeping your compass accurate in the field
  7. When the compass itself may be the problem
  8. Bottom line

The short answer

A compass needle lines up with the magnetic field at the spot where it sits. Away from other magnets, that field is the Earth’s, so the needle settles pointing roughly toward magnetic north. Near a magnet, the magnet’s own field mixes with the Earth’s field, and the needle can point toward or away from the magnet instead. Near a magnet’s south pole, the needle’s north-seeking end usually swings toward the magnet. Near its north pole, it usually swings away.

How a compass needle lines up

The needle is a small, lightweight magnet that turns freely on a pivot or sits in liquid. Magnets follow two simple rules: unlike poles attract, and like poles repel. The north-seeking end of a compass needle is attracted to a magnet’s south pole and repelled by its north pole.

The needle does not know where north is. It turns to line up with the field lines at its location. Does a compass point to magnetic north? Away from magnets, yes, and that is what makes it useful for finding direction on a map. Once a magnet is close enough, the needle follows the magnet’s field instead, or a mix of the two.

What happens near a bar magnet

Outside a bar magnet, the field runs out of its north pole and back into its south pole. How a compass behaves depends on where you hold it:

  • Near the south pole: the north-seeking end of the needle is pulled toward the magnet.
  • Near the north pole: the north-seeking end is pushed away from the magnet.
  • Off to the side: the needle turns to follow the field lines at that spot. It may point at an angle that matches neither pole.
  • Very close: the magnet’s field can be strong enough that the needle stops responding to the Earth and points at the magnet.

If you are not sure which end of a magnet is which, see how to tell if a magnet is north or south pole before you test anything near your compass.

How strong a magnet needs to be to matter

The Earth’s magnetic field at the surface is weak, roughly 25 to 65 microteslas depending on where you are. A small magnet held close to a compass can produce a field many times stronger than that at close range. Magnetic fields fall off quickly with distance, so the effect is strongest right next to the magnet and drops away as you move the compass farther off.

That is why distance matters as much as strength. A magnet held right against a compass housing can override the needle, while the same magnet across a room usually has no effect.

Everyday sources of trouble

Permanent magnets are not the only problem. These common items can disturb a compass:

  • Speakers, headphones and magnetic phone mounts or clasps
  • Some tools and magnetic knife holders
  • Steel objects such as belt buckles, keys, vehicles and fences

Steel objects can cause errors even though they are not magnets. Iron and steel pick up a magnetism of their own when they sit in the Earth’s field, and that can pull the needle off course. Errors like this, from metal on a vehicle or a boat, are known as deviation. For a fuller look at how these errors arise, see what causes deviation errors in a magnetic compass.

Keeping your compass accurate in the field

  • Keep the compass away from magnets and metal when you take a bearing. Hold it level, and keep belt buckles, knives and other metal items away from it.
  • Stand clear of vehicles, fences and other large steel objects before you read the needle.
  • If the needle swings when you step a few meters away from a suspect object, that object is the likely cause.
  • Check an unexpected reading against a second compass or a known landmark before you trust it.

When the compass itself may be the problem

If the needle is slow to settle, sticks, or points oddly even when you are far from magnets and metal, the needle may be weak or the pivot may be stuck. Before you buy a new compass, check the usual causes in how to fix a compass that doesn’t point north.

Bottom line

Near a magnet, a compass needle points toward the magnet’s south pole or away from its north pole, depending on how the compass sits. A strong enough magnet can override the Earth’s field completely. Keep magnets and metal well away from your compass, check your bearings from more than one spot, and most errors from the surroundings are easy to avoid.

Keep exploring

Guides from other topics

All topics →