MathemagiciansLibraryExplorationsDeep Dives
← Chemistry · Upper Secondary
ChemistryUpper Secondary

Halogenoalkanes — nucleophilic substitution

CU9 — Organic Chemistry › CU9.2 — Organic ReactionsLecture 3 of 4~2350 words

The opposite kind of attack

In the last lecture, an alkene's double bond was the electron-rich part. An electron-poor particle, the electrophile, came looking for it. The last lecture ended with a promise: the next lecture meets a different kind of attack. In a halogenoalkane, the carbon is short of electrons, and the attacker is the one that brings them. Here it is.

A halogenoalkane is an alkane with one hydrogen replaced by a halogen: fluorine, chlorine, bromine or iodine. Bromoethane, CH₃CH₂Br, is an example. Some books call these compounds haloalkanes or alkyl halides.

Here is the puzzle this lecture solves. Fluorine is the most electronegative element of all. So you would expect the carbon in a C–F bond to be the most electron-poor, and the easiest to attack. In fact, fluoroalkanes hardly react at all, and iodoalkanes react fastest. By the end of this lecture you will see why.

A carbon that is short of electrons

Every halogen is more electronegative than carbon. On the Pauling scale, carbon is 2.55, while fluorine is 3.98, chlorine 3.16, bromine 2.96 and iodine 2.66. So in a C–X bond (X stands for any halogen), the shared pair is pulled towards the halogen. The bond is polar: Cδ+–Xδ−.

The carbon is now slightly positive. It attracts any particle that has a pair of electrons to offer. Such a particle is called a nucleophile, from words meaning "nucleus-lover": it is drawn to positive charge. A nucleophile always has a lone pair of electrons, and it is often a negative ion. The common ones at this level are:

Compare this with the last lecture. There, an electrophile (electron-lover) attacked an electron-rich double bond. Here, a nucleophile (nucleus-lover) attacks an electron-poor carbon. The roles are reversed.

When the nucleophile forms a bond to the carbon, the carbon would have five bonds if nothing else changed. Carbon cannot do that. So the C–X bond breaks, and both of its electrons go with the halogen, which leaves as a halide ion, X⁻. The halide that leaves is called the leaving group. One group has replaced another, so this is nucleophilic substitution.

Here R stands for the rest of the molecule, and Nu⁻ for the nucleophile.

Primary, secondary, tertiary

As with carbocations in the last lecture, you sort halogenoalkanes by counting the carbon groups on one carbon: the carbon joined to the halogen.

This matters because it decides how the substitution happens. There are two ways.

Way 1: attack from the back, in one step

For a primary halogenoalkane, the nucleophile attacks the carbon from the side directly opposite the halogen. It comes in from the back because the front is crowded by the large halogen, and because the C–X bond's electrons are on that side.

HO−CBrHHCH₃δ+δ−Attack from the backHOCBrHHCH₃−HOCHHCH₃+ Br−Transition stateProducts
SN2 for bromoethane and hydroxide. Top: one curly arrow from a lone pair on O to the δ+ carbon, and one from the C–Br bond to Br. Bottom: for a moment both are partly bonded (dashed), then Br⁻ leaves. The other three groups have flipped to the other side.

Everything happens in one step. As the new O–C bond forms, the old C–Br bond breaks. For a moment, the carbon is partly bonded to both, with the three other groups flat in the middle. Then the bromide ion leaves. The three groups end up flipped to the other side, like an umbrella turned inside out by the wind. Chemists call this an inversion, and the Pre-University lectures on chirality show why it matters.

This mechanism is called SN2: substitution (S), nucleophilic (N), with two particles (2) colliding in its only step. Because both must collide, the reaction goes faster if either one is more concentrated. Double the concentration of hydroxide ions, and the collisions, and the rate, roughly double.

Why only primary? A tertiary carbon has three bulky methyl groups around it. They crowd the back of the carbon, so the nucleophile cannot get close enough to form a bond there.

Way 2: break first, then attack

A tertiary halogenoalkane uses a different route, in two steps.

CBrCH₃H₃CCH₃slow stepC+CH₃H₃CCH₃+ Br−carbocation (flat)C+CH₃H₃CCH₃HO−OH−Either side gives the same product here: (CH₃)₃COHfast step
SN1 for 2-bromo-2-methylpropane. Top: the C–Br bond breaks on its own (slow), leaving a flat carbocation and Br⁻. Bottom: a nucleophile attacks the carbocation from either side (fast).

