Preoperative swimming exercise upregulates SIRT2 and PGC‐1α expression in hippocampal neurons, activating mitochondrial biogenesis, preserving mitochondrial function, and improving postoperative cognitive outcomes in T2DM rats. This evidence concerns the gene SIRT2 and type 2 diabetes mellitus.