Altogether, EZH2 silencing palliated neuroinflammation in depression rats by eliciting microglia M2-type polarization. Here, EZH2 is linked to depressive symptom measurement.