Modern research does not clearly link coffee to causing ulcers, but coffee can trigger symptoms for people who already have one.
For the full breakdown, see our best Coffee for Ulcer guide.
If you have a peptic ulcer and love your morning cup, the honest answer to whether coffee is bad for ulcers is more nuanced than a simple yes or no. The best current evidence says coffee does not cause ulcers in most people, yet it can stimulate stomach acid and make existing ulcer pain worse. Understanding that distinction matters for managing your symptoms without giving up more than you need to.
Does Coffee Cause Ulcers?
The short answer is no, according to the strongest modern research.
Why Coffee Still Troubles Some Ulcer Patients
Even if coffee does not cause ulcers, it can aggravate them. Coffee—both regular and decaffeinated—stimulates gastric acid secretion. For someone with an active ulcer, that extra acid can translate into real pain, irritation, nausea, or heartburn.
Here’s the catch that surprises many people: caffeine is not the whole story. That matters for ulcer patients considering a switch to decaf as a compromise. The switch may not provide the symptom relief you are hoping for, because something in coffee beyond caffeine drives acid production.
What the Research Actually Shows
| Study or Review | Year | Finding on Coffee and Ulcers |
|---|---|---|
| Cross-sectional study of 8,013 Japanese adults | 2013 | No significant association with gastric ulcer, duodenal ulcer, or reflux esophagitis |
| Meta-analysis within the same study | 2013 | No association with gastric or duodenal ulcers |
| Review of GI effects of coffee | 2021 | No association between coffee drinking and peptic ulcer risk in most studies |
| Systematic review on peptic ulcer development | — | Coffee is not a risk factor; more research needed |
| Older literature (JAMA, 1960) | 1960 | Warned caffeine beverages may aggravate existing ulcers and complicate treatment |
The older literature took a more cautionary stance. Modern evidence has largely shifted that view, but the symptom picture remains real for sensitive individuals.
Should You Give Up Coffee With an Ulcer?
The practical answer depends on your body, not just the science. If coffee reliably worsens your pain, nausea, vomiting, or heartburn, reducing or avoiding it is a reasonable symptom-management step. That is not because coffee is causing your ulcer—it is because you do not have to endure avoidable discomfort while your ulcer heals.
If you are managing an active ulcer and want to keep drinking coffee, pay attention to how your body responds. Some people tolerate it fine; others do not. Decaf is not automatically a safe substitute, since it still stimulates acid. And be cautious about “low-acid coffee” marketing claims—the research does not establish these as an evidence-based ulcer treatment.
One critical note: if your ulcer is accompanied by bleeding, severe pain, or persistent vomiting, medical evaluation comes first. Coffee advice is secondary to proper treatment, and delaying care while experimenting with your diet is the wrong trade.
References & Sources
- Shimamoto et al. “No Association of Coffee Consumption with Gastric Ulcer, Duodenal Ulcer, Reflux Esophagitis, and Non-Erosive Reflux Disease: A Cross-Sectional Study of 8,013 Healthy Subjects in Japan.” PLOS ONE, 2013. Found no significant link between coffee and ulcer risk.
- National Library of Medicine. “The Gastrointestinal Effects of Coffee.” Review confirming most studies show no association between coffee and peptic ulcer risk.
- Roth, J.A. and Ivy, A.C. “The Effect of Caffeine on Gastric Secretion.” JAMA, 1960. Early cautionary evidence on caffeine and ulcer aggravation.
