Novel quinazoline derivatives were synthesized via the reaction of unsaturated carbonyl compound subsidiaries with 3-aminotriazole. These compounds are convenient and important intermediates for the synthesis of a range of useful and novel heterocyclic compounds. The structures of these compounds were characterized using elemental analysis and IR, 1H NMR and mass spectroscopic methods. They were also tested with respect to their anti-bacterial activity against two types of bacteria, Staphylococcus aureus and Pseudomonas aeruginosa. Significant anti-bacterial activity was observed, and the results indicate the favorable effect of electron-releasing substituents on anti-bacterial activity.