These results demonstrated that melatonin could alleviate CRS-induced hippocampal microglia pyroptosis by inhibiting Cathepsin B/NLRP3 signaling pathway, thereby improving depression-like behaviors in rats. The gene discussed is NLRP3; the disease is major depressive disorder.