Conclusions: Treadmill exercise ameliorates cerebral ischemia–reperfusion injury by enhancing IL-4 expression to promote M2 microglia polarization, possibly via the JAK1-STAT6 pathway. This evidence concerns the gene IL4 and brain ischemia.