18.2 Diazonium Salts
Cold nitrous acid turns an aromatic amine into an arenediazonium salt, ArN₂⁺X⁻. Its –N₂⁺ group can be swapped for Cl, Br, I, F, CN, OH or H, or used to join two rings through an –N=N– bridge into a dye — which makes it the most versatile intermediate in aromatic synthesis.
Look at the label of a packet of orange sweets, a bottle of yellow soft drink or a bright cotton shirt, and there is a good chance that the colour comes from an azo compound — two aromatic rings joined by an $\mathrm{{-}N{=}N{-}}$ group. Well over half of all synthetic dyes are of this type, and the indicator methyl orange used in every school titration is one of them. Every one of these molecules is made through a short-lived, ice-cold intermediate: an arenediazonium salt.
Diazonium salts matter just as much to the synthetic chemist who never makes a dye. Direct electrophilic substitution cannot put fluorine, iodine, a cyano group or a hydroxyl group onto a benzene ring cleanly, and it cannot produce substitution patterns that go against the directing effects of the groups present. Going through an amine and its diazonium salt does all of this: nitrate, reduce, diazotise, replace. In this section we prepare diazonium salts and explain why the aromatic ones survive at 273 K while aliphatic ones do not, then study their two families of reactions — replacement, in which nitrogen leaves as $\mathrm{N_{2}}$, and coupling, in which it stays — and finish by planning multi-step syntheses. You will need the reaction of amines with nitrous acid from Section 18.1, electrophilic substitution and directing effects from Section 15.4, and the acidity of phenols from Section 17.2.
Diazotisation and the arenediazonium ion
When a primary aromatic amine dissolved in excess cold mineral acid is treated with aqueous sodium nitrite, the $\mathrm{{-}NH_{2}}$ group is converted into the diazonium group, $\mathrm{{-}N_{2}^{+}}$. The ice bath is essential.
An arenediazonium salt has the general formula $\mathrm{Ar{-}N_{2}^{+}X^{-}}$, where Ar is an aryl group and $\mathrm{X^{-}}$ an anion such as $\mathrm{Cl^{-}}$, $\mathrm{Br^{-}}$, $\mathrm{HSO_{4}^{-}}$ or $\mathrm{BF_{4}^{-}}$. It is named by adding the suffix -diazonium to the name of the parent arene, followed by the anion: $\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}}$ is benzenediazonium chloride, $\mathrm{4{-}CH_{3}C_{6}H_{4}N_{2}^{+}HSO_{4}^{-}}$ is 4-methylbenzenediazonium hydrogensulphate.
Diazotisation is the conversion of a primary aromatic amine into its diazonium salt by nitrous acid (from $\mathrm{NaNO_{2}}$ and a mineral acid) at $273$–$278\ \mathrm{K}$:
$$\begin{aligned}\mathrm{C_{6}H_{5}NH_{2}+NaNO_{2}+2HCl}&\mathrm{\;\xrightarrow{273{-}278\ K}C_{6}H_{5}N_{2}^{+}Cl^{-}}\\&\mathrm{\;\quad+\,NaCl+2H_{2}O}\end{aligned}$$The mechanism. In acid, nitrous acid is protonated and loses water, giving the nitrosonium ion, $\mathrm{NO^{+}}$ — the real electrophile (compare $\mathrm{NO_{2}^{+}}$ in nitration). The lone pair of the amine attacks the nitrogen of $\mathrm{NO^{+}}$; a proton is lost to give an N-nitrosamine, just as with a secondary amine. But a primary amine still has an N–H, so the N-nitrosamine can shift a proton (tautomerism) to the diazohydroxide $\mathrm{Ar{-}N{=}N{-}OH}$, which is protonated and loses water.
- Temperature 273–278 K (ice bath). Above about 283 K the diazonium ion reacts with water, giving the phenol and nitrogen.
- Excess mineral acid (about 2.5–3 mol per mole of amine): one mole makes $\mathrm{HNO_{2}}$ from $\mathrm{NaNO_{2}}$, one provides the anion of the salt, and the excess keeps unreacted amine protonated so that it cannot couple with the diazonium salt already formed.
- One mole of $\mathrm{NaNO_{2}}$ per $\mathrm{{-}NH_{2}}$ group, added slowly; a slight excess of nitrous acid at the end turns starch–iodide paper blue-black.
- The solution is used at once, without isolating the salt: solid diazonium chlorides decompose violently when dry. The tetrafluoroborates, $\mathrm{ArN_{2}^{+}BF_{4}^{-}}$, are the exception — insoluble in water and stable enough to be filtered and dried.
- Only primary aromatic amines give stable diazonium salts; 1° aliphatic amines give alkanediazonium ions that lose $\mathrm{N_{2}}$ immediately (Section 18.1).
Why the aromatic ion survives. In $\mathrm{Ar{-}N_{2}^{+}}$ the C–N–N unit is linear and the N≡N triple bond lies in line with the ring. The ring's π electrons can be shared with the diazonium group, spreading the positive charge onto the ortho and para carbons. This delocalisation stabilises the ion, and breaking the C–N bond would also put a positive charge on an $sp^{2}$ ring carbon — an aryl cation, a very unstable species. An alkanediazonium ion, $\mathrm{R{-}N_{2}^{+}}$, has neither protection: it falls apart at once to $\mathrm{N_{2}}$ (an extremely stable molecule) and a carbocation, which then gives a mixture of alcohols, alkenes and rearranged products.
Properties. Benzenediazonium chloride is a colourless crystalline solid, readily soluble in water. Its solution is stable in the cold but gives off nitrogen when warmed. Because the ion is reactive and the solid is dangerous, diazonium salts are prepared and used in solution in the same flask, one step after another.
Why is diazotisation carried out at 273–278 K?
Replacement reactions: losing N₂
The diazonium group is a superb leaving group: it leaves as dinitrogen, one of the most stable molecules there is, and the gas escapes, so the reactions are irreversible. A nucleophile — or a radical, with copper's help — takes its place on the same ring carbon. These reactions put on the ring groups that cannot be introduced well by direct substitution.
| Group introduced | Reagent and conditions | Name |
|---|---|---|
| $\mathrm{{-}Cl}$, $\mathrm{{-}Br}$ | $\mathrm{CuCl/HCl}$; $\mathrm{CuBr/HBr}$ | Sandmeyer reaction |
| $\mathrm{{-}CN}$ | $\mathrm{CuCN/KCN}$ | Sandmeyer reaction |
| $\mathrm{{-}Cl}$, $\mathrm{{-}Br}$ | copper powder with HCl or HBr | Gattermann reaction |
| $\mathrm{{-}I}$ | aqueous KI, warm (no catalyst) | — |
| $\mathrm{{-}F}$ | $\mathrm{HBF_{4}}$ to precipitate $\mathrm{ArN_{2}^{+}BF_{4}^{-}}$, then heat the dry salt | Balz–Schiemann reaction |
| $\mathrm{{-}OH}$ | water; warm the acidic solution above about 283 K | hydrolysis |
| $\mathrm{{-}H}$ | hypophosphorous acid $\mathrm{H_{3}PO_{2}}$ (or ethanol) | reductive removal |
| $\mathrm{{-}NO_{2}}$ | $\mathrm{ArN_{2}^{+}BF_{4}^{-}}$ with $\mathrm{NaNO_{2}}$ and Cu, heat | — |
Conditions: the diazonium salt must be made from a primary aromatic amine; the new group always takes the position the $\mathrm{{-}NH_{2}}$ group occupied, whatever other groups the ring carries.
Sandmeyer and Gattermann. In the Sandmeyer reaction copper(I) transfers an electron to the diazonium ion, which loses $\mathrm{N_{2}}$ to give an aryl radical; the radical then takes the halogen or cyanide from the copper(II) species formed, regenerating copper(I):
$$\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}\xrightarrow{CuCl/HCl}C_{6}H_{5}Cl+N_{2}}$$ $$\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}\xrightarrow{CuCN/KCN}C_{6}H_{5}CN+N_{2}}$$The Gattermann reaction uses copper powder and the halogen acid instead of the copper(I) salt; it is simpler, but the yields are usually lower than in the Sandmeyer reaction. The nitrile from the cyanide route is very useful: hydrolysis gives a benzoic acid and reduction gives a benzylamine.
Iodine and fluorine. Iodine cannot be put on a ring well by direct substitution ($\mathrm{I_{2}}$ is a feeble electrophile and the HI formed reverses the reaction), and fluorine reacts explosively with arenes. Through the diazonium salt both are easy:
$$\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+KI\rightarrow C_{6}H_{5}I+KCl+N_{2}}$$ $$\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+HBF_{4}\rightarrow C_{6}H_{5}N_{2}^{+}BF_{4}^{-}+HCl}$$ $$\mathrm{C_{6}H_{5}N_{2}^{+}BF_{4}^{-}\xrightarrow{heat}C_{6}H_{5}F+BF_{3}+N_{2}}$$Hydroxyl and hydrogen. Warming the acidic solution gives the phenol; hypophosphorous acid (or ethanol) replaces the diazonium group by hydrogen, which lets us remove an amino group after it has done its directing job:
$$\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+H_{2}O\rightarrow C_{6}H_{5}OH+N_{2}+HCl}$$ $$\begin{aligned}\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+H_{3}PO_{2}+H_{2}O}&\mathrm{\;\rightarrow C_{6}H_{6}+N_{2}}\\&\mathrm{\;\quad+\,H_{3}PO_{3}+HCl}\end{aligned}$$ $$\begin{aligned}\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+CH_{3}CH_{2}OH}&\mathrm{\;\rightarrow C_{6}H_{6}+N_{2}}\\&\mathrm{\;\quad+\,CH_{3}CHO+HCl}\end{aligned}$$In the switchboard start from 4-methylaniline, set the mass to $10.7\ \mathrm{g}$ and choose CuCN/KCN. What does the lab report as the product and its maximum mass?
4-Nitrobenzenediazonium chloride is warmed with CuBr/HBr. The main organic product is
Coupling reactions and azo dyes
In a coupling reaction the diazonium ion keeps both its nitrogen atoms. It acts as an electrophile: the terminal nitrogen accepts a pair of π electrons from another aromatic ring, and the product, after loss of a proton, contains the azo group $\mathrm{{-}N{=}N{-}}$ joining two rings.
A coupling reaction is the electrophilic substitution of a strongly activated aromatic ring (a phenol or an aromatic amine) by an arenediazonium ion, in which both nitrogen atoms are retained:
$$\mathrm{Ar{-}N_{2}^{+}+H{-}Ar'{-}G\rightarrow Ar{-}N{=}N{-}Ar'{-}G+H^{+}}$$where G is $\mathrm{{-}OH}$ (or $\mathrm{{-}O^{-}}$), $\mathrm{{-}NH_{2}}$ or $\mathrm{{-}NR_{2}}$. The product $\mathrm{Ar{-}N{=}N{-}Ar'}$ is an azo compound. Its two rings and the N=N bond form one extended conjugated π system, which absorbs visible light, so azo compounds are coloured (yellow, orange, red) and many are dyes.
Only strongly activated rings couple. The positive charge of the diazonium ion is spread over the ring and both nitrogens, which makes it a weak electrophile. It attacks phenoxide ions, phenols and aromatic amines, whose rings are very electron-rich, but not benzene, toluene or nitrobenzene. Attack occurs at the para position of the activating group; if para is already occupied, at an ortho position.
The pH must be right.
- Phenols couple in mildly alkaline solution (about pH 9–10). The phenoxide ion, $\mathrm{ArO^{-}}$, is far more strongly activated than phenol, so a little alkali speeds the reaction enormously. Too much alkali is harmful: hydroxide converts the diazonium ion into the diazohydroxide $\mathrm{Ar{-}N{=}N{-}OH}$ and its anion, which do not couple.
- Aromatic amines couple in mildly acidic solution (about pH 4–5). Strong acid would protonate the amine to $\mathrm{ArNH_{3}^{+}}$, whose ring is deactivated; mild acid keeps enough free amine while protecting the diazonium ion.
The first product is 4-hydroxyazobenzene, an orange dye; the second is 4-aminoazobenzene, known as aniline yellow. With an alkaline solution of 2-naphthol, benzenediazonium chloride gives an orange-red precipitate, 1-(phenylazo)-2-naphthol — the standard laboratory test for a primary aromatic amine (diazotise it, then add to alkaline 2-naphthol). The indicator methyl orange is made by diazotising sulphanilic acid (Section 18.1) and coupling it with N,N-dimethylaniline; it is red below pH about 3.1 and yellow above about 4.4 because protonation changes its conjugated system.
- Electrophile: $\mathrm{ArN_{2}^{+}}$ (weak) — couples only with phenols/phenoxides and aromatic amines; electron-withdrawing groups on the diazonium ring (e.g. 4-nitro) make it a stronger electrophile.
- Position: para to $\mathrm{{-}OH}$, $\mathrm{{-}NH_{2}}$ or $\mathrm{{-}NR_{2}}$; ortho if para is blocked.
- Medium: phenols at about pH 9–10 (as phenoxide); aromatic amines at about pH 4–5.
- Both nitrogens are retained (no $\mathrm{N_{2}}$ evolved); the product $\mathrm{Ar{-}N{=}N{-}Ar'}$ is coloured.
In the coupling lab choose phenol and set the pH to 7. Compared with the best pH, how fast is the coupling?
Benzenediazonium chloride is added to an alkaline solution of 4-methylphenol. The azo group enters
Planning syntheses through diazonium salts
The diazonium route lets you place a group where direct substitution would not put it. The amino group plays two roles: first as a powerful director (or, acetylated, a moderate one), then as a handle that is replaced by the group you actually want — or simply removed with $\mathrm{H_{3}PO_{2}}$.
- Look for the signals in the target: F, I, CN, OH or H at a ring position; or two groups in a relationship (e.g. meta) that their directing effects would never give; or an N=N bridge.
- Work backwards: each such group was once $\mathrm{{-}N_{2}^{+}}$, which was once $\mathrm{{-}NH_{2}}$, which was usually once $\mathrm{{-}NO_{2}}$ (nitration, then Sn/HCl or Fe/HCl).
- Use the amino group to direct the other substituents in while it is there. If it is too activating (polysubstitution) or would be protonated/oxidised, acetylate it first and hydrolyse afterwards.
- Diazotise last (273–278 K) and replace. Count steps: nitration, reduction, (protection, substitution, deprotection), diazotisation, replacement.
- Check every intermediate's directing effects and the final substitution pattern.
1. Aliphatic vs aromatic amines. Only 1° aromatic amines give stable diazonium salts. Benzylamine is aliphatic: with nitrous acid it gives $\mathrm{N_{2}}$ and phenylmethanol, never a coupling dye.
2. Mixing up the copper reactions. Sandmeyer: copper(I) salt (CuCl, CuBr, CuCN). Gattermann: copper powder + HX. Iodide needs no copper; fluoride needs $\mathrm{HBF_{4}}$ and heat (Balz–Schiemann).
3. N₂ or no N₂? Replacement reactions lose $\mathrm{N_{2}}$; coupling keeps both N atoms. A numerical asking for gas volume needs one mole of $\mathrm{N_{2}}$ per diazonium group that is replaced.
4. Coupling conditions. Phenols: mildly alkaline (phenoxide); amines: mildly acidic. Coupling is para unless para is blocked. Benzene, toluene and nitrobenzene do not couple.
5. Removing a directing group. $\mathrm{H_{3}PO_{2}}$ (or ethanol) replaces $\mathrm{{-}N_{2}^{+}}$ by H; warm water gives the phenol instead. Read the reagent before writing ArH or ArOH.
How many steps are needed, at minimum, to convert benzene into iodobenzene by way of a diazonium salt?
Exercises
Atomic masses: H 1, C 12, N 14, O 16, F 19, Na 23, Cl 35.5, Br 80, I 127; molar volume at STP $22.4\ \mathrm{L\,mol^{-1}}$.
- 1 Write the equation for the diazotisation of 4-methylaniline with $\mathrm{NaNO_{2}}$ and HCl and name the product.
- 2 What happens if the diazotisation mixture is allowed to warm to room temperature? Write the equation for benzenediazonium chloride.
- 3 Give two reasons why an excess of hydrochloric acid is used in diazotisation.
- 4 What mass of $\mathrm{NaNO_{2}}$ is needed to diazotise $21.4\ \mathrm{g}$ of 4-methylaniline?
- 5 Explain why benzenediazonium chloride can be kept for a while at 273 K, whereas ethanediazonium chloride cannot be detected at all.
- 6 How many of the following give a stable diazonium salt at 273 K: aniline, benzylamine, 4-nitroaniline, ethanamine, N-methylaniline, 2-methylaniline?
- 7 The diazonium salt from $4.65\ \mathrm{g}$ of aniline is warmed with water. What volume of $\mathrm{N_{2}}$ (STP) is evolved?
- 8 How many σ bonds and how many π bonds are there in the benzenediazonium ion, $\mathrm{C_{6}H_{5}N_{2}^{+}}$ (Kekulé ring)?
- 1 Give the reagents that convert benzenediazonium chloride into (a) bromobenzene (two ways) (b) iodobenzene (c) fluorobenzene (d) benzene (e) phenol.
- 2 Give the products of 4-nitrobenzenediazonium chloride with (a) CuCN/KCN (b) KI (c) $\mathrm{H_{3}PO_{2}}$.
- 3 Why are iodo- and fluoroarenes made from diazonium salts rather than by direct halogenation?
- 4 How many steps convert aniline into benzoic acid via the diazonium salt? Name the reagents.
- 5 What mass of chlorobenzene is obtained from $9.3\ \mathrm{g}$ of aniline if the overall yield is 80%?
- 6 What mass of fluorobenzene is obtained by heating $0.25\ \mathrm{mol}$ of dry benzenediazonium tetrafluoroborate (100% yield)?
- 7 State the difference between the Sandmeyer and the Gattermann reactions. Which usually gives the better yield?
- 8 $\mathrm{C_{6}H_{5}NH_{2}\xrightarrow{NaNO_{2}/HCl,\ 273\ K}A}$; $\mathrm{A\xrightarrow{CuCN/KCN}B}$; $\mathrm{B\xrightarrow{H_{3}O^{+},\ heat}C}$. Identify A, B, C and find the molar mass of C.
- 1 Write the coupling reaction of benzenediazonium chloride with phenol. State the conditions and the colour of the product.
- 2 Write the coupling reaction with aniline and give the common name of the product.
- 3 Why does coupling usually take place at the para position? When does it take place ortho?
- 4 Explain why coupling with phenol fails (a) in strongly acidic solution (b) in strongly alkaline solution.
- 5 Find the molar mass of 4-hydroxyazobenzene and the number of π bonds in it.
- 6 A test for primary aromatic amines: diazotise, then add to alkaline 2-naphthol. How many of the following give the orange-red dye: aniline, 4-methylaniline, benzylamine, N-methylaniline, 4-aminophenol?
- 7 Methyl orange is sodium 4-[4-(dimethylamino)phenylazo]benzenesulphonate. From which diazonium salt and which coupling partner is it made? How many nitrogen atoms does one formula unit contain?
- 1 How many steps does the route from aniline to 1,3,5-tribromobenzene take? Give the reagents.
- 2 Make 3-bromophenol from benzene. How many steps are needed?
- 3 Make 4-bromobenzoic acid from aniline (protect the amino group where needed).
- 4 How many steps convert benzene into iodobenzene by way of a diazonium salt?
- 5 In the route of part 1 each step gives 90% yield. What mass of 1,3,5-tribromobenzene is obtained from $18.6\ \mathrm{g}$ of aniline?
- 6 Convert 4-nitroaniline into 4-nitrophenol.
- 7 1,3-Dibromobenzene cannot be made by brominating bromobenzene. Plan a synthesis from benzene and state the number of steps.
- 8 Find the molar mass of 3-bromophenol.
E1. JEE Main · MCQ Benzenediazonium chloride is converted into fluorobenzene by (A) CuF in HF (B) aqueous KF (C) fluoroboric acid, followed by heating (D) $\mathrm{F_{2}}$ in the presence of $\mathrm{FeF_{3}}$
E2. JEE Main · Numerical $4.65\ \mathrm{g}$ of aniline is diazotised completely at 273 K and the solution is then boiled until no more gas is evolved. Find the volume of nitrogen evolved, in mL at STP (molar volume $22.4\ \mathrm{L\,mol^{-1}}$). Give the answer to the nearest integer.
E3. JEE Main · MCQ 4-Methylaniline is treated successively with (i) $\mathrm{NaNO_{2}/HCl}$ at 273 K (ii) CuCN/KCN (iii) $\mathrm{H_{3}O^{+}}$, heat. The final product is (A) 4-methylbenzaldehyde (B) 4-methylbenzoic acid (C) 4-methylbenzonitrile (D) 4-aminobenzoic acid
E4. JEE Main · Numerical Benzenediazonium chloride is treated separately with each of the following: CuCl/HCl; Cu powder/HBr; KI; $\mathrm{HBF_{4}}$ then heat; $\mathrm{H_{3}PO_{2}}$; warm water; CuCN/KCN; phenol in NaOH. In how many cases is a haloarene formed? Give the answer to the nearest integer.
E5. JEE Main · MCQ Coupling of benzenediazonium chloride with phenol is carried out in mildly alkaline solution because (A) diazonium salts are most stable in alkali (B) alkali converts the diazonium ion into a stronger electrophile (C) phenol is protonated in neutral solution (D) the phenoxide ion is much more reactive towards electrophiles than phenol, while strong alkali would destroy the diazonium ion
E6. JEE Main · Numerical 1,3,5-Tribromobenzene is prepared from $18.6\ \mathrm{g}$ of aniline by bromination with bromine water, diazotisation and treatment with $\mathrm{H_{3}PO_{2}}$. Assuming 100% yield in every step, find the mass of 1,3,5-tribromobenzene in grams ($\mathrm{Br}=80$). Give the answer to the nearest integer.
Research question. Over what pH range does an azo indicator change colour, and can a phone camera measure that range as well as the eye can?
Why it matters. Azo compounds colour textiles, foods, inks and plastics, and several are acid–base indicators. Their colour depends on how far the conjugated $\mathrm{Ar{-}N{=}N{-}Ar'}$ system extends, and adding a proton to the molecule changes that system — which is exactly how methyl orange works. Textile and food-colour laboratories measure colour objectively with spectrophotometers; a phone camera with a colour-picker app is a cheap stand-in.
What to do.
- Make a set of solutions of known pH from 1 to 7 (dilute HCl, ethanoic acid–sodium ethanoate mixtures, tap water), checked with universal-indicator paper or a pH meter in the school laboratory.
- Add one drop of methyl orange indicator to equal volumes of each in identical test tubes, held against a white card.
- Photograph all the tubes in one picture in steady light. With a colour-picker app record the hue (or the red and green values) of each tube.
- Plot hue against pH. Find the pH range over which the colour changes, and the pH at its midpoint (where the acid and base forms are present in equal amounts).
- Compare with the range you judge by eye, and with the quoted range of about 3.1–4.4.
Tools: Methyl orange indicator, dilute acids and buffer mixtures from the school laboratory, pH paper or meter, phone camera with a colour-picker app, a spreadsheet.
Hand in: The photograph, a table of pH and colour values, the graph with the transition range marked, and a paragraph linking the colour change to protonation of the azo dye's conjugated system.
Going further. The midpoint of the change is the $\mathrm{p}K_{a}$ of the indicator. Use your value to explain why methyl orange suits a titration of sodium carbonate or ammonia with HCl but not of ethanoic acid with NaOH.
🧪 Self-check quiz
Q1. Diazotisation of aniline is carried out at
Q2. Benzonitrile is obtained from benzenediazonium chloride by the Sandmeyer reaction using
Q3. Which reagent replaces the diazonium group of $\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}}$ by hydrogen?
Q4. Aniline yellow is
Q5. Which amine evolves nitrogen even at 273 K when treated with NaNO₂ and HCl?