Is the Octet Rule a Law? Its Uses and Its Many Exceptions
The octet rule is a useful guideline, not a law. Learn where it works, why second-period atoms obey it, and which molecules break it.
Key takeaways
- The octet rule says main-group atoms often form bonds until eight electrons surround them, with hydrogen and helium satisfied by two.
- It is most reliable for carbon, nitrogen, oxygen and fluorine, whose outer shell has only four orbitals.
- Exceptions include electron-poor molecules, species with an odd number of electrons and heavier atoms with more than eight electrons in simple drawings.
- Transition metals follow different counting patterns, such as the 18-electron guideline.
- The underlying reason for any structure is low energy, which the rule only approximates.
The octet rule is not a law of nature. It is a guideline saying that many main-group atoms end up in compounds with eight electrons in their outer shell, counting both shared and unshared pairs. It predicts a great many structures correctly and fails for a good many others.
A law such as conservation of charge has no known exceptions. A rule of thumb earns its place by being quick and usually right, provided you know where it stops working.
Where the number eight comes from
The outer shell of a main-group atom from the second period onward includes one s orbital and three p orbitals. Each orbital holds two electrons, so those four orbitals hold eight. The noble gases neon and argon have exactly this s²p⁶ arrangement and are very unreactive.
Early in the twentieth century, G. N. Lewis and Irving Langmuir developed the idea that atoms gain, lose or share electrons to reach such arrangements. Lewis's role is sketched in Gilbert Lewis and the shared pair. The idea came before quantum mechanics could explain it.
Hydrogen is the standard first caveat. Its shell holds only two electrons, so it aims at a "duet". Lithium and beryllium ions also end up with the helium arrangement.
Where the rule works well
For compounds of C, N, O and F, the rule is excellent. It tells you that carbon usually makes four bonds, nitrogen three with one lone pair, oxygen two with two lone pairs, and fluorine one with three lone pairs.
CH₄ C: 4 bonds = 8 electrons
NH₃ N: 3 bonds + 1 lone pair = 8 electrons
H₂O O: 2 bonds + 2 lone pairs = 8 electrons
HF F: 1 bond + 3 lone pairs = 8 electrons It also predicts the common ions of the groups next to the noble gases: Na⁺, Mg²⁺, O²⁻ and F⁻ all have the neon arrangement. In organic chemistry, a drawing that gives a second-period atom ten electrons is a reliable sign of an error. There is no low-lying place to put the extra pair.
That one-sided strictness is worth memorizing. Second-period atoms may have fewer than eight in some species, but they do not exceed eight in a sensible Lewis structure.
Exception 1: too few electrons
Some stable or observable molecules leave the central atom short.
Boron trifluoride, BF₃. Boron brings three valence electrons and forms three bonds, leaving six around it. Alternative drawings with a B=F double bond give boron an octet but put a positive formal charge on fluorine. The real molecule has some pi donation from fluorine, yet it behaves as an electron-seeking Lewis acid.
Beryllium chloride, BeCl₂. In the gas phase at high temperature it exists as a linear molecule with only four electrons around beryllium in the simple drawing. In the solid, chlorine atoms bridge neighboring beryllium atoms, giving each four neighbors.
Boron hydrides. Diborane, B₂H₆, has too few electrons for ordinary two-atom bonds. Instead, two hydrogens bridge the borons in bonds that share one electron pair across three atoms, described in boranes and three-center bonds.
Electron-poor atoms tend to seek out donors, forming coordinate bonds.
Exception 2: an odd number
Eight is even, and pairs are even. A molecule with an odd total of valence electrons cannot give every atom a complete set of pairs.
| Molecule | Valence electrons | Consequence |
|---|---|---|
| NO | 5 + 6 = 11 | One unpaired electron |
| NO₂ | 5 + 2 × 6 = 17 | One unpaired electron |
| ClO₂ | 7 + 2 × 6 = 19 | One unpaired electron |
| CH₃ | 4 + 3 × 1 = 7 | Very reactive fragment |
Species with unpaired electrons are called radicals. Some are fleeting, and others, such as NO and NO₂, are persistent enough to be stored. See molecules with an unpaired electron.
Exception 3: more than eight
Phosphorus pentachloride has five bonds to phosphorus, which a simple drawing counts as ten electrons. Sulfur hexafluoride, SF₆, shows twelve around sulfur. Xenon tetrafluoride, XeF₄, shows twelve around xenon: four bonds and two lone pairs.
These appear only for atoms in the third period and below. Larger central atoms have room for more neighbors, and very electronegative partners such as fluorine draw electron density outward.
An older explanation said that empty d orbitals accept the extra electrons. Detailed calculations show d orbitals contribute little. The extra bonding is better described with three-center four-electron arrangements and significant ionic character, which means the central atom's actual electron share is much closer to eight than the lines suggest. This is the subject of expanded octets in sulfur and phosphorus compounds.
Exception 4: metals that count differently
Transition metals have five d orbitals in addition to the s and three p, nine in all, with room for 18 electrons. Many organometallic compounds, such as nickel tetracarbonyl and iron pentacarbonyl, reach a count of 18. Many others do not: square planar complexes often settle at 16, and numerous simple coordination compounds range widely. The 18-electron rule has its own long list of exceptions.
For these elements, applying the octet rule makes little sense. Ions such as Fe²⁺ and Fe³⁺ do not have noble gas arrangements at all, yet they are common and stable in compounds. The same is true of heavier main-group ions such as Pb²⁺ and Sn²⁺, which keep a pair of s electrons.
When a structure obeys the rule and still misleads
Satisfying the octet rule does not guarantee that a drawing describes the molecule well. Oxygen, O₂, can be drawn with a double bond and two lone pairs on each atom, a perfect octet structure. Yet experiments show that O₂ has two unpaired electrons and is attracted to a magnet. The explanation needs molecular orbitals, as shown in why oxygen is magnetic.
Ozone and carbonate ion satisfy octets only if you draw them with unequal bonds, while measurements show equal ones. There the fix is to combine several drawings.
Rule, model or law
It helps to sort scientific statements by what they claim. A law summarizes a regularity that holds without known exception within its stated range, such as the conservation of mass in ordinary chemical reactions. A theory explains why regularities happen, as quantum mechanics explains atomic structure. A rule of thumb compresses experience into something quick.
The octet rule belongs to the last group. It does not say why eight is special, and it makes no prediction about energies, shapes or rates. When it fails, nothing in physics has been violated. The molecule has simply found a low-energy arrangement that the shorthand did not foresee.
That also means you should not use it as proof. Saying that a compound cannot exist because it breaks the octet rule would have ruled out xenon fluorides, which chemists have made and characterized. A better statement is that a proposed structure which breaks the rule needs a reason, such as a large central atom, electronegative partners or an odd electron count.
Trying it on unfamiliar formulas
Here is how the reasoning goes for three examples.
OF₂. There are 6 + 2 × 7 = 20 valence electrons. Oxygen takes two single bonds and two lone pairs, and each fluorine has three lone pairs. Every atom has an octet, so expect a bent molecule much like water in outline.
Nitrogen pentafluoride. Five bonds to nitrogen would put ten electrons on a second-period atom. The rule says no, and indeed this molecule is not known. The corresponding compound of phosphorus, phosphorus pentafluoride, is a stable gas.
ICl₃. Iodine brings seven electrons. Three bonds use three of them and leave two lone pairs, a total of ten around iodine. Iodine is a fifth-period atom, so this is permitted. In the solid, the compound actually exists as a chlorine-bridged pair, I₂Cl₆, which the simple count did not predict.
The pattern is typical. The rule screens out impossible drawings reliably for light atoms and offers weaker guidance for heavy ones.
How to use the rule wisely
- Count all valence electrons, adjusting for charge.
- If the total is odd, expect a radical and decide where the single electron best sits.
- Satisfy octets for second-period atoms first, and never exceed eight on them.
- For third-period and heavier central atoms, allow more than four bonds when the formula requires it.
- Check the result against what is known: bond lengths, magnetism, shape and reactivity.
Think of the rule as a good first draft. When the draft and the measurements disagree, revise the draft.
Common questions
If it has so many exceptions, why teach it?
Because for the huge territory of organic and biological molecules, it is nearly always right, and it can be applied in seconds with pencil and paper. More accurate theories need more effort and give less immediate intuition.
Does a full octet mean a molecule is unreactive?
No. Methane, water and many highly reactive compounds all satisfy it. Reactivity depends on bond strengths, polarity, strain, available lower-energy products and the height of energy barriers.
Do noble gas compounds break the rule?
In simple drawings, yes. Xenon fluorides show more than eight electrons around xenon. Their existence showed that a filled octet does not make an atom completely inert.
Is there a rule without exceptions?
Not a simple counting rule. Quantum mechanical calculations apply the same physics to every case, at the price of losing the quick shorthand.