In modern drug designing, molecular docking is routinely used for understanding drug-receptor interaction. In the present study six imidazole derivatives containing substituted pyrazole moiety (2a,b and 4a–d) were synthesized. Structures of the newly synthesized compounds were characterized by spectral studies. Compounds were screened for their antibacterial activity. Compound 4c was found to be potent antimicrobial against Pseudomonas aeruginosa at concentrations of 1 and 0.5 mg/mL compared to standard drug Streptomycin. All the compounds were subjected to molecular docking studies for the inhibition of the enzyme l-glutamine: d-fructose-6-phosphate amidotransferase[GlcN-6-P] (EC 2.6.1.16). The in silico molecular docking study results showed that, all the synthesized compounds having minimum binding energy and have good affinity toward the active pocket, thus, they may be considered as good inhibitor of GlcN-6-P synthase