A general, high yielding procedure is described for the esterification of carboxylic acids through carboxylate alkylation in phosphonium salt ionic liquid. © 2005 Elsevier Ltd.