A protic ionic liquid, when entrapped in cationic reverse micelles, can be used as a suitable solvent for a bimolecular nucleophilic substitution reaction.