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. This evidence concerns the gene EZH2 and depressive symptom measurement.