Conclusion: Our study suggests that increased ratio of global O-GlcNAcylation to tau phosphorylation at Thr212 site in the whole blood is associated with decreased risk of MCI, especially with better memory function in T2DM subjects. Here, MAPT is linked to type 2 diabetes mellitus.