To clarify the role of microglia in brain homeostasis and disease, an understanding of their maintenance, proliferation and turnover is essential. The lifespan of brain microglia, however, remains uncertain, and reflects confounding factors in earlier assessments that were largely indirect. We genetically labeled single resident microglia in living mice and then used multiphoton microscopy to monitor these cells over time. Under homeostatic conditions, we found that neocortical resident microglia were long-lived, with a median lifetime of well over 15 months; thus, approximately half of these cells survive the entire mouse lifespan. While proliferation of resident neocortical microglia under homeostatic conditions was low, microglial proliferation in a mouse model of Alzheimer's β-amyloidosis was increased threefold. The persistence of individual microglia throughout the mouse lifespan provides an explanation for how microglial priming early in life can induce lasting functional changes and how microglial senescence may contribute to age-related neurodegenerative diseases.