Infertility is considered to influence the risk of breast cancer and gynecologic cancers. To assess this association, the authors used data from a large cohort of 54,362 women with a diagnosis of infertility who were referred to Danish fertility clinics between 1963 and 1998. Through 2003, 1,975 cancers were identified by linkage to the Danish Cancer Registry. Cancer risk was assessed through standardized incidence ratios (SIRs) and corresponding 95% confidence intervals, using general and parity-specific cancer incidence rates in the general population of Denmark as a reference. After adjustment for parity status, significantly increased SIRs were observed for breast (SIR = 1.08, 95% confidence interval: 1.01, 1.16) and ovarian (SIR = 1.46, 95% confidence interval: 1.24, 1.71) cancer. The risk of breast cancer increased with follow-up time. Similar risk patterns were observed for the different histologic types of breast cancer and all nonmucinous types of ovarian cancer, whereas the risk of mucinous ovarian cancers seemed not to be increased. These data thus suggest higher risks of breast and ovarian cancer among infertile women. However, since these results could not distinguish the effects of underlying infertility from the effects of fertility treatment, additional studies are needed to disentangle the effects of these two factors.