How Many Valence Electrons Does Nitrogen Have?

How many valence electrons does nitrogen have? Nitrogen has 5 valence electrons. This guide explains nitrogen’s electron configuration, bonding behavior, and the NH3 charge in plain terms.


Nitrogen is one of those elements that shows up constantly in chemistry, and understanding how many valence electrons does nitrogen have is foundational to understanding how it bonds, what molecules it forms, and why it behaves the way it does. The short answer is 5 valence electrons. But knowing why it has 5, what that means for its bonding, and how it plays out in molecules like ammonia (NH3) makes the concept stick. This guide covers all of that clearly.

How Many Valence Electrons Does Nitrogen Have


What Are Valence Electrons?

Valence electrons are the electrons in the outermost shell of an atom. They are the electrons involved in chemical bonding. When two atoms bond, they share or transfer valence electrons to achieve a more stable electron arrangement, typically eight electrons in the outer shell (the octet rule).

The number of valence electrons determines how many bonds an atom can form and what type of molecule it tends to produce.


How Many Valence Electrons Does Nitrogen Have?

Nitrogen has 5 valence electrons.

Nitrogen’s atomic number is 7, which means it has 7 total electrons. Those electrons are arranged across two energy levels (shells):

  • First shell: 2 electrons
  • Second shell: 5 electrons

The second shell is nitrogen’s outermost shell, so those 5 electrons are the valence electrons. This is where the number comes from.


Nitrogen Electron Configuration

The nitrogen electron configuration written in standard notation is:

1s² 2s² 2p³

Here is what that means:

  • 1s²: 2 electrons in the first s orbital (first shell)
  • 2s²: 2 electrons in the second s orbital
  • 2p³: 3 electrons spread across the three p orbitals in the second shell

The second shell holds a total of 5 electrons (2 in the s orbital + 3 in the p orbitals). These 5 electrons are nitrogen’s valence electrons.

In terms of orbital notation, the three p electrons each occupy their own orbital before pairing up, following Hund’s rule. This means nitrogen has three unpaired electrons in its 2p subshell, which is directly related to its ability to form three covalent bonds.


N Valence Electrons and Bonding Behavior

Because nitrogen has 5 N valence electrons and needs 8 to complete its outer shell (the octet), it needs to gain 3 more electrons through bonding.

Nitrogen typically forms 3 covalent bonds to reach a stable configuration. It does this while retaining one lone pair of electrons (the 2 electrons from the 2s orbital that are not involved in bonding).

This bonding pattern shows up in several common molecules:

  • N₂ (nitrogen gas): Two nitrogen atoms share three pairs of electrons with each other, forming a triple bond. This is one of the strongest bonds in nature and explains why nitrogen gas is so stable and chemically unreactive under normal conditions.
  • NH₃ (ammonia): Nitrogen forms three single bonds with three hydrogen atoms. It still has one lone pair left over.
  • HNO₃ (nitric acid): Nitrogen forms bonds with both oxygen atoms and is involved in more complex bonding arrangements.

Nitrogen Gas and Its Stability

Nitrogen gas (N₂) makes up about 78% of Earth’s atmosphere. Its remarkable stability comes directly from those 5 valence electrons. When two nitrogen atoms bond, they share all three of their unpaired p electrons with each other, creating a triple covalent bond.

A triple bond is extremely strong and requires significant energy to break. This is why nitrogen gas does not react easily with other elements at room temperature, even though nitrogen is essential to life and shows up in proteins, DNA, and countless biological molecules. The nitrogen in the air around us is essentially locked up until something (like lightning, industrial processes, or nitrogen-fixing bacteria) provides the energy to break that triple bond.


NH3 Charge and the Role of Valence Electrons

Ammonia (NH3) is a neutral molecule, meaning it carries no overall charge. The NH3 charge is 0 under normal conditions.

Here is how the electrons balance out:

  • Nitrogen contributes 5 valence electrons
  • Each hydrogen contributes 1 valence electron (3 hydrogens = 3 electrons)
  • Total electrons in the molecule: 8
  • Those 8 electrons form 3 bonding pairs (one N-H bond each) and 1 lone pair on nitrogen

Because all the electrons are accounted for and no ions are formed, the overall NH3 charge is neutral.

However, ammonia’s lone pair gives it interesting chemistry. That lone pair can accept a proton (H⁺), turning NH3 into the ammonium ion (NH4⁺), which carries a +1 charge. This behavior makes ammonia a base in acid-base chemistry.


Quick Reference: Nitrogen Facts

Property Value
Atomic number 7
Total electrons 7
Valence electrons 5
Electron configuration 1s² 2s² 2p³
Typical bonds formed 3 covalent bonds
Lone pairs 1
Common molecules N₂, NH₃, NO₂, HNO₃

The Short Answer

Nitrogen has 5 valence electrons, located in its outermost (second) shell. Its electron configuration is 1s² 2s² 2p³. These 5 N valence electrons allow nitrogen to form three covalent bonds while retaining one lone pair, which is why it appears in molecules like nitrogen gas (N₂) with a triple bond and ammonia (NH₃) with three single bonds. The NH3 charge is neutral overall, though the lone pair on nitrogen gives ammonia its basic properties. Understanding nitrogen’s valence electrons is the key to understanding its chemistry.