Using the Swedish Family-Cancer Database, among a total of 1,030,806 women followed from 1993 through 2004, invasive and borderline epithelial ovarian cancer was identified in 3306 and 822 women respectively, with data on family history, reproductive variables, residential region and socioeconomic status. Relative risks and population-attributable fractions (PAFs) were estimated by Poisson regression. The overall PAFs of invasive epithelial ovarian cancer for family history and for reproductive factors were 2.6 and 22.3%, respectively, for serous/seropapillary cystadenocarcinoma (3.0 and 19.1%), endometrioid carcinoma (2.6 and 26.6%), mucinous cystadenocarcinoma (0.5 and 23.9%) and clear-cell carcinoma (2.6 and 73.9%). The corresponding PAFs of borderline tumours due to family history were lower, but higher due to reproductive factors. Family history, low parity and young age at first birth were associated with elevated risks. The risks for women with a family history were among the highest, but these women accounted for the smallest proportion of the cases, giving the lowest PAFs.