The efficient photoinduced electron transfer from a stilbene derivative incarcerated within a negatively charged organic nanocapsule to positively charged acceptors (methyl viologen and a pyridinium salt) adsorbed outside and the back electron transfer were controlled by supramolecular effects. © 2012 Royal Society of Chemistry.