Silent information regulator 1 (SIRT1), a histone deacetylase, has been suggested to be effective in ischemic brain diseases. Salvianolic acid B (SalB) is a polyphenolic and one of the active components of Salvia miltiorrhiza Bunge. Previous studies suggested that SalB is protective against ischemic stroke. However, the role of SIRT1 in the protective effect of SalB against cerebral ischemia has not been explored. In this study, the rat brain was subjected to middle cerebral artery occlusion (MCAO). Before this surgery, rats were intraperitoneally administrated SalB with or without EX527, a specific SIRT1 inhibitor. The infarct volume, neurological score and brain water content were assessed. In addition, levels of TNF-α and IL-1β in the brain tissues were detected by commercial ELISA kits. And the expression levels of SIRT, Ac-FOXO1, Bcl-2 and Bax were detected by Western blot. The results suggested that SalB exerted a cerebral-protective effect, as shown by reduced infarct volume, lowered brain edema and increased neurological scores. SalB also exerted anti-inflammatory effects as indicated by the decreased TNF-α and IL-1β levels in the brain tissue. Moreover, SalB upregulated the expression of SIRT1 and Bcl-2 and downregulated the expression of Ac-FOXO1 and Bax. These effects of SalB were abolished by EX527 treatment. In summary, our results demonstrate that SalB treatment attenuates brain injury induced by ischemic stoke via reducing apoptosis and inflammation through the activation of SIRT1 signaling.