Cox regression analysis adjusted for metastasis, age of diagnosis, stage (IIIB, IV or IVB), ECOG score (2–4), lymph node involvement, adjuvant chemotherapy, and no family history of CRC showed that the VDR ApaI (p = 0.036), CYP24A1 rs6068816 (p < 0.001), and GC rs7041 (p = 0.006) were associated with OS in patients diagnosed with CRC, and CYP24A1 rs6068816 (p < 0.001) was associated with PFS adjusted for metastasis, age of diagnosis, stage (IIIB, IV or IVB), ECOG score (2–4), lymph node involvement, adjuvant chemotherapy, and no primary tumor resection. The gene discussed is CYP24A1; the disease is colorectal carcinoma.