CD4 and CD8 TRM cells can be induced following infection at mucosal sites or the skin, where they are maintained and poised to respond rapidly to reinfection with the same pathogen. Here, CD8A is linked to infection.