The present invention provides an ergosterol compound, a preparation method therefor, and an application thereof. A molecular formula of the ergosterol compound is C28H44O, a molecular weight is 396.34, and a molecular structure is: (3R,9R,10S,13S,14S,17S)-17-((2S,5R,E)-5,6-dimethylheptyl-3-allyl-2-group)-10,13-dimethyl-2,3,4,9,10,11,12,13,14,15,16,17-dodecahydro-1H-cyclopenta[α]phenanthrene-3-alcohol), which is a brand new chemical structure. The molecule comes from cordyceps militaris. The compound and a crystal thereof are obtained through crushing, extraction, concentration, isolation, and crystallization of cordyceps militaris fruiting body, have an efficient anti-tumor effect and a brand new structure, and are very likely to be developed into new anti-tumor drugs.La présente invention concerne un composé ergostérol, son procédé de préparation et une application associée. Une formule moléculaire dudit composé ergostérol est C28H44O, sa masse moléculaire est de 396,34, et sa structure moléculaire est : (3R,9R,10S,13S,14S,17S)-17-((2S,5R,E)-5,6-diméthyl-heptyl-3-allyl-2-groupe)-10,13-diméthyl-2,3,4,9,10,11,12,13,14,15,16,17-dodécahydro-1H-cyclopenta[α]phénanthrène-3-alcool), qui est une toute nouvelle structure chimique. La molécule provient de cordyceps militaris. Le composé et un cristal associé sont obtenus par broyage, extraction, concentration, isolement, et cristallisation dun corps fructifère de cordyceps militaris, présentent un effet antitumoral efficace et une toute nouvelle structure, et seront très probablement développés en de nouveaux médicaments antitumoraux.