Background: To investigate the effect and mechanisms of exogenous hydrogen sulfide in surgery-induced neuroinflammatory cognitive dysfunction. Methods: C57BL/6 J male mice (n = 140) were used and randomly divided into seven groups: the sham group, surgery group, GYY4137 group, L-NAME group, surgery+GYY4137 group, surgery +L-NAME group, and surgery+GYY4137 + L-NAME group. After the interventions, open field tests (OFT) and the Morris water maze (MWM) test were conducted to evaluate learning and memory abilities in the mice. ELISAs, nitrate reductase assays, and Western blots (WB) were conducted to evaluate interleukin-1 beta (IL-1β), tumor necrosis factor-alpha (TNF-α), nitric oxide (NO), inducible nitric oxide synthase (iNOS), malondialdehyde (MDA), and antioxidant enzyme superoxide dismutase (SOD) levels. Furthermore, the expression level of microglial marker ionized calcium binding adaptor molecule 1 (IBA) in the hippocampal CA1 and CA3 areas was detected by an immunohistochemical (IHC) assay and apoptotic cells were observed using terminal deoxynucleotidyl transferase dUTP end-labeling (TUNEL) staining kits. Results: We found that surgery induced neuroinflammatory cognitive dysfunction, oxidative stress, microglial activation, and cell apoptosis in the hippocampus. Moreover, following surgery, NO and iNOS levels were elevated in the hippocampus. Notably, all the effects caused by surgery were reversed by the H 2 S donor GYY4137 or the iNOS inhibitor N(gamma)-nitro-L-arginine methyl ester (L-NAME). However, the combined application of GYY4137 and L-NAME was not superior to treatment with either agent alone and the effect of GYY4137 was similar to that of L-NAME. Conclusion: The long-acting hydrogen sulfide donor GYY4137 had an ability to reversed the cognitive deficits and inflammation caused by carotid artery exposure surgery. This implies that NO signaling pathways might participate in this process. These results indicate that exogenous H 2 S may be a promising therapy for POCD.