Genetic variants close to genes that encode crucial enzymes for the synthesis (DHCR7 rs12785878), metabolism (CYP2R1 rs2060793) and degradation (CYP24A1 rs6013897) of vitamin D have been associated with serum levels of vitamin D. The aim of this case-control study was to determine the effect of these variants in the vitamin D pathway on the susceptibility to thyroid cancer. The gene discussed is CYP24A1; the disease is thyroid cancer.