A hybrid TiO2-Ag nanocluster (NC) photoelectrode demonstrates unique wavelength-switchable photocurrent. By simply tuning the light wavelength from ultraviolet (UV) to visible light, the photocurrent generated on a single electrode can be switched from anodic to cathodic current, in which the Ag NCs behave like a new type of visible light active photocatalyst.