How Magnets Work: Electron Spin and Atomic Domains
Written and checked with AI using the references below. This is not human expert review.
Quick answer
A magnet works because spinning electrons inside its atoms line up in clusters, creating a combined field that pulls or pushes magnetic materials. In unmagnetized metal, these clusters face in random directions. When they point the same way, their fields unite into one strong magnetic pull.
A permanent magnet produces an invisible field that pushes or pulls other objects. This pull starts deep inside atoms. In every atom, moving electric charges create tiny magnetic units. Scientists call these units magnetic dipoles because each one has two poles. Most common objects show no magnetic pull. Only certain metals have the internal structure needed to form or react to strong magnetic fields.
Popular Misconceptions and Laboratory Evidence
People often develop mistaken ideas from using refrigerator magnets or common shop tools. Comparing these assumptions with physical evidence shows how magnetic forces truly work.
| Popular Assumption | Observed Evidence |
|---|---|
| Magnets attract all metals. | Magnets only pull strongly on ferromagnetic metals like iron, nickel, cobalt, and rare-earth alloys. Common metals like aluminum and copper do not stick to ordinary magnets. |
| Breaking a magnet in half separates the north pole from the south pole. | Isolated magnetic poles, known as magnetic monopoles, do not exist in nature. Cutting a magnet in half makes two smaller magnets. Each piece has its own north and south pole. |
| An unmagnetized steel nail has atoms with no magnetic field. | Every iron atom is an active magnetic unit. In plain steel, tiny clusters of atoms point in opposite directions and cancel each other out. |
| A permanent magnet never loses its strength. | Strong heat or heavy hammer strikes shake atoms out of alignment. This physical stress destroys permanent magnetism. |
Knowing these facts helps you predict how metals behave. For example, an ordinary iron nail already holds billions of tiny atomic magnets. Bringing a strong magnet near the nail lines them up. That makes the nail stick to the magnet right away.
How Electron Spins Create Atomic Magnetic Dipoles
All magnetic fields come from moving electric charges. When electric current flows through a wire loop, it creates a magnetic field. Electrons also circle the nucleus of an atom, forming tiny current loops. Yet orbital movement provides only a tiny share of the magnetism you feel. Most magnetic force comes from a quantum property called electron spin.
An electron carries negative electric charge and behaves like a tiny magnet. This dipole moment comes directly from its quantum mechanical spin. Under the Pauli exclusion principle, two electrons in the same orbital space must spin in opposite directions. When electrons pair up this way, their magnetic fields cancel out. For this reason, materials with full electron shells show no magnetic pull.
A metal can become magnetic only when its atoms have partly filled electron shells. In these open shells, unpaired electrons line up with matching spins. Scientists call this rule Hund's rule of maximum multiplicity. In elements like iron, neighboring atoms share outer electron clouds. A quantum effect called the exchange interaction keeps adjacent electron spins pointing the same way. This interaction lowers the electrostatic energy between electrons. As a result, parallel spins remain stable against normal thermal vibrations. These principles are fundamental rules of nature found throughout basic physics concepts.
Why Magnetic Domains Form and Cancel Out
If neighboring iron atoms naturally line up, an ordinary nail should act like a strong magnet. Yet plain iron objects do not attract paper clips. Iron objects stay neutral because the metal splits into tiny pockets. These microscopic regions are called magnetic domains, or Weiss domains. Each pocket acts like a small magnet, but they point in different directions.
The exchange force that locks spins together acts across short atomic distances. Over larger distances, pointing every atom in the same direction creates a huge outer magnetic field. Storing that field requires a large amount of magnetostatic energy. To lower this energy, the bulk metal divides into microscopic domains. Inside each domain, all atomic spins point in one direction. Across the whole object, different domains point in opposite directions. These opposing directions cancel each other out, leaving no overall magnetic field.
When you bring a strong magnet near plain iron, the outside field applies torque to the atoms. Domains that match the outside field grow bigger. Other domains twist their spins to follow the field. The iron becomes magnetic, and its new pole attracts the nearby magnet. Metals react to energy quickly, as seen when studying why metal feels colder than wood. In a similar way, ferromagnetic metals respond rapidly to surrounding magnetic fields by shifting their domain borders.
Permanent Magnets, Soft Cores, and Electromagnets
Magnetic materials fall into different categories based on their coercivity. Coercivity is the amount of applied field needed to remove an object's magnetization.
Magnetically Hard Materials
Permanent magnets are made from magnetically hard materials. These materials have high coercivity, which means they strongly resist losing their field. Once their atoms line up, they stay locked in place. Common hard materials include alnico, ceramic ferrites, and neodymium alloys. Manufacturers heat these materials and cool them inside strong magnetic fields. This process traps domain walls along tiny crystal boundaries. Because these borders cannot shift back, the material produces a lasting magnetic field.
Magnetically Soft Materials
Magnetically soft materials have low coercivity. Common examples include annealed iron and mild steel. In soft materials, domain walls slide easily. An outside magnetic field lines up the domains with little resistance. When the outside field leaves, normal room heat shakes the domains back into random directions. Soft materials cannot hold permanent fields, but they work well as temporary magnetic cores.
Electromagnets
An electromagnet uses electric current flowing through a wire coil to make a magnetic field. Running electricity through a wire produces a field shaped like a bar magnet. Placing a soft iron core inside the coil makes the field much stronger. The coil aligns the iron domains, adding the core's magnetic strength to the wire's field. When you turn off the electricity, the soft core loses its alignment immediately.
Quantifying Magnetic Fields, Dipoles, and Geometry
Engineers separate how much matter an object holds from the force pulling it down. You can see this distinction when exploring the difference between mass and weight. In magnetism, you must also separate internal magnetization from total field strength.
Core Variables and Units
- Magnetic dipole moment (μ): The overall magnetic strength and orientation of the magnet, measured in ampere-square meters (A·m2).
- Volume magnetization (M): The magnetic moment per unit volume, measured in amperes per meter (A/m), calculated as M = μ / V.
- Magnetic flux density (B): The strength of the field in surrounding space, measured in teslas (T).
- Demagnetizing field (Hd): An internal field caused by the magnet's own poles that opposes its magnetization, calculated as Hd = -Nd × M.
The factor Nd is the demagnetizing factor. It depends entirely on the shape of the magnet. For a sphere, Nd equals 1/3. For a long cylinder magnetized along its length, Nd is near zero.
Illustrative Calculation of Magnetization and Opposing Fields
As an illustrative calculation, consider a bar magnet with a volume of 1 cm3 (equal to 1 × 10-6 m3) and a magnetic moment of 0.1 A·m2.
In this illustrative calculation, the average magnetization is:
M = μ / V = 0.1 A·m2 / (1 × 10-6 m3) = 100,000 A/m
For an illustrative calculation of the opposing internal demagnetizing field inside a sphere where Nd equals 1/3:
Hd = -Nd × M = -(1/3) × 100,000 A/m
By comparison, pure iron can reach a magnetization of around a million amperes per meter. A curved horseshoe shape brings opposite poles close together. This shape routes magnetic field lines through the open gap, reducing the opposing internal field so the magnet stays strong.
What Causes a Magnet to Lose Its Strength
Permanent magnets do not stay magnetized under harsh physical conditions. Two main forces can ruin domain alignment: extreme heat and heavy physical blows.
At high temperatures, atoms vibrate vigorously. This thermal agitation overpowers the exchange interaction between atoms. It happens when the metal passes its Curie temperature (TC). Above this point, heat energy disrupts the orderly domain structure. The material becomes paramagnetic, meaning it loses spontaneous magnetization and cannot hold a field on its own.
- Cobalt (Co): Curie temperature of 1388 K.
- Iron (Fe): Curie temperature of 1043 K (770 degrees Celsius).
- Nickel (Ni): Curie temperature of 627 K.
- Neodymium alloy (Nd2Fe14B): Curie temperature of 593 K.
- Gadolinium (Gd): Curie temperature of 292 K.
Mechanical shocks cause similar damage. Hitting a magnet with a heavy hammer sends shock waves through the metal. This vibration knocks domain walls loose from their pinning sites. The domains then snap into random directions, canceling out the outer magnetic pull.
Practical Steps to Handle and Protect Magnets
Proper care keeps permanent magnets working at full strength for many years:
- Store magnets with soft iron keepers: Placing soft iron plates across the poles provides a closed path for magnetic field lines. This path stops internal demagnetizing fields from weakening the magnet.
- Avoid physical impacts: Do not drop, hammer, or drill hard magnets. Sudden shocks free locked domain walls.
- Protect magnets from excessive heat: Heating a ferromagnetic material shakes its atomic alignment, and exceeding its Curie threshold permanently removes its magnetization.
- Keep like poles apart: Storing matching poles together forces atomic clusters into opposing directions. Over time, this backward pressure weakens the magnet.
Check your magnet's physical condition before installation. Using soft iron keepers during storage preserves maximum field strength over time.
Frequently asked questions
Can you separate the north pole from the south pole of a magnet?
No, cutting a magnet in half produces two smaller magnets, each with its own north and south pole. Isolated magnetic poles, called magnetic monopoles, have never been found in experiments. Every piece retains paired poles down to the atomic level.
Why does heating a permanent magnet weaken its hold?
Heat increases the thermal vibration of atoms, shaking their aligned electron spins out of order. If the temperature reaches the Curie threshold, such as 1043 K (770 degrees Celsius) for pure iron, the domain structure breaks down completely, and permanent magnetism disappears.
What makes an electromagnet different from a permanent magnet?
An electromagnet creates a magnetic field only while electric current runs through its wire coil, allowing you to turn the field on or off. A permanent magnet relies on locked domain structures to provide a steady magnetic field without an electric power source.
Why does a magnet stick to a steel refrigerator door but not an aluminum can?
Steel contains ferromagnetic iron, which organizes into domains that snap into alignment when a magnet comes near. Aluminum is paramagnetic, meaning its atomic response is hundreds of thousands of times weaker than iron, which is not strong enough to hold against gravity.
Sources
- 22.2 Ferromagnets and Electromagnets - College Physics 2e | OpenStax · openstax.org
- Magnet - Wikipedia · en.wikipedia.org
- Ferromagnetism - Wikipedia · en.wikipedia.org
Written by AI; checked through automated evidence and editorial review. References retrieved October 12, 2026.
Spotted an error? Tell us what needs correcting.