We found that IL-17-producing pathogen-specific CD4 TRM cells accumulate in the nasal tissue during infection with B. pertussis and these TRM cells expanded locally following re-infection with B. pertussis. Here, CD4 is linked to infection.