Preparation of haloalkanes

A haloalkane never has to be built from scratch — it is almost always made by swapping something already on a carbon skeleton for a halogen. Start from an alkane and you strip off a hydrogen with light and Cl2Cl_2 or Br2Br_2. Start from an alkene and you add HXHX straight across the double bond. Start from an alcohol and you replace the −OH-OH with −X-X using PX3PX_3, PCl5PCl_5 or SOCl2SOCl_2. Start from another haloalkane and you trade one halogen for a better one (Finkelstein, Swarts). Start from a carboxylic acid salt and you lose a whole carbon as CO2CO_2 while gaining a halogen (Hunsdiecker). Unit 6 of the ISC syllabus expects all five routes cold — the reagent, the balanced equation, and why one reagent beats another for a given job. That last question — reagent choice — is where most marks are actually lost, and it is the focus of this article.

The core insight

Haloalkanes are prepared by substituting a halogen for a hydrogen (alkane), adding it across a double bond (alkene), replacing an −OH-OH group (alcohol), exchanging one halogen for another (Finkelstein, Swarts), or expelling CO2CO_2 from a silver carboxylate (Hunsdiecker) — and the reagent chosen in each case is decided by which by-products are easiest to remove.

The core idea

Route 1 — alkane to haloalkane (free-radical halogenation). Alkanes are unreactive to almost everything except halogens under UV light or heat, which trigger a free-radical chain reaction:

CH4+Cl2→hνCH3Cl+HClCH_4 + Cl_2 \xrightarrow{h\nu} CH_3Cl + HCl

where: hνh\nu denotes the light energy that homolyses Cl2Cl_2 into two Cl∙Cl^\bullet radicals, which then abstract an H from the alkane. Because every C-H bond in the molecule is a potential target, this route gives a mixture of mono-, di- and polyhalogenated products and is rarely used to make a single pure haloalkane on purpose, except when the starting alkane has only one kind of hydrogen (e.g. CH4CH_4, or neopentane).

Route 2 — alkene to haloalkane (electrophilic addition of HXHX). Alkenes add HXHX across the C=CC=C bond. For an unsymmetrical alkene, Markovnikov's rule decides which carbon gets the halogen: H adds to the carbon that already carries more hydrogens, and X adds to the more substituted carbon (because that pathway goes through the more stable carbocation intermediate). HBrHBr alone, in the presence of peroxides, reverses this outcome and goes anti-Markovnikov through a free-radical chain (the Kharasch effect) — this exception is specific to HBr and does not occur with HCl or HI, whose radical steps are respectively too slow or thermodynamically unfavourable.

Route 3 — alcohol to haloalkane. This is the workhorse route, because alcohols are cheap and widely available. Three reagents do the same overall job, −OH→−X-OH \to -X, but leave different by-products behind: PX3PX_3 gives phosphorous acid, PCl5PCl_5 gives phosphoryl chloride and HClHCl gas, and SOCl2SOCl_2 (thionyl chloride, in the Darzens process) gives only gaseous SO2SO_2 and HClHCl, both of which simply bubble out of the flask.

Route 4 — halide exchange. An existing haloalkane can be converted to a different haloalkane of the same carbon skeleton. The Finkelstein reaction swaps Cl or Br for I using NaINaI in dry acetone; the Swarts reaction swaps Cl or Br for F using a metal fluoride such as AgFAgF, Hg2F2Hg_2F_2, CoF2CoF_2 or SbF3SbF_3.

Route 5 — Hunsdiecker reaction. A silver salt of a carboxylic acid, refluxed with Br2Br_2 in dry CCl4CCl_4, loses CO2CO_2 and gains a bromine, shortening the chain by exactly one carbon:

R-COOAg+Br2→CCl4, ΔR-Br+CO2↑+AgBr↓R\text{-}COOAg + Br_2 \xrightarrow{CCl_4,\ \Delta} R\text{-}Br + CO_2\uparrow + AgBr\downarrow

where: R-COOAgR\text{-}COOAg is the dry silver salt of the fatty acid, and the driving force is the escape of CO2CO_2 gas together with the precipitation of insoluble AgBrAgBr, both of which pull the reaction to completion.

