The presence of relatively abundant bedded sulfate deposits before 3.2 Ga and after 1.8 Ga, the peak in iron formation abundance between 3.2 and 1.8 Ga, and the aqueous geochemistry of sulfur and iron together suggest that the redox state and the abundances of sulfur and iron in the hydrosphere varied widely during the Archean and Proterozoic. We propose a layered hydrosphere prior to 3.2 Ga in which sulfate produced by atmospheric photolytic reactions was enriched in an upper layer, whereas the underlying layer was reduced and sulfur-poor. Between 3.2 and 2.4 Ga, sulfate reduction removed sulfate from the upper layer, producing broadly uniform, reduced, sulfur-poor and iron-rich oceans. As a result of increasing atmospheric oxygenation around 2.4 Ga, the flux of sulfate into the hydrosphere by oxidative weathering was greatly enhanced, producing layered oceans, with sulfate-enriched, ironpoor surface waters and reduced, sulfur-poor and iron-rich bottom waters. The rate at which this process proceeded varied between basins depending on the size and local environment of the basin. By 1.8 Ga, the hydrosphere was relatively sulfate-rich and iron-poor throughout. Variations in sulfur and iron abundances suggest that the redox state of the oceans was buffered by iron before 2.4 Ga and by sulfur after 1.8 Ga. Crown