Type 2 diabetes is associated with increased risk of certain cancers like liver, pancreas, endometrium, colorectal, breast and bladder cancers. The relationship is complex with factors like reverse causality, detection bias, shared risk factors between diabetes and cancer, and the effects of antidiabetic medications influencing cancer risk. Metformin appears to have a neutral or protective effect on cancer risk while insulin and sulfonylureas may increase risk, though data is still limited. Further research is needed to fully understand the relationship between diabetes, antidiabetic treatments and cancer.