Step 1, slow. The C–Br bond breaks by itself. Both electrons go to bromine, so it leaves as Br⁻. This leaves a carbocation, (CH₃)₃C⁺, a carbon with only three bonds and a positive charge. You met carbocations in the alkenes lecture. A tertiary carbocation is the most stable kind, because its three carbon groups push electron density towards the positive carbon and spread the charge. That is why a tertiary halogenoalkane can afford to break apart first.

Step 2, fast. The carbocation is flat. A nucleophile attacks it from either side and forms the new bond.

This mechanism is called SN1: the slow step involves only one particle, the halogenoalkane. The rate depends on how fast that step happens, so it depends on the concentration of the halogenoalkane. Adding more hydroxide ions does not speed it up, because they only take part in the fast second step.

That is it. That is the whole idea. A nucleophile always replaces the halogen. Whether it pushes the halogen out (SN2) or waits for it to leave (SN1) depends on how crowded the carbon is and how stable a carbocation would be. Secondary halogenoalkanes sit in between and often react both ways.

Stop and think

You react a primary and a tertiary bromoalkane with hydroxide ions. Then you repeat both experiments with twice the concentration of hydroxide ions. Which reaction speeds up?

Show the answer

The primary one, which reacts by SN2. Its only step is a collision between a hydroxide ion and the bromoalkane, so more hydroxide ions mean more collisions each second, and about twice the rate.

The tertiary one reacts by SN1. Its slow step is the bond breaking on its own, which does not involve hydroxide at all. So doubling the hydroxide makes almost no difference. Experiments like this are how chemists first told the two mechanisms apart.

Sort the facts below to fix the two mechanisms in your mind.

Sort — SN1 or SN2?

Put each statement in the box for the mechanism it describes. Read the reason on each card.

Each statement below belongs to one mechanism.

StatementMechanism
One step onlySN2
The nucleophile attacks from the side opposite the halogenSN2
Typical of primary halogenoalkanesSN2
Doubling the hydroxide concentration roughly doubles the rateSN2
A carbocation is formedSN1
The slow step is the C–X bond breaking on its ownSN1
Typical of tertiary halogenoalkanesSN1
The nucleophile can attack from either sideSN1

Three nucleophiles, three products

The same substitution gives different products with different nucleophiles. In every equation below, the halogenoalkane is a liquid. Reagents dissolved in ethanol are written without a state symbol, and the solvent is named beside the equation.

Worked Example 1 — Hydroxide: making an alcohol

1-bromopropane is warmed with aqueous sodium hydroxide. Write the equation, name the product and give the mechanism.

CH₃CH₂CH₂Br(l) + OH⁻(aq) → CH₃CH₂CH₂OH(aq) + Br⁻(aq)

Product. Propan-1-ol, an alcohol. Breaking a bond with water or hydroxide like this is called hydrolysis.

Mechanism. 1-bromopropane is primary, so SN2: OH⁻ attacks from the back, and Br⁻ leaves.

Conditions matter. The solvent must be water. If the same halogenoalkane is heated with sodium hydroxide dissolved in ethanol, the main product is an alkene instead. That is a different reaction, called elimination, which the Pre-University lectures study.

Check: atoms balance (3 C, 7 H, 1 Br and 1 O on the left; the same on the right), and the charges balance (−1 on each side). ✓

Worked Example 2 — Cyanide: making the carbon chain longer

Bromoethane is heated under reflux with potassium cyanide dissolved in ethanol. Write the equation and count the carbons.

CH₃CH₂Br(l) + CN⁻ → CH₃CH₂CN + Br⁻   (in ethanol)

Product. CH₃CH₂CN is propanenitrile. A nitrile contains the –C≡N group, and its name counts the C in CN, so the product has three carbons.

Why it is useful. The cyanide ion brings a new carbon. Bromoethane has two carbons; the nitrile has three. So the chain grows by exactly one carbon.

A second step. Heating the nitrile with acid turns the –CN group into –COOH. Propanenitrile becomes propanoic acid, CH₃CH₂COOH, which still has three carbons. So the two steps together add one carbon, not two.

Safety. Cyanide is extremely poisonous, so this reaction is done only by trained chemists with strict precautions.

Check: carbons: 2 + 1 = 3 in the nitrile, and 3 in the acid. ✓

Worked Example 3 — Ammonia: making an amine

