A surfactant has a polar head and non-polar tail (or vice versa), one of which adsorbs to a nanoparticle, while the non-polar tail (or polar head) sticks out into the carrier medium, forming an inverse or regular micelle, respectively, around the particle.