These results demonstrated that diabetes could cause cognitive dysfunction in rats and DPP-4 inhibitor saxagliptin could alleviate such cognitive dysfunction symptoms caused by diabetes. This evidence concerns the gene DPP4 and diabetes mellitus.