This innovative research has revealed the antidepressant and anti-anxiety effects of Xiaoyaosan through its effect on endotoxin metabolism disorder caused by intestinal flora and the excessive activation of the NLRP3 inflammasome. This evidence concerns the gene NLRP3 and Anxiety.