• Practice
  • About 26 min
  • 5 practice questions

Nucleophilic substitution in haloalkanes: products, SN2 and SN1

Predict the products of haloalkanes with OH⁻, NH₃, CN⁻, AgCN, NO₂⁻, AgNO₂, SH⁻ and alkoxide, explain ambident nucleophiles, and compare the SN2 and SN1 mechanisms in rate law, steps, stereochemistry and reactivity order.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Write the products of nine nucleophilic substitution reactions of bromoethane.
  • Explain why KCN and AgCN, or KNO₂ and AgNO₂, give different products.
  • Describe the SN2 mechanism, its rate law and Walden inversion.
  • Describe the SN1 mechanism, its rate law and racemisation, and state which haloalkanes prefer each path.

Haloalkanes are among the most reactive organic compounds. Their reactions fall into four groups: nucleophilic substitution, elimination, reaction with metals and reduction. This lesson deals with the first and most important.

Substitution products

The δ+ carbon of C–X attracts a nucleophile Nu⁻, which replaces X⁻: R–X + Nu⁻ → R–Nu + X⁻.

Reactions of bromoethane, CH₃CH₂Br
ReagentProductEquation
Aqueous KOH, or moist Ag₂O (AgOH)EthanolCH₃CH₂Br + KOH → CH₃CH₂OH + KBr
Alcoholic NH₃ (ammonolysis)EthylamineCH₃CH₂Br + NH₃ → CH₃CH₂NH₂ + HBr
Alcoholic KCNEthyl cyanide (propanenitrile)CH₃CH₂Br + KCN → CH₃CH₂CN + KBr
Alcoholic AgCNEthyl isocyanideCH₃CH₂Br + AgCN → CH₃CH₂NC + AgBr
NaNO₂ or KNO₂Ethyl nitriteCH₃CH₂Br + KNO₂ → CH₃CH₂–O–N=O + KBr
Alcoholic AgNO₂NitroethaneCH₃CH₂Br + AgNO₂ → CH₃CH₂NO₂ + AgBr
NaSH or KSH (alcohol/water)EthanethiolCH₃CH₂Br + NaSH → CH₃CH₂SH + NaBr
Sodium alkoxide (Williamson synthesis)EtherCH₃CH₂Br + NaOCH₂CH₃ → CH₃CH₂OCH₂CH₃ + NaBr

With excess haloalkane, ammonolysis does not stop at the primary amine: ethylamine reacts further to give diethylamine, triethylamine and finally tetraethylammonium bromide, (CH₃CH₂)₄N⁺Br⁻. The Williamson synthesis can also make mixed (unsymmetrical) ethers.

Ambident nucleophiles

Ambident nucleophiles can attack through either of two atoms, depending on conditions and reagent. Cyanide can bond through C (giving a cyanide, R–C≡N) or through N (giving an isocyanide, R–N≡C); nitrite can bond through O (nitrite, R–O–N=O) or through N (nitro compound, R–NO₂). KCN and KNO₂ give the cyanide and the nitrite, while AgCN and AgNO₂ give the isocyanide and the nitro compound.

The SN2 mechanism

SN2 means substitution, nucleophilic, bimolecular. It happens in one step: the nucleophile attacks the carbon from the side opposite the halogen while the C–X bond breaks. In the transition state both are partly bonded to carbon. The rate depends on both reactants: rate = k₂[alkyl halide][nucleophile] (second order).

Because attack is from the back, the other three groups flip over like an umbrella turned inside out in a strong wind: the configuration is inverted (Walden inversion). For example, (−)-2-bromooctane heated with NaOH gives (+)-octan-2-ol, with –OH on the side opposite to where Br was.

The SN1 mechanism

SN1 means substitution, nucleophilic, unimolecular. It happens in two steps, shown here for tert-butyl bromide with aqueous KOH. Step 1 (slow, rate-determining): the C–Br bond breaks heterolytically, (CH₃)₃C–Br → (CH₃)₃C⁺ + Br⁻. Step 2 (fast): OH⁻ bonds to the carbocation, (CH₃)₃C⁺ + OH⁻ → (CH₃)₃C–OH. Only the haloalkane is involved in the slow step, so rate = k[alkyl halide] (first order), whatever the concentration of OH⁻.

The carbocation is planar (sp²) with two equal lobes of its empty p orbital, so the nucleophile attacks either face equally. Starting from an optically active haloalkane, equal amounts of the two mirror-image products form: a racemic mixture, which is optically inactive. Hydrolysis of optically active 2-bromobutane by SN1 gives (±)-butan-2-ol.

