Pharmacological inhibition of cGAS in mice with tauopathy enhanced the neuronal MEF2C transcriptional network and restored synaptic integrity, plasticity and memory, supporting the therapeutic potential of targeting the cGAS–IFN–MEF2C axis to improve resilience against AD-related pathological insults. Here, MEF2C is linked to Alzheimer disease.