An efficient synthesis of imidazo[2,1-b][1,3]benzothiazoles and 9H-imidazo[1,2-a][1,3]benzimidazoles is described from a novel Multicomponent reaction between 2-aminobenzothiazoles or 2-aminobenzimidazole. benzaldehydes, and imidazoline-2,4,5-trione under solvent-free conditions.