Organic Chemistry
The Gabriel Synthesis
A one-shot nitrogen that can't be over-alkylated
The Gabriel synthesis makes a clean primary amine (RNH₂) from a primary alkyl halide by masking nitrogen inside phthalimide. Because the phthalimide nitrogen can react only once, it sidesteps the over-alkylation that ruins direct ammonia amination — no secondary, tertiary, or quaternary contaminants.
- First reported1887 (Siegmund Gabriel)
- MakesPrimary amines, RNH₂ only
- Key reagentPotassium phthalimide
- Alkylation stepSN2 (primary RX best)
- CleavageN₂H₄ (Ing–Manske) or H₃O⁺/OH⁻
- ByproductPhthalhydrazide / phthalic acid
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
The problem it solves
Nitrogen is greedy. If you take a primary alkyl halide and stir it with ammonia hoping for a clean primary amine, you don't get one. The RNH₂ you make is a stronger nucleophile than the NH₃ you started with (the alkyl group is electron-donating), so it immediately turns around and attacks another molecule of RX. That gives a secondary amine, which is more nucleophilic still, which gives a tertiary amine, which gives a quaternary ammonium salt. One reaction, four products.
The Gabriel synthesis breaks this chain by never letting a free amine touch the alkyl halide. Instead it alkylates phthalimide — a nitrogen wedged between two carbonyl groups, with only one N–H. Deprotonate it, alkylate it once, and that nitrogen is now fully substituted and deactivated. It cannot react a second time. Later you unmask the nitrogen and out comes a single, pure primary amine.
Direct amination (messy):
R-X + NH₃ → R-NH₂ → R₂NH → R₃N → R₄N⁺ X⁻ (statistical soup)
Gabriel synthesis (clean):
phthalimide-N-H --KOH--> phthalimide-N⁻ K⁺
phthalimide-N⁻ + R-X --SN2--> phthalimide-N-R (stops here — can't go further)
phthalimide-N-R + N₂H₄ → R-NH₂ + phthalhydrazide
The mechanism, arrow by arrow
The whole synthesis is three chemical events. The first two are the classic acid–base + SN2 pair; the third is a double addition–elimination on the imide.
- Deprotonation. The phthalimide N–H (pKa ≈ 8.3) is stripped by KOH (or K₂CO₃). The resulting phthalimide anion is resonance-stabilized: the nitrogen lone pair delocalizes onto both flanking carbonyl oxygens, spreading the negative charge over three atoms. That stability is why such a weak base works — and it also makes the anion a soft, well-behaved nucleophile that favors SN2 over elimination.
- Alkylation (SN2). The nitrogen lone pair of the phthalimide anion attacks the back face of the carbon bearing the leaving group in R–X. The C–X bond breaks as the C–N bond forms, in one concerted step, with inversion at that carbon. The halide leaves as X⁻ (paired with K⁺). Product: an N-alkylphthalimide. The nitrogen is now bonded to two carbonyl carbons and one alkyl group — no lone pair free for further reaction.
- Cleavage (hydrazinolysis). Hydrazine's terminal NH₂ adds to one imide carbonyl, kicking the ring open to a tetrahedral intermediate that collapses to an amide (an o-acylhydrazide) with the amine still attached. The second NH₂ of hydrazine then cyclizes intramolecularly onto the other carbonyl, and this ring-closure expels the amine R–NH₂ as it forms a stabilized six-membered ring — phthalhydrazide. Phthalhydrazide is aromatic-conjugated and insoluble, so it precipitates and pulls the equilibrium fully toward product.
Step 2 — SN2 alkylation (backside attack, inversion):
O O
‖ ‖
┌───C ┌───C
(ring) N:⁻ + R–X → (ring) N–R + X⁻
└───C └───C
‖ ‖
O O
phthalimide anion N-alkylphthalimide
Step 3 — hydrazinolysis (Ing–Manske):
N-alkylphthalimide + H₂N–NH₂ → R–NH₂ + phthalhydrazide↓
Notice the electron-flow logic that makes each step inevitable: the two carbonyls acidify the N–H (enabling step 1), then deactivate the alkylated nitrogen (enforcing the single-alkylation rule), then finally serve as the electrophilic handles hydrazine grabs to release the amine (step 3). The phthalimide scaffold is a nitrogen-protecting group that carries its own "eject" mechanism.
Reagents, conditions, and real specifics
- Phthalimide. Cheap, crystalline, m.p. 238 °C; made industrially from phthalic anhydride + ammonia (or urea). pKa 8.3.
- Base for salt formation. Ethanolic or aqueous KOH gives potassium phthalimide directly; the anhydrous salt is also sold off-the-shelf. K₂CO₃ or Cs₂CO₃ in DMF works for in-situ deprotonation.
- Alkylating agent. A primary alkyl halide, tosylate, or mesylate. Reactivity order R–I > R–Br > R–Cl; iodides and bromides are typical. Benzylic and allylic halides are excellent. Activated substrates (e.g. α-halo esters) react fast.
- Alkylation conditions. Polar aprotic solvent — DMF or DMSO — at 60–120 °C for a few hours to speed the SN2; a phase-transfer catalyst (a tetraalkylammonium salt) lets you run the potassium salt in a two-phase system.
- Cleavage — hydrazine route (Ing–Manske, 1926). ~1.1 equiv hydrazine hydrate in refluxing ethanol or methanol, 1–4 h; the phthalhydrazide precipitate is filtered off, and the amine is freed by acid/base workup. Gentle enough to preserve esters, alkenes, and other amines.
- Cleavage — hydrolysis route. 6 M HCl (or NaOH) at reflux, several hours to overnight, gives the amine and phthalic acid. Forcing, but reagent-cheap and hydrazine-free.
Scope, selectivity, and stereochemistry
The character of the Gabriel synthesis is set entirely by the SN2 alkylation:
- Substrate scope. Methyl and primary halides are ideal. Secondary halides give lower yields because E2 elimination competes (the basic phthalimide anion can grab a β-hydrogen instead). Tertiary halides fail — they eliminate almost quantitatively. Aryl and vinyl halides fail entirely (no SN2 pathway), so aniline and enamines are off-limits.
- Chemoselectivity. Because a masked, non-basic nitrogen is delivered, functional groups that a free amine would attack (esters, ketones) can survive the alkylation. The amine is revealed only at the end.
- Stereochemistry. SN2 proceeds with inversion of configuration at the reacting carbon. Alkylating (R)-2-bromobutane (if you could push a secondary substrate) installs the nitrogen on the opposite face, and neither the SN2 step nor the mild hydrazinolysis touches that stereocenter afterward. So a resolved primary substrate gives an amine of predictable, single configuration — a real advantage over reductive routes that can scramble.
Gabriel vs other routes to primary amines
| Method | Gives clean 1° amine? | How it avoids over-alkylation | Main limitation |
|---|---|---|---|
| Gabriel synthesis | Yes | Masked N reacts once; carbonyls block a second alkylation | SN2 only — no 3°, aryl, or vinyl |
| Direct RX + NH₃ | No | It doesn't — gives 1°/2°/3°/4° mixture | Inseparable statistical soup |
| Azide (RX → RN₃ → RNH₂) | Yes | Azide adds once, then reduced (H₂/Pd or LiAlH₄) | Low-MW azides can be explosive |
| Nitrile reduction (RX → RCN → RCH₂NH₂) | Yes | Adds one carbon; single amine | Amine has one extra carbon |
| Reductive amination | 1° or 2° (controllable) | Imine/iminium formed then reduced | Needs an aldehyde/ketone, not RX |
| Nitro reduction (ArNO₂ → ArNH₂) | Yes (aryl) | Only one N per ring | Aryl amines only |
| Buchwald–Hartwig amination | Yes (aryl) | Pd controls C–N; single coupling | Aryl amines; needs Pd catalyst |
The Gabriel synthesis owns a specific niche: turning a primary alkyl halide into the exact same-carbon-count primary amine, cleanly, without special metals. Where you need an aryl amine, reach for nitro reduction or Buchwald–Hartwig; where the extra carbon is welcome, nitrile reduction; where you have a carbonyl instead of a halide, reductive amination.
Worked example: benzylamine from benzyl bromide
Benzyl bromide is an ideal Gabriel substrate — a reactive primary (benzylic) halide with no β-hydrogens to eliminate.
1) phthalimide + KOH → potassium phthalimide + H₂O
2) K-phthalimide + PhCH₂Br --DMF, 80 °C, 3 h--> N-benzylphthalimide + KBr
3) N-benzylphthalimide + N₂H₄·H₂O --EtOH, reflux, 2 h-->
PhCH₂NH₂ + phthalhydrazide↓
- Step 1. Phthalimide (1.0 equiv) + KOH (1.0 equiv) in ethanol; the potassium salt crystallizes on cooling (or use commercial potassium phthalimide directly).
- Step 2. Potassium phthalimide + benzyl bromide (1.0 equiv) in DMF, 80 °C, ~3 h. KBr precipitates; N-benzylphthalimide is isolated by dilution/filtration. Typical 85–95% — benzylic halides are among the best substrates.
- Step 3. Reflux with hydrazine hydrate (1.1 equiv) in ethanol ~2 h. Phthalhydrazide precipitates; filter, then partition the filtrate with dilute HCl (amine goes into the aqueous layer as its hydrochloride), basify with NaOH, and extract to recover free benzylamine.
- Net. One benzyl group, one nitrogen, a single primary amine — no dibenzylamine, no tribenzylamine.
Real applications: amino acids and drugs
- Gabriel–Sørensen amino-acid synthesis. Swap plain phthalimide for diethyl phthalimidomalonate. Its central malonate carbon is doubly activated, so it alkylates readily with R–X; then acidic hydrolysis cleaves the phthalimide, hydrolyzes both esters, and decarboxylation of the resulting malonic diacid gives an α-amino acid, R–CH(NH₂)–COOH. It is the amino-acid analogue of the malonic ester synthesis and a classic route to phenylalanine, methionine, and other α-amino acids.
- Amphetamine-class and pharma intermediates. Historically, the Gabriel route delivered pure primary amines for pharmaceutical scaffolds where a secondary/tertiary contaminant would poison the biology — the clean RNH₂ output is the selling point on scale.
- Fluorescent tags and linkers. Because phthalimide alkylation tolerates many functional groups, it installs a masked amine on a bifunctional linker; hydrazinolysis at the end reveals a single primary amine for bioconjugation.
- Mitsunobu–Gabriel. A modern twist: convert an alcohol directly to the N-alkylphthalimide using phthalimide + DIAD/PPh₃ (Mitsunobu), then cleave with hydrazine. This gives a Gabriel-type amine from an alcohol with clean inversion, avoiding the halide entirely.
Limitations and side reactions
- SN2-only. Tertiary, aryl, and vinyl substrates don't work; secondary ones suffer competing E2 elimination and give reduced yields. Neopentyl halides are sluggish because branching next to the reacting carbon blocks backside attack.
- Elimination byproduct. The phthalimide anion is basic enough to abstract a β-proton from a secondary substrate, giving an alkene instead of the N-alkyl product. Keep temperatures moderate and favor iodides/tosylates to speed substitution over elimination.
- Hydrazine hazards. Hydrazine is toxic and a suspected carcinogen; on large scale the acid/base hydrolysis route (6 M HCl reflux) or milder aminolysis (methylamine, ethylenediamine) can replace it.
- Forcing hydrolysis. If you avoid hydrazine, the harsh acid/base hydrolysis needed to break both amide bonds can damage acid- or base-sensitive groups elsewhere in the molecule — one reason the Ing–Manske hydrazine method became standard.
- Only one alkyl group. By design, you get RNH₂; you cannot use Gabriel to make secondary or tertiary amines directly (that limitation is also the feature).
Who discovered it, and when
Siegmund Gabriel (1851–1924), a German chemist working in August Wilhelm von Hofmann's orbit in Berlin, published the phthalimide route to primary amines in 1887. Gabriel realized that the two carbonyls of phthalimide would both acidify the N–H (so a mild base could make the nucleophile) and prevent a second alkylation (so the product would stay primary). The original cleavage step was harsh acid hydrolysis.
The synthesis became genuinely practical in 1926, when H. R. Ing and R. H. F. Manske introduced hydrazinolysis: refluxing the N-alkylphthalimide with hydrazine cleaved it under mild conditions and precipitated phthalhydrazide, which pulls the reaction to completion and simplifies purification. The two-name method — Gabriel synthesis with Ing–Manske cleavage — is what most textbooks describe today. (Phthalhydrazide itself later found a second life as the light-emitting core of luminol.)
Frequently asked questions
Why can't you just make a primary amine by reacting an alkyl halide with ammonia?
You can, but the product is messier than the ammonia. The primary amine RNH₂ you form is a better nucleophile than the ammonia you started with, so it attacks a second molecule of RX to give a secondary amine, then a tertiary amine, and finally a quaternary ammonium salt. Direct amination of 1-bromobutane with ammonia gives a statistical mixture of butylamine, dibutylamine, tributylamine, and tetrabutylammonium bromide. Even a huge excess of ammonia only shifts the ratios; it never gives clean RNH₂. The Gabriel synthesis solves this by using a nitrogen that can be alkylated only once.
Why does the phthalimide nitrogen stop at a single alkylation?
After the phthalimide anion is alkylated once, the nitrogen has no lone pair or N–H left available for a second substitution — it is now a fully substituted imide flanked by two carbonyls. The two electron-withdrawing C=O groups also strip nearly all nucleophilicity from that nitrogen. So unlike RNH₂ made by direct amination, the N-alkylphthalimide cannot pick up a second alkyl group. That built-in stop is the whole point of the method.
Why is phthalimide acidic enough to be deprotonated?
The N–H of phthalimide has a pKa near 8.3 — comparable to a phenol and far more acidic than a normal amide (pKa ~17) or amine (pKa ~35). Two flanking carbonyl groups delocalize the negative charge of the conjugate base over both C=O oxygens and the nitrogen, stabilizing it strongly. That means a mild base such as KOH or K₂CO₃ fully deprotonates it to potassium phthalimide, a good SN2 nucleophile.
Why does the Gabriel synthesis fail with tertiary or aryl halides?
The alkylation step is an SN2 reaction, so it needs a substrate that can be attacked at the back face of the carbon bearing the leaving group. Primary halides (and methyl) work best; secondary halides give modest yields and compete with E2 elimination. Tertiary halides give almost entirely elimination because SN2 is blocked by sterics. Aryl and vinyl halides don't undergo SN2 at all, so you cannot make aniline or vinylamine this way. Neopentyl-type substrates are also poor because the branching next to the reacting carbon blocks backside attack.
How do you release the amine from the N-alkylphthalimide?
Two classic routes. Harsh hydrolysis with hot aqueous acid or base cleaves both amide bonds to give the amine plus phthalic acid (or its salt), but it needs forcing conditions and can wreck sensitive functional groups. The gentler, now-standard route is the Ing–Manske procedure: hydrazine (NH₂NH₂) in refluxing ethanol. Hydrazine attacks one carbonyl, then the second nitrogen cyclizes onto the other carbonyl, expelling the amine and forming a very stable six-membered ring, phthalhydrazide, which precipitates and drives the reaction to completion.
Can the Gabriel synthesis make amino acids or chiral amines?
Yes. The Gabriel–Sørensen variant uses diethyl phthalimidomalonate: alkylate the doubly-activated malonate carbon, then hydrolyze and decarboxylate to reach α-amino acids — an amino-acid analogue of the malonic ester synthesis. The classic version is not stereoselective: the α-stereocenter is set during the racemizing decarboxylation step, so the amino acid comes out racemic (just like the Strecker synthesis). To make a single enantiomer you resolve the product, use a chiral auxiliary, or run an enantioselective phase-transfer-catalyzed Gabriel alkylation, which sets the new stereocenter asymmetrically.