During ageing, microglia acquire a phenotype that may negatively affect brain function. Here we show that ageing microglial phenotype is largely imposed by interferon type I (IFN-I) chronically present in aged brain milieu. Overexpression of IFN-β in the CNS of adult wild-type mice, but not of mice lacking IFN-I receptor on their microglia, induces an ageing-like transcriptional microglial signature, and impairs cognitive performance. Furthermore, we demonstrate that age-related IFN-I milieu downregulates microglial myocyte-specific enhancer factor 2C (Mef2C). Immune challenge in mice lacking Mef2C in microglia results in an exaggerated microglial response and has an adverse effect on mice behaviour. Overall, our data indicate that the chronic presence of IFN-I in the brain microenvironment, which negatively affects cognitive function, is mediated via modulation of microglial activity. These findings may shed new light on other neurological conditions characterized by elevated IFN-I signalling in the brain.Microglia cells in the brain regulate immune responses, but in ageing can negatively affect brain function. Here the authors show that the chronic presence of type I interferon in aged mouse brain impedes cognitive ability by altering microglia transcriptome and limiting Mef2C, a microglia 'off' signal.