IL-17 responses provide protection from infection, particularly at epithelial surfaces, but are increasingly implicated in autoimmune disease5. Here, IL17A is linked to infection.