Overall, these data provide novel insights into the central mechanisms of chronic visceral pain and suggest that targeting microglial P2RY12 signaling could be harnessed to relieve pain in patients with IBD who are in remission. Here, P2RY12 is linked to inflammatory bowel disease.