Here, downregulation of cGAS in microglia mitigated OGD/R- and I/R-induced neuroinflammation and attenuated I/R-induced brain injury, which strongly suggests that cGAS could be a potential drug target for the treatment of stroke. Here, CGAS is linked to stroke disorder.