Our findings revealed that the HFS diet-induced T2D rats either exposed to EE or treated with metformin had high percentages of T-maze tasks, high serum BDNF and high percentages of hippocampal neuron survival in CA1 and CA3. Here, BDNF is linked to type 2 diabetes mellitus.