What is a magnet?
A magnet is any object that produces a magnetic field: an invisible region around it where it pushes or pulls on other magnets and on a few metals such as iron, nickel and cobalt. Every magnet has two ends called poles, a north pole (N) and a south pole (S).
Two poles, always
The field comes out of the north pole, loops through the space around the magnet and goes back in at the south pole. The pull is strongest at the poles and weakest in the middle.
Unlike poles attract
North pulls south. Bring a north pole near a south pole and the two snap together.
Like poles repel
North pushes north and south pushes south. Being pushed away is the true test of a magnet, because plain iron is only ever pulled.
Try it: push and pull
Drag the right-hand magnet, then let go. Flip it to turn the pull into a push. Notice how fast the force fades with distance.
Try it: cut a magnet in half
You cannot get a north pole on its own. Every cut makes two complete magnets, each with its own N and S, all the way down to single atoms.
The magnetic field
A magnetic field has a strength and a direction at every point in space. We draw it as field lines: they leave a north pole, enter a south pole, never cross, and sit closer together where the field is stronger. The unit of field strength is the tesla (T).
Where does magnetism come from?
Magnetism is made by moving electric charge. In a wire that means a current. Inside a solid magnet it means electrons. Follow the chain from one electron to a magnet you can hold.
The electron
Every electron has a built-in property called spin that makes it a tiny permanent magnet with its own N and S. Its motion around the nucleus adds a little more.
The atom
In most atoms electrons pair up with opposite spins and cancel. An iron atom has four unpaired electrons, so the whole atom acts as a small magnet.
The domain
A quantum effect called the exchange interaction makes neighbouring iron atoms line their spins up in the same direction. Billions of aligned atoms form a magnetic domain, far smaller than a grain of sand.
The magnet
In ordinary iron the domains point in random directions and cancel out. When most of them point the same way, their fields add up and the whole piece is a magnet.
Try it: line up the domains
Each arrow is one domain. Push the outside field up and domains swing into line. Bring it back to zero and compare soft iron with hard steel. Then raise the temperature past 770 °C, the Curie point of iron.
Why a magnet pulls iron, and another magnet
Magnet meets magnet
Each pole sits in the other magnet's field. A north pole is pushed along the field lines and a south pole is pushed against them. Add up the four pole-to-pole forces and you get a net pull when unlike poles face each other and a net push when like poles face.
Another way to see it: nature moves toward lower energy. When N meets S the two fields merge into one tidy loop that stores less energy, so the magnets are driven together. When N meets N the fields are squeezed against each other, which stores more energy, so they are driven apart.
Magnet meets iron
A nail is not a magnet, yet it jumps to one. The magnet's field reaches into the nail and swings its domains into line. For that moment the nail is a magnet too, with the opposite pole facing the real magnet. Unlike poles attract, so it is pulled in. This is called induced magnetism.
That is why either pole picks up a nail, and why a nail hanging from a magnet can pick up a second nail. The pull also needs an uneven field: the near end of the nail sits in a stronger field than the far end, so the attraction beats the repulsion.
Try it: what sticks?
Touch the magnet to each material. Only a few elements have the unpaired electrons and the exchange interaction needed to form domains.
Ferromagnetic
Iron, nickel, cobalt, gadolinium and many of their alloys, including most steel. They form domains, so they respond thousands of times more strongly than anything else.
Paramagnetic
Aluminium, platinum, oxygen. The atoms are tiny magnets but do not cooperate, so the pull is far too weak to feel by hand.
Diamagnetic
Water, copper, gold, graphite, wood, your body. All electrons are paired. A magnet pushes them away very slightly. A strong enough field can float a frog.
Types of magnets
Magnets fall into three families: natural magnets found in the ground, artificial permanent magnets made in factories, and electromagnets that work only while current flows.
Lodestone
A piece of the iron ore magnetite (Fe₃O₄) that has become magnetised, probably by the huge current of a lightning strike. It is weak and irregular, but it was the first magnet people knew and the heart of the first compasses.
Permanent magnets
Hard magnetic materials that are magnetised once and keep it for decades: ferrite, alnico, samarium-cobalt and neodymium. Made as bars, horseshoes, discs, rings and blocks.
Electromagnets
A coil of wire, usually around an iron core. Current on means magnet on. Strength is set by the current and the number of turns, and the poles swap when the current is reversed.
Temporary magnets
Soft iron and some nickel alloys act as magnets only while they sit in another field. Paperclips in a chain are an example. They make ideal electromagnet cores because they let go at once.
Superconducting magnets
Coils cooled until their electrical resistance vanishes, usually with liquid helium at −269 °C. Current then flows without loss, giving huge steady fields for MRI scanners, particle accelerators and fusion reactors.
Bar, horseshoe, ring
Shape changes where the poles sit. A horseshoe brings both poles to the same side, which roughly doubles the lifting force. Ring and disc magnets usually have poles on their flat faces.
Permanent magnet materials compared
| Material | Made of | Typical field | Relative strength | Works up to about | Where you meet it |
|---|---|---|---|---|---|
| Lodestone | Magnetite, natural | weak | — | Museums, early compasses | |
| Ferrite (ceramic) | Iron oxide with strontium or barium | 0.2–0.45 T | 250 °C | Fridge magnets, speakers, small motors | |
| Alnico | Aluminium, nickel, cobalt, iron | 0.6–1.35 T | 500 °C | Guitar pickups, sensors, school horseshoe magnets | |
| Samarium-cobalt | Rare-earth alloy | 0.8–1.15 T | 300 °C | Aerospace, hot or corrosive places | |
| Neodymium (NdFeB) | Neodymium, iron, boron | 1.0–1.45 T | 80 °C (standard) | Phones, headphones, hard drives, EV motors, wind turbines |
How magnets are made
Making a magnet always comes down to the same job: get the domains to point one way, then lock them there. This is how a factory makes a neodymium magnet, the strongest permanent type.
- MeltNeodymium, iron and boron are melted together in a vacuum furnace and cast into thin flakes.
- MillThe alloy is crushed and jet-milled into powder with grains about 3 micrometres across, each small enough to be one domain.
- Press in a fieldThe powder is pressed into a block inside a strong magnetic field, so every grain turns to face the same way.
- SinterThe block is baked at about 1,050 °C. The grains fuse into solid metal without losing their shared direction.
- Shape and coatIt is ground to size with diamond tools, then plated with nickel or epoxy because the alloy rusts easily.
- MagnetiseLast of all, a coil fires a pulse of several tesla through it. The domains snap into line and stay.
Stroking
Rub a steel needle with one pole of a magnet, always in the same direction. Each stroke drags more domains into line. This is the oldest method and you can try it below.
Electric current
Put steel inside a coil and pass a direct current. The coil's field aligns the domains. With a hard steel core the magnetism stays after the current stops.
How magnets are destroyed
Heat past the Curie point, hard knocks, or an alternating field that shrinks to zero all scramble the domains. Shops wipe security tags this way.
Make your own magnet
Two benches, two methods. On the first you magnetise a steel nail by hand. On the second you build an electromagnet and tune it.
Bench A: the stroking method
Press and drag the magnet along the nail from left to right. Lift off (release), go back to the left and repeat. Scrubbing back and forth undoes your work, just as it does with a real needle.
Bench B: build an electromagnet
Wind wire around a core, connect a battery and see how many paperclips it lifts. Change one thing at a time to find out what matters most.
Earth is a giant magnet
Deep under your feet, Earth's outer core is a churning ocean of liquid iron and nickel. Its motion carries electric currents, and those currents generate a magnetic field. This self-sustaining process is called the geodynamo.
A surprisingly weak field
At the surface it measures 25 to 65 microtesla, about a hundred times weaker than a fridge magnet. It matters because it is enormous, reaching tens of thousands of kilometres into space.
The north pole is a south pole
The north end of a compass needle is a north pole, and it is pulled toward the Arctic. So the magnetic pole up there must be a south-type pole. The names stuck long before anyone worked this out.
A shield against the Sun
The field deflects the solar wind, a stream of charged particles from the Sun. Some particles are funnelled down near the poles, hit the air and make it glow. That glow is the aurora.
It wanders and it flips
The magnetic axis is tilted roughly 10° from the spin axis, and the north magnetic pole drifts tens of kilometres a year. Every few hundred thousand years the whole field reverses. The last full flip was about 780,000 years ago.
The strongest magnets
Field strength is measured in tesla. The scale below is logarithmic: each step to the right is ten times stronger. On a normal scale everything except the last bar would be invisible.
Axis: 0.00001 T at the left edge to 100 billion T at the right edge, logarithmic. Record figures as reported up to 2026; sources are listed at the foot of the page.
Strongest you can buy
Neodymium magnets. A disc the size of a coin can hold several kilograms, and two large ones can crush a finger.
Strongest on Earth
Steady record fields come from electromagnets that mix superconducting and water-cooled copper coils. Higher fields exist only as pulses, and the highest of all destroy their own coil in microseconds.
Strongest known anywhere
Magnetars, a rare kind of neutron star about 20 km across. Their fields are strong enough to distort the shape of atoms.
What magnets are used for
Almost every use relies on one of three effects: a magnet pulls iron, a magnet pushes on an electric current (motors), or a moving magnet creates a current (generators).
Around you every day
- Speakers and headphones. A coil in a magnet's field pushes a cone back and forth to make sound.
- Phones. Speakers, the vibration motor, the compass sensor and magnetic charger alignment.
- Fridge and cupboard doors. A flexible magnetic strip holds the seal shut.
- Fans, mixers, washing machines. Every electric motor turns because magnets push on currents.
- Induction cooktops. A rapidly changing field heats iron pans directly.
- Bank cards and hard drives. Data stored as tiny magnetised regions.
- Shops. Security tags, card readers, magnetic name badges and signs.
- Compasses, toys, clasps and tool holders.
At work in industry
- Power generation. Turbines spin magnets past coils. Nearly all mains electricity is made this way.
- Electric vehicles and wind turbines. Compact, efficient motors and generators built on neodymium magnets.
- Transformers. Iron cores carry changing fields to step voltage up and down across the grid.
- Lifting and sorting. Scrapyard cranes use electromagnets. Separators pull iron out of recycling, grain and ore.
- MRI scanners. Superconducting magnets of 1.5 to 3 T let doctors image soft tissue.
- Maglev trains. Magnetic levitation removes wheel friction, allowing speeds above 400 km/h.
- Relays, solenoids and valves. Small electromagnets that switch circuits and move parts.
- Particle accelerators and fusion reactors. Fields steer particle beams and confine plasma hotter than the Sun's core.
Experiments to try for real
Each one needs only household items and takes under fifteen minutes.
Floating compass
- Stroke a sewing needle 30 times with one pole of a magnet, one way only.
- Push it through a slice of cork or lay it on a leaf.
- Float it in a bowl of water.
It turns to line up north to south. Check it against a phone compass.
See the field
- Lay a sheet of paper over a bar magnet.
- Sprinkle iron filings or cut-up steel wool on top.
- Tap the paper gently.
Each filing becomes a tiny magnet and they chain up along the field lines.
Nail electromagnet
- Wind 50 turns of insulated wire around an iron nail.
- Connect the ends to an AA battery.
- Count the paperclips it lifts, then try 100 turns.
Disconnect after a few seconds. The wire gets warm.
Iron in your breakfast
- Crush iron-fortified cereal in a zip bag with water.
- Leave it for ten minutes.
- Slide a strong magnet along the outside of the bag.
Dark specks of real iron powder follow the magnet.
Slow-motion fall
- Hold a copper or aluminium pipe upright.
- Drop a neodymium magnet through it.
- Drop a steel ball of the same size to compare.
The magnet drifts down slowly. Its moving field makes currents in the pipe, and they push back. This is Lenz's law.
Levitating rings
- Slide a ring magnet onto a pencil.
- Add a second with the same pole facing down.
- Press it down and let go.
It hovers and bounces on an invisible spring of repulsion.
Simplest motor
- Stand an AA battery on a neodymium disc magnet.
- Bend copper wire to touch the top of the battery and the side of the magnet.
- Balance it and let go.
The wire spins. This is a homopolar motor: a magnetic field pushing on a current.
Find the Curie point
- Hang a small steel paperclip from a wire so a magnet holds it out sideways.
- Heat the clip with a candle flame.
- Watch it drop, then swing back as it cools.
Hot enough, the steel stops being magnetic.
Magnetic chain
- Hang one paperclip from a magnet.
- Touch a second clip to the first, then a third.
- Pull the top clip off the magnet.
The chain holds by induced magnetism and falls apart moments after the magnet is gone.
Facts and a quick quiz
The word magnet comes from Magnesia, a region of ancient Greece where lodestones were found.
Hans Christian Ørsted saw a compass needle twitch beside a live wire and showed that electricity and magnetism are linked.
Nobody has ever found a north pole without a south pole, despite decades of searching.
The Curie point of iron. Above it, iron is no more magnetic than aluminium.
The field used in 1997 to levitate a living frog, by pushing on the water in its body.
A good neodymium magnet can lift more than a thousand times its own weight.
The Sun's magnetic field reverses about once every eleven years, in step with the sunspot cycle.
Sea turtles, pigeons and salmon sense Earth's field to navigate. Some bacteria grow chains of magnetite crystals inside themselves.