Cumulative incidence of T2DM was more than 5% when ALT and AST ≥ 20U/L, age over 44, male sex or BMI over 25.39 kg/m2; The risk of T2DM incidence increased as the BMI grow. Here, GPT is linked to type 2 diabetes mellitus.