← Back to Blog

The 7 Diatomic Elements: List, Mnemonic and Why They Pair Up

November 8, 2026 · 6 min read · Periodic Table Online

The 7 diatomic elements are H, N, O, F, Cl, Br and I. How to remember them, where they sit on the periodic table, and why they form pairs.

diatomic elements7 diatomic elementsdiatomic moleculesHOFBrINClhalogensdiatomic elements mnemonic

Advertisement

Seven elements never exist as single atoms under normal conditions. Left on their own, their atoms join in pairs to make two-atom molecules. These are the diatomic elements, and you need to know them by heart, because they change how you write almost every chemical equation that involves them.

The list

ElementSymbolFormulaState at 25 °CBoiling point
HydrogenHH₂Colourless gas−253 °C
NitrogenNN₂Colourless gas−196 °C
OxygenOO₂Colourless gas−183 °C
FluorineFF₂Pale yellow gas−188 °C
ChlorineClCl₂Yellow-green gas−34 °C
BromineBrBr₂Red-brown liquid59 °C
IodineII₂Grey-violet solid184 °C

Notice that the seven cover all three states of matter at room temperature. Five are gases, bromine is one of only two elements that are liquid (see which elements are liquid at room temperature), and iodine is a shiny solid that gives off violet vapour when warmed.

How to remember them

Mnemonic 1: "Have No Fear Of Ice Cold Beer." The first letters give H, N, F, O, I, Cl, Br.

Mnemonic 2: HOFBrINCl, said "hof-brinkle". It spells out the symbols directly: H, O, F, Br, I, N, Cl. Some teachers prefer BrINClHOF ("brinkle-hof"), which is the same letters in a different order.

Mnemonic 3: the "7" on the periodic table. Find nitrogen, which is element number 7. Move right to oxygen and fluorine, then go down the halogen column through chlorine, bromine and iodine. Those six squares form the shape of a 7. Add hydrogen, which sits alone at the top left, and you have all seven. Open the interactive periodic table to see the shape for yourself.

Why these elements pair up

Atoms bond to reach a more stable arrangement of electrons, usually a full outer shell. Each of these elements is a nonmetal that is only a few electrons short of that:

  • Hydrogen has one electron and wants two (the same as helium). Two hydrogen atoms share their electrons in a single bond, so each one "counts" two.
  • The halogens (fluorine, chlorine, bromine, iodine) each have seven outer electrons and want eight. Two atoms share one pair, making a single bond.
  • Oxygen has six outer electrons and needs two more, so two oxygen atoms share two pairs: a double bond.
  • Nitrogen has five outer electrons and needs three more, so two nitrogen atoms share three pairs: a triple bond.

This kind of electron sharing is a covalent bond. Our guide to chemical bonds explains covalent, ionic and metallic bonding in more detail.

Bond strength explains a lot

The number of shared pairs changes how hard the molecule is to break apart:

MoleculeBondApproximate bond energy
N₂Triple945 kJ/mol
O₂Double498 kJ/mol
H₂Single436 kJ/mol
Cl₂Single243 kJ/mol
Br₂Single193 kJ/mol
F₂Single159 kJ/mol
I₂Single151 kJ/mol

The triple bond is why nitrogen gas, which makes up about 78% of the air, is so unreactive: plants cannot use it directly, and industry needs high temperatures, high pressures and a catalyst (the Haber process) to turn it into ammonia. At the other end, the weak F–F bond is one reason fluorine is the most reactive element of all. Our article on the most reactive elements covers why.

Why it matters when you write equations

The most common mistake is writing these elements as single atoms in an equation. When hydrogen burns in oxygen, the correct balanced equation is:

2H₂ + O₂ → 2H₂O

Writing "2H + O → H₂O" balances on paper but describes atoms that do not exist on their own. The same goes for chlorine reacting with sodium:

2Na + Cl₂ → 2NaCl

Whenever one of the seven appears as an element (not inside a compound), write it with a subscript 2. Inside compounds the rule no longer applies: water is H₂O, not H₄O₂. If you are balancing equations for moles or masses, our stoichiometry guide walks through the method.

Diatomic elements vs diatomic molecules

A diatomic molecule is any molecule made of two atoms. Carbon monoxide (CO), hydrogen chloride (HCl) and nitric oxide (NO) are all diatomic molecules, but they are compounds, because the two atoms are different elements. Only the seven elements above are diatomic elements: molecules made of two atoms of the same element.

Frequently asked questions

Is oxygen always diatomic?

Oxygen gas is O₂, but oxygen also forms ozone, O₃, a three-atom molecule found in the upper atmosphere. Different forms of the same element are called allotropes. When a question says "oxygen", it means O₂ unless it says otherwise.

Are the noble gases diatomic?

No. Helium, neon, argon, krypton, xenon and radon already have full outer shells, so their atoms stay single. They are described as monatomic.

Is astatine diatomic?

Astatine sits below iodine in group 17, but it is so radioactive that no one has ever collected enough to see how the bulk element behaves. It is not included in the list of diatomic elements.

What about phosphorus and sulfur?

They also form molecules, but bigger ones: white phosphorus is P₄ and the common form of sulfur is S₈. They are solids made of these molecules, not diatomic elements.

Which diatomic elements are halogens?

Four of them: fluorine, chlorine, bromine and iodine. The other three (hydrogen, nitrogen and oxygen) are nonmetals in other groups.

Quick summary

  • The seven diatomic elements are H₂, N₂, O₂, F₂, Cl₂, Br₂ and I₂.
  • Remember them with "Have No Fear Of Ice Cold Beer", HOFBrINCl, or the 7-shape starting at nitrogen.
  • They pair up by sharing electrons to complete their outer shells.
  • Always write them with a subscript 2 when they appear as elements in an equation.

Advertisement

More Chemistry Articles

Why Atoms Stick Together: Chemical Bonds Explained

November 1, 2025 · 12 min read

Chemical bonds sound abstract until you realize they're responsible for everything from water being wet to diamonds being hard. Here's how they work.

Which Elements Are Liquid at Room Temperature?

November 8, 2026 · 6 min read

Only mercury and bromine are liquid at room temperature. See which elements melt just above it, which 11 are gases, and why.

How to Find the Charge of an Ion Using the Periodic Table

November 8, 2026 · 6 min read

Read ion charges from the periodic table group by group, work out transition metal charges, and use charges to write ionic formulas.