Logistic regression results showed that HOMA-IR ≥ 3.54 and ALT ≥ 18.2 were independently associated with NAFLD (P < 0.001) and MAFLD (P ≤ 0.001). Here, GPT is linked to metabolic dysfunction-associated steatotic liver disease.