Skip to main content
Chemistry LibreTexts

8.2: 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}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

     Electron filling orbitals is like filling rows at graduation
    Figure \(\PageIndex{1}\) (Credit: CK-12 Foundation; Source: CK-12 Foundation; License: CK-12 Curriculum Materials license)

    How are electrons organized in atoms?

    Graduations are exciting events in one's life. The processional, the ceremonies, even the speeches can be handled because this marks the end of a stage of life and the beginning of another one. The ceremony itself is challenging for those organizing it. There are just enough seats on the stage for the graduates. How do you avoid getting too many people in a row and not enough in the next row? Someone is stationed at the end of the row to count the students as they enter. Only so many are allowed to go into a row, and then you begin to fill the next row. Electrons in atoms behave the same way. There are rules that determine where electrons go in compounds.

    Octet Rule

    The noble gases are unreactive because of their electron configurations. The noble gas neon has the electron configuration of \(1s^2 \: 2s^2 \: 2p^6\). It has a full outer shell and cannot incorporate any more electrons into the valence shell. The other noble gases have the same outer shell electron configuration, even though they have different numbers of inner-shell electrons.

    Figure \(\PageIndex{2}\): Electron configuration of neon atom. (Credit: Joy Sheng; Source: CK-12 Foundation; License: CC BY-NC-SA 3.0(opens in new window))

    American chemist Gilbert Lewis (1875-1946) used this observation to explain the types of ions and molecules that are formed by other elements. He called his explanation the octet rule. The octet rule states that atoms tend to form compounds in ways that give them eight valence electrons, and thus the electron configuration of a noble gas. An exception to an octet of electrons is in the case of the first noble gas, helium, which only has two valence electrons. This primarily affects the element hydrogen, which forms stable compounds by achieving two valence electrons. Lithium, an alkali metal with three valence electrons, is also an exception to the octet rule. Lithium tends to lose one electron to take on the electron configuration of the nearest noble gas, helium, leaving it with two valence electrons.

    There are two ways in which atoms can satisfy the octet rule. One way is by sharing their valence electrons with other atoms. The second way is by transferring valence electrons from one atom to another. Atoms of metals tend to lose all of their valence electrons, which leaves them with an octet from the next lowest principal energy level. Atoms of nonmetals tend to gain electrons in order to fill their outermost principal energy level with an octet.

    Watch the following video to learn how to use the octet rule to predict the charge of an ion.


    • Atoms form compounds in ways that give them eight valence electrons.
    • Metals tend to lose electrons to achieve this configuration.
    • Nonmetals tend to gain electrons to achieve this configuration.


    1. What is the electron configuration of a noble gas?
    2. Why is this configuration important?
    3. What are the two ways in which atoms can satisfy the octet rule?
    4. How do metals change to obey the octet rule?
    5. How do nonmetals change to obey the octet rule?

    This page titled 8.2: Octet Rule is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    CK-12 Foundation
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License