The cholinergic anti-inflammatory pathway is an important neuroimmune regulatory axis that endogenously counteracts cerebral ischemia-reperfusion injury (CIRI). As a key hydrolase in the cholinergic system, there remains a lack of direct imaging evidence regarding changes in BChE during this pathological process. To address this challenge, we developed DCIO-B, an endoplasmic reticulum (ER)-targeted near-infrared fluorogenic (NIRF) probe, to track changes in BChE activity during CIRI at both the cellular and in vivo levels. Upon catalysis by BChE, DCIO-B produced a detectable fluorescence response at 660 nm with a detection limit of 0.041 U/mL and maintained a stable response across a wide pH range. In PC12 cells, iso-OMPA markedly blocked fluorescence, while hydrocortisone and forskolin induced opposite fluorescence changes, demonstrating that DCIO-B could visualize the bidirectional regulation of endogenous BChE. Following OGD/R treatment, intracellular BChE protein expression increased, and enhanced DCIO-B fluorescence was observed. In MCAO/R mice, brain fluorescence rapidly increased following tail-vein injection of DCIO-B, indicating elevated BChE activity. Treatment with baicalein decreased brain fluorescence signals, reduced the extent of cerebral infarction, and improved neuronal histological damage. The results verified that BChE activity increased in CIRI and provided a reliable NIRF probe, DCIO-B, for the diagnosis and intervention of CIRI.