The -OH group of an alcohol can be replaced by a halogen atom to make a halogenoalkane. Different reagents are used for each halogen.Chloroalkanes: phosphorus(V) chloride
PCl5 reacts with alcohols at room temperature:C2H5OH + PCl5 → C2H5Cl + POCl3 + HCl Ethanol gives chloroethane. The misty (steamy) fumes of hydrogen chloride given off are also used as a test for an -OH group. Tertiary alcohols can also be converted into chloroalkanes simply by shaking with concentrated hydrochloric acid at room temperature.Bromoalkanes: potassium bromide and 50% concentrated sulfuric acid
The acid reacts with KBr to make hydrogen bromide in situ (in the reaction mixture), which then reacts with the alcohol:KBr + H2SO4 → KHSO4 + HBr
C2H5OH + HBr → C2H5Br + H2O The acid is diluted to about 50% because concentrated sulfuric acid would oxidise some HBr to bromine.Iodoalkanes: red phosphorus and iodine
The alcohol is heated under reflux with red phosphorus and iodine, which react to make phosphorus(III) iodide, PI3, in situ:3C2H5OH + PI3 → 3C2H5I + H3PO3 In each case the halogenoalkane is separated and purified afterwards, usually by distillation.
PCl5 reacts with alcohols at room temperature:
The acid reacts with KBr to make hydrogen bromide in situ (in the reaction mixture), which then reacts with the alcohol:
The alcohol is heated under reflux with red phosphorus and iodine, which react to make phosphorus(III) iodide, PI3, in situ: