According to the ROC analysis, the TyG index was superior to its components and ALT in diagnosing NAFLD. Here, GPT is linked to metabolic dysfunction-associated steatotic liver disease.