Increasing evidence has underscored the significance of post-stroke alterations along gut–brain axis, while its role in pathogenesis and treatment of ischemic stroke (IS) remains largely unexplored. This study aimed to elucidate the therapeutic effects and action targets of Panax notoginseng saponins (PNS) on IS and explore a novel pathogenesis and treatment strategy of IS via profiling the microbial community and metabolic characteristics along gut–brain axis. Our findings revealed for the first time that the therapeutic effect of PNS on IS was microbiota-dependent. Ischemia/reperfusion (I/R) modeling significantly down-regulated Lactobacilli in rats, and PNS markedly recovered Lactobacilli, particularly Lactobacillus reuteri (L.Reu). Metabolomics showed a significant reduction in serum histidine (HIS) in clinical obsolete IS patients and rehabilitation period I/R rats. Meanwhile, the L.Reu colonization in I/R rats exhibited significant neuroprotective activity and greatly increased HIS in serum, gut microbiota, and brain. Moreover, exogenous HIS demonstrated indirect neuroprotective effects through metabolizing to histamine. Notably, vagus nerve severance in I/R rats was performed to investigate HIS's neuroprotective mechanism. The results innovatively revealed that PNS could promote HIS synthesis in gut by enhancing L.Reu proportion, thereby increasing intracerebral HIS through peripheral pathway. Consequently, our data provided novel insights into HIS metabolism mediated by L.Reu in the pathogenesis and treatment of IS.