Attenuation of hippocampal excitotoxicity by increasing GLT‐1 in hippocampal astrocytes could effectively prevent postoperative cognitive dysfunction in T2DM mice. Here, SLC1A2 is linked to type 2 diabetes mellitus.