Background and aimsRecent studies have shown that intestinal flora are involved in the pathological process of ischemic stroke (IS). The potential protective effect of the traditional Chinese prescription, Tao Hong Si Wu Decoction (THSWD), against inflammatory injury after IS and its underlying mechanisms of action were investigated in the current study.MethodsFifty SPF(Specefic pathogen Free) male C57 mice were randomly assigned to sham operation, model, THSWD low-dose (6.5 g/kg), medium-dose (13 g/kg) and high-dose (26 g/kg) groups (10 mice per group). Mouse models of transient middle cerebral artery occlusion were prepared via thread embolism. Neurological function score, hematoxylin-eosin (HE) staining, immunohistochemistry, enzyme-linked immunosorbent assay (ELISA), 16S ribosomal DNA (rDNA) sequencing, quantitative reverse transcription PCR (qRT-PCR) and other methods were employed to elucidate the underlying molecular mechanisms.ResultsNotably, THSWD induced a reduction in the neurological function score (P < 0.01) and neuronal injury in brain tissue, increase in protein expression of Claudin-5 and zonula occludens-1 (ZO-1) in brain tissue(P < 0.01), and decrease in serum lipopolysaccharide (LPS)(P < 0.01), diamine oxidase (DAO)(P < 0.01) and D-lactic acid(P < 0.01, P < 0.05) levels to a significant extent. THSWD also inhibited the levels of tumor necrosis factor-α (TNF-α)(P < 0.01) and interleukin − 1β (IL-1β)(P < 0.01) in brain tissue, and increased alpha and beta diversity in ischemic stroke mice, along with a certain reversal effect on different microflora. Finally, THSWD inhibited the polarization of microglia cells(P < 0.01) and decreased the protein and gene expression of toll-like receptor-4 (TLR-4)(P < 0.01, P < 0.05) and nuclear factor kappa B (NF-κB)(P < 0.01) in brain tissue.ConclusionOur data indicate that THSWD may interfere with inflammatory response in ischemic stroke by regulating intestinal flora and promoting intestinal barrier repair.