In conclusion, our results supported that high serum VD levels and VDR variants (rs2228570-A and rs11168287-A) might be involved in a low risk of NAFLD in the Chinese Han population, and a combination of VDR SNP and exercise time could improve the efficiency in assessment of NAFLD risk. Here, VDR is linked to metabolic dysfunction-associated steatotic liver disease.