ETHNOPHARMACOLOGICAL SIGNIFICANCE: Shuanglu tongnao formula (SLTNF) has been clinically proven to have significant efficacy in the treatment of Ischemic stroke (IS), and is a promising formula for IS treatment. Still, the underlying mechanism is not clear. Whether SLTNF ameliorates ischemic brain injury by reversing the pro-inflammatory microenvironment after IS is an interesting field of investigation. AIM OF THE STUDY: Based on the result of network pharmacology and single-cell RNA sequencing (scRNA-seq), whether SLTNF mitigates cerebral ischemia/reperfusion (I/R) injury by reversing the pro-inflammatory microenvironment was investigated in vivo for the first time. MATERIALS AND METHODS: The mice middle cerebral artery occlusion (MCAO) model was established to induce focal cerebral I/R. Subsequently, the remission effects of SLTNF treatment for cerebral I/R injury were evaluated in the MCAO model. scRNA-seq data was used to analyze the immune microenvironment after IS in mice. scRNA-seq and Network pharmacology were applied to predict the mechanism of the treatment of IS by SLTNF. Western blot (WB) and immunofluorescence techniques were employed to validate the potential mechanism. RESULTS: The experimental results demonstrated that SLTNF dosage-dependently attenuated the infarct volume, neurobehavioral, cell morphology and Nissl bodies damage, and inhibited the apoptosis in cerebral I/R mice. Moreover, scRNA-seq results revealed that the number of NK cells, neutrophils, monocytes, astrocytes and microglia significantly increased after IS. The cell-cell interactions dominated by microglia after IS, the cell-cell interactions between microglia and other immune cells significantly heightened. Furthermore, SLTNF promoted the transition of M1 microglia to M2 type, eventually reversing the pro-inflammatory microenvironment. Combined analysis of scRNA-seq and Network pharmacology results predicted that AGE-RAGE signaling pathway could involve in the regulation of microglia polarization by SLTNF. WB results revealed that SLTNF significantly inhibited the protein expression of CCND1, IL-1β and p-STAT3, which belong to crucial targets of SLTNF and AGE-RAGE signaling pathway. CONCLUSION: SLTNF attenuated cerebral I/R injury by reversing the pro-inflammatory microenvironment via the AGE-RAGE signaling pathway in mice.