Organolead halide perovskite solar absorbers demonstrate high photovoltaic efficiencies but they are notorious for their intolerance to water. Now, methylammonium lead iodide perovskites are used to harvest solar energy — in water — via photocatalytic generation of hydrogen from solutions of hydriodic acid.