Making pure primary amines with a phthalimide anion — no over-alkylation.
Quick answer
The Gabriel synthesis makes a pure primary amine by alkylating a phthalimide anion (SN2) instead of ammonia, so the nitrogen picks up exactly one alkyl group and cannot be alkylated again. A final hydrolysis (H3O+) or hydrazinolysis (N2H4) cleaves the phthalimide off and releases the amine.
⚙ Mechanism · The Gabriel Synthesis4 steps
Step 1 — base removes the N–H proton.
An imide N–H is far more acidic than an amine’s (pKa ≈ 9 against ≈ 38) because two carbonyls pull on the nitrogen lone pair once the proton is gone. That acidity is what makes the whole method work — a weak base is enough.
Step 2 — the anion attacks the alkyl halide (SN2).
A plain SN2, so it wants a primary halide; secondary drifts toward elimination and tertiary is hopeless. The nitrogen now carries its one alkyl group and, being an imide, has no lone pair basic enough to pick up a second — which is exactly the overalkylation that ruins direct alkylation of ammonia.
Step 3 — hydrazine adds to one carbonyl.
Hydrazine is used rather than water because it is an alpha-effect nucleophile — the lone pair next door raises its reactivity well above an ordinary amine’s. It adds to a carbonyl exactly as any nucleophile does, and the π electrons go up onto oxygen.
Step 4 — the ring opens and the amine leaves.
The alkoxide pushes back down to remake the C=O and expels the nitrogen. A second addition round the other carbonyl closes the by-product into phthalhydrazide, which precipitates and is filtered off. What is left is a single primary amine — the product direct alkylation of ammonia can never give cleanly.
Phthalimide anion (N nucleophile)
SN2 on an alkyl halide → N-alkyl phthalimide
Hydrazine cleaves it → clean 1-amine
1. Alkylating ammonia over-alkylates, so the Gabriel synthesis makes clean primary amines instead.
Overall: a primary alkyl halide becomes a single, pure primary amine.
2. Phthalimide's N–H sits between two carbonyls, so it is acidic and a base removes it.
Deprotonation gives a resonance-stabilized phthalimide anion — a good nitrogen nucleophile.
Phthalimide (acidic N–H)
3. The phthalimide anion does an SN2 on a primary alkyl halide, giving an N-alkylphthalimide.
The nitrogen now carries exactly one alkyl group and cannot react again — that is what blocks over-alkylation.
Phthalimide anion1° alkyl halideN-propylphthalimide (one alkyl on N)
4. Because it relies on SN2, it works for methyl and 1° (some 2°) halides — never 3° or aryl.
Bulky or unreactive substrates block back-side attack, so no N-alkylphthalimide forms.
Works: 1° halide→ propylamine
5. Hydrolysis (H3O+) or hydrazinolysis (N2H4) cleaves the phthalimide and frees the primary amine.
N-propylphthalimide → propylamine, released from the phthalimide.
6. Summary
Avoids over-alkylation · deprotonate acidic phthalimide N–H → nucleophilic anion · SN2 on a 1°/methyl halide → N-alkylphthalimide · nitrogen locked to one alkyl group · N2H4 or H3O+ releases the pure 1° amine · no 3° or aryl halides.
How each reagent works — the arrow pushing
Electron flow only. Follow the arrows; the structures do the talking.
Phthalimide (Gabriel) — clean 1° amines2 steps
Why it works · Ammonia over-alkylates (you get a mess of 1°/2°/3° amines). Gabriel fixes that: the phthalimide N–H is acidic (flanked by two C=O), so base makes the phthalimide anion — a single-use nitrogen nucleophile. It does an Sn2 on a 1° alkyl halide (only once — the product N has no acidic H left), then hydrolysis (or hydrazine) releases a pure primary amine.
Quiz yourself
Tap a question to reveal the answer — free, no login.
Alkylating ammonia over-alkylates: the primary amine product is itself a nucleophile, so it reacts again to give secondary and tertiary amines and quaternary salts. The Gabriel route caps the nitrogen inside a phthalimide, so only one alkyl group can attach — giving a pure 1° amine.
The N–H is flanked by two carbonyls, which stabilize the resulting anion by resonance. A base removes it to give a resonance-stabilized phthalimide anion — the nitrogen nucleophile that does the alkylation.
The phthalimide anion attacks by SN2. So it only works on substrates that undergo SN2 — methyl and primary (and some secondary) alkyl halides. Tertiary and aryl halides do not react.
Cleave the phthalimide by hydrolysis (aqueous acid or base, H3O+) or by hydrazinolysis with hydrazine (N2H4). Either removes the phthalimide portion and frees the pure primary amine.
Draw this on the whiteboard
Open the OChem Board whiteboard — benzene rings, wedge/dash bonds, and a clickable periodic table built in. No account needed.