This article contributes to the search for new therapeutic agents for treatment of diseases caused by bacterial pathogens. In this study, a new series of compounds incorporating numerous bioactive moieties such as quinazolin-2,4-dione, acylthiourea linkage, and/or five membered nitrogen heterocycles (pyrazole and oxazole) 2-5a-c was described to identify new antibacterial drug candidates via inhibition of DNA gyrase enzyme. The precursor N-[N'-(2-cyano-acetyl)-hydrazinocarbothioyl]-4-(2,4-dioxo-1,4-dihydro-2H-quinazolin-3-yl)-benzamide 2 was prepared by treatment of compound 1 with ammonium thiocyanate and cyanoacetic acid hydrazide through multicomponent reaction (MCR). In addition, compounds 3a-d and 4a-b were synthesized by treatment of 2 with aromatic aldehydes and/or ketones through Knoevenagel reaction, affording high purity products in satisfactory yields. Moreover, new heterocyclic moieties such as pyrazole and/or oxazole attached to quinazolin-2,4-dione core 5a-c were synthesized by treatment of 3c with different nucleophilic reagents like hydrazine, phenyl hydrazine and hydroxyl amine, respectively. Subsequently, the obtained products were structurally characterized by IR, 1H-, 13C-NMR, and MS analyses. The minimum inhibitory concentration (MIC) and antibacterial potency of all compounds were estimated against two G-ve (E. coli and P. aeruginosa), and two G+ve bacteria (B. subtilis and S. aureus). Encouragingly, compound 3c demonstrated the best antibacterial activity against all the strains of the tested pathogenic bacteria at low concentrations compared with the standard drug, Ciprofloxacin. Electron withdrawing groups such as -NO2 and -Cl enhance the antibacterial activity. Next, a molecular docking study between the synthesized derivatives and the target enzyme, DNA gyrase enzyme (PDB: 2xct) was undertaken to investigate intermolecular interactions between the compounds and target enzyme.