Today, life on Earth depends on the availability of free oxygen, whether in the atmosphere, oceans, or aquatic systems. However, oxygen concentrations were low and variable for most of the first four billion years of Earth’s history. In this web focus we bring together a collection of research and review articles and opinion pieces tracing the origins of oxygenic photosynthesis and the factors that allowed oxygen to accumulate in the oceans and atmosphere.