Chapter 18 · Organic Compounds Containing Nitrogen

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.

📘 Definition 18.3 — Diazonium salt and diazotisation

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.

📐 Rule 18.6 — Conditions for diazotisation
  1. Temperature 273–278 K (ice bath). Above about 283 K the diazonium ion reacts with water, giving the phenol and nitrogen.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

✏️ Example 1 — Diazotisation by numbers
$9.3\ \mathrm{g}$ of aniline ($M=93\ \mathrm{g\,mol^{-1}}$) is diazotised completely. (a) What mass of $\mathrm{NaNO_{2}}$ ($M=69$) is needed? (b) What is the minimum amount of HCl? (c) If the solution is then allowed to warm up, what volume of $\mathrm{N_{2}}$ (at STP, $22.4\ \mathrm{L\,mol^{-1}}$) is evolved and what mass of phenol forms?
Find the mass of sodium nitrite in (a):
Moles $n(\text{aniline})=\dfrac{9.3}{93}=0.10\ \mathrm{mol}$.
(a) One $\mathrm{NaNO_{2}}$ per $\mathrm{{-}NH_{2}}$: $0.10\times69=6.9\ \mathrm{g}$.
(b) The equation uses 2 HCl per amine: at least $0.20\ \mathrm{mol}$. In practice about $0.25$–$0.30\ \mathrm{mol}$ is used, so that the solution stays acidic.
(c) $\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+H_{2}O\rightarrow C_{6}H_{5}OH+N_{2}+HCl}$: $0.10\ \mathrm{mol\ N_{2}}=2.24\ \mathrm{L}$ at STP and $0.10\times94=9.4\ \mathrm{g}$ phenol.
Check Diazotisation equation: C 6 = 6; H $7+2=5+4$; N $1+1=2$; O $2=2$; Na, Cl balance ✓.
✏️ Example 2 — JEE level: two isomers of C₇H₉N
Benzylamine and 4-methylaniline both have the formula $\mathrm{C_{7}H_{9}N}$ ($M=107$). $1.07\ \mathrm{g}$ of each is treated separately with $\mathrm{NaNO_{2}}$ and HCl at 273 K. (a) Describe and explain what happens in each case. (b) What volume of gas (mL at STP) is evolved from each at 273 K? (c) How could the solution from 4-methylaniline be used to confirm that it was a primary aromatic amine?
Classes Benzylamine, $\mathrm{C_{6}H_{5}CH_{2}NH_{2}}$, has its $\mathrm{{-}NH_{2}}$ on an $sp^{3}$ carbon: a 1° aliphatic amine. 4-Methylaniline has $\mathrm{{-}NH_{2}}$ on the ring: a 1° aromatic amine.
(a) Benzylamine gives the benzyldiazonium ion, which has no ring–N conjugation and loses $\mathrm{N_{2}}$ at once even at 273 K, leaving mainly phenylmethanol: brisk effervescence. 4-Methylaniline gives the resonance-stabilised 4-methylbenzenediazonium chloride: a clear solution, no gas.
(b) $1.07\ \mathrm{g}=0.010\ \mathrm{mol}$. Benzylamine: $0.010\ \mathrm{mol\ N_{2}}=224\ \mathrm{mL}$. 4-Methylaniline: $0$ at 273 K (the same 224 mL appears only if the solution is warmed).
(c) Add the cold solution to 2-naphthol in aqueous NaOH: an orange-red azo dye precipitates (coupling, third subsection) — a test given only by primary aromatic amines.

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.

