Inflammatory injury following ischemia‐reperfusion (I/R) severely limits the efficacy of stroke treatment. Edaravone dexborneol (C.EDA) has been shown to reduce inflammation following a cerebral hemorrhage. However, the precise anti‐inflammatory mechanism of C.EDA is unknown. In this study, we investigated whether C.EDA provides neuroprotection after I/R in rats, as well as the potential mechanisms involved. A middle cerebral artery occlusion/reperfusion (I/R) model was created using Sprague‐Dawley rats. The blood flow of the central cerebral artery was monitored by a laser speckle imaging system. The neurological score was used to assess behavioral improvement. Cerebral infarction volume was measured by TTC staining. And the integrity of the blood–brain barrier was detected by Evan's blue staining. The expression of the nuclear factor kappa‐B (NF‐κB)/ the NOD‐like receptor protein (NLRP3) inflammasome signal pathway and microglia polarization were detected by immunofluorescence and Western blotting. The cerebral blood flow ratio indicates that the cerebral I/R model was successfully established. After reperfusion for 72 h, the improvement of neurological scores, infarct volume reduction, and integrity of the blood–brain barrier was observed in I/R rats with C.EDA treatment. Meanwhile, the immunofluorescence result showed that the expression of iNOS, NLRP3, and NF‐κB protein was decreased and the level of Arg1 was increased. Western blot analysis showed that the expression of NF‐κB/NLRP3 signal pathway‐related protein was decreased. In conclusion, this study indicates that C.EDA alleviates I/R injury by blocking the activation of the NLRP3 inflammasome and regulating the polarization of M1/M2 microglia via the NF‐κB signal pathway.