To achieve this, we firstly observed the prevention effects of H2S donor NaHS on LPS-induced depression-like behavior and inflammation in the hippocampus of mice, and then examined mitochondrial function and NLRP3 inflammasome activation in the hippocampus in response to LPS and NaHS pretreatment. The gene discussed is NLRP3; the disease is major depressive disorder.