Stratified analysis by sex revealed that cumulative methylation status of CYP24A1 at significant CpG sites was associated with a decreased risk of colorectal cancer in both males and females, which was consistent with the primary analysis (Pinteraction = 0.17). Here, CYP24A1 is linked to colorectal cancer.