A series of highly active and stable Keggin heteropolyacid catalysts were prepared through mixing of 12-tungstophosphoric acid (TPA) with magnesium fluoride (MgF 2 ). Among those acidic catalysts, the Mg 20 F 39 TPA-1.0 hybrid with moderate acidity (0.96 mmol g
À1) and good dispersion of active sites presented pronounced catalytic performance in esterification of oleic acid (up to 95% oleic acid conversion). Particularly, Mg 20 F 39 TPA-1.0 was also efficient for the transesterification of Jatropha oil with a high acid value, giving biodiesel in 93% yield. Moreover, the catalyst showed good durability and reusability for at least five consecutive cycles.