Genetically defined in vivo models are needed to assess the importance of target cell attachment in bacterial pathogenesis. Gastric colonization by Helicobacter pylori in human populations is common and persistent, and has various outcomes including peptic ulcers and cancer. The impact of attachment on the course of infection was examined in transgenic mice expressing a human receptor for H. pylori in their gastric epithelium. Persistent infection by a clinical isolate occurred at comparable microbial densities in transgenic and nontransgenic littermates. However, microbial attachment in transgenic mice resulted in production of autoantibodies to Lewisx carbohydrate epitopes shared by bacteria and acid-secreting parietal cells, chronic gastritis, and parietal cell loss. This model should help identify bacterial and host genes that produce attachment-related pathology.