Abstract. Nitrogen-containing heterocyclic compounds become main trend of chemical materials gradually due to its structure diversification, high selectivity, low toxicity and other environmentalfriendly characteristics. Meanwhile, it is very important in pharmaceutical research and development. Wherein, people pay more and more attention to pyrazole compounds because of its wide utility, strong efficiency and other features. In the paper, 4-cyano-5-aminopyrazole derivatives 3, synthesized by the condensation of hydrazine and methylene malononitrile, cyclocondensation with aldehyde catalyzed by NaOH to provide pyridopyrimidinone derivatives. The structures of compounds 4 were represented by IR, 1 H NMR, 13 C NMR and MS.