Background: There is an increasing interest in the role of astrocytes contributing to the intrinsic bioremediation of ischemic brain injury. The purpose of this study was to disclose the effects and mechanism of midazolam (MDZ) on the proliferation and apoptosis of astrocytes under oxygen glucose deprivation (OGD) condition. Methods: The astrocytes were assigned randomly into four groups: control group, OGD group, OGD+MDZ group, and OGD+MDZ+IL-6 group. The astrocytes were treated with MDZ at dose of 10 μmol/L in OGD+MDZ group. And in OGD+MDZ+IL-6 group, the astrocytes were treated with MDZ at dose of 10μmol/L and IL-6 at dose of 50 ng/mL. MTT assay was used to assess cell proliferation, and cell apoptosis was analyzed by TUNEL apoptosis assay kit and flow cytometry. Furthermore, the expression of JAK2, p-JAK2, STAT3, p-STAT3, Bcl-2, Bax and Caspase-3 proteins were determined by western blotting assay. Results: Astrocytes proliferation was decreased obviously in OGD group, while MDZ could increase astrocytes proliferation under OGD condition. Moreover, OGD could induce apoptosis in astrocytes and MDZ could play an anti-apoptotic role. However, IL-6, a JAK2 activator, could attenuate cell proliferation and anti-apoptotic effects of MDZ in astrocytes. In addition, the expression of Bcl-2 protein in MDZ group increased markedly, while the JAK2/STAT3 signal proteins, Bax and Caspase-3 proteins decreased relative to OGD group. But IL-6 could counteract the anti-apoptotic effects of MDZ. Conclusion: Midazolam has protective effects on the proliferation and apoptosis of astrocytes via JAK2/STAT3 signal pathway in vitro. We firstly disclose the beneficial roles of midazolam in astrocytes under ischemic condition, which may be a rational treatment selection for ischemic cerebral protection.