These data demonstrated that P2X4R overexpression markedly improves the spatial memory of T2DM rats. Here, P2RX4 is linked to type 2 diabetes mellitus.