In the multivariable analysis, serum afamin levels remained significantly and positively associated with the risk of NAFLD (OR: 1.289, 95% CI, 1.141–1.456; P < 0.001). Here, AFM is linked to metabolic dysfunction-associated steatotic liver disease.