Preparation of Haloalkanes and Haloarenes

Haloalkanes and haloarenes almost never occur ready-made in nature in useful amounts — so before you can study how they react, you first have to know how a chemist makes one. This topic is the synthesis half of the unit: turning an ordinary alcohol's −OH-OH group into −X-X, converting a hydrocarbon's −H-H into −X-X, and substituting a hydrogen on the benzene ring with a halogen. The story has a simple thread running through it: which reagent gives the cleanest product, and why. Tertiary alcohols react with plain HCl in minutes; primary alcohols need a catalyst and heat; and one reagent, thionyl chloride, is the professional's choice because its by-products simply evaporate away. Haloarenes, by contrast, cannot be made the alcohol way at all — they need a Lewis acid catalyst to force benzene's electron-rich ring to accept a halogen. Getting these routes straight, and knowing exactly why each one works, is what this article builds.

The core insight

Haloalkanes are made by substituting the −OH-OH of an alcohol (or the −H-H of a hydrocarbon) with a halogen, while haloarenes are made only by electrophilic aromatic substitution of benzene with a Lewis acid catalyst, because the ring's C–X bond cannot form the way an alcohol's C–X bond does.

The core idea

Route 1 — haloalkanes from alcohols (the main route). An alcohol's −OH-OH is replaced by −X-X using one of three reagent families.

R−OH+HX→ZnCl2 (for HCl)R−X+H2OR-OH + HX \xrightarrow{ZnCl_2\ (\text{for HCl})} R-X + H_2O

where: R−OHR-OH is the alcohol, HXHX is a hydrogen halide (HIHI, HBrHBr, or HClHCl with a ZnCl2ZnCl_2 catalyst), and R−XR-X is the haloalkane product. Reactivity of the acid follows HI>HBr>HClHI > HBr > HCl, and reactivity of the alcohol follows 3°>2°>1°3° > 2° > 1° — this order is the chemistry behind the Lucas test used to distinguish alcohol classes. Phosphorus halides (PCl5PCl_5, or PCl3PCl_3/red phosphorus with X2X_2 for bromides and iodides) give cleaner products for many alcohols: 3R−OH+PCl5→3R−Cl+H3PO33R-OH + PCl_5 \rightarrow 3R-Cl + H_3PO_3 (plus POCl3POCl_3 as a companion by-product). The preferred laboratory method, though, is thionyl chloride:

R−OH+SOCl2→pyridineR−Cl+SO2↑+HCl↑R-OH + SOCl_2 \xrightarrow{\text{pyridine}} R-Cl + SO_2\uparrow + HCl\uparrow

where: both by-products, SO2SO_2 and HClHCl, escape as gases, leaving a pure alkyl chloride with no aqueous or solid residue to separate out (the Darzens procedure).

