We identified a non-linear relationship of ALT, AST, and GGT with T2D after controlling for potential confounding factors. This evidence concerns the gene GPT and type 2 diabetes mellitus.