Because BDNF/TrkB signaling pathway plays an important role in enhanced learning and memory, the restoration of protein expression of BDNF and p-TrkB by celecoxib may account for the protective role of COX-2 inhibition in diabetes-associated memory and learning deficit. Here, PTGS2 is linked to diabetes mellitus.