A series of novel 5-amino-7-aryl-7,8-dihydro-[1,2,4] triazolo[4,3-a]-pyrimidine-6-carbonitriles were synthesized by a one-pot reaction of 3-amino-1,2,4-triazole, malononitrile and aryl aldehydes in the presence of 20 mol% NaOH in ethanol under heating or ultrasonic irradiation. The structures of the target compounds were confirmed by inspection of their 1H- NMR, 13C-NMR, IR and MS spectra. The advantages of this method are short reaction times, good yields, high selectivity and operational simplicity.