Electrochemical polarization can reshape the chemistry of sensitized nickel oxide surfaces. XPS and electrochemical measurements show how Erythrosin B affects iodide and triiodide adsorption, surface passivation and dye retention in a model photocathode interface.