The relationships between gastric pH and Helicobacter pylori infection were studied in 37 consecutive subjects affected with nonulcer dyspepsia. Each underwent esophagogastroduodenoscopy with multiple gastric biopsies for both H. pylori and histologic assessment, and 24-hr antral pH monitoring. H. pylori was harbored by 59.5% of the subjects with whole gastric spread of infection in all but one patient. Histologic gastritis was shown in 70.3% of the subjects. H. pylori was strongly associated with gastritis, both antral nonatrophic and multifocal atrophic. The ranges of 24-hr pH values were 1.3-6.9 in the H. pylori-positive and 1.2-6.8 in the H. pylori-negative group. Differences in pH values between the two groups were not significant. Moreover, the mean percent time duration of pH above 2, 4, and 6 did not significantly differ between the two groups. Therefore, this study has shown that chronic H. pylori infection is not related to luminal gastric pH.