Remarkably stable gold nanoparticles functionalized with a zwitterionic liquid based on imidazolium sulfonate in a high concentration of aqueous electrolyte and ionic liquid.