Preparation of EthersSimple ethers can be prepared by acid-catalyzed intermolecular dehydration of alcohols.
An ether can also be prepared by the nucleophilic substitution of an alkyl halide by an alkoxide. The reaction is an example of SN2 reaction. The reaction is called Williamson ether synthesis (Sample reaction 25-2).
It is best to use primary alkyl halides in this type of reaction. Other halides most likely undergo elimination rather than substitution reaction.