5-[(2-Methyl-1H-benzimidazol-1-yl)methyl]-1,3,4-oxadiazole-2-thiol or 5-[(2-methyl-1H-benzimidazol-1-yl)methyl]-4-(4-methylphenyl)-1,2,4-triazol-3-thiol which were prepared starting from 2-methylbenzimidazole in the reaction with appropriateN-aryl-2-chloroacetamides afforded two series ofN-aryl-2-{5-[(2-methyl-1H-benzimidazol-1-yl)methyl]-1,3,4-oxadiazol-2-yl}sulfanylacetamides andN-aryl-2-{5-[(2-methyl-1H-benzimidazol-1-yl)methyl]-4-(4-methylphenyl)-4H-1,2,4-triazol-3-ylthio}acetamides, respectively. The structures of the compounds were elucidated on the basis of IR, MS,1H-NMR, and13C-NMR spectral data. The compounds containing 1,3,4-oxadiazole or 1,2,4-triazole heterocycle also were tested for their antimicrobial activity against bacteria, mold, and yeast.