QuestionChemical bonds
What Is the Octet Rule? Definition and Exceptions

The octet rule says that atoms tend to gain, lose or share electrons until they have eight electrons in their outer shell, the same number as a noble gas. Hydrogen and helium follow a duet rule and aim for two. The rule is a useful guide to how atoms bond, with several well-known exceptions.
Contents
The full answer
An atom’s outer shell is its valence shell, and its electrons are the valence electrons. For the main-group elements in the second period, such as carbon, nitrogen, oxygen and fluorine, the valence shell can hold at most eight electrons. Eight electrons make four pairs, which is a very stable arrangement. The noble gas neon has exactly this arrangement, and it hardly reacts with anything.
Atoms with fewer than eight valence electrons are less stable and tend to change. They can do this by transferring electrons to form ions, or by sharing electrons to form a covalent bond. Sodium has one valence electron, so it tends to lose it and become Na⁺, which has the neon arrangement. Chlorine has seven, so it tends to gain one and become Cl⁻, which has the argon arrangement. In a covalent molecule such as water (H2O), oxygen shares two electrons with hydrogen atoms and keeps two lone pairs, giving it eight electrons in total around it.
The rule was proposed in 1916 by Gilbert N. Lewis, who described the atom as having a cube of eight electron positions at its corners. Irving Langmuir developed the idea and gave it its popular form in the years up to 1919. It is still taught because it predicts the shapes and formulas of most simple molecules.
The science behind it
The octet rule is a result of how electrons fill shells. An outer shell with eight electrons, in the s and p orbitals, is completely full. Electrons in a full shell are held tightly and cannot easily be taken, so the atom is unreactive. Atoms with an incomplete outer shell have electrons that are easier to lose, gain or share, so they react.
Bonding lowers the energy of the system. When two atoms share electrons, each electron feels the attraction of both nuclei, and the atoms settle into a lower energy state than they had apart. Forming a molecule is therefore a way to reach a more stable arrangement, which is why most atoms bond rather than stay single.
Lewis structures are a way of counting these electrons. Each bond is a shared pair, and each lone pair is an unshared pair on one atom. Drawing the structure and checking that every non-hydrogen atom has eight electrons, counting its bonding and lone pairs, is the standard test for whether the octet rule applies. Hydrogen is different: it is complete with two electrons, one shared bond.
An everyday example
Table salt is the simplest example. A sodium atom gives its single outer electron to a chlorine atom, and each ion then has a full outer shell of eight electrons. The opposite charges attract strongly, and the crystal that results is the salt sprinkled on food.
Water is another example that is easy to picture. The oxygen atom in water has six valence electrons. It shares one electron with each hydrogen, and two more pairs of its own electrons stay as lone pairs. Counting the two shared pairs and the two lone pairs gives oxygen eight electrons, so it follows the octet rule.
Why do atoms form bonds at all?
Readers often ask why atoms bond instead of staying as single atoms. The short answer is that a bonded arrangement is more stable than separate atoms with incomplete shells. Most elements in the air, such as oxygen and nitrogen, exist as molecules for this reason, and the noble gases are the exceptions because they are already stable on their own.
The octet rule shows which bonds are likely. A carbon atom has four valence electrons, so it needs four more to reach eight. It can share one electron with each of four hydrogen atoms to form methane (CH4), which is why carbon forms four bonds in so many compounds. The number of bonds an atom usually forms follows directly from its valence count.
Common misconceptions
Several ideas about the octet rule are common, and each is wrong in a useful way.
- Every atom needs exactly eight. The rule is a guide. Hydrogen and helium follow the duet rule with two electrons, and some molecules break the rule on purpose, as shown by boron trifluoride (BF3) and by the odd-electron molecule nitrogen monoxide (NO).
- The octet rule is a law of nature. It is an empirical pattern from chemistry, not a law of physics. It works best for the second period, where it is most reliable, and it gets less reliable for heavier atoms.
- Atoms want to reach eight in order to be stable. Atoms do not have goals. The pattern simply reflects that full shells have lower energy, so reactions that reach eight electrons tend to happen more often than reactions that do not.
Frequently asked questions
What is the octet rule in simple words?
The octet rule says atoms tend to gain, lose or share electrons until they have eight electrons in their outer shell. That matches the stable arrangement of the noble gases such as neon and argon.
Why is it called the octet rule?
Octet means a group of eight. The rule is named after the eight valence electrons that an atom aims to have, which is four electron pairs around it in most molecules.
What is the duet rule?
The duet rule is the version for hydrogen and helium, which are stable with two electrons in their only shell. Hydrogen aims to share or gain one electron to reach helium’s arrangement.
What are the main exceptions to the octet rule?
Common exceptions are molecules with an odd number of electrons, such as nitrogen monoxide (NO), electron-deficient molecules such as boron trifluoride (BF3), and expanded octets in elements from period 3 down, such as phosphorus in PCl5 and sulfur in SF6.
Who came up with the octet rule?
Gilbert N. Lewis proposed the idea of the atom with eight outer electrons in 1916. Irving Langmuir developed and popularized it in the years up to 1919.
Sources and further reading
- Gilbert N. Lewis, "The Atom and the Molecule" (1916)
- OpenStax, "Chemistry 2e"
- IUPAC, "Compendium of Chemical Terminology (Gold Book)"
Cite this page
“What Is the Octet Rule? Definition and Exceptions.” Atoms & Forces, https://science.bigworldlist.com/questions/what-is-the-octet-rule/.
More about Valence electrons
- ChemistryValence Electrons: Definition and How to Find Them
- ListElement Families: All 10 Families of the Periodic Table Explained
- ListGroups of the Periodic Table: All 18 Groups and Their Names
- ComparisonGroups vs Periods on the Periodic Table: What Is the Difference?
- QuestionWhy Do Atoms Form Chemical Bonds? Stability and Energy