CD4 TRM cells accumulate in the nasal tissue during infection with B. pertussis and these are predominantly IL-17 producing, with a small number secreting IFN-γ or both cytokines. Here, IL17A is linked to infection.