Bromoethane is heated with an excess of ammonia dissolved in ethanol, in a sealed tube. Write the equation.

CH₃CH₂Br(l) + 2NH₃ → CH₃CH₂NH₂ + NH₄Br   (in ethanol)

Product. Ethylamine, CH₃CH₂NH₂, an amine. The lone pair on nitrogen is the nucleophile.

Why two NH₃? After the substitution, the nitrogen carries an extra H⁺. A second ammonia molecule takes it, forming ammonium bromide, NH₄Br. So the by-product is NH₄Br, not HBr: any HBr would react with the excess ammonia at once.

Why excess ammonia? Ethylamine also has a lone pair on nitrogen, so it is a nucleophile too. It can attack another bromoethane and give a bigger amine, and so on. This is a mixture problem, like the many products of free-radical substitution in the alkanes lecture. A large excess of ammonia makes it much more likely that each bromoethane meets an ammonia molecule rather than an amine.

Check: N: 2 on the left, 1 + 1 on the right. H: 5 + 6 = 11 on the left, 7 + 4 = 11 on the right. ✓

Worked Example 4 — A tertiary halogenoalkane

2-bromo-2-methylpropane is warmed with aqueous sodium hydroxide. Name the product and explain the mechanism.

(CH₃)₃CBr(l) + OH⁻(aq) → (CH₃)₃COH(aq) + Br⁻(aq)

Product. 2-methylpropan-2-ol, a tertiary alcohol.

Mechanism. The carbon is tertiary. Its three methyl groups block attack from the back, so SN2 cannot happen. Instead the C–Br bond breaks first, giving the stable tertiary carbocation (CH₃)₃C⁺, which then bonds to OH⁻. This is SN1. Even water alone hydrolyses it quite quickly, because the slow step does not need the nucleophile.

Either side? Attack from either face gives the same molecule here, because three of the four groups on the carbon are identical. Only when all four groups are different do the two faces give two different products, mirror images of each other. That idea is chirality, at Pre-University.

Check: the overall equation looks just like Worked Example 1. The mechanism is different; the substitution is the same. ✓

Why the most polar bond reacts slowest

Now return to the opening puzzle. Make a prediction first.

Predict — which halogenoalkane is hydrolysed fastest?

You warm 1-chlorobutane, 1-bromobutane and 1-iodobutane, each with water and silver nitrate solution in ethanol. As each one is hydrolysed, the halide ion it releases forms a precipitate with the silver ions. Which precipitate appears first? Choose one.

The chart shows the energy needed to break each carbon–halogen bond (average values). The small grey numbers are the difference in electronegativity between carbon and the halogen. The C–I bond is the least polar but by far the weakest, and the iodo compound is hydrolysed fastest: its yellow silver iodide precipitate appears first.

energy to break the bond (kJ/mol)485C–F1.43327C–Cl0.61285C–Br0.41213C–I0.11

Two things change as you go down Group 17. The bond becomes less polar, which makes the carbon slightly less attractive to a nucleophile. But the bond also becomes much longer and weaker, from 485 kJ/mol for C–F down to 213 kJ/mol for C–I. The bond strength changes far more, so it wins. The weaker the C–X bond, the faster the reaction.

This explains why fluoroalkanes are so unreactive. The C–F bond is the strongest single bond carbon makes with any halogen, so it hardly ever breaks in these reactions.

Trap 1 — "The most polar bond reacts fastest"

Polarity helps the nucleophile find the carbon, but the C–X bond must still break. Bond strength decides the order: C–I fastest, then C–Br, then C–Cl, with C–F hardly reacting at all.

Trap 2 — Curly arrows that start in the wrong place

A curly arrow starts from a pair of electrons: a lone pair or a bond. In SN2, the first arrow starts at a lone pair on the nucleophile's O, N or C, not at the minus sign, and ends at the δ+ carbon. The second starts at the middle of the C–X bond and ends at X. Never draw an arrow from the carbon to the nucleophile.

Trap 3 — Counting carbons and products wrongly

