Baseline AST and ALT were associated with incident type-2 diabetes mellitus (HR 1.019, 95% CI 1.006–1.032, p = 0.003 and HR 1.016, 95% CI 1.008–1.025, p < 0.001 respectively). Here, GPT is linked to type 2 diabetes mellitus.