Functionally potent tissue-resident memory CD8+ T cells (TRM) can be generated in the brain following peripheral infection or vaccination. The gene discussed is CD8A; the disease is infection.