We assessed the sensitivities of several methods for detecting Helicobacter pylori (culture, histology, rapid urease test, and serology), and evaluated the H. pylori positivity considering the degree of atrophy in the background mucosa in 202 gastric cancer patients and 101 controls. The positivity of H. pylori determined by culture (81%) was significantly higher than that determined by serology (62%) in gastric cancer patients (P < 0.001). The positivities of H. pylori determined by biopsy and/or serology in intestinal (84%) and diffuse (95%) types of gastric cancer were higher than that observed in controls (54%) (P < 0.001). Intestinal-type gastric cancer tended to occur in the atrophic mucosa, in which H. pylori positivity was not different from that in controls after adjusting for the degree of atrophy, whereas diffuse-type gastric cancer was observed more often in the nonatrophic mucosa, in which H. pylori positivity was higher than that in controls even after adjusting for the degree of atrophy.