Our investigation demonstrated that JB inhibited the phosphorylation of JAK2 and STAT3, thereby blocking the JAK2/STAT3 signaling pathway, promoting M2 polarization of microglia, and alleviating ischemia–reperfusion injury. This evidence concerns the gene JAK2 and ischemia.