In summary, the results of this study found that the microglia, astrocytes, and NLRP3 inflammasome pathways were activated during the occurrence and development of depression, and DHC had a significant inhibitory effect on their activation. Here, NLRP3 is linked to major depressive disorder.