These findings suggest that cyclooxygenase-2-dependent mechanisms may play a role in the development of postoperative mood disorders, possibly via modulation of peripheral effects on neuroinflammation. Here, PTGS2 is linked to mood disorder.