📐 Rule 18.7 — Replacement reactions of $\mathrm{ArN_{2}^{+}X^{-}}$ (N₂ is lost in each)
Group introducedReagent and conditionsName
$\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 HBrGattermann reaction
$\mathrm{{-}I}$aqueous KI, warm (no catalyst)—
$\mathrm{{-}F}$$\mathrm{HBF_{4}}$ to precipitate $\mathrm{ArN_{2}^{+}BF_{4}^{-}}$, then heat the dry saltBalz–Schiemann reaction
$\mathrm{{-}OH}$water; warm the acidic solution above about 283 Khydrolysis
$\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}$$
✏️ Example 3 — Reagents in a scheme
Identify the reagents and products in the scheme starting from 4-methylaniline: 4-methylaniline $\xrightarrow{\text{(i)}}$ A $\xrightarrow{\text{(ii)}}$ 4-methylbenzonitrile $\xrightarrow{\text{(iii)}}$ B. A also gives C with KI and D with warm water. (a) Name A, B, C and D and the reagents (i)–(iii). (b) Find the molar masses of 4-methylbenzonitrile and of B ($\mathrm{C}=12$, $\mathrm{H}=1$, $\mathrm{N}=14$, $\mathrm{O}=16$).
(i) $\mathrm{NaNO_{2}+HCl}$ at 273–278 K: A $=$ 4-methylbenzenediazonium chloride, $\mathrm{4{-}CH_{3}C_{6}H_{4}N_{2}^{+}Cl^{-}}$.
(ii), (iii) (ii) $\mathrm{CuCN/KCN}$ (Sandmeyer). (iii) Hydrolysis, $\mathrm{H_{3}O^{+}}$ and heat: B $=$ 4-methylbenzoic acid, $\mathrm{4{-}CH_{3}C_{6}H_{4}COOH}$.
C, D C $=$ 1-iodo-4-methylbenzene (4-iodotoluene); D $=$ 4-methylphenol.
(b) $\mathrm{C_{8}H_{7}N}$: $96+7+14=117\ \mathrm{g\,mol^{-1}}$. B, $\mathrm{C_{8}H_{8}O_{2}}$: $96+8+32=136\ \mathrm{g\,mol^{-1}}$.
Check In every product the new group is para to $\mathrm{CH_{3}}$ — exactly where $\mathrm{NH_{2}}$ was. Direct substitution of toluene would give an ortho/para mixture.
✏️ Example 4 — Yield of a two-step conversion
$18.6\ \mathrm{g}$ of aniline is diazotised (100%) and the diazonium solution is warmed with aqueous KI; the yield of iodobenzene is 75%. (a) Find the mass of iodobenzene ($\mathrm{I}=127$). (b) What volume of nitrogen (STP) is evolved when all of the diazonium salt has decomposed? (c) Why is no copper catalyst needed, whereas chlorobenzene needs CuCl?
Find the mass of iodobenzene in (a):
Moles $n=\dfrac{18.6}{93}=0.20\ \mathrm{mol}$ of diazonium salt.
(a) $M(\mathrm{C_{6}H_{5}I})=204$: $0.20\times0.75\times204=30.6\ \mathrm{g}$.
(b) Every diazonium ion loses one $\mathrm{N_{2}}$, whether it becomes iodobenzene or a by-product such as phenol: $0.20\times22.4=4.48\ \mathrm{L}$ at STP.
(c) Iodide is large, easily oxidised and an excellent electron donor, so it reacts with the diazonium ion on its own. Chloride is not, and needs copper(I) to start the radical pathway.

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?

With 4-methylaniline, $10.7\ \mathrm{g}$ and CuCN/KCN the readouts show product 4-methylbenzonitrile, reaction "Sandmeyer", $M=117\ \mathrm{g\,mol^{-1}}$ and "11.7 g · N₂ 2240 mL": $10.7/107=0.100\ \mathrm{mol}$, and each mole of amine gives one mole of nitrile and one of $\mathrm{N_{2}}$. The CN group goes exactly where $\mathrm{NH_{2}}$ was — para to $\mathrm{CH_{3}}$. ($10.3\ \mathrm{g}$ would be benzonitrile, $M=103$, from aniline.) Now switch to 3-nitroaniline and KI: the iodine lands meta to the nitro group, a pattern direct iodination could never give.
Interactive 1 — Diazonium Switchboard: Replace N₂⁺ by Anything

Choose a primary aromatic amine, its mass and a reagent, then press Play. The ring is diazotised ($\mathrm{NaNO_{2}/HCl}$, 273–278 K), $\mathrm{N_{2}}$ bubbles away, and the new group arrives at the carbon that carried $\mathrm{NH_{2}}$ — the other substituent stays where it was. The readouts give the product, the name of the reaction, its molar mass, and the maximum mass and $\mathrm{N_{2}}$ volume (STP) for 100% conversion (C 12, H 1, N 14, O 16, F 19, Cl 35.5, Br 80, I 127).

10.7 g
product—
reaction—
M (g/mol)—
max mass · N₂ (STP)—

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.

📘 Definition 18.4 — Coupling reaction and azo compound

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.

$$\begin{aligned}\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+C_{6}H_{5}OH}&\mathrm{\;\xrightarrow{OH^{-}}4{-}HOC_{6}H_{4}N{=}NC_{6}H_{5}}\\&\mathrm{\;\quad+\,HCl}\end{aligned}$$ $$\begin{aligned}\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+C_{6}H_{5}NH_{2}}&\mathrm{\;\xrightarrow{H^{+}}4{-}H_{2}NC_{6}H_{4}N{=}NC_{6}H_{5}}\\&\mathrm{\;\quad+\,HCl}\end{aligned}$$

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.

