After adjusting age, sex and BMI, AST ≥ 20 U/L and ALT ≥ 20 U/L showed statistical difference on T2DM incidence (HR 1.118 P = 0.037), while AST ≥ 20 U/L or ALT ≥ 20 U/L showed no statistical difference (HR 1.113 P = 0.109). This evidence concerns the gene GPT and type 2 diabetes mellitus.