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. Here, MMP2 is linked to depressive symptom measurement.