Figure
Five arrows converging on a central haloalkane box from alkane alkene alcohol haloalkane and silver carboxylate starting materials each labelled with its characteristic reagent
Five routes into a haloalkane R–X alkane R–H Cl2 or Br2, hv alkene C=C HX addition alcohol R–OH PX3, PCl5, SOCl2 R–Cl or R–Br NaI or AgF R-COOAg Br2, CCl4, loses CO2 Same product box, five different starting points and five different reagents

Why it works

Every one of these five routes ends the same way — a carbon is left bonded to a halogen — but the paths differ because each starting material offers a different "leaving" event, and the reagent is picked to make that event as clean as possible. In alcohol-to-haloalkane conversion, the underlying step is substitution at the carbon bearing −OH-OH: the reagent's job is to convert the poor leaving group OH−OH^- into a good leaving group before substitution happens. PCl5PCl_5 and PX3PX_3 do this by forming an intermediate ester-like species that departs as phosphorus-containing by-products, while SOCl2SOCl_2 forms a chlorosulfite intermediate that collapses to release SO2SO_2 and Cl−Cl^- directly at the carbon. The reason SOCl2SOCl_2 is preferred in the laboratory is not that its mechanism is fundamentally different — it is that both of its by-products, SO2SO_2 and HClHCl, are gases. They leave the flask on their own, so the alkyl chloride needs no separation from a solid or liquid contaminant, unlike the POCl3POCl_3 left behind by PCl5PCl_5 or the H3PO3H_3PO_3 left behind by PX3PX_3. In halide exchange, Finkelstein and Swarts are pulled forward by the same trick in opposite directions: Finkelstein removes Cl−Cl^- or Br−Br^- from solution as an insoluble precipitate (NaClNaCl or NaBrNaBr) in dry acetone, so the equilibrium is dragged toward the iodide product even though iodide is not intrinsically a "stronger" nucleophile in every sense — it is simply that removing a product forces the reaction onward (Le Chatelier's principle applied to a substitution equilibrium). Swarts instead exploits the very strong C−FC-F bond that forms, which is thermodynamically more stable than the C−ClC-Cl or C−BrC-Br bond it replaces, so metal fluorides drive the exchange in the fluorine direction. In the Hunsdiecker reaction, the driving force is decarboxylation: the carboxylate radical formed after bromine attacks the silver salt is unstable and rapidly loses CO2CO_2 to give a carbon-centred radical, which then abstracts a bromine atom from Br2Br_2. Because the lost fragment is exactly the −COOAg-COOAg group, the alkyl halide product always has one carbon fewer than the starting acid — this chain-shortening is the diagnostic feature of the reaction, not an accident.

Worked example

Starting from propan-1-ol, show how the same −OH→−Cl-OH \to -Cl conversion looks with three different reagents, then use ethanoic acid to make bromomethane by the Hunsdiecker reaction, and state which alcohol route is cleanest and why.

Step 1. Convert propan-1-ol using PCl5PCl_5: CH3CH2CH2OH+PCl5→CH3CH2CH2Cl+POCl3+HClCH_3CH_2CH_2OH + PCl_5 \rightarrow CH_3CH_2CH_2Cl + POCl_3 + HCl. Both POCl3POCl_3 (a liquid) and HClHCl (a gas) form, so the product must be separated from residual POCl3POCl_3.

Step 2. Convert the same alcohol using PCl3PCl_3: 3 CH3CH2CH2OH+PCl3→3 CH3CH2CH2Cl+H3PO33\,CH_3CH_2CH_2OH + PCl_3 \rightarrow 3\,CH_3CH_2CH_2Cl + H_3PO_3. Here H3PO3H_3PO_3 is a solid/liquid by-product that again needs separation from the alkyl chloride.

