In this study, cognitive function was significantly impaired in the T2DM mice; aerobic exercise improved cognitive impairment through activating the AMPK/SIRT1 signalling pathway and inhibiting the JAK2/STAT3 signalling pathway in T2DM mice. The gene discussed is JAK2; the disease is type 2 diabetes mellitus.