A series of Mannich bases were prepared by the reaction of 7-methyl-2-(p-methyl phenyl)imidazo[1,2-a]pyridine (2) with secondary amines and p-formaldehyde in appropriate solvent. The newly synthesized compounds were characterized by elemental analysis, IR, 1H NMR and mass spectra. All the synthesized compounds were tested for their antibacterial activities against Gram positive and Gram negative bacteria, and antifungal activities.