The IVs, utilized to estimate the causal effect of ALT on T2DM with DR, showed limited heterogeneity in the IVW (p = 0.308) and MR-Egger model (p = 0.297). Here, GPT is linked to type 2 diabetes mellitus.