Route 2 — haloalkanes from hydrocarbons. Free-radical halogenation, R−H+X2→hν or ΔR−X+HXR-H + X_2 \xrightarrow{h\nu\ \text{or}\ \Delta} R-X + HX, proceeds through initiation, propagation and termination steps but attacks carbons fairly indiscriminately, giving a mixture of products — useful only for simple, symmetric substrates. Alkenes can also add HXHX (Markovnikov's rule, a Class 11 idea) or X2X_2 across the double bond to give a haloalkane directly.

Route 3 — haloarenes from arenes. Benzene undergoes electrophilic aromatic substitution with a halogen only in the presence of a Lewis acid catalyst:

C6H6+X2→Fe/FeX3C6H5X+HXC_6H_6 + X_2 \xrightarrow{Fe/FeX_3} C_6H_5X + HX

where: the Lewis acid (FeFe, FeCl3FeCl_3, or FeBr3FeBr_3) polarises the halogen molecule to generate the electrophile X+X^+, which the electron-rich benzene ring then attacks. Halogenated benzenes bearing an amino-derived substituent can also be made from diazonium salts (Sandmeyer and Balz–Schiemann reactions) — that route belongs to the Amines unit and is only named here.

Figure
Three preparation routes shown side by side, an alcohol converting to a haloalkane with HX or PCl5 or thionyl chloride, an alkane converting to a haloalkane by free radical halogenation, and benzene converting to a haloarene using a Lewis acid catalyst
Three routes into a halogen-carbon bond R-OH HX or PCl5 or SOCl2 R-X (haloalkane) R-H (alkane) X2, light or heat R-X (mixture) benzene ring X2 with Fe or FeX3 haloarene main exam route not very selective needs a Lewis acid Alcohols and alkanes both give haloalkanes; only arenes give haloarenes. Reactivity of alcohols with HX: 3° greater than 2° greater than 1°. Reactivity of HX: HI greater than HBr greater than HCl. Phenols do not follow the alcohol route — the C-OH bond resists substitution.

Why it works

There is no numerical formula to derive here — the topic is a set of substitution mechanisms — but the reactivity trends have a clean physical explanation worth walking through carefully.

Why tertiary alcohols react fastest with HX. The R−OH+HXR-OH + HX reaction proceeds by protonating the oxygen (turning it into the good leaving group H2OH_2O), then losing water to form a carbocation, which the halide ion then captures. A tertiary carbocation, R3C+R_3C^+, is stabilised by three alkyl groups donating electron density and is comparatively long-lived; a primary carbocation is not stabilised at all and barely forms. This is exactly why tertiary alcohols react with plain HCl at room temperature while primary alcohols need the ZnCl2ZnCl_2 catalyst and heating — the catalyst helps generate a leaving group good enough to compensate for the unstable intermediate.

Why SOCl2SOCl_2 is preferred over HX or PCl5PCl_5. A "clean" preparative reaction is one whose by-products leave the flask on their own. With SOCl2SOCl_2, both by-products (SO2SO_2 and HClHCl) are gases that bubble away, so the alkyl chloride needs no further purification. The PCl5PCl_5 route leaves behind POCl3POCl_3, a liquid that must be separated from the product; the HX route can leave water and excess acid mixed in. Chemists therefore reach for SOCl2SOCl_2 whenever a pure primary or secondary chloride is the goal.

Why free-radical halogenation is a poor synthetic route. Once a chain reaction starts (initiation by light or heat homolysing X2X_2 into radicals), the radical can abstract a hydrogen from any similar carbon in the molecule, not just one preferred site. Every accessible C–H bond becomes a competing site, so the product is a statistical mixture — useful for teaching mechanism, but rarely useful for making one specific haloalkane in good yield.

Why haloarenes need a catalyst but haloalkanes from HX do not. Benzene's ring electrons are delocalised and only moderately reactive; Cl2Cl_2 or Br2Br_2 alone cannot polarise enough to attack it. A Lewis acid catalyst grabs a lone pair from the halogen, pulling electron density away and leaving a strongly electrophilic Xδ+X^{\delta+} end that the ring can attack. Without the catalyst, the electrophile is simply too weak to react. Contrast this with phenol: its −OH-OH is directly attached to the ring, so the oxygen's lone pair conjugates into the ring, giving the C–O bond partial double-bond character. That strengthened bond resists the same substitution alcohols undergo, which is why phenols are not converted to haloarenes by HX or PCl5PCl_5 — direct ring halogenation or a diazonium-salt route is needed instead.

Worked example

Problem. Starting from ethanol, CH3CH2OHCH_3CH_2OH, prepare ethyl chloride using thionyl chloride, then compare how this same alcohol would behave with plain HCl, and finally predict how tert-butyl alcohol would behave differently under the mildest of these conditions.

Step 1 — Write the SOCl2SOCl_2 reaction.

CH3CH2OH+SOCl2→pyridineCH3CH2Cl+SO2↑+HCl↑CH_3CH_2OH + SOCl_2 \xrightarrow{\text{pyridine}} CH_3CH_2Cl + SO_2\uparrow + HCl\uparrow

Pyridine mops up the HClHCl produced, pushing the reaction to completion and avoiding side reactions; both by-products then escape as gases, leaving pure ethyl chloride.

Step 2 — Predict the outcome with plain HCl instead. Ethanol is a primary alcohol, so its carbocation intermediate (were it to form by the HXHX mechanism) would be highly unstable. In practice ethanol reacts only sluggishly with concentrated HCl and needs the ZnCl2ZnCl_2 catalyst (Lucas reagent) plus heating to go to completion — this is markedly slower and messier than the SOCl2SOCl_2 route, which is why SOCl2SOCl_2 is preferred whenever it is available.

Step 3 — Contrast with tert-butyl alcohol under the mildest conditions. (CH3)3C−OH(CH_3)_3C-OH reacts with concentrated HCl alone, at room temperature, with no catalyst needed at all, because protonation and loss of water generates the relatively stable tertiary carbocation (CH3)3C+(CH_3)_3C^+, which chloride ion then captures:

(CH3)3C−OH+HCl→room temperature(CH3)3C−Cl+H2O(CH_3)_3C-OH + HCl \xrightarrow{\text{room temperature}} (CH_3)_3C-Cl + H_2O

Step 4 — State the conclusion. The reactivity order 3°>2°>1°3° > 2° > 1° for alcohols with HX, and the preference for SOCl2SOCl_2 with primary/secondary alcohols, are two faces of the same idea: pick the reagent whose mechanism suits the stability of the intermediate (or by-product profile) for that class of alcohol. Ethanol gives clean ethyl chloride fastest via SOCl2SOCl_2; tert-butyl alcohol gives tert-butyl chloride instantly with plain HCl alone.

Common traps

  • Treating phenols like alcohols. Phenol's C–OH bond has partial double-bond character from ring conjugation and resists HX/PCl5PCl_5 substitution; haloarenes come from direct ring halogenation or diazonium salts, never from phenol plus HX.
  • Forgetting the Lewis acid catalyst for ring halogenation. Plain Cl2Cl_2 or Br2Br_2 does not react with benzene; only FeFe, FeCl3FeCl_3, or FeBr3FeBr_3 generates the electrophile X+X^+ needed.
  • Applying one set of HX conditions to all alcohols. Primary alcohols typically need ZnCl2ZnCl_2/heat; tertiary alcohols react instantly at room temperature — the reactivity order 3°>2°>1°3° > 2° > 1° must be stated, not assumed away.
  • Assuming free-radical halogenation is a good synthetic method. It gives a mixture of mono- and poly-halogenated isomers except for very simple, symmetric substrates, so it is rarely the preferred preparative route.

Ask the tutor: Want to walk through why each reagent's by-products determine whether it is the "preferred" method, or test yourself on predicting the right route for a given alcohol?

Why does tert-butyl alcohol react with HCl so much faster than ethanol does

Because the reaction goes through a carbocation intermediate, and stability of that intermediate controls the rate. Tert-butyl alcohol forms the tertiary carbocation (CH3)3C+(CH_3)_3C^+, stabilised by three electron-donating alkyl groups, so it reacts with plain HCl at room temperature. Ethanol would have to form an unstable primary carbocation, so in practice it barely reacts by that pathway at all and needs the ZnCl2ZnCl_2 catalyst plus heat to proceed by a modified route. This 3°>2°>1°3° > 2° > 1° order is also the basis of the Lucas test.

Can I use PCl5 instead of SOCl2 whenever I need an alkyl chloride

You can, and it works for many alcohols, but the product is not as clean. The PCl5PCl_5 reaction leaves POCl3POCl_3 behind as a liquid by-product, which must be separated from your alkyl chloride, whereas SOCl2SOCl_2's by-products (SO2SO_2 and HClHCl) are gases that leave on their own. When purity matters and equipment is available, chemists default to SOCl2SOCl_2; PCl5PCl_5 remains a valid alternative when SOCl2SOCl_2 is not on hand.

Why can't I just add HX to benzene the way I add it to an alkene

Because benzene's ring is aromatic and stabilised by delocalised electrons across all six carbons, so it strongly resists reactions that would break that delocalisation, including simple addition. The ring instead undergoes substitution, keeping the aromatic system intact, and even that substitution needs a Lewis acid catalyst to generate a strong enough electrophile from X2X_2. An ordinary alkene has no such stabilisation, so it adds HXHX readily by Markovnikov's rule — a genuinely different mechanism from what benzene undergoes.

Before this

Where this leads