These findings suggest that estrogen’s effects on depression are mediated by its activation of specific signaling pathways, including ERα/SIRT1/NF-κB and AMPK/NF-κB, in microglia and astrocytes. Here, ESR1 is linked to depressive symptom measurement.