A series of some 2{(4-chlorophenyl)-4-oxoquinazolin-3(4H)-yl]amino}-N-(substituted phenyl) acetamides were synthesized and characterized on the basis of IR, NMR and Mass Spectral (MS) data, the compounds have been subjected to molecular docking studies. The title compounds were subjected to in-vitro antibacterial screening against both the stains viz. Bacillus subtilis, Staphylococcus aureus, Escherichia coli and Pseudomonas aeuroginosa. The binding affinity of the compounds with Sortase A of Staphylococcus aureus protein (1T2W) was analyzed by molecular docking.