Coffee and Acid Reflux: Can Coffee Trigger Heartburn?
- GPhC registered UK pharmacy, registration number 9012878
- Practical, evidence based advice on coffee and reflux from a UK pharmacy team
- Online consultation with UK registered prescribers for frequent reflux
- Clinical assessment before any prescription medicine is supplied
Yes, coffee can cause heartburn, and for many people it does. NICE names coffee among the known precipitants of reflux symptoms, alongside alcohol, chocolate and fatty foods. Coffee works on reflux in two ways at once: it relaxes the valve at the bottom of the oesophagus that should keep stomach acid down, and it stimulates the stomach to make more acid. Decaffeinated coffee reduces the first effect but not the second, which is why some people still get heartburn from decaf.
Coffee does not cause heartburn in everyone, and how much it matters depends on how much you drink, when, what you add and what else is in your routine. This guide from the EveryDayMeds pharmacy team explains why coffee triggers reflux, whether the type of coffee makes a difference, how timing changes the effect, and how to work out whether coffee is your trigger, including how to keep drinking it if it is only a small one.
Can coffee cause heartburn?
Coffee can cause heartburn by increasing acid reflux, and heartburn is a burning sensation caused when stomach acid moves up into the food pipe and produces discomfort behind the breastbone. Reflux that happens often enough to cause trouble is gastro-oesophageal reflux disease, GORD in the UK and GERD in American spelling. Coffee does not cause reflux disease on its own. It provokes reflux in people whose valve is already prone to letting acid through, and it makes reflux more frequent and more noticeable in people who already have it, with symptoms that can include acid indigestion and other heartburn symptoms, not just classic chest burning.
Key things to know
- NICE advises people with reflux symptoms to avoid known precipitants where possible, and names coffee among them.
- Coffee relaxes the lower oesophageal sphincter, the valve that keeps stomach contents down, and stimulates acid production.
- Caffeine accounts for part of the effect. Coffee is one of several caffeinated beverages that can trigger reflux, and other compounds in coffee account for the rest, so decaf can still trigger heartburn.
- Coffee on an empty stomach, coffee in large mugs, coffee late in the day and coffee after a big meal each make reflux more likely, especially when overall coffee intake is high.
- What you add matters. Full fat milk, cream and syrups slow stomach emptying and relax the valve further.
- Cutting coffee suddenly causes withdrawal headaches that get blamed on reflux. Cut gradually.
- Coffee is one precipitant among several. If reflux persists after coffee goes, it needs a wider look, and reflux on most days needs a course of treatment.
What does the evidence show?
The evidence shows that coffee relaxes the valve and stimulates acid in experimental studies, that many people with reflux report coffee as a trigger, and that population studies linking coffee drinking to reflux disease are mixed. That combination is why NICE lists coffee as a precipitant to avoid where possible rather than as a cause of the disease. The practical reading is that coffee reliably provokes reflux in people who are susceptible, that susceptibility varies widely, and that the only way to know your own is to test it.
Why does coffee cause acid reflux?
Coffee causes acid reflux through several effects that add together, and separating them explains why decaf, timing and what you add all matter.
| Effect | What happens | What drives it |
|---|---|---|
| The valve relaxes | The lower oesophageal sphincter loosens, so stomach contents escape more easily | Caffeine, and other coffee compounds to a lesser degree |
| More acid is made | Coffee can increase acid production by stimulating the stomach's acid producing cells | Compounds present in both caffeinated and decaffeinated coffee |
| The lining is irritated | Coffee is acidic, and irritation of the stomach lining as well as a sore oesophagus can sting on contact | The natural acids in coffee, particularly in lighter roasts |
| The drink is hot | Very hot drinks irritate an inflamed oesophagus | Temperature |
| The stomach fills | A large mug adds volume, and volume drives reflux | Cup size |
| Fat is added | Milk, cream and syrups slow stomach emptying and relax the valve | Lattes, cappuccinos, flavoured coffees |
| Timing is wrong | Acid stimulation on an empty stomach, or on top of a large meal, or before lying down | Morning coffee before breakfast, after dinner coffee |
Is it the caffeine or the coffee?
Both. Caffeine relaxes the valve, which is why tea, energy drinks and caffeine tablets can also provoke reflux. But coffee stimulates acid production through compounds that remain after decaffeination, and it is more acidic than tea, so removing caffeine removes only part of the effect. People who switch to decaf and improve had caffeine as their main problem. People who switch and do not improve are reacting to coffee itself.
Does decaf coffee cause heartburn?
It can. Decaffeinated coffee still stimulates acid production and is still acidic and hot, so it still provokes reflux in some people, though usually less than caffeinated coffee because the valve relaxing effect of caffeine is reduced. Decaf is worth trying if you cannot give up the ritual, and it is worth testing rather than assuming, because for a proportion of people it makes no difference.
Does the type of coffee matter?
The type of coffee matters less than the amount, the timing and what is added, but a few differences are real.
| Coffee | What is different | Effect on reflux |
|---|---|---|
| Espresso | Concentrated, small volume, drunk fast | Strong stimulation of acid, but little volume. Some tolerate a single shot and not a large filter coffee |
| Filter or cafetière | Larger volume, usually hotter for longer | More volume and more sipping over time |
| Instant | Variable strength, often weaker | Often tolerated in smaller cups |
| Cold brew | Brewed without heat, typically less acidic | May sting less on a sore lining. Still contains caffeine and still stimulates acid |
| Dark roast | Roasting changes some of the acids | Sometimes reported as gentler, but the evidence is thin. Test rather than assume |
| Light roast | Retains more of the natural acids | May sting more on an inflamed oesophagus |
| Latte, cappuccino, flat white | Adds milk, often full fat, and volume | Fat slows emptying and relaxes the valve. Larger cups add volume |
| Flavoured and syrup coffees | Adds sugar, fat and sometimes chocolate | Chocolate is on the NICE precipitant list |
| Decaffeinated | Caffeine largely removed | Less valve relaxation. Still stimulates acid |
Is black coffee or coffee with milk worse for reflux?
Neither is reliably worse, because they trip different wires, and black coffee may be harder for some people because of its high acidity. Black coffee delivers the full acid and valve effect with no fat. Coffee with full fat milk or cream adds fat, which slows stomach emptying and relaxes the valve, and usually comes in a larger cup. People who find milk soothing are feeling a brief buffering effect that fat undoes over the following hour. A small black coffee with food, or a small coffee with a splash of skimmed milk, is the pattern most often tolerated. Test your own, because small changes in milk choice and cup size can make a huge difference.
Does when you drink coffee matter?
Timing changes the effect of coffee on reflux more than almost anything else, because the same cup lands on a different stomach at different times of day.
- First thing, before food. Coffee on an empty stomach stimulates acid with nothing to buffer it. Many people who cannot tolerate a cup of coffee before breakfast tolerate one with or after breakfast.
- Mid morning, with something to eat. Usually the slot that suits people who want to keep coffee.
- Straight after a large lunch or dinner. Coffee relaxes the valve at the moment the stomach is fullest, which is the classic after meal heartburn.
- Afternoon. Caffeine lasts for hours, so a mid afternoon coffee affects the evening and can disturb sleep, and poor sleep worsens reflux.
- Evening. Coffee after dinner combines valve relaxation, acid stimulation, a full stomach and an approaching bedtime. NICE says having a main meal well before bed may help some people, and an evening coffee works against that, so you may not need to stop drinking coffee completely if timing is the main issue.
How do you keep drinking coffee with acid reflux?
Most people with reflux can keep some coffee by changing how they drink it rather than whether they drink it. The steps below work through the changes in order of effect.
- Test it first. Remove coffee for two weeks, keeping everything else the same, and record your symptoms in a simple food diary. If reflux clearly improves, coffee is a trigger and the rest of the steps are worth the effort. If it does not, coffee was never your main problem.
- Move it to the morning, with food. One cup with or after breakfast rather than before it, and none after early afternoon.
- Make it smaller. A single cup rather than a mug or a large takeaway. Volume drives reflux, so keeping it modest matters as much as choosing the right type.
- Cut the fat. Skimmed milk or a splash rather than a latte. Skip cream and syrups, and skip anything with chocolate.
- Let it cool. Very hot drinks sting an inflamed lining.
- Try decaf for the second cup, and test whether decaf itself triggers you; if it does, low acid coffee is another option to try.
- Do not lie down or bend soon after. Stay upright for a while, as after any meal.
- Reintroduce carefully after a flare. A sore oesophagus reacts to coffee that a healed one tolerates.
How do you test whether coffee is your trigger?
Change coffee and nothing else for two weeks, then reintroduce it in the morning slot for another week and compare. Not everyone reacts in the same way, which is why the two-week test matters. Reflux varies from day to day, so a single good day proves nothing. If symptoms return with the reintroduction, you have your answer and can experiment with amount, timing and decaf. If they do not, keep the coffee and look at the other precipitants NICE names: alcohol, chocolate, fatty foods, smoking and being overweight.
What happens when you cut coffee?
Cutting coffee suddenly causes headaches, tiredness and irritability for a few days, because caffeine withdrawal is real, and those symptoms are more likely if someone was having as much as four cups a day before cutting back. Those headaches are often blamed on reflux or on the antacids someone has just started, and the coffee is restarted to fix them. Reduce gradually instead: a smaller cup, then half decaf, then decaf, over a week or two. The reflux test still works when coffee is reduced gradually, because the effect on reflux fades as the coffee does.
How does coffee compare with tea and energy drinks?
Coffee, tea, and energy drinks are often compared as caffeinated beverages. Coffee tends to affect reflux more than tea and less than energy drinks, but caffeine is the common thread and volume and timing matter for all three.
| Drink | Caffeine | Other effects | Effect on reflux |
|---|---|---|---|
| Coffee | High | Stimulates acid, acidic, hot | Named by NICE as a precipitant; higher caffeine content is one reason it tends to affect reflux more than tea |
| Strong black tea | Moderate | Less acidic than coffee | Tolerated by many. Strong tea and large mugs can still trigger |
| Green tea | Lower | Mildly acidic | Usually tolerated in small cups |
| Decaf coffee | Low | Still stimulates acid | Triggers some people |
| Energy drinks | High | Carbonated, sweet, often large | Gas stretches the stomach. Frequently reported as a trigger |
| Cola | Moderate | Carbonated, acidic | Gas and acid together |
| Camomile or ginger tea | None | Not known to trigger reflux | One of the herbal teas that can be a sensible evening choice |
| Hot chocolate | Low | Chocolate, fat, sometimes caffeine | Chocolate is on the NICE list |
What if giving up coffee does not fix reflux?
If giving up coffee does not fix reflux, coffee was a contributor rather than the cause, and the reflux needs a wider look. Coffee is one of several precipitants NICE names, and the others, alcohol, chocolate, fatty foods, smoking and being overweight, are worth testing in turn. Large or late meals, lying down after eating, tight clothing and some medicines also drive reflux, and NICE advises reviewing medicines that cause reflux symptoms, including calcium channel blockers, nitrates, theophyllines, bisphosphonates, corticosteroids and anti-inflammatory painkillers. Some people may also notice other symptoms, such as a chronic cough, when reflux is not well controlled.
Reflux on most days is reflux disease, and no amount of coffee avoidance heals an inflamed oesophagus. NICE recommends a full dose proton pump inhibitor for four or eight weeks for reflux disease, then the lowest dose that controls symptoms, alongside lifestyle changes. When symptoms keep recurring, reflux can also affect gut health and the wider digestive system. Treatment suitability depends on an individual clinical assessment, and your prescriber will determine the appropriate treatment. For adults living with obesity, medically supervised weight loss treatment addresses one of the main drivers of reflux, subject to an individual clinical assessment.
What commonly goes wrong?
- Blaming coffee for a late dinner. The after dinner coffee gets the blame for reflux that the meal, the wine and the bedtime caused together.
- Switching to decaf and stopping there. Decaf still stimulates acid, and the large latte is still a large latte.
- Cutting coffee abruptly. Withdrawal headaches follow and coffee returns.
- Relying on home remedies as the whole answer. Small changes can help a little, but reflux on most days still needs proper treatment whatever you drink.
- Assuming peppermint oil is always soothing. It may ease indigestion for some people, but it can also relax the valve at the top of the stomach and worsen heartburn.
- Restarting a large morning coffee the day a flare settles. A healing oesophagus reacts to what a healed one tolerates.
When should you see a pharmacist or GP?
See a pharmacist if reflux is affecting you most weeks despite sensible coffee habits, and speak to a pharmacist, GP or other healthcare provider if symptoms persist after changing your coffee routine, especially if you regularly experience heartburn. See a GP if it occurs most days, has lasted more than a few weeks, or needs non-prescription medicines regularly. Leaflets for non-prescription acid medicines say to see a doctor if symptoms have not improved within 14 days. NICE says community pharmacists should offer initial help for people with reflux symptoms, including advice on lifestyle changes and when to consult a GP.
What are the red flags?
- Chest pain with sweating, breathlessness, nausea, or pain spreading to the arm, neck or jaw: call 999.
- Vomiting blood, vomit like coffee grounds, or black, tarry stools: call 999 or go to A&E.
- Difficulty swallowing, or food sticking: see your GP urgently. NICE recommends an urgent endoscopy, within two weeks.
- Aged 55 or over with unintended weight loss and reflux, indigestion or upper abdominal pain: see your GP urgently.
- Persistent vomiting, or unexplained tiredness that could suggest anaemia: see your GP promptly.
How can EveryDayMeds help?
Tell us how you take your coffee: how many, how big, when, and what goes in. That is usually enough for our pharmacy team to suggest the one change that could let you keep it, and to say whether coffee is likely to be your main trigger or a minor one. Switching to drinking water or suitable coffee alternatives between coffees can also make the plan easier to stick to. We can also recommend a licensed antacid or alginate for the episodes that get through. EveryDayMeds is a GPhC registered UK pharmacy, registration number 9012878.
Where reflux is frequent whatever you drink, an online consultation with UK registered prescribers can assess whether a course of treatment is appropriate. An independent prescriber reviews your answers before anything is supplied. Results vary between individuals.
Medical Disclaimer
This article is for general information only and does not replace advice from a doctor, pharmacist or other qualified healthcare professional. It is not a diagnosis. Always read the patient information leaflet supplied with any medicine. If you have chest pain and are unsure of the cause, call 999.
Frequently Asked Questions
Does coffee cause heartburn?
For many people, yes. NICE names coffee among the known precipitants of reflux symptoms. Coffee relaxes the valve that keeps stomach acid down and stimulates acid production, and it is acidic and hot. Susceptibility varies, so a two week test is the way to find out whether it affects you.
Why does coffee give me heartburn but not tea?
Coffee stimulates acid production through compounds that tea does not contain in the same amounts, it usually carries more caffeine than tea, and light roasts can be especially troublesome for some people because they are often more acidic. Tea can still trigger reflux when it is strong, large or late, but for most people it does so less than coffee, while darker roasts may be easier to tolerate for some readers.
Does decaf coffee cause acid reflux?
It can. Decaf removes most of the caffeine that relaxes the valve, but it still stimulates acid production and is still acidic and hot. Many people tolerate decaf more easily than caffeinated coffee, and some notice no difference. Test it rather than assume.
Can I drink coffee if I have GERD?
Often, in a modified form. A single small cup in the morning with food, cooled a little, with skimmed milk or none, is the pattern most people with reflux disease tolerate. Coffee after meals, in large cups, with cream or syrups, or late in the day is where the trouble usually lies. Reflux disease itself still needs the treatment NICE recommends.
Is coffee on an empty stomach bad for acid reflux?
Usually. Coffee before breakfast stimulates acid with nothing to buffer it and relaxes the valve at the same time. Moving the same cup to with or after breakfast is often enough to stop morning heartburn.
How long after quitting coffee does acid reflux improve?
If coffee is a trigger, reflux usually improves within a few days to two weeks of stopping. Expect withdrawal headaches for the first few days if you stop abruptly, and cut gradually to avoid them. If reflux has not improved after two weeks without coffee, look at other precipitants and see a pharmacist.
What can I drink instead of coffee with acid reflux?
Weak tea, green tea in small cups, camomile or ginger tea, and other caffeine-free options such as herbal teas, decaf coffee if you tolerate it, and still water. Avoid energy drinks, cola, hot chocolate and peppermint tea, which each carry their own reflux trigger and may worsen heartburn. If even decaf still triggers symptoms, some people prefer coffee alternatives such as chicory-based drinks. Peppermint tea can worsen heartburn for some people.









