Taken together, our findings demonstrated that pyroptosis plays a crucial role in depression, and Sal ameliorates depression by suppressing the P2X7/NF-κB/NLRP3-mediated pyroptosis. Here, NLRP3 is linked to depressive symptom measurement.