NOVELTY - Method for extracting phytosterol from residual biodiesel, involves adding 10-12 %mass aqueous sodium methoxide to the biodiesel residue in kettle, heating and stirring the mixture, adding fatty acid methyl ester in alcohol solution, stirring the mixture, esterifying the mixture, performing secondary distillation of the filtrate, vacuum distilling the filtrate, performing distillation of the filtrate, vacuum distilling the filtrate, diluting the filtrate, heating and dissolving the filtrates, cooling the filtrate, and drying the purified phytosterols.    USE - The method is useful for extracting phytosterol from residual biodiesel (claimed).    ADVANTAGE - The method removes impurities, and prepares 80% phytosterol having purity of 95%.    DETAILED DESCRIPTION - Method for extracting phytosterol from residual biodiesel, involves (a) adding 10-12 %mass aqueous sodium methoxide to the biodiesel residue in kettle, heating and stirring the mixture at 65-75 degrees C, performing alcoholysis reaction and adding 60% methanol and 70% aqueous solution of sodium, (b) adding fatty acid methyl ester in alcohol solution, stirring the mixture at 65-75 degrees C, adding concentrated sulfuric acid in the stirred mixture, performing esterification reaction to the mixture in the reactor, adding 0.5-1 times fatty acid methyl ester to the biodiesel residue and 5 mg/g potassium hydroxide and adding 10-15% concentrated sulfuric acid to the above-mentioned mixture, (c) esterifying the mixture to 60-80 degrees C, neutralizing the mixture and filtering the mixture, (d) performing primary distillation of the filtrate at 150-170 degrees C, vacuum distilling the filtrate at less than or equal to 8000 Pa, performing secondary distillation of the filtrate at 175-185 degrees C, vacuum distilling the filtrate at less than or equal to 70 Pa, performing tertiary distillation of the filtrate at 200-215 degrees C, vacuum distilling the filtrate at less than or equal to 10 Pa, performing quaternary distillation of the filtrate at 225-235 degrees C and vacuum distilling the filtrate at less than or equal to 5 Pa, where the first-stage molecular distillation, second-stage molecular distillation, third stage molecular distillation and fourth stage molecular distillation are distilled using distiller and have feed rate of 0.3 l/m2 and heating area of 0.4 l/m2, (e) mixing the fractions of filtrates, diluting the filtrate by adding 8-12 %mass mixed fatty acid methyl ester to the filtrates, heating and dissolving the filtrates, cooling the filtrate to 5-10 degrees C and subjecting the cooled filtrate to pressure filtration to obtain crude sterols, and (f) washing the crude sterols using ethanol and drying the purified phytosterols.