In conclusion, XMZS exerts neuroprotective effects against cerebral ischemia-reperfusion injury by modulating the TLR4/MYD88/NF-κB pathway, thereby attenuating microglia-mediated neuroinflammation. This evidence concerns the gene TLR4 and Cerebral ischemia.