What Causes Magnetism Inside the Atom: Electrons and Spin

Magnetism inside the atom comes primarily from electrons. Two properties of electrons generate tiny magnetic fields: their intrinsic spin and their orbital motion around the nucleus. Of these two, electron spin is the dominant source. Whether an atom behaves as a magnet depends on how its electrons are arranged and whether their individual magnetic fields add up or cancel out.

Electron Spin: The Primary Source

Every electron has a built-in property called spin, assigned a quantum number of 1/2. This spin gives each electron its own magnetic field, making it act like an impossibly small bar magnet with a north and south pole. The name “spin” came from an early idea that the electron was a tiny ball of charge physically rotating, which would create a current loop and therefore a magnetic field. That picture turned out to be wrong. Spin is a purely quantum property with no real classical equivalent, but the magnetic field it produces is very real and measurable.

The strength of an electron’s magnetic field is measured using a unit called the Bohr magneton, which has a value of about 9.274 × 10⁻²⁴ joules per tesla. That number is tiny in everyday terms, but it is enormous compared to the magnetism produced by atomic nuclei. The electron’s spin magnetic moment is roughly 1,836 times stronger than a proton’s nuclear magnetic moment. This is why, for almost all practical purposes, atomic magnetism is electron magnetism.

Orbital Motion: The Second Contribution

Electrons also generate magnetism through their orbital movement. An electron occupying an orbital around the nucleus carries both charge and angular momentum. A moving charge creates a magnetic field, the same basic principle behind an electromagnet. In quantum mechanics, each orbital has a specific angular momentum quantum number that determines how much magnetic field it contributes. Electron waves with orbital angular momentum carry a quantized magnetic moment aligned along their direction of travel.

In most atoms, the orbital contribution to magnetism is smaller than the spin contribution, but it isn’t negligible. The two sources interact with each other through something called spin-orbit coupling, where the magnetic field from the electron’s orbit influences the energy of its spin. This interaction splits energy levels inside the atom into closely spaced sub-levels, producing the fine structure visible in atomic spectra.

Why Most Atoms Aren’t Magnetic

Here’s the key insight: having magnetic electrons doesn’t automatically make an atom magnetic. What matters is whether those tiny magnetic fields cancel each other out.

The Pauli exclusion principle requires that no two electrons in an atom share the same set of four quantum numbers. In practice, this means each orbital can hold at most two electrons, and those two electrons must have opposite spins: one “spin-up” (+1/2) and one “spin-down” (−1/2). When two electrons pair up this way, their magnetic moments point in opposite directions and cancel perfectly. The result is zero net magnetism from that orbital.

Atoms where every electron is paired are called diamagnetic. They have no permanent magnetic moment. Helium, neon, and most noble gases fall into this category, along with many common materials like copper, water, and most organic compounds. Diamagnetic materials actually get very slightly repelled by external magnetic fields, but the effect is so weak you’d never notice it without sensitive instruments.

Unpaired Electrons and Paramagnetism

Atoms with one or more unpaired electrons are a different story. An unpaired electron has no partner to cancel its spin, so its magnetic moment contributes directly to the atom’s overall magnetic field. These atoms are paramagnetic, meaning they’re attracted to external magnets.

You can predict whether an atom or ion is paramagnetic just by looking at its electron configuration. If any orbital contains a single electron rather than a pair, the atom will have a net magnetic moment. Oxygen, for example, has two unpaired electrons and is paramagnetic. Sodium has one unpaired electron. The more unpaired electrons an atom has, the stronger its magnetic moment.

Why Iron, Cobalt, and Nickel Stand Out

The elements famous for strong magnetism, like iron, cobalt, nickel, and manganese, owe their magnetic properties to partially filled d-shell electron orbitals. These d-orbitals can hold up to 10 electrons across five sub-orbitals, and the way electrons fill them tends to maximize the number of unpaired spins.

Manganese is a striking example. A single manganese atom has five unpaired d-electrons in a 3d⁵4s² configuration, giving it a large spin magnetic moment. Iron has four unpaired d-electrons in its ground state. These unpaired electrons don’t just make individual atoms magnetic. In solid iron, the magnetic moments of neighboring atoms interact through quantum mechanical exchange forces, causing billions of atoms to spontaneously align their magnetic fields in the same direction. This cooperative alignment is what produces the strong, permanent magnetism we associate with iron magnets, a phenomenon called ferromagnetism.

Not every element with unpaired electrons becomes a strong magnet in bulk form. The exchange interactions between neighboring atoms have to be the right strength and sign to favor alignment rather than opposition. That’s why only a handful of elements are ferromagnetic at room temperature.

The Nuclear Contribution

Protons and neutrons inside the nucleus also have spin, and therefore their own magnetic moments. But these are far weaker than electron magnetism. The nuclear magneton, the unit used to measure nuclear magnetic strength, is about 5.05 × 10⁻²⁷ joules per tesla, roughly 1,836 times smaller than the Bohr magneton for electrons. A proton’s magnetic moment is about 1.4 × 10⁻²⁶ joules per tesla.

Nuclear magnetism is too feeble to influence the magnetic behavior of materials in any way you’d notice. It does, however, have one enormously important application: MRI machines work by detecting the tiny magnetic moments of hydrogen nuclei (protons) in your body’s water molecules. The signal is weak, which is why MRI magnets need to be extraordinarily powerful to pick it up.

How Temperature Disrupts Atomic Magnetism

Even in materials where atomic magnets are aligned, heat works against that order. Thermal energy causes atoms to vibrate and jostle, randomly knocking their magnetic moments out of alignment. At low temperatures, the exchange forces between atoms win, keeping moments aligned. As temperature rises, thermal agitation gradually weakens the magnetization.

Every ferromagnetic material has a critical temperature, called the Curie temperature, where thermal energy finally overwhelms the forces holding the magnetic alignment together. Above this point, the material loses its ferromagnetism entirely and becomes merely paramagnetic, with randomly oriented atomic magnets. For pure iron, this happens at 770 °C. For nickel, it’s around 358 °C. Some engineered materials have Curie temperatures as low as a few hundred degrees, while iron boride (Fe₂B) stays ferromagnetic up to about 1,017 K (744 °C).

The atomic-level sources of magnetism, spin and orbital motion, don’t disappear above the Curie temperature. Each atom still has its unpaired electrons and its magnetic moment. What changes is that the atoms no longer cooperate. Their moments point in random directions, and the bulk magnetic field averages to zero.