Severity of NAFLD was associated with variations of GC (rs4588), VDR (rs2228570, rs4334089), CYP2R1 (rs10741657), DHCR7 (rs1544410, rs3829251, rs12785878) and CYP24A1 (rs3787557, rs6068816, rs6097809, rs6127119, rs2248359, rs3787554, rs4809960, rs6022999). Here, CYP24A1 is linked to metabolic dysfunction-associated steatotic liver disease.