Molecular analysis of the gastric microflora in mice revealed that Helicobacter pylori infection causes an increase in microbial diversity. The stomachs of H. pylori-infected animals were colonized by bacteria which are naturally restricted to the lower intestinal tract. Clostridia, Bacteroides/Prevotella spp., Eubacterium spp., Ruminococcus spp., streptococci and Escherichia coli were detected exclusively in the stomachs of infected animals, whereas lactobacilli dominated the gastric flora in noninfected mice. The H. pylori-induced shifts in the gastric microbiota were independent from histological pathology and from changes in the gastric pH but were prevented by immunization of mice with live Salmonella expressing H. pylori urease. Immunized mice displayed reduced H. pylori levels in the gastric epithelium and developed a normal gastric microflora, indicating that vaccination may be protective against H. pylori-induced changes in the gastric flora.