Here, we showed that the lack of IL-17D expression confers protection against Listeria infection. Here, IL17D is linked to listeriosis.