Inflammation within the central nervous system (CNS), which may be triggered by surgical trauma, has been implicated as a significant factor contributing to postoperative cognitive dysfunction (POCD). The relationship between mitigating inflammation at peripheral surgical sites and its potential to attenuate the CNS inflammatory response, thereby easing POCD symptoms, remains uncertain. Notably, carbon monoxide (CO), a gasotransmitter, exhibits pronounced anti-inflammatory effects. Herein, we have developed carbon monoxide-releasing micelles (CORMs), a nanoparticle that safely and locally liberates CO upon exposure to 650 nm light irradiation. In a POCD mouse model, treatment with CORMs activated by light (CORMs + hv) markedly reduced the concentrations of interleukin (IL)-6, IL-1β, and tumor necrosis factor-alpha (TNF-α) in both the peripheral blood and the hippocampus, alongside a decrease in ionized calcium-binding adapter molecule 1 in the hippocampal CA1 region. Furthermore, CORMs + hv treatment diminished Evans blue extravasation, augmented the expression of tight junction proteins zonula occludens-1 and occludin, enhanced neurocognitive functions, and fostered fracture healing. Bioinformatics analysis and experimental validation has identified Htr1b and Trhr as potential key regulators in the neuroactive ligand-receptor interaction signaling pathway implicated in POCD. This work offers new perspectives on the mechanisms driving POCD and avenues for therapeutic intervention.