Transesterification is the process of exchanging the organic functional 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.[1] Strong acids catalyze the reaction by donating a proton to the carbonyl group, thus making it a more potent electrophile. Bases catalyze the reaction by removing a proton from the alcohol, thus making it more nucleophilic. The reaction can also be accomplished with the help of enzymes, particularly lipases (one example is the lipase E.C.3.1.1.3[2]).

If the alcohol produced by the reaction can be separated from the reactants by distillation this will drive the equilibrium toward the products. This means that 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.
Mechanism
In the transesterification mechanism, the carbonyl carbon of the starting ester reacts to give a tetrahedral intermediate, which either reverts back 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. Depending on reaction conditions ester hydrolysis and/or esterification will also occur, which results in some amount of free carboxylic acid being present.
Applications
Polyesters
The largest scale application of transesterification is in the synthesis of polyesters.[3] In this application, diesters undergo transesterification with diols to form macromolecules. For example, dimethyl terephthalate and ethylene glycol react to form polyethylene terephthalate and methanol. These polymer-producing transesterifications proceed via formation of many intermediates, such as 2-hydroxyethyl methyl terephthalate.[4]
Another transesterification relevant to PET, the polymer is susceptible to methanolysis to recover dimethyl terephthalate:[5]


