Meta-analyses identify 13 loci associated with age at menopause and highlight DNA repair and immune pathways.