Therefore, we affirmed that the expression of the P2X7 receptor was negatively associated with BDNF concentration, and gallic acid could alleviate depression via P2X7 receptor downregulation and BDNF elevation. The gene discussed is P2RX7; the disease is major depressive disorder.