APOE and type 2 diabetes mellitus: We revealed in the present study through correlation and mediation analyses that ApoE ε4 can lead to cognitive impairments in T2DM patients by elevating GSK‐3β activity.