A method for the regiospecific synthesis of rapamycin 42-ester derivatives is described. The method involves lipase-catalyzed acetylation of 42-hydroxy of rapamycin with an acyl donor such as a vinyl ester, an isopropenyl ester or an anhydride in a suitable organic solvent.