The application discloses a synthesis method of 7-dehydrocholesterol and 25-hydroxy-7-dehydrocholesterol, which comprises the following steps: taking cholesterols as raw materials, and synthesizing the 7-dehydrocholesterol through oxidation,
enol esterification and reduction reaction; or taking 25-hydroxycholesterols as raw materials, and synthesizing the 25-hydroxy-7-dehydrocholesterol through oxidation,
enol esterification, reduction and
hydrolysis reaction. The synthesis
route is short, the yield is high, the industrial production is facilitated, and the method has a wide application prospect.