Abstract A novel method is described for the one-pot synthesis of various ionic liquids in a competitive time. By using ultrasonic irradiation, different families of nitrogen-bearing ionic liquids can be obtained in a solvent-free or in aqueous medium, which gives a greener touch to the overall process.