To the best of our knowledge, this study was the first report to demonstrate that sevoflurane acts on its target-HCN2 channel to regulate microglial function and neuroinflammation in vivo, triggering cognitive impairment and anxiety-like behaviors in rats. This evidence concerns the gene HCN2 and Cognitive impairment.