📐 Rule 18.8 — Azo coupling
  1. 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.
  2. Position: para to $\mathrm{{-}OH}$, $\mathrm{{-}NH_{2}}$ or $\mathrm{{-}NR_{2}}$; ortho if para is blocked.
  3. Medium: phenols at about pH 9–10 (as phenoxide); aromatic amines at about pH 4–5.
  4. Both nitrogens are retained (no $\mathrm{N_{2}}$ evolved); the product $\mathrm{Ar{-}N{=}N{-}Ar'}$ is coloured.
✏️ Example 5 — Two dyes from one diazonium salt
Benzenediazonium chloride is added (a) to phenol in dilute NaOH and (b) to aniline in dilute ethanoic acid. (i) Give the structure, name and colour of each product. (ii) Find the molar masses of the two dyes. (iii) How many π bonds does each dye contain (count a benzene ring as three)? (iv) Why does benzene not react with benzenediazonium chloride at all?
Find the molar mass of the dye from phenol:
(a) In NaOH phenol is phenoxide; the diazonium ion attacks its para carbon: $\mathrm{HO{-}C_{6}H_{4}{-}N{=}N{-}C_{6}H_{5}}$, 4-hydroxyazobenzene (4-(phenyldiazenyl)phenol), orange.
(b) In weak acid the free amine couples para: $\mathrm{H_{2}N{-}C_{6}H_{4}{-}N{=}N{-}C_{6}H_{5}}$, 4-aminoazobenzene, aniline yellow.
(ii) $\mathrm{C_{12}H_{10}N_{2}O}$: $144+10+28+16=198\ \mathrm{g\,mol^{-1}}$. $\mathrm{C_{12}H_{11}N_{3}}$: $144+11+42=197\ \mathrm{g\,mol^{-1}}$.
(iii) Each has two benzene rings ($2\times3$) plus N=N: $7$ π bonds, all in one conjugated system.
(iv) The diazonium ion is a weak electrophile; it needs the strongly electron-rich ring of a phenoxide, phenol or amine. Benzene's ring is not nucleophilic enough.

In the coupling lab choose phenol and set the pH to 7. Compared with the best pH, how fast is the coupling?

At pH 7 with phenol the readouts show phenoxide $0.1\%$, $\mathrm{ArN_{2}^{+}}$ present $100.0\%$ and relative rate $0.2\%$: almost no phenoxide, so almost no reaction. Move to pH 10: phenoxide $56.3\%$, diazonium $90.9\%$, rate $83.7\%$ of the best (the peak of the green curve, near pH 10.4). Go on to pH 13: phenoxide $99.9\%$ but diazonium only $1.0\%$, and the rate collapses to $1.6\%$. The product of a rising and a falling curve has a maximum — which is why phenols are coupled in mildly alkaline solution. Then try 4-methylphenol: its para position is blocked, so the azo group goes ortho.
Interactive 2 — Coupling Lab: Why the pH Matters

Benzenediazonium chloride is added to a phenol at the pH you choose. The blue curve is the fraction of the phenol present as the reactive phenoxide ion ($\mathrm{p}K_{a}$ of the phenol); the red curve is the fraction of diazonium still present as $\mathrm{ArN_{2}^{+}}$ (in this simplified model alkali converts it into the unreactive diazohydroxide/diazotate with an effective $\mathrm{p}K$ of 11). The coupling rate (green) is proportional to their product. Press Play to watch the dye form in the beaker at that pH.

7.0
phenoxide (reactive)—
ArN₂⁺ present—
relative rate—
dye formed—

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}}$.

🧭 Problem-solving strategy — Aromatic synthesis via diazonium salts
  1. 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.
  2. 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).
  3. 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.
  4. Diazotise last (273–278 K) and replace. Count steps: nitration, reduction, (protection, substitution, deprotection), diazotisation, replacement.
  5. Check every intermediate's directing effects and the final substitution pattern.
