In the early stages of infection, a population of CD8+ T cells with a tissue-resident memory (TRM) phenotype has been identified. Here, CD8A is linked to infection.