Using 2-methylimidazole as resources, it is obtained by nitration and methyl esterification. Dissolve 40 g of urea in 100 mL of water, and also add 40 mL of focused nitric acid to obtain remedy I. Managing the temperature level to be less than 50 ° C, slowly adding 70 g of 2-methylimidazole to 200 mL of industrial sulfuric acid to get service II. The option II was slowly poured into the remedy I, positioned at area temperature level for 24 hr, then heated up to 80 ° C with stirring for 2 hrs, and also heated up to 110 ° C for 0.5 hours. After cooling to 80 ° C, 200 mL of focused nitric acid was included dropwise, the temperature was raised to 120 ° C, and also the response was mixed for 2 h. Ultimately, the excess nitric acid was evaporated below 150 ° C. Cool to 40 ℃, dilute with 400mL water, adjust pH=3.5-4.0 with ammonia water. It was cooled to area temperature, filteringed system, cleaned with water as well as additionally dried to get 83.8 g of 2-methyl-5-nitroimidazole (melting point 248-250 ° C )with a yield of 77.3%.Add 50 g of the above item and 60 mL of 85% formic acid to the three-necked flask, heat to 80 ° C, dropwise include 60 g of dimethyl sulfate [( CH3)2SO4] within 30 minutes, and after that respond for 0.5 h. Then vaporize the solvent, include 50 mL of water, distill the recurring acid, consist of 50 mL of water, as well as adjust the pH=2.5 with ammonia water. Fantastic to location temperature level, filter, as well as additionally completely dry the filter residue to get 12.4 g of unreacted 2-methyl-5-nitroimidazole. After the filtrate was decolorized with activated carbon, ammonia water was contributed to readjust the pH to 6-7, filteringed system, cleaned and dried to obtain 29.3 g of the product (melting point 138-140 ° C) with a return of 70.3%. The total yield was 54.3%.