STUDY OBJECTIVE To assess the role of testing for Helicobacter pylori in the management of dyspeptic patients in primary care. DESIGN Selective review of literature frequently quoted to support use of H pylori testing. MAIN RESULTS Testing for H pylori and referral of only positive cases for endoscopy aims to reduce the number of "unnecessary" endoscopies. Patients with negative results may receive short-term reassurance and subsequently place fewer demands on health services. However, studies to date have only assessed this practice in secondary care settings. Given the relatively high prevalence of both dyspepsia and H pylori infection, the transfer of this practice to primary care may lead to a paradoxical increase in endoscopy referrals. Identification of H pylori and prescribing of eradication treatment also aims to reduce endoscopy referrals. No primary care trials have yet assessed this approach. Given that fewer than one in four of dyspeptic patients have peptic ulceration, a high proportion may fail to respond to eradication treatment and subsequently require referral for endoscopy. The longer term clinical and psychosocial sequelae of treating or labelling patients with an infection associated with gastric cancer remain unknown. CONCLUSIONS Given uncertainty concerning the possible adverse effects of H pylori testing in primary care, we suggest a moratorium on its use in this setting until results from relevant clinical trials become available.