L. formosensis, isolated from the livers of mice colonized with microbiota from patients with depression, played pivotal roles in the disruption of intestinal epithelial integrity and overactivation of NLRP3 in the liver. Here, NLRP3 is linked to major depressive disorder.