Using behavior, electrophysiology and single-nuclei RNA sequencing (snRNA-seq), we demonstrated potent protective effects of Cgas genetic deletion against synaptic and cognitive deficits associated with induction of the transcriptional network of myocyte enhancer factor 2c (Mef2c), a gene implicated in cognitive resilience16. This evidence concerns the gene MEF2C and Cognitive impairment.