Atoms and Chemical Bonding

Why Oxygen Is Magnetic and Lewis Structures Miss It

Liquid oxygen clings to a magnet because it has two unpaired electrons. See how molecular orbital theory explains what dot drawings cannot.

Key takeaways

  • O₂ is paramagnetic, meaning it is drawn into a magnetic field, because it has two unpaired electrons.
  • The tidy Lewis structure O=O gets the bond order right but the electron pairing wrong.
  • In molecular orbital theory, the last two electrons occupy two equal-energy antibonding pi orbitals, one each.
  • The same diagram predicts how bond order and bond length change in O₂⁺, O₂⁻ and O₂²⁻.
  • Oxygen's unpaired electrons also help explain why its reactions with organic matter often need a push to begin.

Oxygen is magnetic because each O₂ molecule has two unpaired electrons whose spins point the same way in its lowest energy state. The usual Lewis structure, with a double bond and two lone pairs on each atom, shows every electron paired, so it predicts no such magnetism.

Molecular orbital theory gets it right. It spreads the electrons into orbitals belonging to the whole molecule, and the filling rules leave the last two electrons in two separate orbitals of equal energy.

The observation

Cool oxygen below about −183 °C and it condenses to a pale blue liquid. Poured between the poles of a strong magnet, the liquid is caught and held in the gap until it boils away. Liquid nitrogen, treated the same way, runs straight through.

This is a striking and well-known lecture demonstration. Liquid oxygen is also extremely cold and makes many materials burn violently, so it belongs only in the hands of trained demonstrators with proper equipment. It is not a home experiment.

The effect can be measured quantitatively too. In a Gouy balance, a sample hanging partly in a magnetic field appears to gain or lose weight. A paramagnetic substance is pulled in. A diamagnetic one, with all electrons paired, is weakly pushed out.

What the Lewis structure predicts

Oxygen has 6 valence electrons per atom, 12 for the molecule. Following the standard procedure gives a double bond and two lone pairs on each oxygen.

valence electrons:        2 × 6 = 12
double bond:              4
lone pairs:               4 pairs = 8
total:                    12
unpaired electrons:       0

Both atoms have octets and zero formal charge. By every rule in drawing Lewis structures, this is an excellent answer, and its prediction of a double bond agrees with the short, strong bond in O₂ (about 121 pm and 498 kJ/mol).

You could try a different drawing with a single bond and one unpaired electron on each oxygen. That gives the right number of unpaired electrons, but each atom has only seven electrons, and it predicts a long, weak single bond. Neither picture matches both facts.

Building molecular orbitals

Molecular orbital theory combines atomic orbitals from both atoms into orbitals that extend over the molecule. Combining two atomic orbitals gives two molecular orbitals: a lower-energy bonding one and a higher-energy antibonding one, marked with an asterisk.

For the valence shell of O₂, in order of increasing energy:

Molecular orbital Type Electrons in O₂
σ2s bonding 2
σ*2s antibonding 2
σ2p bonding 2
π2p (two orbitals) bonding 4
π*2p (two orbitals) antibonding 2
σ*2p antibonding 0

The total is 12, as it must be.

The last two electrons

The two π* orbitals have exactly the same energy, because they differ only in orientation, at right angles to each other. Two electrons must be placed in them.

Hund's rule says that electrons filling equal-energy orbitals occupy separate ones first, with parallel spins. Electrons in different regions repel each other less, and parallel spins carry an additional quantum mechanical energy advantage. This is the same rule used for atoms in filling atomic orbitals.

The result is one electron in each π* orbital, both spinning the same way. The ground state is therefore called a triplet, because such a total spin can take three orientations in a magnetic field.

bond order = (bonding − antibonding) ÷ 2
           = (2 + 2 + 4 − 2 − 2) ÷ 2
           = (8 − 4) ÷ 2
           = 2

A double bond and two unpaired electrons come out of the same diagram at once.

Valence orbitals of O₂, highest energy first
σ*2p: empty Highest antibonding level. π*2p: one electron in each of two Two unpaired electrons give the magnetism. π2p: four electrons Two filled bonding orbitals. σ2p: two electrons Bonding along the axis. σ*2s: two electrons Antibonding; cancels the level below. σ2s: two electrons Lowest valence bonding level. σ*2p: empty Highest antibonding level. π*2p: one electron in each of two Two unpaired electrons give the magnetism. π2p: four electrons Two filled bonding orbitals. σ2p: two electrons Bonding along the axis. σ*2s: two electrons Antibonding; cancels the level below. σ2s: two electrons Lowest valence bonding level.

How strong is the effect?

For many simple species, the magnetic moment can be estimated from the number of unpaired electrons n, counting spin only.

μ ≈ √(n(n + 2)) Bohr magnetons

n = 2
μ ≈ √(2 × 4) = √8 ≈ 2.83

