Constant upward trends in mortality rates were also observed for pancreatic, liver, and lung cancer at all ages, colorectal cancer at most ages, breast cancer at younger ages, and prostate and endometrial cancer at older ages. Compared with the general population, people with type 2 diabetes had a more than 1.5-fold increased risk of colorectal, pancreatic, liver, and endometrial cancer mortality during the whole study period.