The process flow for producing biodiesel from the collection, treatment, and processing of waste cooking oil includes filtration and pretreatment, esterification, neutralization, separation, decolorization and purification, dehydration and deacidification, distillation, and refining. Impurities and water in the oil are separated by heating followed by sedimentation, and glycerol is a co-product.