These findings suggest that the CYP450-sEH pathway as a potential therapeutic target for cognitive decline in T2DM. Here, EPHX2 is linked to type 2 diabetes mellitus.