✏️ Example 6 — JEE level: two "impossible" substitution patterns
(a) Bromination of benzene can never give 1,3,5-tribromobenzene directly, because Br is ortho/para-directing. Make it from aniline, and find the mass obtained from $18.6\ \mathrm{g}$ of aniline at 100% yield in every step ($\mathrm{Br}=80$). (b) Make 3-bromotoluene (1-bromo-3-methylbenzene) from toluene, and state the number of steps. Explain why brominating toluene directly fails.
(a) Route (1) $\mathrm{Br_{2}(aq)}$: $\mathrm{{-}NH_{2}}$ directs three Br to C2, C4, C6 — 2,4,6-tribromoaniline. (2) $\mathrm{NaNO_{2}/HCl}$, 273–278 K: the diazonium salt. (3) $\mathrm{H_{3}PO_{2}}$: $\mathrm{{-}N_{2}^{+}}$ replaced by H. The three Br atoms, each meta to the others, remain: 1,3,5-tribromobenzene (figure above). Three steps.
(a) Mass $0.20\ \mathrm{mol}$ aniline; $\mathrm{C_{6}H_{3}Br_{3}}$, $M=72+3+240=315$: $0.20\times315=63.0\ \mathrm{g}$.
(b) Why $\mathrm{CH_{3}}$ is ortho/para-directing, so $\mathrm{Br_{2}/FeBr_{3}}$ gives 2- and 4-bromotoluene; the meta isomer is a trace.
(b) Route (1) $\mathrm{HNO_{3}/H_{2}SO_{4}}$ → 4-nitrotoluene (separated from the ortho isomer); (2) Sn/HCl → 4-methylaniline; (3) $\mathrm{(CH_{3}CO)_{2}O}$ → 4-methylacetanilide; (4) $\mathrm{Br_{2}/CH_{3}COOH}$ → Br enters ortho to the stronger director, $\mathrm{{-}NHCOCH_{3}}$, i.e. meta to $\mathrm{CH_{3}}$; (5) $\mathrm{H_{3}O^{+}}$, heat → 2-bromo-4-methylaniline; (6) $\mathrm{NaNO_{2}/HCl}$, 273–278 K; (7) $\mathrm{H_{3}PO_{2}}$ → 3-bromotoluene. Seven steps.
Check In (b) protection is needed: free 4-methylaniline would take two Br (both positions ortho to $\mathrm{NH_{2}}$). In both routes the nitrogen is a temporary director that leaves no trace in the product.
⚠️ JEE Main traps

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}}$.

I
Diazotisation and the stability of diazonium ions.
  • 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 $\mathrm{4{-}CH_{3}C_{6}H_{4}NH_{2}+NaNO_{2}+2HCl}$ $\mathrm{\rightarrow4{-}CH_{3}C_{6}H_{4}N_{2}^{+}Cl^{-}+NaCl+2H_{2}O}$ at 273–278 K: 4-methylbenzenediazonium chloride.
2 The salt is hydrolysed, with effervescence: $\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+H_{2}O}$ $\mathrm{\rightarrow C_{6}H_{5}OH+N_{2}+HCl}$.
3 One mole of acid converts $\mathrm{NaNO_{2}}$ to $\mathrm{HNO_{2}}$ and another supplies $\mathrm{Cl^{-}}$; the excess keeps unreacted amine protonated, so it cannot couple with the diazonium ion (and keeps the medium acidic enough to form $\mathrm{NO^{+}}$).
4 $21.4/107=0.200\ \mathrm{mol}$; $0.200\times69=13.8\ \mathrm{g}$.
5 In $\mathrm{C_{6}H_{5}N_{2}^{+}}$ the positive charge is delocalised into the ring by resonance, and loss of $\mathrm{N_{2}}$ would give a very unstable aryl cation. $\mathrm{C_{2}H_{5}N_{2}^{+}}$ has no such stabilisation and loses $\mathrm{N_{2}}$ at once.
6 Primary aromatic amines only: aniline, 4-nitroaniline and 2-methylaniline — 3. (Benzylamine and ethanamine are 1° aliphatic; N-methylaniline is 2° and gives a nitrosamine.)
7 $4.65/93=0.050\ \mathrm{mol}$; $0.050\times22.4=1.12\ \mathrm{L}$.
8 σ: 6 C–C, 5 C–H, 1 C–N, 1 N–N — 13. π: 3 in the ring and 2 in N≡N — 5.
II
Replacement reactions.
  • 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 (a) CuBr/HBr (Sandmeyer) or Cu powder/HBr (Gattermann) (b) aqueous KI (c) $\mathrm{HBF_{4}}$, then heat the dry fluoroborate (d) $\mathrm{H_{3}PO_{2}}$ or ethanol (e) warm water (acidic solution above about 283 K).
