The fully-adjusted Cox proportional hazard model revealed that the AST/ALT ratio was negatively associated with the risk of diabetes in prediabetic patients (HR = 0.40, 95% CI: 0.33 to 0.48, P < 0.001). This evidence concerns the gene GPT and diabetes mellitus.