When in ester is placed in a large excess of an alcohol along with presence of either an acid or a base there can be an exchange of alkoxy groups. The large excess of alcohol is used to drive the reaction forward. The most common method of transesterification is the reaction of the ester with an alcohol in the presence of an acid catalyst eg: