Ischemic stroke poses a serious threat to human health. Its high morbidity, disability, and lethality rates have led to it being a research hotspot. Cerebral ischemia reperfusion injury is a difficult point in the treatment of ischemic stroke. In recent years, studies have shown that repeated transcranial magnetic stimulation (rTMS) can enhance cerebral ischemic tolerance and have a significant protective effect on reperfusion injury after ischemia, but its specific mechanism is unknown. The Nrf2/pathway plays a vital role in ischemia-reperfusion injury in the body environment. Therefore, in this experiment, the middle cerebral artery occlusion (MCAO) reperfusion model of SD rats was made to simulate the occurrence of experimental cerebral infarction by the suture method. After treatment with rTMS, it was studied whether it can regulate the expression of Nrf2 and HO-1, affect the content of MDA and SOD activity, and then activate the Nrf2 pathway to exert its brain protection. The results showed that after MCAO reperfusion, the neurological deficit score of rats increased, and the time to remove the bilateral stickers and the time to cross the balance beam increased, suggesting the successful establishment of the experimental cerebral infarction model. Detecting the brain tissue of experimental cerebral infarction rats found that the expression of Nrf2 and HO-1 decreased, the content of MDA increased, and the activity of SOD decreased. After rTMS treatment, the neuromotor function of experimental cerebral infarction rats improved, the expression of Nrf2 and HO-1 in the brain tissue gradually increased, the content of MDA decreased, and the activity of SOD increased. It indicates that the expression of Nrf2 and HO-1 in experimental cerebral infarction rats is reduced. After treatment with rTMS, it can improve the neuromotor function damage of the rats and reduce the level of oxidative stress. The mechanism may be through promoting the activation of the Nrf2 signaling pathway, acting on the expression of antioxidant proteins, such as HO-1 and SOD1, reducing oxidative stress damage, and playing a protective effect on brain tissue.