The pathophysiological process of intracerebral hemorrhage (ICH) is very complex, involving various mechanisms such as apoptosis, oxidative stress and inflammation. As one of the key factors, the inflammatory response is responsible for the pathological process of acute brain injury and is associated with the prognosis of patients. Abnormal or dysregulated inflammatory responses after ICH can aggravate cell damage in the injured brain tissue. The NOD-like receptor family pyrin domain-containing 3 (NLRP3) inflammasome is a multiprotein complex distributed in the cytosol, which can be triggered by multiple signals. The NLRP3 inflammasome is activated after ICH, thus promoting neuroinflammation and aggravating brain edema. In addition, there is evidence that the gut microbiota is crucial in the activation of the NLRP3 inflammasome. The gut microbiota plays a key role in a variety of CNS disorders. Changes in the diversity and species of the gut microbiota affect neuroinflammation through the activation of the NLRP3 inflammasome and the release of inflammatory cytokines. In turn, the gut microbiota composition can be influenced by the activation of the NLRP3 inflammasome. Thereby, the regulation of the microbe–gut–brain axis via the NLRP3 inflammasome may serve as a novel idea for protecting against secondary brain injury (SBI) in ICH patients. Here, we review the recent evidence on the functions of the NLRP3 inflammasome and the gut microbiota in ICH, as well as their interactions, during the pathological process of ICH.