Although Th17-derived IL-17A is known to recruit neutrophils and enhance inflammation in extracellular infections, a direct intracellular protective effect has not been previously reported. This evidence concerns the gene IL17A and infection.