Step 3. Convert the same alcohol using SOCl2SOCl_2 with a trace of pyridine: CH3CH2CH2OH+SOCl2→CH3CH2CH2Cl+SO2↑+HCl↑CH_3CH_2CH_2OH + SOCl_2 \rightarrow CH_3CH_2CH_2Cl + SO_2\uparrow + HCl\uparrow. Both by-products are gases and escape the reaction vessel unaided, so the 1-chloropropane collected needs no further purification from solid or liquid contaminants — this is why SOCl2SOCl_2 is the reagent of choice.

Step 4. Now start the Hunsdiecker sequence from ethanoic acid. First form the silver salt: CH3COOH+AgOH→CH3COOAg+H2OCH_3COOH + AgOH \rightarrow CH_3COOAg + H_2O. Then reflux the dry salt with bromine in CCl4CCl_4: CH3COOAg+Br2→CCl4, ΔCH3Br+CO2↑+AgBr↓CH_3COOAg + Br_2 \xrightarrow{CCl_4,\ \Delta} CH_3Br + CO_2\uparrow + AgBr\downarrow. Ethanoic acid has two carbons; the product CH3BrCH_3Br has one, because the −COOAg-COOAg carbon leaves as CO2CO_2 — exactly the one-carbon shortening rule for Hunsdiecker. Answer: of the three alcohol routes, SOCl2SOCl_2 gives the purest 1-chloropropane because both its by-products are gases, and the Hunsdiecker sequence on ethanoic acid gives bromomethane, one carbon shorter than the starting acid.

Common traps

  • Applying Markovnikov's rule to HBrHBr addition without checking for peroxides — only HBrHBr (not HClHCl or HIHI) switches to anti-Markovnikov via the Kharasch radical mechanism.
  • Treating free-radical halogenation of alkanes as a clean, single-product method — it gives a mixture unless the alkane has only one type of hydrogen, unlike the alcohol routes.
  • Swapping Finkelstein (halide →\to iodide, NaINaI/dry acetone) with Swarts (halide →\to fluoride, metal fluorides) — same reaction type, opposite target halogen.
  • Miscounting carbons in a Hunsdiecker product — it always has one fewer carbon than the starting acid because the carboxyl carbon leaves as CO2CO_2.
  • Forgetting to dry the alcohol before adding PCl5PCl_5 or SOCl2SOCl_2 — trace moisture reacts with these reagents first and lowers the yield of the alkyl halide.

Ask the tutor: Want to practice choosing the right reagent for a specific alcohol-to-haloalkane conversion, or work through more Hunsdiecker chain-shortening examples?

Why can't I just use PCl5 every time an alcohol needs to become a chloroalkane?

You can, and it works — but PCl5PCl_5 leaves behind liquid POCl3POCl_3 as well as gaseous HClHCl, so the alkyl chloride you collect is contaminated with phosphorus by-products that must be separated by distillation or washing. SOCl2SOCl_2 avoids this entirely because both of its by-products, SO2SO_2 and HClHCl, are gases that leave on their own. PCl5PCl_5 is still a perfectly correct answer on an exam if the question only asks for the equation, but if asked which reagent gives the purest product, SOCl2SOCl_2 is the expected answer.

Does free-radical halogenation of alkanes ever get asked as a preparation method, given that it gives mixtures?

Yes, it is listed in the syllabus and you should be able to write its equation and mechanism outline, but you should also be ready to explain its limitation: because every C-H bond in a typical alkane is a potential site of attack, the reaction usually gives mono-, di- and polyhalogenated products together. It is a genuine preparation route only when the alkane has just one kind of hydrogen, such as methane or neopentane, where there is nothing to compete for.

How do I remember which halide-exchange reaction gives which product, Finkelstein versus Swarts?

Anchor it to the reagent's own element: Finkelstein uses sodium iodide, so it makes an iodide; Swarts uses a metal fluoride (AgFAgF, Hg2F2Hg_2F_2, CoF2CoF_2, SbF3SbF_3), so it makes a fluoride. Both start from an alkyl chloride or bromide, both are exchange reactions, and both are driven forward by removing a product from the mixture — Finkelstein by precipitating NaClNaCl/NaBrNaBr out of dry acetone, Swarts by forming a stronger C−FC-F bond than the C−ClC-Cl or C−BrC-Br bond it replaces.

Before this

Where this leads