Skip to main content
Chemistry LibreTexts

The Octet Rule

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)

    The octet rule refers to the tendency of atoms to prefer to have eight electrons in the valence shell. When atoms have fewer than eight electrons, they tend to react and form more stable compounds. When discussing the octet rule, we do not consider d or f electrons. Only the s and p electrons are involved in the octet rule, making it useful for the main group elements (elements not in the transition metal or inner-transition metal blocks); an octet in these atoms corresponds to an electron configurations ending with \(s^2p^6\).


    In 1904, Richard Abegg formulated what is now known as Abegg's rule, which states that the difference between the maximum positive and negative valences of an element is frequently eight. This rule was used later in 1916 when Gilbert N. Lewis formulated the "octet rule" in his cubical atom theory. Atoms will react to get in the most stable state possible. A complete octet is very stable because all orbitals will be full. Atoms with greater stability have less energy, so a reaction that increases the stability of the atoms will release energy in the form of heat or light.

    Octet Rule

    A stable arrangement is attended when the atom is surrounded by eight electrons. This octet can be made up by own electrons and some electrons which are shared. Thus, an atom continues to form bonds until an octet of electrons is made.

    1. Normally two electrons pairs up and forms a bond, e.g., \(H_2\)
    2. For most atoms there will be a maximum of eight electrons in the valence shell (octet structure), e.g., \(CH_4\)
    Figure 1: Bonding in \(H_2\) and methane (\(CH_4\))
    The other tendency of atoms is to maintain a neutral charge. Only the noble gases (the elements on the right-most column of the periodic table) have zero charge with filled valence octets. All of the other elements have a charge when they have eight electrons all to themselves. The result of these two guiding principles is the explanation for much of the reactivity and bonding that is observed within atoms: atoms seek to share electrons in a way that minimizes charge while fulfilling an octet in the valence shell.


    The noble gases rarely form compounds. They have the most stable configuration (full octet, no charge), so they have no reason to react and change their configuration. All other elements attempt to gain, lose, or share electrons to achieve a noble gas configuration.

    Example 1: NaCl Salt

    The formula for table salt is NaCl. It is the result of Na+ ions and Cl- ions bonding together. If sodium metal and chlorine gas mix under the right conditions, they will form salt. The sodium loses an electron, and the chlorine gains that electron. In the process, a great amount of light and heat is released. The resulting salt is mostly unreactive — it is stable. It will not undergo any explosive reactions, unlike the sodium and chlorine that it is made of. Why?


    Referring to the octet rule, atoms attempt to get a noble gas electron configuration, which is eight valence electrons. Sodium has one valence electron, so giving it up would result in the same electron configuration as neon. Chlorine has seven valence electrons, so if it takes one it will have eight (an octet). Chlorine has the electron configuration of argon when it gains an electron.

    The octet rule could have been satisfied if chlorine gave up all seven of its valence electrons and sodium took them. In that case, both would have the electron configurations of noble gasses, with a full valence shell. However, their charges would be much higher. It would be Na7- and Cl7+, which is much less stable than Na+ and Cl-. Atoms are more stable when they have no charge, or a small charge.

    The Octet Rule is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?