First, we identified a significant nonlinear relationship between the ALT/HDL-C ratio and NAFLD risk. Here, GPT is linked to metabolic dysfunction-associated steatotic liver disease.