In the quest for abundant, renewable alternatives to fossil fuels, scientists have sought to harvest the sun’s energy through “water splitting,” an artificial photosynthesis technique that uses sunlight to generate hydrogen fuel from water. But water-splitting devices have yet to live up to their potential because there still isn’t a design for materials with the right mix of optical, electronic, and chemical properties needed for them to work efficiently.