The relationship between the ALT/HDL-C ratio and the risk of developing NAFLD was assessed using the Cox proportional-hazards regression model, Cox proportional hazards regression with cubic spline functions and smooth curve fitting, sensitivity analysis, and subgroup analyses. Here, GPT is linked to metabolic dysfunction-associated steatotic liver disease.