A series of 2‐substitued‐(3‐pyridyl)‐quinazolinone derivatives were synthesized, characterized, and evaluated for bacteriostatic activity against three species of phytopathogenic bacteria (Xanthomonas oryzae pv. oryzae, Xoo, Ralstonia solanacearum, and Xanthomonas axonopodis pv. citri, Xac). Biological evaluation showed that compounds 4b, 4g, 4h, 4l, and 4m exhibited higher antibacterial activity than bismerthiazol, the positive control, under conditions. In particular, compounds 4l and 4m exhibited significant bacteriostatic activity against Xac.