Cadmium sulfide was popularly utilized as a light harvesting material for photoelectrochemical (PEC) water splitting, however, the drawback of poor durability limits its practical application. Herein, we show that a catalytically active and chemically inert cadmium indium sulfide (CdIn2S4) can improve the stability and even photocurrent of a CdS photoelectrode.