In the current investigation, we observed that UB exerted efficient therapeutic activities on depression‐like behaviors, suppressed microglia activation and neuroinflammation, balanced M1/M2 polarization, and restored the abnormal levels of SIRT1 and FOXO1 in the hippocampus. Here, FOXO1 is linked to major depressive disorder.