Step 1. 250 mmol of dimethyl carbonate was slowly added to a mixture containing 50 mmol of 1,2,4-triazole and 12.5 mmol of sodium carbonate under nitrogen protection to form a suspension. Subsequently, the reaction system was heated to 120 °C and refluxed with stirring at this temperature for 16 hours. After completion of the reaction, the volatile components were removed under reduced pressure. The residue was washed with chloroform and filtered to remove insoluble impurities. The filtrate was concentrated by rotary evaporation to give 4.74 g of 4-methyl-1,2,4-triazole as a colorless liquid.