Seawater electrolysis for hydrogen production is limited by the poor salinity tolerance of catalysts. CoP was found to repel chlorine while attracting H2O molecules to form a thin layer on the catalyst surface, thus constructing a corrosion-resistant CoP/rGO@Ti catalyst for seawater splitting.