Starting from malonic acid and methylurea,3-methyl-6-chlorouracil was obtained via cyclization and halogenating reaction with overall yield of 61.5%.3-Methyl-6-chlorouracil was the key intermediate of a drug of treating typeⅡdiabetes named Alogliptin.