Williamson Ether Synthesis

In the Williamson ether synthesis, alkoxide ion acts as an SN2 nucleophile upon a primary alkyl halide forming an ether. Williamson ether synthesis can be used to form asymmetrical ethers. The mechanism will not work upon secondary or tertiary alkyl halides because of competition from the E2 mechanism, which would form an alkene.