Stroke poses a significant risk of mortality, particularly among the elderly population. The pathophysiological process of ischemic stroke is complex, and it is crucial to elucidate its molecular mechanisms and explore potential protective drugs. Ferroptosis, a newly recognized form of programmed cell death distinct from necrosis, apoptosis, and autophagy, is closely associated with the pathophysiology of ischemic stroke. N6022, a selective inhibitor of S-nitrosoglutathione reductase (GSNOR), is a "first-in-class" drug for asthma with potential therapeutic applications. However, it remains unclear whether N6022 exerts protective effects in ischemic stroke, and the precise mechanisms of its action are unknown. This study aimed to investigate whether N6022 mitigates cerebral ischemia/reperfusion (I/R) injury by reducing ferroptosis and to elucidate the underlying mechanisms. Accordingly, we established an oxygen-glucose deprivation/reperfusion (OGD/R) cell model and a middle cerebral artery occlusion/reperfusion (MCAO/R) mouse model to mimic cerebral I/R injury. Our data, both in vitro and in vivo, demonstrated that N6022 effectively protected against I/R-induced brain damage and neurological deficits in mice, as well as OGD/R-induced BV2 cell damage. Mechanistically, N6022 promoted Nrf2 nuclear translocation, enhancing intracellular antioxidant capacity of SLC7A11-GPX4 system. Furthermore, N6022 interfered with the interaction of GSNOR with GSTP1, thereby boosting the antioxidant capacity of GSTP1 and attenuating ferroptosis. These findings provide novel insights, showing that N6022 attenuates microglial ferroptosis induced by cerebral I/R injury through the promotion of Nrf2 nuclear translocation and inhibition of the GSNOR/GSTP1 axis.