Chemistry · Amines

Hinsberg Test & Carbylamine Reaction (Distinguishing Amines)

Three amines that look almost identical on paper — a primary, a secondary and a tertiary — behave very differently the moment a reagent is added that probes the hydrogen atoms on nitrogen. NCERT Class XII Unit 9 (§9.6) and NIOS Chapter 28 (§28.2.7) build the standard laboratory toolkit for telling them apart: the Hinsberg test, the carbylamine reaction and the reaction with nitrous acid. This deep-dive works through each test with equations, mechanism and reasoning — a perennial NEET favourite that rewards clean cause-and-effect, not memorised colours.

Why the N–H count decides everything

Every reaction in this article turns on a single structural fact: how many hydrogen atoms remain on the nitrogen. A primary amine $\ce{R-NH2}$ has two N–H bonds, a secondary amine $\ce{R2NH}$ has one, and a tertiary amine $\ce{R3N}$ has none. NCERT states the principle plainly: the number of hydrogen atoms attached to nitrogen decides the course of reaction, which is why primary, secondary and tertiary amines differ in many reactions.

The lone pair on nitrogen makes all three classes nucleophilic, so all three can begin to react with an electrophile. What separates them is the second step — whether an acidic N–H survives, or whether a hydrogen is even available for the reaction to proceed at all. Keep that lens fixed and the three classic tests stop being a list to memorise and become predictable consequences.

If you are not yet confident labelling an amine as 1°, 2° or 3°, settle that first in amine structure and classification; the rest of this page assumes you can read the N–H count off a structure at a glance.

NEET Trap

"Primary" amine ≠ amine on a primary carbon

An amine is primary, secondary or tertiary by the number of carbon groups on the nitrogen, not by the type of carbon bearing the $\ce{-NH2}$. Tert-butylamine $\ce{(CH3)3C-NH2}$ has the $\ce{-NH2}$ on a tertiary carbon, yet it is a primary amine — and it gives a positive carbylamine test. Read the nitrogen, not the carbon.

The Hinsberg test

The Hinsberg test uses benzenesulphonyl chloride, $\ce{C6H5SO2Cl}$, called Hinsberg's reagent. NCERT §9.6 describes how the reagent reacts with primary and secondary amines to form sulphonamides, while tertiary amines do not react at all. The whole test is read off the solubility of the product in alkali.

Primary amine → sulphonamide soluble in alkali

A primary amine attacks the sulphonyl chloride to form an N-substituted benzenesulphonamide. Taking ethanamine as the worked NCERT example:

$$\ce{C2H5NH2 + C6H5SO2Cl -> C6H5SO2-NH-C2H5 + HCl}$$

The product still carries one N–H bond. NCERT notes that this hydrogen is strongly acidic because of the powerfully electron-withdrawing sulphonyl group, so the sulphonamide dissolves in alkali by losing that proton to give a water-soluble salt:

$$\ce{C6H5SO2-NH-C2H5 + KOH -> C6H5SO2-N^{-}(K^{+})-C2H5 + H2O}$$

Secondary amine → sulphonamide insoluble in alkali

A secondary amine such as N-ethylethanamine forms N,N-diethylbenzenesulphonamide:

$$\ce{(C2H5)2NH + C6H5SO2Cl -> C6H5SO2-N(C2H5)2 + HCl}$$

This product has no N–H bond left. With no acidic hydrogen for the alkali to remove, NCERT records that it is not acidic and hence insoluble in alkali — it stays as a precipitate.

Tertiary amine → no reaction

A tertiary amine has no hydrogen on nitrogen to begin with, so it cannot form a sulphonamide. NCERT is explicit that tertiary amines do not react with benzenesulphonyl chloride. NIOS §28.2.7 adds the practical observation: with a water-insoluble tertiary amine, nothing changes on adding the reagent and alkali; only on subsequent acidification does the amine dissolve, because it then forms a water-soluble ammonium salt.

Figure 1 · Hinsberg outcome flowchart Amine + C₆H₅SO₂Cl then aq. KOH 1° amine (R–NH₂) 2 N–H → 1 left after rxn 2° amine (R₂NH) 1 N–H → 0 left after rxn 3° amine (R₃N) no N–H at all Sulphonamide formed acidic N–H → SOLUBLE in alkali Sulphonamide formed no N–H → INSOLUBLE (precipitate) NO REACTION dissolves only on acidifying

NCERT records one practical refinement worth knowing: these days benzenesulphonyl chloride is often replaced by p-toluenesulphonyl chloride for the same identification. The logic is identical — only the aryl group changes. Because the test gives three visibly distinct outcomes, it also serves to separate a mixture of the three amine classes, not merely identify them.

