Age at first and last birth and the number of children are known to influence the risk of endometrial and ovarian cancers. However, it remains unknown whether the difference in years between first and last childbirth plays a role. The Swedish Family-Cancer Database allowed us to carry out the largest study ever on reproductive factors in these cancers.