Comparing to T2DM mice, knocking down Pdpn in astrocytes extended the latency and decreased the number of errors in T2DM mice, showing improved memory impairment. Here, PDPN is linked to type 2 diabetes mellitus.