Compared to the matched controls, patients with T2DM and MAFLD had higher BMI, TC, TG, FBG, FINS, HbA1c, HOMA-IR, AST, ALT, GGT, TBA, and FFA, and lower HDL-C and HOMA-β (all P < 0.05). Here, GPT is linked to type 2 diabetes mellitus.