Patients with a diabetes history of ≥ 7 years prior to breast cancer diagnosis had a lower risk of TNBC and HER2-positive subtypes, but a higher frequency of ER- and PR-positive tumors and grade I tumors. This evidence concerns the gene ERBB2 and breast cancer.