In the univariable analysis, we found that elevated serum afamin levels were significantly associated with an increased risk of NAFLD (OR: 1.287, 95% CI: 1.167–1.419; P < 0.001). Here, AFM is linked to metabolic dysfunction-associated steatotic liver disease.