The gut microbiota of NLRP3 KO mice regulated astrocyte dysfunction via circHIPK2, attenuating depressive-like behaviors and providing a novel strategy for the treatment of depression. Here, NLRP3 is linked to major depressive disorder.