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. Here, CTSB is linked to congenital rubella syndrome.