Serum 25(OH)D3 was negatively associated with alanine aminotransferase (ALT) in NAFLD. This evidence concerns the gene GPT and metabolic dysfunction-associated steatotic liver disease.