In organic chemistry, transesterification (/ˌtrænzˌɛstərɪfɪˈkeɪʃən/) is the process of exchanging the organic group R″ of an ester with the organic group R′ of an alcohol. These reactions are often catalyzed by the addition of an acid or base catalyst. The reaction can also be accomplished with the help of enzymes (biocatalysts) particularly lipases (E.C.3.1.1.3).
Strong acids catalyse the reaction by donating a proton to the carbonyl group, thus making it a more potent electrophile, whereas bases catalyse the reaction by removing a proton from the alcohol, thus making it more nucleophilic. Esters with larger alkoxy groups can be made from methyl or ethyl esters in high purity by heating the mixture of ester, acid/base, and large alcohol and evaporating the small alcohol to drive equilibrium.
In the transesterification mechanism, the carbonyl carbon of the starting ester (RCOOR1) undergoes nucleophilic attack by the incoming alkoxide (R2O−) to give a tetrahedral intermediate, which either reverts to the starting material, or proceeds to the transesterified product (RCOOR2). The various species exist in equilibrium, and the product distribution depends on the relative energies of the reactant and product.