The esterification of the free fatty acids (FFA) of the CPO was carried out using triethylammonium hydrogensulfate (Et3NHSO4) as the pre-catalyst in the first stage, in which the acid value was reduced from 6.98 to 1.24 mg KOH/g of oil followed by the use of KOH-catalyzed transesterification in the second stage.