Coffee and Stomach Ulcers: Do You Need to Quit?
For many people around the world, the hardest part of ulcer advice is being told to give up coffee. Here is what you actually need to know.
Does coffee cause ulcers?
Research has not shown that coffee causes peptic ulcers. The main causes remain H. pylori infection and anti-inflammatory painkillers.
Why coffee can still hurt
Coffee, including decaffeinated coffee for some people, can:
- Stimulate stomach acid
- Relax the valve between the stomach and the oesophagus, encouraging reflux
- Irritate an already inflamed lining
So while you have an active ulcer or gastritis, coffee may make symptoms worse.
A practical plan
- During treatment: cut down or pause coffee, especially on an empty stomach.
- Notice your response: some people tolerate one small cup with food perfectly well.
- After healing: reintroduce gradually and see how you feel.
Gentler ways to drink coffee
- With or after food, never on an empty stomach
- Smaller cups and weaker brews
- With milk, if you tolerate dairy
- Earlier in the day, especially if night pain is a problem
Other caffeinated drinks
Strong tea, energy drinks and colas can have similar effects. Herbal teas such as chamomile are popular alternatives.
Key takeaway
Coffee is not the enemy that causes ulcers, but it can slow your comfort while you heal. Pause or cut back during treatment, then bring it back gently once the cause has been dealt with.


