A series of some novel 1,2,4-triazol-5(4H)-one derivatives were designed and synthesized under microwave irradiation via multistep reaction. The structures of 1,2,4-triazoles were confirmed by 1H NMR, MS, FTIR, and elemental analysis. The antifungal activities of 1,2,4-triazoles were determined. The antifungal activity results indicated that the compounds 5c, 5f, and 5h exhibited good activity against Pythium ultimum, and the compounds 5b and 5c displayed good activity against Corynespora cassiicola. Theoretical calculation of the compound 5c was carried out with B3LYP/6-31G (d). The full geometry optimization was carried out using 6-31G(d) basis set, and the frontier orbital energy and electrostatic potential were discussed, and the structure-activity relationship was also studied.