Inhibiting the expression of P2Y12 in the mPFC alleviated visceral pain and depression in IBD mice, weakened the activation of microglia, and reduced the expression of IL-1β in the mPFC. The gene discussed is P2RY12; the disease is depressive disorder.