In vitro experiments showed that XNJ significantly improved the neurological function of tMCAO mice, reduced the size of cerebral infarction, decreased the permeability of blood-brain barrier (BBB), downregulated the expressions of TLR4, MyD88, and NF-kappa B in the ischemic site, and upregulated the expressions of occludin and ZO-1 in the colon. This evidence concerns the gene MYD88 and cerebral infarction.