Chemical reactions of amines

An amine is fundamentally a nitrogen atom sitting on a lone pair, and almost everything amines do in this article flows from that one fact. Beyond basicity, ISC Class 12 asks you to master five characteristic reactions of aliphatic amines: alkylation, acylation, reaction with nitrous acid, the carbylamine (isocyanide) test, and Hinsberg's test. Each reaction is the nitrogen lone pair reaching toward an electrophilic carbon or toward nitrous acid, and the products differ sharply across 1°, 2°, and 3° amines because that difference tracks a single structural feature — how many N–H bonds are left to react or be replaced. Together these five reactions form the standard toolkit for identifying and distinguishing amine classes, and for predicting what an unknown amine does with a given reagent.

The core insight

Amines act as nucleophiles through the nitrogen lone pair in alkylation, acylation, and reaction with nitrous acid, while the carbylamine test and Hinsberg's test exploit the number of N–H bonds present to distinguish 1°, 2°, and 3° amines from one another.

The core idea

1. Alkylation. Amines react with alkyl halides via an SN2S_N2 mechanism, climbing the substitution ladder from primary to quaternary:

R\text{-}NH_2 \xrightarrow{R'X} R\text{-}NHR' \xrightarrow{R'X} R\text{-}NR'_2 \xrightarrow{R'X} R\text{-}NR'_3^+X^-

where: R-NH2R\text{-}NH_2 is the starting primary amine, R′XR'X is the alkyl halide supplying successive alkyl groups, and each arrow is one nitrogen-lone-pair attack on the electrophilic carbon of R′XR'X, displacing halide X−X^- in a backside (SN2S_N2) attack. Because the product of each step is itself a better nucleophile than the starting amine (more alkyl groups push electron density onto nitrogen), the reaction rarely stops cleanly at one stage — a large excess of amine relative to alkyl halide is needed to favour mono-alkylation.

2. Acylation. First and second amines react with acid chlorides or anhydrides, replacing an N–H with an N-acyl group to form an amide; third amines cannot be acylated because no N–H remains to replace:

R-NH2+CH3COCl→R-NHCOCH3+HClR\text{-}NH_2 + CH_3COCl \rightarrow R\text{-}NHCOCH_3 + HCl

where: R-NH2R\text{-}NH_2 is the amine, CH3COClCH_3COCl is acetyl chloride, and R-NHCOCH3R\text{-}NHCOCH_3 is the resulting amide (an N-substituted acetamide). Mechanistically, the nitrogen lone pair attacks the electrophilic carbonyl carbon, forming a tetrahedral intermediate that collapses by expelling chloride (or a carboxylate, if an anhydride is used instead).

3. Reaction with nitrous acid. HNO2HNO_2 is generated in situ from NaNO2+HClNaNO_2 + HCl at 00–5 ∘C5\ ^\circ C, and each amine class gives a diagnostically distinct outcome. A first amine gives an unstable diazonium salt that decomposes at once with brisk effervescence, releasing nitrogen gas and forming an alcohol: R-NH2+HNO2→R-OH+N2↑+H2OR\text{-}NH_2 + HNO_2 \rightarrow R\text{-}OH + N_2\uparrow + H_2O. A second amine gives a yellow, oily N-nitrosamine: R2NH+HNO2→R2N-N=O+H2OR_2NH + HNO_2 \rightarrow R_2N\text{-}N{=}O + H_2O. A third amine simply forms an unstable salt, with no substitution possible at a nitrogen that already carries three alkyl groups, and is largely recovered unchanged.

4. Carbylamine (isocyanide) reaction. This is a diagnostic test specific to primary amines only. Heated with chloroform and alcoholic KOHKOH, a primary amine gives a foul-smelling isocyanide:

R-NH2+CHCl3+3 KOH→R-NC↑+3 KCl+3 H2OR\text{-}NH_2 + CHCl_3 + 3\,KOH \rightarrow R\text{-}NC\uparrow + 3\,KCl + 3\,H_2O

Second and third amines give no reaction at all, since forming the isocyanide requires an N–H bond to be lost, and neither class has the right combination available.

5. Hinsberg's test. The amine is shaken with benzenesulphonyl chloride, C6H5SO2ClC_6H_5SO_2Cl, and aqueous KOHKOH. A first amine forms N-alkylbenzenesulphonamide, which still carries one acidic N–H and so dissolves in excess KOH as a soluble potassium salt. A second amine forms N,N-dialkylbenzenesulphonamide with no N–H left, which stays insoluble in KOH as a solid. A third amine does not react at all — there is no N–H for the sulphonyl chloride to substitute — and it simply remains as an unreacted, insoluble oily layer.

Figure
Three test tubes for Hinsberg test showing a primary amine giving a solution that dissolves in excess potassium hydroxide a secondary amine giving an insoluble solid and a tertiary amine remaining as an unreacted oily layer
Hinsberg's test distinguishes 1 degree 2 degree and 3 degree amines 1 degree amine plus C6H5SO2Cl, KOH N-H remains on product deprotonated by excess KOH clear soluble solution 2 degree amine plus C6H5SO2Cl, KOH no N-H left on product insoluble solid forms 3 degree amine plus C6H5SO2Cl, KOH no N-H to substitute at all unreacted oily layer

Why it works

All five reactions trace back to two structural facts about an amine nitrogen: it carries a lone pair, and it carries a specific number of N–H bonds depending on its class. The lone pair makes nitrogen nucleophilic, so alkylation, acylation, and attack on nitrous acid are all variations of the same event — nitrogen donates its lone pair to an electrophilic centre (an alkyl halide carbon, a carbonyl carbon, or the nitrogen of HNO2HNO_2) and a leaving group departs. Basicity and nucleophilicity run together here: anything that makes the lone pair more available (more alkyl groups feeding electron density onto nitrogen, up to steric limits) tends to make the amine react faster in these steps too. The N–H count is why the carbylamine test and Hinsberg's test are class-selective rather than universal. Both hinge on whether an N–H bond is available to be lost or substituted: a first amine has two N–H bonds and can form the isocyanide and, after Hinsberg substitution, still retain one acidic N–H to dissolve in excess base; a second amine has one N–H, enough to react with benzenesulphonyl chloride but not enough left over to stay soluble; a third amine has none, so it fails the carbylamine test and never reacts with benzenesulphonyl chloride at all. Reading any of these five reactions is really just asking two questions — is the lone pair available, and how many N–H bonds are left to give up?

Worked example

Problem: Ethylamine is treated with NaNO2/HClNaNO_2/HCl at 00–5 ∘C5\ ^\circ C. Write the equation, name the gas evolved, and state the analytical significance of this reaction. Then explain how the same sample would behave differently if it were diethylamine or triethylamine instead.

Step 1. Write the equation for the primary amine. CH3CH2NH2+HNO2→CH3CH2OH+N2↑+H2OCH_3CH_2NH_2 + HNO_2 \rightarrow CH_3CH_2OH + N_2\uparrow + H_2O. Mechanistically, the diazonium salt CH3CH2N2+Cl−CH_3CH_2N_2^+Cl^- forms transiently but, unlike the aromatic analogue, is too unstable at this temperature and decomposes immediately.

Step 2. Identify the gas and its significance. The gas evolved is N2N_2 — colourless, odourless, and released with brisk effervescence, visually confirming a primary amine is present. Together with the carbylamine test, this reaction is a standard analytical marker for a primary amino group: the vigorous, immediate gas evolution is what distinguishes a 1° amine from 2° and 3° amines under the same conditions.

Step 3. Contrast with diethylamine (2°). Diethylamine would instead give a yellow oily N-nitrosamine, (C2H5)2N-N=O(C_2H_5)_2N\text{-}N{=}O, with no gas evolved at all — a visibly different, non-effervescent outcome that immediately rules out a primary amine.

Step 4. Contrast with triethylamine (3°). Triethylamine has no N–H bond to be substituted, so it merely forms an unstable ammonium-type salt with nitrous acid and is largely recovered unchanged on working up — again, no gas and no coloured oily product. Answer: ethylamine gives CH3CH2OH+N2↑+H2OCH_3CH_2OH + N_2\uparrow + H_2O (brisk effervescence, confirms 1° amine); diethylamine gives a yellow oily nitrosamine with no gas; triethylamine gives only an unreactive salt.

Competitive stretch

The same three amines can also be told apart by Hinsberg's test: ethylamine gives a product that dissolves in excess KOH (soluble salt of the mono-substituted sulphonamide), diethylamine gives an insoluble solid (no N–H left to deprotonate), and triethylamine gives no reaction at all, remaining as an unreacted oily layer that separates from the aqueous phase and, on acidification, regenerates the free amine unchanged. Running nitrous acid and Hinsberg's test side by side on an unknown mixture is exactly how a lab distinguishes all three amine classes with no ambiguity.

Common traps

  • Trying to acylate a tertiary amine — impossible, since acylation requires an N–H bond to be replaced, and a third amine has none.
  • Forgetting that only primary amines give a positive carbylamine (isocyanide) test; a negative result rules out a 1° amine but says nothing else.
  • Mixing up the nitrous acid products across the three classes: 1° gives an alcohol plus N2N_2 gas; 2° gives an N-nitrosamine with no gas; 3° (aliphatic) gives only a simple, largely unreactive salt.
  • In Hinsberg's test, judging solubility before adding excess KOH — the initial sulphonamide product from a 1° amine can look insoluble at first and only dissolves once the base deprotonates its remaining N–H.

Ask the tutor: want to work through why the aromatic diazonium salt from aniline is stable at 00–5 ∘C5\ ^\circ C while the aliphatic one from ethylamine is not — ask the AI tutor to connect it to the diazonium salts article in this series.

Why can't tertiary amines be acylated or give the carbylamine test?

Both reactions replace an N–H bond with something else — an acyl group in acylation, or a leaving hydrogen in the carbylamine mechanism. A tertiary amine, R3NR_3N, has all three bonds to nitrogen already occupied by carbon, so there is no N–H bond left to react. This is a structural limit, not a reactivity limit: the tertiary amine's lone pair is still nucleophilic (it still reacts with acids to form salts, and with nitrous acid), it simply cannot undergo any reaction whose product requires losing a hydrogen from nitrogen.

Why does the same nitrous acid reaction give a gas for 1 degree amines but not for 2 degree or 3 degree amines?

Only a primary amine can form a diazonium salt, R-N2+R\text{-}N_2^+, because that intermediate needs a nitrogen bearing exactly one alkyl group and two hydrogens to lose. Aliphatic diazonium salts are extremely unstable and collapse instantly, releasing N2N_2 gas and forming an alcohol. A secondary amine's nitrogen already has two alkyl groups and only one N–H, so it can only be nitrosated at that remaining N–H, giving a stable N-nitrosamine with no nitrogen gas released. A tertiary amine has no N–H at all, so nitrosation at nitrogen is impossible and it merely forms a simple salt.

If both the nitrous acid test and Hinsberg's test can identify amine class, why learn both?

They are complementary checks that examiners expect you to cross-reference. The nitrous acid test gives a fast, visual result (gas or no gas, colour of product) but its 2°/3° outcomes can look similar if you are not careful about the oily nitrosamine versus the unreacted salt. Hinsberg's test gives an unambiguous physical outcome — soluble, insoluble solid, or oily unreacted layer — that is harder to misread, and it is the standard method actually used to separate a mixture of 1°, 2°, and 3° amines in the lab, since the soluble and insoluble products can be physically filtered apart while the third amine stays in the oily layer.

Before this

Where this leads