Why solubility splits 1° from 2°

The single most examined idea on this page is the contrast between the primary and secondary sulphonamides. Both are sulphonamides; both are formed by the same nucleophilic substitution at sulphur. The difference is whether an N–H bond survives the reaction.

In the primary case the nitrogen started with two hydrogens; one is replaced by the bulky $\ce{-SO2C6H5}$ group, leaving one N–H. The adjacent $\ce{-SO2-}$ group is strongly electron-withdrawing and stabilises the conjugate base formed when that proton leaves, so the N–H is acidic enough to be deprotonated by KOH — hence solubility. In the secondary case the nitrogen had only one hydrogen, and acylation by sulphur uses it up entirely; the resulting $\ce{R2N-SO2C6H5}$ has no proton to give, so alkali cannot touch it.

NEET Trap

Soluble = primary, not "more reactive"

Both primary and secondary amines react with Hinsberg's reagent. The discriminator is solubility of the product in alkali, governed by the leftover acidic N–H. A 2021 NEET item asked precisely for the compound whose Hinsberg product is a solid that dissolves in alkali — the answer is the primary amine, because its sulphonamide carries the acidic N–H.

Soluble in alkali → 1°  |  insoluble precipitate → 2°  |  no reaction → 3°

The carbylamine (isocyanide) reaction

The carbylamine reaction, also called the isocyanide test, is the cleanest single test for a primary amine. NCERT §9.6 states that aliphatic and aromatic primary amines, on heating with chloroform and ethanolic potassium hydroxide, form isocyanides (carbylamines), which are foul-smelling substances; secondary and tertiary amines do not show this reaction.

For a generic primary amine the overall equation, in the NIOS form, is:

$$\ce{R-NH2 + CHCl3 + 3KOH ->[\Delta] R-NC + 3KCl + 3H2O}$$

Using aniline, the favourite aromatic example named in NCERT exercise 9.11(i):

$$\ce{C6H5NH2 + CHCl3 + 3KOH ->[\Delta] C6H5NC + 3KCl + 3H2O}$$

The product $\ce{R-NC}$ is an isocyanide (carbylamine). Its extremely offensive odour is the positive signal; because the test is positive only for primary amines, the smell is taken as confirmation of a 1° amine. The reaction is doubly useful — it is also a sensitive test for the chloroform that supplies the carbene, so a foul carbylamine smell betrays the presence of $\ce{CHCl3}$.

Go deeper

The carbylamine and Hinsberg reactions sit inside the wider reaction set — alkylation, acylation and benzoylation. See the full map in Reactions of Amines.

Dichlorocarbene mechanism

The reactive species in the carbylamine reaction is dichlorocarbene, $\ce{:CCl2}$ — a neutral, electron-deficient carbon with only six valence electrons. It is generated in two steps from chloroform and the strong base. First, alcoholic KOH removes the relatively acidic chloroform proton to give a trichloromethyl carbanion:

$$\ce{CHCl3 + KOH -> CCl3^{-} + K+ + H2O}$$

The carbanion then ejects a chloride ion (α-elimination) to leave the carbene:

$$\ce{CCl3^{-} -> {:}CCl2 + Cl^{-}}$$

The lone pair on the primary amine nitrogen now attacks the empty orbital of $\ce{:CCl2}$; successive loss of two molecules of HCl (driven by the base) converts the adduct into the isocyanide. Schematically:

$$\ce{R-NH2 + {:}CCl2 -> R-NC + 2HCl}$$

Figure 2 · Generating and trapping dichlorocarbene CHCl₃ chloroform −H⁺ (KOH) ⁻CCl₃ carbanion −Cl⁻ :CCl₂ dichlorocarbene + R–NH₂ (lone pair) R–N≡C (isocyanide) foul-smelling · −2 HCl · 1° amines only
NEET Trap

Reducing an isocyanide gives a secondary amine

A 2023 NEET item tested whether $\ce{CH3NC}$ on reduction with $\ce{LiAlH4}$ gives a primary amine. It does not — reduction of methyl isocyanide adds a $\ce{-CH3}$ at nitrogen to give a secondary amine $\ce{(CH3)2NH}$. Contrast this with a nitrile $\ce{CH3CN}$, whose reduction does give a primary amine. Isocyanide and nitrile are not interchangeable.

Reaction with nitrous acid

