Depression aggravates immune‐mediated hepatitis through disruption of intestinal barrier integrity and overactivation of hepatic NLRP3 inflammasome. Here, NLRP3 is linked to major depressive disorder.