2 (a) 4-nitrobenzonitrile (b) 1-iodo-4-nitrobenzene (c) nitrobenzene; $\mathrm{N_{2}}$ is evolved each time.
3 $\mathrm{I_{2}}$ is too weak an electrophile and the HI formed reduces the iodoarene back (the reaction is reversible); $\mathrm{F_{2}}$ reacts explosively and uncontrollably. KI and the Balz–Schiemann reaction are clean.
4 3: $\mathrm{NaNO_{2}/HCl}$ (273–278 K); CuCN/KCN; hydrolysis with $\mathrm{H_{3}O^{+}}$ and heat.
5 $0.10\times0.80\times112.5=9.0\ \mathrm{g}$ ($M(\mathrm{C_{6}H_{5}Cl})=112.5$).
6 $\mathrm{C_{6}H_{5}N_{2}^{+}BF_{4}^{-}\rightarrow C_{6}H_{5}F+BF_{3}+N_{2}}$: $0.25\times96=24\ \mathrm{g}$.
7 Sandmeyer uses a copper(I) salt (CuCl, CuBr, CuCN); Gattermann uses copper powder with the halogen acid. The Sandmeyer reaction usually gives the better yield.
8 A $=\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}}$, B $=\mathrm{C_{6}H_{5}CN}$ (benzonitrile), C $=\mathrm{C_{6}H_{5}COOH}$ (benzoic acid), $M=84+6+32=122\ \mathrm{g\,mol^{-1}}$.
III
Coupling and azo dyes.
  • 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 $\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+C_{6}H_{5}OH}$ $\mathrm{\rightarrow4{-}HOC_{6}H_{4}N{=}NC_{6}H_{5}+HCl}$, in mildly alkaline solution (about pH 9–10), cold; orange.
2 $\mathrm{C_{6}H_{5}N_{2}^{+}Cl^{-}+C_{6}H_{5}NH_{2}}$ $\mathrm{\rightarrow4{-}H_{2}NC_{6}H_{4}N{=}NC_{6}H_{5}+HCl}$ in mildly acidic solution: aniline yellow (4-aminoazobenzene).
3 $\mathrm{{-}OH}$/$\mathrm{{-}O^{-}}$ and $\mathrm{{-}NH_{2}}$ activate ortho and para; the bulky diazonium ion prefers the less hindered para carbon. If para is occupied, it attacks ortho.
4 (a) Too little phenoxide; phenol itself reacts far more slowly. (b) Hydroxide converts $\mathrm{ArN_{2}^{+}}$ into the diazohydroxide/diazotate, which is not electrophilic.
5 $\mathrm{C_{12}H_{10}N_{2}O}$: $198\ \mathrm{g\,mol^{-1}}$; $3+3+1=7$ π bonds.
6 The 1° aromatic amines: aniline, 4-methylaniline and 4-aminophenol — 3.
7 Diazotised sulphanilic acid (4-sulphobenzenediazonium ion) coupled with N,N-dimethylaniline (para to $\mathrm{{-}N(CH_{3})_{2}}$). Formula $\mathrm{C_{14}H_{14}N_{3}NaO_{3}S}$: 3 N atoms (two in the azo group, one in $\mathrm{N(CH_{3})_{2}}$).
IV
Planning syntheses.
  • 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.
1 3: $\mathrm{Br_{2}(aq)}$; $\mathrm{NaNO_{2}/HCl}$, 273–278 K; $\mathrm{H_{3}PO_{2}}$.
2 (1) $\mathrm{HNO_{3}/H_{2}SO_{4}}$ → nitrobenzene; (2) $\mathrm{Br_{2}/FeBr_{3}}$ → 3-bromonitrobenzene ($\mathrm{NO_{2}}$ directs meta); (3) Sn/HCl → 3-bromoaniline; (4) $\mathrm{NaNO_{2}/HCl}$, 273–278 K; (5) warm water → 3-bromophenol. 5 steps.
3 Acetylate; $\mathrm{Br_{2}/CH_{3}COOH}$ (para); hydrolyse → 4-bromoaniline; $\mathrm{NaNO_{2}/HCl}$; CuCN/KCN → 4-bromobenzonitrile; $\mathrm{H_{3}O^{+}}$, heat → 4-bromobenzoic acid (six steps).
4 Nitration, reduction, diazotisation, KI: 4.
5 $0.20\times0.90^{3}\times315$ $=0.20\times0.729\times315=45.9\ \mathrm{g}$.
6 $\mathrm{NaNO_{2}/HCl}$ at 273–278 K, then warm the solution with water: $\mathrm{4{-}O_{2}NC_{6}H_{4}N_{2}^{+}}$ → 4-nitrophenol + $\mathrm{N_{2}}$.
7 Br is o/p-directing, so make the meta pattern with $\mathrm{NO_{2}}$: (1) nitration; (2) $\mathrm{Br_{2}/FeBr_{3}}$ → 3-bromonitrobenzene; (3) Sn/HCl → 3-bromoaniline; (4) $\mathrm{NaNO_{2}/HCl}$; (5) CuBr/HBr → 1,3-dibromobenzene. 5 steps.
8 $\mathrm{C_{6}H_{5}BrO}$: $72+5+80+16=173\ \mathrm{g\,mol^{-1}}$.
🎯 Exam corner JEE Main · MCQJEE Main · Numerical

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}}$