Measured values for O₂ are close to this. The same formula is widely used for transition metal complexes, where it helps distinguish high-spin from low-spin arrangements.

Paramagnetism is far weaker than the ferromagnetism of iron. In a paramagnet, thermal motion keeps molecular magnets pointing every which way, and an applied field produces only a slight average alignment. Cooling improves the alignment, one reason the liquid shows the effect so vividly. The liquid is also much denser than the gas, so far more molecules sit between the poles.

A test of the model: oxygen ions

A good theory should predict more than the fact it was brought in to explain. Add or remove electrons from the π* orbitals and see what happens.

Species π* electrons Bond order Unpaired Approximate bond length
O₂⁺ 1 2.5 1 112 pm
O₂ 2 2 2 121 pm
O₂⁻ (superoxide) 3 1.5 1 about 130 pm
O₂²⁻ (peroxide) 4 1 0 about 149 pm

Removing an electron from an antibonding orbital strengthens and shortens the bond. Adding electrons weakens and lengthens it. Superoxide is a radical, and peroxide is diamagnetic. These trends match experiment, and they connect to peroxide chemistry.

Neighbors in the second period

The same style of diagram works for other diatomic molecules, with one adjustment: for boron, carbon and nitrogen, the π2p orbitals lie below σ2p because of mixing between the 2s and 2p orbitals.

  • B₂ has two unpaired electrons in the π orbitals and is paramagnetic.
  • C₂ fills those orbitals and is diamagnetic.
  • N₂ has bond order 3 and no unpaired electrons.
  • F₂ has bond order 1 and no unpaired electrons.

The prediction for B₂ is another case where a simple dot structure gives little help.

How the two theories differ

It helps to see exactly where the dot structure goes astray. A Lewis drawing starts from atoms and assigns every electron a home: on one atom, or shared between a pair. Molecular orbital theory starts from the set of nuclei, builds orbitals that belong to the whole molecule, and then fills them from the bottom.

Question about O₂ Lewis drawing Molecular orbital diagram
Bond order 2 2
Unpaired electrons 0 2
Explains the ion series Only partly Yes
Speed of use Seconds Needs an energy diagram

A third approach, valence bond theory, can also account for oxygen's two unpaired electrons if it is built with more care than a single dot structure allows, using three-electron bonding units. So the failure belongs to the simple drawing and not to every picture based on bonds between atoms.

Where the energy ordering comes from

The order of orbitals in the table is not arbitrary. Orbitals made from 2s are lower than those from 2p because the atomic 2s level is lower to begin with. Among the 2p combinations, head-on overlap along the molecular axis makes the σ pair split widely, while the sideways overlap of the π pairs splits less. That places π2p above σ2p in oxygen and fluorine, and π*2p below σ*2p.

Experiments support the picture. Photoelectron spectroscopy ejects electrons from molecules with high-energy light and measures how much energy each needed. The results show distinct groups of electrons at different binding energies, in line with a set of molecular orbitals. They also show that the electron easiest to remove from O₂ comes from an antibonding orbital, since the resulting ion vibrates at a higher frequency, the mark of a stronger bond.

Why it matters for reactions

Most organic molecules have all electrons paired. A direct, one-step reaction between triplet oxygen and such a molecule to give fully paired products requires a spin to flip, which is not easy. This is one reason wood and paper can sit in air for years even though burning them releases a great deal of energy. Heat creates radicals that react readily with oxygen and keep a chain going.

Light and suitable dye molecules can promote oxygen to an excited singlet state in which the spins are paired. Singlet oxygen is much more reactive toward many double bonds.

Oxygen's paramagnetism also has a practical use: some gas analyzers measure oxygen concentration by its response to a magnetic field, since most other common gases respond very differently.

Oxygen and ozone compared

The other form of the element, ozone (O₃), has 18 valence electrons and is diamagnetic: all of its electrons are paired. Its Lewis drawings need resonance to explain two equal bonds, but they make no mistake about magnetism.

The contrast is a useful caution. Whether a dot structure gets the pairing right cannot be told from how tidy it looks. The neat drawing of O₂ is wrong on this point, while the more awkward drawings of ozone, with their formal charges, are right. Measurement is what separates the two cases.

What to keep from Lewis structures

Lewis drawings remain fast and powerful for connectivity, electron counting and shape. Their limit is built in: they pair electrons by design and fix each pair on one atom or between two. Where measurements involve magnetism, light absorption or unusual bond orders, reach for molecular orbitals.

Common mistakes

  • Calling liquid oxygen a permanent magnet. It is attracted to a field but retains no magnetism of its own.
  • Putting both π* electrons in one orbital. That describes an excited state, not the ground state.
  • Assuming an even electron count means all paired. O₂ and B₂ show otherwise.

Written for 4Chemistry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 45 articles in Atoms and Chemical Bonding →

Latest news on this topic