SN2 and SN1 compared

  • SN2
    • One step, through a transition state
    • Rate = k₂[RX][Nu⁻], second order
    • Back-side attack: inversion of configuration
    • Fastest for CH₃X > 1° > 2° > 3° (less crowding)
  • SN1
    • Two steps, through a carbocation
    • Rate = k[RX], first order
    • Attack on both faces: racemisation
    • Fastest for 3° > 2° > 1° > CH₃X (more stable cation)

Worked example 1: using the rate laws

(a) In an SN2 reaction both [RX] and [OH⁻] are doubled. Rate = k₂[RX][OH⁻], so the new rate = k₂(2[RX])(2[OH⁻]) = 4 × the old rate. Four times faster. (b) In an SN1 reaction only [OH⁻] is doubled. Rate = k[RX] does not contain [OH⁻]. The rate is unchanged. (c) In SN1, [RX] is halved: the rate is halved.

Worked example 2: which path, and why?

1-Bromobutane with aqueous KOH: primary carbon, little crowding at the back, and a primary carbocation would be unstable, so SN2. 2-Bromo-2-methylpropane with aqueous KOH: three methyl groups block back-side attack, but they stabilise the tertiary carbocation, so SN1. Neopentyl bromide, (CH₃)₃CCH₂Br, is primary yet reacts very slowly by both: the bulky tert-butyl group next door blocks back-side attack, and the primary carbocation it would need is unstable.

SN2: one step, rate = k[RX][Nu], inversion, methyl and 1° fastest. SN1: two steps, rate = k[RX], racemisation, 3° fastest.

— Nucleophilic substitution in one line

Key takeaways: OH⁻, NH₃, CN⁻, SH⁻ and RO⁻ replace X to give alcohols, amines, nitriles, thiols and ethers. CN⁻ and NO₂⁻ are ambident: potassium salts give R–CN and R–ONO, silver salts R–NC and R–NO₂. SN2 is one-step, second-order, with inversion; SN1 is two-step, first-order, via a planar carbocation, with racemisation.

Check your understanding

  1. 1. Bromoethane is warmed with alcoholic silver nitrite, AgNO₂. The main organic product is

    1. ethyl nitrite, CH₃CH₂ONO
    2. nitroethane, CH₃CH₂NO₂
    3. ethanol
    4. ethylamine
    Show answer

    Answer: B. Nitrite is ambident. With AgNO₂ it bonds through nitrogen and gives the nitro compound, CH₃CH₂NO₂ (+ AgBr). KNO₂ would bond through oxygen and give ethyl nitrite.

  2. 2. For the reaction CH₃Br + OH⁻ → CH₃OH + Br⁻ the rate law is rate = k[CH₃Br][OH⁻]. If [OH⁻] alone is tripled, the rate

    1. stays the same
    2. doubles
    3. triples
    4. increases nine times
    Show answer

    Answer: C. The rate is first order in OH⁻ (SN2, second order overall). Tripling [OH⁻] with [CH₃Br] unchanged multiplies the rate by 3.

  3. 3. An optically active haloalkane reacts by the SN2 mechanism. The product is

    1. a racemic mixture
    2. optically inactive because of a planar intermediate
    3. formed with inversion of configuration
    4. always identical in configuration to the reactant
    Show answer

    Answer: C. In SN2 the nucleophile enters from the side opposite the leaving group in a single step, so the configuration at that carbon is inverted (Walden inversion). Racemisation is the result of SN1, which goes through a planar carbocation.

  4. 4. Which haloalkane reacts fastest by the SN1 mechanism?

    1. CH₃Br
    2. CH₃CH₂Br
    3. (CH₃)₂CHBr
    4. (CH₃)₃CBr
    Show answer

    Answer: D. The slow step of SN1 is formation of the carbocation, so the more stable the carbocation, the faster the reaction. (CH₃)₃C⁺ is tertiary and the most stable, so tert-butyl bromide reacts fastest.

  5. 5. Which pair of reactants is the Williamson ether synthesis?

    1. CH₃CH₂Br + NaOCH₃
    2. CH₃CH₂Br + NaSH
    3. CH₃CH₂Br + KCN
    4. CH₃CH₂Br + aqueous KOH
    Show answer

    Answer: A. The Williamson synthesis treats a haloalkane with a sodium alkoxide: CH₃CH₂Br + NaOCH₃ → CH₃CH₂OCH₃ + NaBr, giving ethyl methyl ether. The other reagents give a thiol, a nitrile and an alcohol.

Privacy · Terms · Refunds · Delivery