The invention provides a preparation method of danazol. According to the preparation method of the danazol, androstenedione is used as an initial raw material, through 2-position secondary hydroxymethylation reaction, 17-position carbonyl ethinylation reaction and oximation reaction, the danazol can be prepared, and the 2-position secondary hydroxymethylation reaction and the 17-position carbonylethinylation reaction are completed in one step. The preparation method of the danazol has the advantages of being safe, short in reaction step, high in yield, efficient in reaction and the like, andin the reaction, no flammable and combustible acetylene gas with huge potential safety hazards is used, so that preparation in which potassiumacetylide is replaced by ethynylmagnesium bromide is safer. Meanwhile, the reaction which needs to be completed in four steps before is completed in one step, the reaction is more efficient, meanwhile, operation is simple, and reaction time is short.