In summary, our results suggested that diabetes was associated with breast cancer risk in the Chinese population, which may be modified by genetic variations of IL-6 rs1800796 and HSPD1 rs2605039. This evidence concerns the gene HSPD1 and diabetes mellitus.