Idea Balz–Schiemann: $\mathrm{ArN_{2}^{+}Cl^{-}+HBF_{4}\rightarrow ArN_{2}^{+}BF_{4}^{-}\downarrow}$; heating the dry salt gives $\mathrm{ArF+BF_{3}+N_{2}}$.
Others There is no copper(I) fluoride version; fluoride ion does not displace $\mathrm{N_{2}^{+}}$ like iodide does; $\mathrm{F_{2}}$ reacts explosively with arenes and does not involve the diazonium salt.
Answer (C).

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.

Moles $n=4.65/93=0.0500\ \mathrm{mol}$ aniline → $0.0500\ \mathrm{mol\ C_{6}H_{5}N_{2}^{+}}$.
Gas On boiling, $\mathrm{C_{6}H_{5}N_{2}^{+}+H_{2}O\rightarrow C_{6}H_{5}OH+N_{2}+H^{+}}$: $0.0500\times22\,400=1120\ \mathrm{mL}$.
Answer $1120$.
⏱ Shortcut One amino group → one $\mathrm{N_{2}}$ (both N atoms of $\mathrm{N_{2}}$ come from the amine and the nitrite, one each).

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

Steps (i) 4-methylbenzenediazonium chloride; (ii) Sandmeyer → 4-methylbenzonitrile; (iii) nitrile hydrolysis → $\mathrm{4{-}CH_{3}C_{6}H_{4}COOH}$.
Traps (C) stops one step early; (D) would need the $\mathrm{NH_{2}}$ to survive and the methyl to be oxidised — neither happens.
Answer (B).

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.

Sort Haloarenes: CuCl/HCl ($\mathrm{C_{6}H_{5}Cl}$), Cu/HBr ($\mathrm{C_{6}H_{5}Br}$), KI ($\mathrm{C_{6}H_{5}I}$), $\mathrm{HBF_{4}}$/heat ($\mathrm{C_{6}H_{5}F}$).
Others $\mathrm{H_{3}PO_{2}}$ → benzene; water → phenol; CuCN → benzonitrile; phenol → 4-hydroxyazobenzene.
Answer $4$.

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

Idea Rate ∝ [phenoxide] × [$\mathrm{ArN_{2}^{+}}$]. Phenoxide grows with pH; the diazonium ion is converted into the unreactive diazohydroxide/diazotate in strong alkali. The best compromise is mildly alkaline.
Others (A) and (B) are reversed — alkali destroys the electrophile; (C) phenol is not protonated in neutral water.
Answer (D).

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.

Moles $18.6/93=0.200\ \mathrm{mol}$; one mole of product per mole of aniline.
Mass $\mathrm{C_{6}H_{3}Br_{3}}$: $72+3+240=315\ \mathrm{g\,mol^{-1}}$; $0.200\times315=63.0\ \mathrm{g}$.
Answer $63$.
⏱ Shortcut Moles are carried through unchanged; only the final molar mass matters.
🔬 Research–Teaching NexusResearch-tutored · optional, about 45 minutes

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.

  1. 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.
  2. Add one drop of methyl orange indicator to equal volumes of each in identical test tubes, held against a white card.
  3. 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.
  4. 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).
  5. 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.

Instructor note: students typically find the midpoint near pH 3.5 (literature $\mathrm{p}K_{a}\approx3.4$–$3.5$) and a camera-measured range slightly narrower than the eye's. Keep the light constant — mixed daylight and room light ruins the hue values. All solutions are dilute; methyl orange should not be swallowed and stains skin and clothes.

🧪 Self-check quiz

0/5 correct

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?