The development of molecular and nanoscale assemblies that are capable of performing logic-gate functions has attracted significant interest aimed at novel approaches to information storage and processing.[1] Among other strategies, research has focused on novel types of photoelectrochemical devices, as their output can be controlled by selective stimulation with light; photons are considered the most efficient agent for driving the communication between chemical logic gates.[2] Of particular interest are photoelectrodes that exhibit wavelength-dependent switching of the photocurrent direction, as these could be exploited for information processing controlled simply by photons of different energy. [3, 4] Observations of wavelength-dependent changes in photocurrent direction have been reported for several different systems, such as metal-chlorophyll-metal sandwich cells, [5] gold electrodes covered with helical peptides containing various chromophores, [6] polymer multilayers, [3] and a ruthenium complex linked to viologen and a palladium phthalocyanine derivative.[7] Bilayers or core-shell composites of organic polymers and TiO 2 , [8] as well as TiO 2 modified with Fe II complexes [4,9] or with a ruthenium cluster dye also show these effects.[10]Herein we report the fabrication and characterization of a novel photoelectrode that exhibits unusually sharp wavelength-controlled switching of photocurrent direction. The electrode is a hybrid assembly of two inorganic nanocrystalline semiconductors-nitrogen-modified TiO 2 (TiO 2 -N, an ntype semiconductor) and CuI (p-type)-deposited on conducting indium-tin oxide (ITO) glass. Figure 1 shows a crosssectional view of the electrode with CuI nanocrystals randomly distributed in the interpore space of a densely packed pressed layer of nanocrystalline TiO 2 -N. The atomic ratio of Ti/Cu as measured by energy-dispersive X-ray analysis was 2.0 AE 0.1.Figure 2 a shows photocurrent transients for different wavelengths under intermittent irradiation recorded at 0.18 V vs. NHE. Whereas cathodic photocurrents are observed at wavelengths up to 410 nm, the direction of the photocurrent changes sharply to anodic above 420 nm. The incident-photon-to-current efficiencies (IPCE) exhibit cathodic and anodic maxima at 400 nm and 430 nm, respectively (Figure 2 a, inset). The switching behavior was observed in the potential range from 0 to 0.25 V vs. NHE and the four-cycle repetition experiment (Figure 2 b) reveals excellent stability of the photocurrent response.