In summary, our results suggest that IFN-γ responses in the stomach of sublingually immunized mice promote vaccine-induced gastritis, after infection with H. pylori but that IL-17A primarily functions to reduce the bacterial load. Here, IL17A is linked to infection.