NAFLD with higher levels of ALT was associated with lower levels of BMD (beta coefficient: −0.023, 95% CI: −0.044, −0.002). Here, GPT is linked to metabolic dysfunction-associated steatotic liver disease.