Lesson 12 · Section 07
Making Ethers: Williamson Synthesis
Deprotonate an alcohol with NaH to make an alkoxide, then let that alkoxide attack an alkyl halide. The alkoxide is the nucleophile, the halide is the electrophile, and the mechanism is plain SN2.

Since it is SN2, the halide has to be methyl or primary. A tertiary halide blocks backside attack, and since the alkoxide is also a strong base, you get E2 elimination and an alkene. The fix for a crowded target is always the same, which is to swap the roles. To make tert-butyl methyl ether, use tert-butoxide as the nucleophile and methyl iodide as the electrophile.
