A series of imidazole based compounds were synthesized by reacting simple imidazoles with alkyl halides or alkyl halocarboxylate in presence of tetrabutylammonium bromide (TBAB). The compounds bearing carbethoxy group undergo amidation with different amines in the presence of DBU to give respective carboxamides. The synthesized compounds were screened against Mycobacterium tuberculosis where compound 17 exhibited very good in vitro antitubercular activity and may serve as a lead for further optimization.