Alkyl Halide Reactions: Direct Amination with NH₃

Direct amination converts an alkyl halide (R–X) into a primary amine (R–NH₂) using ammonia as the nucleophile. The reaction follows an SN2 pathway: ammonia attacks the electrophilic carbon from the backside, displacing the halide with Walden inversion. The immediate product is an ammonium salt (R–NH₃⁺ X⁻), which is deprotonated by excess ammonia to yield the free amine.

⚠️ Warning: This is generally a poor method for synthesizing primary amines! The product amine (R–NH₂) is a better nucleophile than ammonia, so it reacts further to form secondary amines (R₂NH), tertiary amines (R₃N), and quaternary ammonium salts (R₄N⁺). Even with large excesses of NH₃, product mixtures are common.

For selective primary amine synthesis, the Gabriel synthesis (phthalimide route) or azide reduction (NaN₃ then LiAlH₄) are strongly preferred.




Quick Summary

  • Synthetic utility: ⚠️ Poor method — use Gabriel synthesis or azide reduction instead.
  • Mechanism class: Concerted SN2 backside displacement.
  • Nucleophile: Ammonia (NH₃) — neutral, moderate nucleophile.
  • Immediate product: Ammonium salt (R–NH₃⁺ X⁻).
  • Final product: Mixture of primary (R–NH₂), secondary (R₂NH), tertiary (R₃N) amines and quaternary salts (R₄N⁺).
  • Stereochemistry: Walden inversion at the reacting stereocenter.
  • Substrate scope: Methyl > primary > secondary (limited); tertiary does not undergo SN2.
  • Major problem: Over-alkylation — the amine product is a better nucleophile than NH₃ and reacts further.


Mechanism

The reaction proceeds in three stages:

Step 1 — SN2 Attack

Ammonia approaches from the backside of the C–X bond. Its lone pair attacks the electrophilic carbon while the halide departs as X⁻. This is a concerted, single-step process with Walden inversion.

Step 1: NH3 backside attack on alkyl halide
Step 1 — NH₃ attacks anti to the C–X bond; electrons flow to the departing halide.

Step 2 — Deprotonation

The immediate product is an ammonium cation (R–NH₃⁺). This is acidic and must be deprotonated. Excess ammonia acts as a base, abstracting a proton from the ammonium intermediate.

Step 2: deprotonation of ammonium intermediate by NH3
Step 2 — Excess NH₃ deprotonates the ammonium intermediate (R–NH₃⁺).

Product — Primary Amine

After deprotonation, the free primary amine (R–NH₂) is obtained with Walden inversion at the α-carbon.

Product: primary amine R-NH2
Product — Primary amine (R–NH₂) with Walden inversion at Cα.


The Over-Alkylation Problem

The primary amine product (R–NH₂) is actually a better nucleophile than the starting ammonia because alkyl groups are electron-donating. This means the product can react with another equivalent of alkyl halide:

propyl bromide
Alkyl Halide
primary amine
1° Amine
+
secondary amine
2° Amine
+
tertiary amine
3° Amine
Starting from a propyl halide, you get a mixture of propylamine (1°), dipropylamine (2°), and tripropylamine (3°).
R–X + NH₃ → R–NH₂ (primary amine)
R–X + R–NH₂ → R₂NH (secondary amine)
R–X + R₂NH → R₃N (tertiary amine)
R–X + R₃N → R₄N⁺ X⁻ (quaternary ammonium salt)

Result: Even with excess ammonia, you often get a mixture of products rather than pure primary amine.

Solutions to Over-Alkylation

  1. Use a large excess of ammonia — Statistically favors the first substitution, but mixtures still occur.

  2. Gabriel synthesis — Uses potassium phthalimide as a protected nitrogen source. After SN2 alkylation, hydrazinolysis releases a pure primary amine. See the Gabriel Synthesis guide.

  3. Azide reduction — React R–X with NaN₃ to form an alkyl azide (R–N₃), then reduce to the amine (e.g., with LiAlH₄ or catalytic hydrogenation). Azide cannot over-alkylate.

  4. Reductive amination — For aldehydes/ketones, reductive amination with NH₃/NaBH₃CN gives controlled amine formation.



Worked Examples

Example 1: Methyl Iodide + NH₃

