Oxadiazole pyrrolyl benzamide derivatives (4a-e) and thiadiazole pyrrolyl benzamide derivatives (5a-e) were synthesized by the reaction of 4-(1H-pyrrol-1-yl) benzoic acid with N-(5-(4substituted phenyl)-1,3,4-oxadiazole-2-amines and N-(5-(4-substituted phenyl)-1,3,4-thiadiazole-2-amines, respectively, in N', N'-dimethyl formamide using 2-(1H-benzotriazol-1-yl)-1,1,3,3-tetramethyluronium hexafluorophosphate as amide coupling agent and N', N'-Diisopropylethylamine as a catalyst. All the newly synthesized compounds (4a-e/5a-e) were screened for in vitro antitubercular activity against Mycobacterium tuberculosis H(37)Rv, and compounds 4c, 4d, 5c, and 5d have exhibited significant minimum inhibitory concentration values.