The invention relates to a method for synthesizing triazolol, which comprises reacting methyl halide and dimethyl sulfoxide at 0-120°C for 1-48 hours; adding solid base and 2,4'-difluorobenzophenone, the temperature Control at 0-80°C, react for 1-25h; add triazole, control the temperature at 50-200°C, react for 1-20h, after the reaction, filter, remove the solvent, wash, and crystallize to obtain the triazole . Dimethyl sulfoxide in the present invention is not only used as a reaction raw material, but also as a solvent, which avoids the difficulty of separation of mixed solvents, and dimethyl sulfoxide and methyl halide replace the dimethyl sulfoxide that has a large environmental pressure in the prior art. Sulfur ether and highly toxic chemical dimethyl sulfate, so that the present invention is environmentally friendly. In addition, the present invention has mild reaction conditions, short reaction time, high yield, high product quality, low discharge of three wastes, and only produces a single inorganic salt , thus the present invention has high production capacity and good economic efficiency.