BACKGROUND: A growing body of evidence suggests that diabetes is a risk factor for endometrial cancer incidence. However, most of these studies used case-control study designs and did not adjust for obesity, an established risk factor for endometrial cancer. In addition, few epidemiological studies have examined the association between diabetes treatment and endometrial cancer risk. The objective of this study was to assess the relationships among diabetes, diabetes treatment and endometrial cancer risk in postmenopausal women participating in the Women's Health Initiative (WHI). METHODS: A total of 88 107 postmenopausal women aged 50-79 years who were free of cancer and had no hysterectomy at baseline were followed until date of endometrial cancer diagnosis, death, hysterectomy or loss to follow-up, whichever came first. Endometrial cancers were confirmed by central medical record and pathology report review. Multivariate Cox proportional hazards regression models were used to estimate hazard ratios (HRs) (95% confidence interval (CI)) for diagnosis of diabetes and metformin treatment as risk factors for endometrial cancer. RESULTS: Over a mean of 11 years of follow-up, 1241 endometrial cancers developed. In the primary analysis that focused on prevalent diabetes at enrolment, compared with women without diabetes, women with self-reported diabetes, and the subset of women with treated diabetes, had significantly higher risk of endometrial cancer without adjusting for BMI (HR=1.44, 95% CI: 1.13-1.85 for diabetes, HR=1.57, 95% CI: 1.19-2.07 for treated diabetes). However after adjusting for BMI, the associations between diabetes, diabetes treatment, diabetes duration and the risk of endometrial cancer became non-significant. Elevated risk was noted when considering combining diabetes diagnosed at baseline and during follow-up as time-dependent exposure (HR=1.31, 95% CI: 1.08-1.59) even after adjusting for BMI. No significant association was observed between metformin use and endometrial cancer risk. CONCLUSIONS: Our results suggest that the relationship observed in previous research between diabetes and endometrial cancer incidence may be largely confounded by body weight, although some modest independent elevated risk remains.