FREEOne easy experiment in your inbox every Friday. Sign up →

Chemistry & Physics

How Do Magnets Work?

Magnets are full of tiny particles that all point the same way, so their pushes and pulls add up into one big invisible force. Here's how magnets work, why they only stick to some metals and how to make your own.

By Try Science Team ·

Quick answer

Everything is made of atoms, and some atoms act like teeny-tiny magnets. In most things, those tiny magnets point every which way, so they cancel out. In a magnet, millions of them line up and point the same direction, so their pulls add together into one strong, invisible force field. That force pulls on iron and pushes or pulls on other magnets.

Best forAges 4–12
Read time5 min
Big ideaMagnetic force

A magnet can grab a paper clip without touching it, hold a drawing on the fridge, or shove another magnet across the table. It feels like magic, but it’s one of the most important forces in the universe. It even works inside our planet.

Every magnet has two ends

Every magnet has a north pole and a south pole, usually at its two ends. The rule is simple:

  • Opposite poles attract. North and south pull toward each other and snap together.
  • Like poles repel. North and north, or south and south, push each other away.

Around every magnet is an invisible area where its push and pull works, called a magnetic field. You can’t see it, but you can feel it when you try to push two north poles together.

Opposite poles attract: a north pole facing a south pole pulls together. Like poles repel: two north poles push apart.Opposites attractSNSNN + S pull togetherLike poles repelSNNSN + N push apartFlip one magnet around and a push turns into a pull.
The two simple rules every magnet follows.

The tiny magnets inside

Everything is made of atoms, and atoms have even tinier parts called electrons that zip and spin. In some materials, like iron, each atom acts like a teeny-tiny magnet. Groups of these atoms team up into small patches that point the same way.

In an ordinary nail, those patches point in all different directions, so their pulls cancel each other out. In a magnet, the patches are lined up and point the same way, so all their little pulls add together into one big force.

Explain it like I’m 5

Imagine a tug-of-war. If everyone pulls in different directions, the rope doesn’t move. If the whole team pulls the same way, the rope zooms. A magnet is a team where all the tiny pullers face the same direction.

Why magnets only stick to some metals

Magnets pull strongly on only a few metals: iron, nickel and cobalt, plus steel, which is mostly iron. When a magnet gets close to a steel fridge door, it makes the jumbled patches inside the door line up for a moment, and the two pull together. Aluminum foil, copper, gold, plastic and wood don’t have the right kind of atoms, so a magnet slides right off.

Earth is a giant magnet

Deep inside Earth, hot liquid iron swirls around and turns our whole planet into a huge magnet. A compass needle is a tiny magnet that lines up with Earth’s magnetic field, so it always points north. That’s how sailors and hikers have found their way for hundreds of years.

Try it: turn a paper clip into a magnet

  • Ages 5+
  • 10 minutes
  • Household stuff
  • No mess

You need: a fridge magnet or any strong magnet, a large steel paper clip straightened out (or an iron nail), and a few small paper clips.

  1. Touch the straightened paper clip to a pile of small paper clips. Nothing sticks. It’s not a magnet yet.
  2. Stroke the magnet along the paper clip from one end to the other, in one direction only. Lift the magnet away at the end, then go back to the start and stroke again.
  3. Do this 30 to 50 times, always the same direction.
  4. Now touch it to the small paper clips. How many can your new magnet pick up?

What’s happening: each stroke nudges the jumbled patches inside the steel to line up in the same direction. Once enough of them point the same way, the paper clip becomes a weak magnet itself. Drop it on the floor a few times and test again. The bumps knock the patches out of line, and the magnet gets weaker!

Words to know

Magnet
An object that makes an invisible force that pulls on iron and pushes or pulls on other magnets.
Poles
The two ends of a magnet, called north and south, where the force is strongest.
Attract
To pull toward each other.
Repel
To push away from each other.
Magnetic field
The invisible area around a magnet where its force works.
Compass
A tool with a tiny magnet needle that points north.
For grown-ups: the real science

Magnetism in everyday magnets comes mostly from electron spin, a quantum property that gives each electron a tiny magnetic moment. In most atoms, paired electrons cancel out. In ferromagnetic materials like iron, nickel and cobalt, unpaired electrons’ moments align with their neighbors through a quantum effect called exchange interaction, forming regions called magnetic domains. In an unmagnetized piece of iron, domains point randomly; an external field grows the domains aligned with it, which is why iron is attracted and why stroking a needle can leave it weakly magnetized.

Heat scrambles domains: above the Curie temperature (about 1,418°F, or 770°C, for iron) a ferromagnet loses its magnetism. Cutting a magnet in half never isolates a single pole; you just get two smaller magnets, each with north and south. Earth’s field is generated by convection of molten iron in the outer core (the geodynamo). Fun twist: the end of a compass needle marked “north” is attracted to Earth’s magnetic pole in the Arctic, which means that pole is physically a magnetic south pole.

Questions kids ask next

What happens if you cut a magnet in half?

You get two smaller magnets, and each one has its own north and south pole. You can never get a magnet with just one pole.

Why don’t magnets stick to coins?

US coins are made mostly of copper and other metals that magnets don’t pull on. Even the nickel coin is three-quarters copper, so a magnet ignores it.

Can magnets work through things?

Yes. A magnet’s force passes through paper, plastic, wood, water and even your hand. Try moving a paper clip across a table using a magnet underneath it.

Do magnets ever stop working?

Most fridge magnets last for many years, but magnets can get weaker if they’re dropped a lot, heated up or stored next to stronger magnets pointing the wrong way.