A convenient and practical catalytic method for the preparation of caffeic acid esters is reported. This esterification was carried out with high efficiency in the presence of ytterbium triflate in nitromethane without any other auxiliary reagents. The wide scope of application and especially the higher reactivity and more convenient procedure than previous methods make it a valuable application for the synthesis of caffeic acid esters and other cinnamic acid esters.