Metformin, TZDs, DDP-4i, and possibly SGLT-2 inhibitors significantly reduced the risk and incidence of dementia in patients with T2DM. Here, SLC5A2 is linked to dementia.