In summary, our study confirms the established association between diabetes and colorectal cancer risk and suggests that it especially increases the risk of BRAF‐mutated tumors. This evidence concerns the gene BRAF and diabetes mellitus.