Low numbers of IFN-γ-producing TRM cells accumulated in the nasal tissue during primary infection of WT mice with B. pertussis, and although these cells were significantly expanded in Il17A−/− mice, these mice did not clear the infection in the nose for up to 60 days. Here, IL17A is linked to infection.