Diazonium salts: the aromatic swiss-army knife

Big idea
ArNH₂ + NaNO₂/HCl at 0 °C → ArN₂⁺, whose N₂ leaving group can be swapped for almost anything.

Why it matters: Diazonium salts make substitution patterns possible on benzene rings that EAS alone cannot reach.

An aromatic primary amine can be converted into a diazonium salt, which opens several routes to replacement of the nitrogen-containing group. Plan the substitution from the desired ring product and the necessary reagent. Distinguish the cold preparation of the salt from later transformations, and use this chemistry to extend aromatic synthesis beyond ordinary substitution.

A primary aromatic amine reacts with nitrous acid, made from sodium nitrite and hydrochloric acid, at about 0 °C. The product is a diazonium ion, ArN2+. Nitrogen gas is an outstanding leaving group, so the diazonium group can be replaced by many other groups. Keep the salt cold until you choose the next reagent, because it loses nitrogen readily.

Copper(I) salts replace the diazonium group with chlorine, bromine, or a cyano group. Those are Sandmeyer reactions. Potassium iodide gives an aryl iodide. Heating the tetrafluoroborate salt gives an aryl fluoride, the Balz–Schiemann reaction. Warm water gives a phenol. Hypophosphorous acid replaces the group with hydrogen, which is how you delete an amino group after using it as a director.

NaNO₂, HCl0 °C
Benzenediazonium ion. Keep it cold: it loses N₂ readily (N₂ gas is the ultimate leaving group).
ReagentAr–N₂⁺ becomesName
CuClAr–ClSandmeyer
CuBrAr–BrSandmeyer
CuCNAr–CNSandmeyer
KIAr–I
HBF₄, heatAr–FBalz–Schiemann
H₂O, heatAr–OH
H₃PO₂Ar–Hreductive deamination
ArOH or ArNR₂Ar–N=N–Ar'azo coupling (dyes)
✏️ Worked example
Make 1,3,5-tribromobenzene (all meta!) from aniline.
  1. Br atoms are o/p directors, so meta-tribromination is impossible by direct EAS.
  2. But NH₂ directs strongly to 2, 4 and 6, which are all meta to each other!
  3. Brominate aniline (Br₂, H₂O) → 2,4,6-tribromoaniline.
  4. Remove the NH₂: NaNO₂/HCl, then H₃PO₂.
Answer: Use NH₂ as a temporary director, then delete it.
Br₂H₂O
1) NaNO₂, HCl2) H₃PO₂
Aniline → 2,4,6-tribromoaniline → 1,3,5-tribromobenzene.
🔍 Go deeper: Azo dyes

Diazonium ions are weak electrophiles that attack very activated rings (phenols, anilines), usually at the para position, forming Ar–N=N–Ar. The extended conjugation absorbs visible light. Methyl orange (a pH indicator) and many textile dyes are azo compounds.

🧪 Quick check

Which sequence converts toluene into p-methylbenzonitrile?

  1. HNO₃/H₂SO₄ (take para) → Fe/HCl → NaNO₂/HCl → CuCN
  2. KMnO₄ → SOCl₂ → NH₃
  3. CuCN directly
  4. Br₂/FeBr₃ → NaCN
Explanation
Nitrate, reduce to the amine, diazotize, then Sandmeyer with CuCN. (Aryl halides don't do SN2 with NaCN.)
Remember

Study this in Carby Practice this unit Cheat sheet