Pathological hallmarks of Alzheimer’s disease (AD) precede clinical symptoms by years, indicating a period of cognitive resilience before the onset of dementia. Here, we report that activation of cyclic GMP–AMP synthase (cGAS) diminishes cognitive resilience by decreasing the neuronal transcriptional network of myocyte enhancer factor 2c (MEF2C) through type I interferon (IFN-I) signaling. Pathogenic tau activates cGAS and IFN-I responses in microglia, in part mediated by cytosolic leakage of mitochondrial DNA. Genetic ablation ofCgasin mice with tauopathy diminished the microglial IFN-I response, preserved synapse integrity and plasticity and protected against cognitive impairment without affecting the pathogenic tau load. cGAS ablation increased, while activation of IFN-I decreased, the neuronal MEF2C expression network linked to cognitive resilience in AD. 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.