Here we demonstrate that the course and resolution of vaginal infection is strictly correlated to the presence of IL-17 secreted locally by CD4 vaginal T cells. Here, IL17A is linked to infective vaginitis.