ICH can induce gut microbiota dysbiosis, and inhibition of the NLRP3 inflammasome can relieve brain edema and attenuate corticospinal tract injury by changing the bacterial community structure in ICH patients. Here, NLRP3 is linked to brain edema.