The prevalence of cognitive dysfunction in diabetic patients is high, which seriously affects the quality of life of patients, and early intervention is of great significance. Central nervous system insulin resistance plays a key role in the pathogenesis of cognitive dysfunction in diabetic patients. Central insulin resistance observed by functional magnetic resonance imaging (fMRI), may serve as an alternative endpoint for assessing cognitive function. Sodium glucose cotransporter 2 inhibitor (SGLT2i) may improve cognitive impairment by improving central insulin resistance.