Cyanide adds one carbon, and hydrolysing the nitrile to an acid keeps that count: one carbon in total, not two. With ammonia, the by-product is ammonium bromide, NH₄Br, because the excess ammonia removes the H⁺. And tertiary halogenoalkanes react by SN1, not SN2.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. There are four structural isomers of C₄H₉Br: 1-bromobutane, 2-bromobutane, 1-bromo-2-methylpropane and 2-bromo-2-methylpropane. Classify each as primary, secondary or tertiary, and say which mechanism you expect when it reacts with hydroxide ions.

    Hint 1

    Draw each one and find the carbon joined to Br.

    Hint 2

    Count the carbons joined to that carbon. In 1-bromo-2-methylpropane, (CH₃)₂CHCH₂Br, the Br carbon is CH₂.

    Full answer

    1-bromobutane, CH₃CH₂CH₂CH₂Br: primary, SN2. 1-bromo-2-methylpropane, (CH₃)₂CHCH₂Br: primary, SN2 (the branch is one carbon away, though it slows the attack a little). 2-bromobutane, CH₃CHBrCH₂CH₃: secondary, often both. 2-bromo-2-methylpropane, (CH₃)₃CBr: tertiary, SN1.

    Check: each formula has 4 C, 9 H and 1 Br. ✓

  2. Write equations, with state symbols where they apply, and name the organic products: (a) 1-iodobutane warmed with aqueous sodium hydroxide; (b) 1-chloropropane heated under reflux with potassium cyanide in ethanol.

    Hint 1

    Swap the halogen for the nucleophile. Everything else stays the same.

    Hint 2

    In (b), count the C of the CN group when naming the nitrile.

    Full answer

    (a) CH₃CH₂CH₂CH₂I(l) + OH⁻(aq) → CH₃CH₂CH₂CH₂OH(aq) + I⁻(aq). Product: butan-1-ol.

    (b) CH₃CH₂CH₂Cl(l) + CN⁻ → CH₃CH₂CH₂CN + Cl⁻ (in ethanol). Product: butanenitrile, four carbons.

    Check: in (b), 3 carbons + 1 carbon = 4, so "butane-" is right. ✓

  3. A student repeats the silver nitrate experiment with 2-chloro-2-methylpropane instead of 1-chlorobutane. The precipitate now appears quickly. Both compounds have a C–Cl bond. Explain the difference.

    Hint 1

    Classify both compounds. Which mechanism does each use?

    Hint 2

    Water is a weak nucleophile. Which mechanism does not need a strong nucleophile?

    Full answer

    1-chlorobutane is primary, so it must react by SN2 with water, a weak nucleophile, and the strong C–Cl bond makes that slow. 2-chloro-2-methylpropane is tertiary. Its C–Cl bond can break on its own, because the tertiary carbocation is stable, and the water then bonds to the carbocation. The nucleophile's weakness does not matter in SN1, so Cl⁻ appears much sooner and white silver chloride forms quickly.

    Check: bond strength sets the order within one type (primary chloro, bromo, iodo); the mechanism can matter even more between types. ✓

  4. A chemist wants butanoic acid, CH₃CH₂CH₂COOH. She starts with 12.3 g of 1-bromopropane (Mr 123.0). Suggest a two-step route. If the first step has an 80% yield and the second a 70% yield, what mass of butanoic acid (Mr 88.1) does she get?

    Hint 1

    The acid has one more carbon than the starting material. Which nucleophile adds one carbon?

    Hint 2

    Moles of 1-bromopropane: . The overall yield is .

    Full answer

    Route: heat with KCN in ethanol to make butanenitrile, CH₃CH₂CH₂CN; then heat the nitrile with acid to make butanoic acid. One carbon is added.

    Moles: mol. Overall yield: , so mol of acid. Mass: g.

    Check: a 100% yield would give g, and 56% of 8.8 g is about 4.9 g. ✓

The bigger idea

The strength of carbon–halogen bonds has shaped the air above you. The alkanes lecture mentioned CFCs, compounds of carbon, chlorine and fluorine once used in refrigerators and sprays. Their C–F and C–Cl bonds are strong, and no nucleophile in the lower air attacks them. So they survive for many years, long enough to drift up into the stratosphere. There, strong ultraviolet light breaks the C–Cl bond, and the chlorine atoms released destroy ozone. The stability that made CFCs safe to use is the same stability that made them dangerous.

Nucleophilic substitution also happens inside living things. Many enzymes work by placing a nucleophile, often an oxygen or sulfur atom in the enzyme, next to a δ+ carbon and pushing out a leaving group. The rules are the ones in this lecture: a lone pair, a δ+ carbon, a group that leaves, and a mechanism decided by how crowded the carbon is.

The next lecture follows the alcohols you made here, and what they in turn can become.

Key concepts in this lesson