Eighteen new pyrrolylbenzamide derivatives (6a-6r) were synthesized by reacting N-(2,5-dimethyl- 1H-pyrrol-1-yl)-4-(2-hydrazineyl-2-oxoethoxy)benzamide (4) with substituted benzoic acids (5a-5r) in the presence of 2-(1H-benzotriazole-1-yl)-1,1,3,3-tetramethyluronium hexafluorophosphate, diisopropyl ethylamine and dimethyl formamide. The produced compounds were subjected to molecular docking studies against the dihydrofolate reductase (DHFR) and InhA mycobacterial enzymes. The compounds were biologically screened for antimycobacterial, and antibacterial activities along with InhA and DHFR enzyme inhibition studies. The compounds were also analyzed for ADMET parameters. The compounds 6j, 6l, 6q, and 6r exhibited good antitubercular activity, and compounds 6j, 6l, 6q, and 6r were effective against the Gram-negative Escherichia coli strain. The compounds 6b, 6f, 6j, 6l, and 6q showed good InhA inhibition and compounds 6b, 6c, 6j, 6l, and 6q were effective against DHFR enzyme. Among the synthesized compounds 6j and 6l exhibited promising antitubercular, antibacterial, and effective InhA and DHFR enzyme inhibition values.. KEYWORDS :Benzamide, Dimethylpyrrole, Antimycobacterial activity, Antibacterial activity.