methyl iodide
Methyl iodide
NH3
methylamine
Methylamine

Methyl halides are the fastest SN2 substrates. With excess NH₃, methylamine is the major product, but dimethylamine and trimethylamine are also formed.

Example 2: 1-Bromobutane + NH₃

1-bromobutane
1-Bromobutane
NH3
1-butylamine
1-Butylamine (+ secondary/tertiary amines)

Primary halides react well via SN2. The product mixture includes butylamine, dibutylamine, and tributylamine.

Example 3: Benzyl Chloride + NH₃

benzyl chloride
Benzyl chloride
NH3
benzylamine
Benzylamine

Benzylic halides are excellent SN2 substrates due to resonance stabilization of the transition state.



Scope & Limitations

Substrate TypeSN2 RateNotes
MethylExcellentFastest; some over-alkylation
PrimaryGoodStandard SN2
SecondarySlowE2 competition; poor yields
TertiaryNoneSN2 forbidden
AllylicExcellentMay show SN2′
BenzylicExcellentResonance-stabilized TS
NeopentylVery slowSteric hindrance
Exam Trap — Tertiary & Secondary Halides:

Tertiary halides + NH₃ → E2 elimination (alkene), not amination. The backside attack required for SN2 is completely blocked by the three substituents. NH₃ acts as a base instead, abstracting a β-hydrogen to give an alkene via E2.

Secondary halides + NH₃ → Slow SN2 with significant E2 competition. Poor yields of amine; often get mixtures of amine + alkene. Not a practical synthetic method.

If you see tertiary halide + NH₃ on an exam, predict elimination (Zaitsev alkene), not substitution!

Leaving groups: I > Br > Cl >> F (fluoride too strong a bond for SN2)

Solvents: Polar protic solvents (alcohols, water) or liquid ammonia are typically used. The reaction can also be run in sealed tubes under pressure.



Practical Tips & Pitfalls

  1. Expect mixtures — Unless you use Gabriel synthesis or azide/reduction, direct amination rarely gives pure primary amine.

  2. Use excess NH₃ — A large excess (5–10 equivalents) shifts equilibrium toward the primary amine, but doesn't eliminate over-alkylation entirely.

  3. Sealed tubes/pressure — NH₃ boils at −33 °C, so reactions are often run in sealed vessels or with ammonia dissolved in alcohol.

  4. Avoid secondary halides — E2 elimination competes strongly; yields are poor.

  5. Consider alternatives — For clean primary amine synthesis:

    • Gabriel synthesis (phthalimide route)
    • Azide substitution + reduction
    • Reductive amination (for carbonyls)
  6. Quaternary salts are useful — If you intentionally want R₄N⁺ X⁻ (e.g., phase-transfer catalysts), direct alkylation is the way to go.



Exam-Style Summary

Direct amination of alkyl halides with ammonia proceeds via SN2 for methyl and primary substrates. Ammonia attacks from the backside, displacing the halide with inversion. The immediate product is an ammonium salt, which excess ammonia deprotonates to give the primary amine.

Key pitfalls to remember:

  1. Over-alkylation — The amine product is a better nucleophile than NH₃ and reacts further, giving mixtures of 1°, 2°, 3° amines and quaternary salts.
  2. Tertiary halides — SN2 is impossible; predict E2 elimination (Zaitsev alkene) instead.
  3. Secondary halides — E2 competes strongly; expect poor yields.
  4. Neopentyl halides — Extremely slow due to steric hindrance, despite being "primary."

For selective primary amine synthesis, Gabriel synthesis or azide reduction are preferred.

Other Niche Cases

  • Vinyl halides (C=C–X): Cannot undergo SN2 — the sp² carbon is not electrophilic in the right geometry.
  • Aryl halides: Require SNAr mechanism with electron-withdrawing groups (see Meisenheimer complex).
  • Allylic halides: Fast SN2; may also show SN2′ (attack at the γ-carbon with double bond migration).


Interactive Toolbox

  • Mechanism Solver — draw an alkyl halide and select NH₃. Primary halides show SN2 amination; tertiary halides automatically show E2 elimination.
  • Reaction Solver — predict products from substrates and reagents.
  • IUPAC Namer — practice naming amines.

Related Reading