The Williamson reaction is of broad scope, is widely used in both laboratory and industrial synthesis, and remains the simplest and most popular method of preparing ethers. Both symmetrical and asymmetrical ethers are easily prepared. The intramolecular reaction of halohydrins in particular, gives epoxides.
In the case of asymmetrical ethers there are two possibilities for the choice of reactants, and one is usually preferable either on the basis of availability or reactivity. The Williamson reaction is also frequently used to prepare an ether indirectly from two alcohols. One of the alcohols is first converted to a leaving group (usually tosylate), then the two are reacted together.
The alkoxide (or aroxide) may be primary, secondary or tertiary. The alkylating agent, on the other hand is most preferably primary. Secondary alkylating agents also react, but tertiary ones are usually too prone to side reactions to be of practical use. The leaving group is most often a halide or a sulfonate ester synthesized for the purpose of the reaction. Since the conditions of the reaction are rather forcing, protecting groups are often used to pacify other parts of the reacting molecules (e.g. other alcohols, amines, etc.)