The third distinguishing tool is nitrous acid, $\ce{HNO2}$, generated in situ from a mineral acid and sodium nitrite. NCERT §9.6 states that the three classes of amine react differently, which is exactly what makes it diagnostic. The behaviour also separates the two kinds of primary amine.

Primary aliphatic amines form an aliphatic diazonium salt that is unstable; it decomposes at once, liberating nitrogen quantitatively and giving an alcohol. The brisk, steady effervescence of $\ce{N2}$ is the visible signal:

$$\ce{R-NH2 + HNO2 -> [R-N2^{+}] ->[H2O] R-OH + N2 ^ + H2O}$$

Primary aromatic amines form a diazonium salt that is stable at low temperature (273–278 K) — the basis of the entire diazonium chemistry that follows:

$$\ce{C6H5NH2 + HNO2 ->[273-278\,K] C6H5N2^{+}Cl^{-} + H2O}$$

Secondary and tertiary amines react with nitrous acid in a different manner and do not show the clean nitrogen evolution of primary aliphatic amines, so the absence of brisk effervescence is itself informative. The downstream chemistry of the aromatic diazonium salt — Sandmeyer, hydroxylation, coupling — is developed separately in Diazonium Salts.

Worked example · NCERT-style

Give one chemical test to distinguish (i) methylamine and dimethylamine, and (ii) aniline and N-methylaniline. (NCERT exercise 9.2)

(i) Use the carbylamine test. Methylamine $\ce{CH3NH2}$ is primary and gives the foul-smelling isocyanide $\ce{CH3NC}$ on warming with $\ce{CHCl3}$ and alcoholic KOH; dimethylamine $\ce{(CH3)2NH}$ is secondary and gives no reaction.

(ii) Use the carbylamine test again. Aniline $\ce{C6H5NH2}$ is a primary aromatic amine and gives phenyl isocyanide; N-methylaniline $\ce{C6H5NHCH3}$ is secondary and gives no isocyanide. The Hinsberg test also separates them — aniline's sulphonamide dissolves in alkali, the N-methylaniline product does not.

The three classes side by side

The table collects every response so the pattern is visible at a glance. Read each column as a fingerprint: any one positive test plus one negative is usually enough to pin a class.

Test / reagent Primary (R–NH₂) Secondary (R₂NH) Tertiary (R₃N)
Hinsberg
C6H5SO2Cl then aq. KOH
Sulphonamide with acidic N–H → soluble in alkali Sulphonamide, no N–H → insoluble precipitate No reaction; dissolves only on acidifying
Carbylamine
CHCl3 + alc. KOH, Δ
Positive — foul isocyanide R–NC No reaction No reaction
Nitrous acid (aliphatic)
NaNO2 + HCl
Unstable diazonium → brisk N₂ + alcohol Reacts differently; no steady N₂ Reacts differently; no steady N₂
Nitrous acid (aromatic 1°)
273–278 K
Stable arenediazonium salt
N–H bonds available Two One None

Choosing the right test

For a NEET question, match the test to the discrimination asked for. To single out a primary amine from the other two in one step, the carbylamine test is decisive — it is the only test positive for 1° alone. To separate 1° from 2° specifically, either the carbylamine test (positive vs negative) or the Hinsberg test (soluble vs insoluble) works. To flag a tertiary amine, the Hinsberg test is the natural choice, since 3° amines are the only class that gives no reaction with the reagent.

To distinguish an aliphatic from an aromatic primary amine, lean on nitrous acid: the aliphatic amine fizzes with $\ce{N2}$ at room temperature, while the aromatic amine forms a salt that survives at 273–278 K and can be coupled to a coloured dye. The dye test (azo coupling) is itself a confirmation of an aromatic primary amine.

Quick Recap

Distinguishing 1° / 2° / 3° amines

  • Hinsberg test with $\ce{C6H5SO2Cl}$: 1° → sulphonamide soluble in alkali (acidic N–H); 2° → insoluble precipitate (no N–H); 3° → no reaction.
  • The acidity of the 1° sulphonamide N–H comes from the strongly electron-withdrawing $\ce{-SO2-}$ group, which is why KOH dissolves it.
  • Carbylamine test ($\ce{CHCl3}$ + alc. KOH, heat): only primary amines give the foul-smelling isocyanide $\ce{R-NC}$; the reactive intermediate is dichlorocarbene $\ce{:CCl2}$. Also a test for chloroform.
  • Nitrous acid: 1° aliphatic → unstable diazonium → brisk $\ce{N2}$ + alcohol; 1° aromatic → stable diazonium salt at 273–278 K; 2° and 3° react differently.
  • Watch the trap: reducing an isocyanide $\ce{R-NC}$ gives a secondary amine, while reducing a nitrile $\ce{R-CN}$ gives a primary amine.

