The risk for endometrial cancer is negatively associated with increasing number of children and increasing age at first as well as age at last birth. Weaker associations are found for ovarian cancer. Age at last birth is the factor that shows highest influence. A large difference in first and last childbirth shows a protective effect on the risk of endometrial cancer.