When a nucleophile and an alkyl halide react, nucleophilic substitution and β-elimination reactions compete to generate products.
The following factors can influence the mechanisms competing against each other:
Thus, depending upon the relative rate of the unimolecular or bimolecular reaction, a mixture of products is generally obtained.
To predict the major and minor products use the following table: