Why do I get heartburn from coffee?

Last updated September 3, 2026.

The NHS names coffee as a food and drink that can cause or worsen heartburn. Caffeine relaxes the valve between stomach and esophagus, and coffee stimulates acid production, so the acid has both motive and opportunity. Smaller, weaker cups with food, no coffee near bedtime, and staying upright after drinking it solve most cases; decaf helps some people but not all, since caffeine is only part of the problem. Pharmacy antacids cover occasional flares. Heartburn most days, trouble swallowing, vomiting, or weight loss is the GP version.

Find answers about digestive health

Start a free AI doctor consult →

What to do

Related questions

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult