Solar water splitting provides a promising path for sustainable hydrogen production and solar energy storage. One of the greatest challenges towards large-scale utilization of this technology is reducing the hydrogen production cost. The conventional electrolyzer architecture, where hydrogen and oxygen are co-produced in the same cell, gives rise to critical challenges in photoelectrochemical water splitting cells that directly convert solar energy and water to hydrogen. We overcome these challenges by separating the hydrogen and oxygen cells.