Several covalent strategies towards surface chargereversal in nanochannels have been reported with the purpose of manipulating ion transport. However, covalent routes lack dynamism, modularity and post-synthetic flexibility, and hence restrict their applicability in different environments. Here, we introduce a facile non-covalent approach towards chargereversal in nanochannels (<10 nm) using strong charge-transfer interactions between dicationic viologen (acceptor) and trianionic pyranine (donor). The polarity of ion transport was switched from anion selective to ambipolar to cation selective by controlling the extent of viologen bound to the pyranine. We could also regulate the ion transport with respect to pH by selecting a donor with pH-responsive functional groups. The modularity of this approach further allows facile integration of various functional groups capable of responding to stimuli such as light and temperature to modulate the transport of ions as well as molecules. © 2014 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim.