Our analysis shows that increasing the age at first birth is associated with a substantial decline in gender wage gaps: postponing first birth by a year reduces the gap by around 15%. In order to establish causality, we propose a novel instrument that exploits international variation in approval of oral contraceptives (the pill). Our estimates are consistent with a model of statistical discrimination where employers offer lower wages to women to hedge the expected costs associated with childbearing and childrearing.