ObjectivesTo explore the population-based risk factors for genital herpes in women and examine whether genital herpes occurs at higher rates in women diagnosed with cervical neoplasia and common urogenital infections.MethodsAn open cohort study consisting of 4,097,075 women ≥15 years of age in Sweden (2002-2018). The outcome was genital herpes diagnosis. The predictor variables were sociodemographic factors (age, educational level, family income, region of residence, and country of origin) and urogenital comorbidities (cervical carcinoma neoplasia, cystitis, vaginosis, and vulvovaginitis) and parity. National registers and primary health care data were used. Cox regression models were used to estimate hazard ratios with 95% confidence intervals. Interactions tests were conducted.ResultsA total of 15,727 women received a genital herpes diagnosis in inpatient and outpatient specialist care settings during the study period. Sociodemographic factors and parity were associated with genital herpes. than women without these comorbidities.ConclusionsGenital herpes occurs with higher rates in women of high family income, young age, Swedish origin, co-occurrence of urogenital comorbidities, and nulliparity. The findings can be used by clinicians when encountering women with these risk factors.