Significance Empirical evidence suggests significant gender differences in the total productivity and impact of academic careers across science, technology, engineering, and mathematics (STEM) fields. Paradoxically, the increase in the number of women academics over the past 60 years has increased these gender differences. Yet, we find that men and women publish a comparable number of papers per year and have equivalent career-wise impact for the same total number of publications. This suggests the productivity and impact of gender differences are explained by different publishing career lengths and dropout rates. This comprehensive picture of gender inequality in academic publishing can help rephrase the conversation around the sustainability of women’s careers in academia, with important consequences for institutions and policy makers.