NEET PYQ Snapshot — Hinsberg Test & Carbylamine Reaction

Real NEET questions on distinguishing amines, drawn from the official papers in the NEETgrid bank.

NEET 2021 · Q.79

Identify the compound that will react with Hinsberg's reagent to give a solid which dissolves in alkali.

Answer: the primary amine

Benzenesulphonyl chloride ($\ce{C6H5SO2Cl}$) is Hinsberg's reagent. With a primary amine (e.g. $\ce{CH3CH2NH2}$) it gives an N-substituted benzenesulphonamide that retains an acidic N–H; this solid dissolves in alkali. A secondary amine gives an insoluble N,N-disubstituted sulphonamide, and a tertiary amine does not react — so the soluble-in-alkali product identifies the 1° amine.

NEET 2020 · Q.180

Which of the following amines will give the carbylamine test — $\ce{C6H5NHCH3}$, $\ce{C6H5N(CH3)2}$, $\ce{C6H5NHC2H5}$ or $\ce{C6H5NH2}$?

Answer: $\ce{C6H5NH2}$ (aniline)

Only primary amines give the carbylamine (isocyanide) test. Among the options, aniline $\ce{C6H5NH2}$ is the sole primary amine; the others are secondary or tertiary, so they give no isocyanide and no foul odour.

NEET 2023 · Q.60

Which of the following reactions will NOT give a primary amine as the product? (i) $\ce{CH3CONH2}$ with $\ce{LiAlH4}$; (ii) $\ce{CH3CONH2}$ with $\ce{Br2/KOH}$; (iii) $\ce{CH3CN}$ with $\ce{LiAlH4}$; (iv) $\ce{CH3NC}$ with $\ce{LiAlH4}$.

Answer: (iv) $\ce{CH3NC}$

Reducing an isocyanide adds the nitrogen substituent and a methyl: $\ce{CH3NC}$ gives the secondary amine $\ce{(CH3)2NH}$, not a primary amine. The amide reductions and the nitrile reduction all give primary amines. This is the same isocyanide-versus-nitrile distinction that underlies the carbylamine product.

FAQs — Hinsberg Test & Carbylamine Reaction

The reasoning points examiners return to most often.

Why is the N-substituted sulphonamide from a primary amine soluble in alkali but the one from a secondary amine is not?

A primary amine gives a sulphonamide R–NH–SO2C6H5 that still carries one N–H bond. The strongly electron-withdrawing sulphonyl group makes that N–H acidic, so KOH removes the proton to give a water-soluble potassium salt. A secondary amine gives R2N–SO2C6H5, which has no N–H left, so there is no acidic hydrogen for the alkali to remove and the sulphonamide stays insoluble.

Why do tertiary amines not react in the Hinsberg test?

A tertiary amine has no hydrogen on nitrogen, so it cannot form a sulphonamide with benzenesulphonyl chloride. With a water-insoluble tertiary amine no change is seen on adding the reagent and alkali; the amine only dissolves later on acidification, because it then forms a water-soluble ammonium salt.

Which amines give the carbylamine test?

Only primary amines — both aliphatic and aromatic — give the carbylamine (isocyanide) test. On heating with chloroform and alcoholic KOH they form foul-smelling isocyanides R–NC. Secondary and tertiary amines do not respond, so the test is specific for the 1° class.

What is the reactive intermediate in the carbylamine reaction?

Alcoholic KOH removes a proton from chloroform, and the resulting trichloromethyl carbanion loses a chloride ion to generate dichlorocarbene, :CCl2. This electron-deficient carbene is attacked by the lone pair on the primary amine nitrogen; loss of two molecules of HCl then furnishes the isocyanide R–NC.

How does nitrous acid distinguish the three classes of amines?

Primary aliphatic amines give an unstable diazonium salt that decomposes with brisk effervescence of nitrogen gas to give an alcohol. Primary aromatic amines give a diazonium salt that is stable at 273–278 K and can be coupled to form a dye. Secondary and tertiary amines react in a different manner and do not show the steady nitrogen evolution seen with primary aliphatic amines.

Can the carbylamine test alone tell a primary amine from a secondary amine?

Yes. The carbylamine test is positive only for primary amines, so a foul isocyanide smell on warming with CHCl3 and alcoholic KOH confirms a 1° amine; a secondary amine gives no reaction and no odour. This single observation is enough to separate methylamine from dimethylamine, for example.