The aim of this study was to investigate the correlation of candidate SNPs in vitamin D and calcium pathway genes (CYP2R1, CYP24A1, and CYP27B1) with the risk of NAFLD among Chinese Han population. The gene discussed is CYP24A1; the disease is metabolic dysfunction-associated steatotic liver disease.