The highest OR estimate was found for BRAF‐mutated colorectal cancer, n = 1086 (ORfully adj: 1.67, 95% confidence intervals [CI]: 1.36‐2.05), with an attenuated association observed between diabetes and colorectal cancer without BRAF‐mutations, n = 7959 (ORfully adj: 1.33, 95% CI: 1.19‐1.48). Here, BRAF is linked to diabetes mellitus.