This study is aimed at investigating the effect of gallic acid on the comorbid visceral pain and depression and determining whether gallic acid could affect the expression of the P2X7 receptor. The gene discussed is P2RX7; the disease is major depressive disorder.