The invention relates to the field of organic chemistry and pharmaceutical chemistry, specifically to a preparation method of topiroxostat. The technical scheme of the preparation method comprises a step I, dissolving a crude product (an oily product) of a compound I in an alcohol solvent or a mixed solution of an alcohol solvent and another solvent, raising the temperature to a reflux temperature, performing stirring and dissolving, slowly dropwise adding water till a few solid is precipitated, performing thermal insulation and stirring, reducing the temperature to 0 DEC C, performing stirring, carrying out cooling for crystallization, and performing filtration and drying to obtain a compound I with high purity; a step 2, adding the compound I obtained in the step I into a mixed solution of toluene and isopropanol, raising the temperature to 80 DEG C for solution, dropwise adding concentrated hydrochloric acid, performing thermal insulation and stirring, performing cooling to reach the room temperature, and performing drying at 60 DEG C to obtain topiroxostat hydrochloride; and a step 3, preparing topiroxostat. According to the preparation method of high-purity topiroxostat, concentrated hydrochloric acid instead of p-toluenesulfonic acid is used, and through purification of the intermediate compound I, the high-purity compound I is obtained, so that high-purity topiroxostat is prepared.