Specifically, ECS reduced the expression of inflammatory factors in the hippocampus, inhibited M1 microglial cell polarization, and alleviated depression through the regulation of the NF-κB-NLRP3 inflammation pathway. Here, NFKB1 is linked to major depressive disorder.