Preparation by Alcohols: By using alcohol, we can very easily prepare Haloalkane as when R-OH is reacted with a suitable reagent it will form R-X. The following reagents will help in the formation of the reactions:
Halogen Acids (HX)
Thionyl chloride (SOCl2)
Phosphorous halides (PX5 or PX3)
Preparation by Free Radical Halogenation: The formation of alkyl bromides and alkyl chloride is very much possible with the help of free radical halogenation, but as these radicals are highly reactive and non-specific in nature, they can result in the formation of a mixture of products. Though, it's not a preferred method for the preparation of haloalkanes. For example, free radical chlorination can result in the formation of a number of haloalkanes, which in turn makes it difficult to set apart a single product.
Preparation by Alkenes: An electrophilic addition reaction can be used to transform an alkene into a haloalkane as alkene will react with HX to form R-X.