The chirality-selective near-infrared emission of surfactant-stabilized single-wall carbon nanotubes could be controlled by simply varying the anion of the commonly used 1-butyl-3-methylimidazolium ionic liquids. This result advances the notion of the designer solvent ability of ionic liquids and provides opportunities for modulating the properties of nanomaterials.