Carbylamine reaction — test for primary amines with CHCl₃ and KOH

easy CBSE JEE-MAIN NEET NCERT Class 12 3 min read

Question

What is the carbylamine reaction? Write the reaction for aniline with chloroform and alcoholic KOH. Why does this test work only for primary amines and not for secondary or tertiary amines?

(NCERT Class 12 — asked directly in CBSE boards and frequently in NEET)


Solution — Step by Step

The carbylamine reaction (also called isocyanide test) occurs when a primary amine is heated with chloroform (CHCl3\text{CHCl}_3) and alcoholic KOH\text{KOH}:

R–NH2+CHCl3+3KOHΔR–NC+3KCl+3H2O\text{R--NH}_2 + \text{CHCl}_3 + 3\text{KOH} \xrightarrow{\Delta} \text{R--NC} + 3\text{KCl} + 3\text{H}_2\text{O}

The product R–NC\text{R--NC} is an isocyanide (carbylamine), which has an extremely foul smell. That smell is the positive test.

For aniline (C6H5NH2\text{C}_6\text{H}_5\text{NH}_2):

C6H5NH2+CHCl3+3KOHΔC6H5NC+3KCl+3H2O\text{C}_6\text{H}_5\text{NH}_2 + \text{CHCl}_3 + 3\text{KOH} \xrightarrow{\Delta} \text{C}_6\text{H}_5\text{NC} + 3\text{KCl} + 3\text{H}_2\text{O}

The product phenyl isocyanide has a terrible, penetrating odour — unmistakable in the lab.

The mechanism requires two N–H bonds on the nitrogen. Here’s why:

  • The intermediate dichlorocarbene (:CCl2:\text{CCl}_2) generated from CHCl3+KOH\text{CHCl}_3 + \text{KOH} attacks the nitrogen of the amine
  • Two successive eliminations of HCl occur from the N–H bonds, forming the NC\text{N}\equiv\text{C} triple bond
  • Secondary amines (R2NH\text{R}_2\text{NH}) have only one N–H bond — they can’t complete the second elimination
  • Tertiary amines (R3N\text{R}_3\text{N}) have no N–H bonds at all — no reaction

So the test is specific to primary amines: both aliphatic (R–NH2\text{R--NH}_2) and aromatic (Ar–NH2\text{Ar--NH}_2).


Why This Works

The real reactive species is dichlorocarbene (:CCl2:\text{CCl}_2), formed when KOH dehydrohalogenates chloroform:

CHCl3+KOH:CCl2+KCl+H2O\text{CHCl}_3 + \text{KOH} \rightarrow :\text{CCl}_2 + \text{KCl} + \text{H}_2\text{O}

This carbene inserts into the N–H bond of the primary amine. Two subsequent base-assisted HCl eliminations convert the C–N\text{C--N} single bond into a CN\text{C}\equiv\text{N} triple bond (but with the lone pair on carbon — hence isocyanide, not cyanide).

The foul smell is characteristic enough that even a tiny amount of isocyanide is detectable. That’s what makes it such a reliable bench test.


Alternative Method — Distinguishing Primary, Secondary, Tertiary

If the exam asks you to distinguish between all three types of amines:

TestPrimarySecondaryTertiary
Carbylamine testFoul smell (positive)No reactionNo reaction
Hinsberg test (C6H5SO2Cl\text{C}_6\text{H}_5\text{SO}_2\text{Cl})Dissolves in NaOHInsoluble productNo reaction with reagent
HNO2\text{HNO}_2 (nitrous acid)Aliphatic: N2\text{N}_2 gas. Aromatic: diazonium saltOily nitrosamineTertiary aromatic: p-nitroso compound

For NEET: the carbylamine test is a one-mark guaranteed question almost every other year. Just remember the three reagents — primary amine + CHCl3\text{CHCl}_3 + alc. KOH → foul-smelling isocyanide. Don’t confuse isocyanide (R–NC\text{R--NC}) with cyanide (R–CN\text{R--CN}) — the connectivity is different.


Common Mistake

Students often write the product as R–CN\text{R--CN} (cyanide) instead of R–NC\text{R--NC} (isocyanide). These are different compounds. In isocyanide, the carbon is bonded to nitrogen with the lone pair on carbon (R–NC:\text{R--N}\equiv\text{C:}). In cyanide, nitrogen carries the lone pair (R–CN:\text{R--C}\equiv\text{N:}). The carbylamine reaction specifically produces the isocyanide. Writing CN instead of NC will cost you marks in CBSE boards.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next