Coffee Avoidance in Dyspepsia and Acid-Related Disorders
There is insufficient evidence to recommend universal coffee avoidance in patients with dyspepsia or acid-related disorders; instead, advise patients to avoid coffee only if they personally identify it as a symptom trigger. 1
Evidence-Based Approach
What the Guidelines Say
The 2022 British Society of Gastroenterology guidelines on functional dyspepsia explicitly state that there is insufficient evidence to recommend dietary therapies, including specific food avoidances, for all patients with FD (weak recommendation; very low quality evidence). 1
The guidelines emphasize that while lifestyle changes like avoiding certain foods may trigger symptoms in some patients, restricting diet too much could lead to malnutrition or abnormal eating habits. 1 The recommendation is clear: lifestyle modifications including avoiding specific foods should be tailored to the circumstances of the individual patient, not broadly applied to everyone. 1
The Research Evidence Tells a More Nuanced Story
For Functional Dyspepsia:
- A 2024 study of 3,362 adults found no significant association between coffee or caffeine consumption and odds of functional dyspepsia (OR: 1.27; 95% CI: 0.86-1.87 for coffee; OR: 1.00; 95% CI: 0.99-1.02 for caffeine). 2
- However, a 2021 clinical trial showed that replacing caffeinated or decaffeinated coffee with a non-caffeinated coffee substitute significantly decreased FD symptoms (3.67 to 1.00, p < 0.001). 3
- A 1990 study found that patients with nonulcer dyspepsia were more likely to experience dyspeptic symptoms after coffee ingestion (53%) compared to controls (22%), but coffee intake patterns were identical between groups. 4
For GERD/Acid-Related Disorders:
- A 2026 meta-analysis of 122,074 patients found coffee use was associated with a small, statistically significant increased rate of GERD (34.9% vs 30.7%; OR: 1.18 [CI: 1.03-1.36]), but the authors concluded "the magnitude of this effect is of unclear clinical significance." 5
- Importantly, a 1975 study demonstrated that decaffeinated coffee stimulates gastric acid secretion as much as regular coffee (16.5 vs 20.9 mEq/hour), suggesting caffeine is not the primary culprit. 6
Clinical Algorithm
Step 1: Take a Targeted History
Ask specifically: "Do you notice your symptoms worsen after drinking coffee?"
- If YES → Recommend avoiding coffee (both regular and decaffeinated, as both stimulate acid secretion 6). Consider trial of non-caffeinated coffee substitute. 3
- If NO or UNCERTAIN → Do not restrict coffee; focus on evidence-based treatments
Step 2: Implement Evidence-Based First-Line Treatments
Rather than dietary restrictions, prioritize treatments with strong evidence:
For Functional Dyspepsia: 1
- Test and treat for H. pylori (strong recommendation; high quality evidence)
- PPIs (strong recommendation; high quality evidence)
- H2-receptor antagonists (weak recommendation; low quality evidence)
- Regular aerobic exercise (strong recommendation; very low quality evidence)
For GERD: 7
- PPIs are more effective than H2RAs, which are more effective than placebo (Grade A recommendation)
- Weight loss for overweight/obese patients (Grade B recommendation)
- Elevation of head of bed for patients with nighttime symptoms (Grade B recommendation)
Step 3: Avoid Overly Restrictive Diets
Early dietitian involvement is recommended for patients with severe or refractory FD to avoid an overly restrictive diet (strong recommendation; very low quality evidence). 1
Key Clinical Pitfalls
Don't assume decaffeinated coffee is safe: Both regular and decaffeinated coffee stimulate gastric acid secretion similarly. 6
Don't universally restrict coffee: Only 53% of nonulcer dyspepsia patients experience symptoms from coffee, meaning 47% can drink it without issue. 4
Recognize the nocebo effect: The 2008 AGA guidelines note that "there are simply too many recommendations and each is too narrowly applicable to enforce the whole set on every patient." 7 Overly restrictive advice may worsen quality of life without improving symptoms.
Focus on proven therapies first: The evidence for acid suppression, H. pylori eradication, and neuromodulators is far stronger than for any dietary intervention. 1
Bottom Line for Practice
Coffee avoidance should be symptom-driven, not diagnosis-driven. A patient with dyspepsia who drinks coffee without symptoms should continue doing so while receiving appropriate medical therapy. Only patients who clearly identify coffee as a personal trigger warrant restriction—and even then, both regular and decaffeinated coffee should be avoided. 1, 3, 6