In conclusion, our data supported that EZH2 targeted miR-29b-3p expression by promoting H3K27me3 level to elevate MMP2 transcription and trigger microglia M1-type polarization, so as to exacerbate depression-like behaviors and neuroinflammation in depression rats. The gene discussed is EZH2; the disease is major depressive disorder.