Caffeine sensitivity is mostly a matter of how fast your liver clears caffeine. Genes play a large part in setting that speed, alongside age, pregnancy, smoking, liver health and some medicines. People who clear it slowly get jitteriness, a racing heart, anxiety and broken sleep from an amount of coffee that others barely notice. Two other problems routinely get called caffeine sensitivity, though, and neither is really about caffeine. Coffee makes the colon contract, and decaf does it too. Coffee also pushes the stomach to make more acid, and in some people it triggers heartburn. The three problems call for different responses, so it pays to work out which one you actually have. This guide covers how caffeine metabolism differs between people, why coffee and decaf can both send you to the toilet, where heartburn fits in, what the research shows on coffee and IBS, and what a test can and cannot tell you.
Caffeine sensitivity symptoms and the three problems behind them
The first is slow caffeine clearance. The symptoms are the classic caffeine ones, feeling wired, shaky or anxious, palpitations or a pounding heart, and broken sleep, and they track how much caffeine you have had from every source, including tea, cola and energy drinks. Decaf rarely causes them, though it is not caffeine free. A 2006 analysis of decaffeinated coffees bought from coffee shops found up to around 14 milligrams of caffeine in a serving, so someone very sensitive who drinks several decafs is not having none at all.
The second is a bowel response to coffee. Within minutes of drinking it, the colon becomes more active, and in some people that means an urgent trip to the toilet or loose stools. Coffee itself triggers this response rather than the caffeine in it, so switching to decaf often changes nothing.
The third is reflux. Coffee stimulates stomach acid, and in people prone to heartburn it can set off a burning feeling in the chest after drinking it. Decaf can do this too.
What causes caffeine sensitivity?
One liver enzyme, CYP1A2, handles around 95 per cent of the caffeine you consume, and common variations in the gene for it divide people into faster and slower clearers. A detailed 2018 review of how the body processes caffeine found that clearance speed varies widely between people, and that it also shifts with age, pregnancy, smoking, liver disease and some medicines, including the contraceptive pill. Genes set the starting point and these other factors move it, so two people with the same genes can still clear caffeine at different speeds. The same cup of coffee produces higher caffeine levels, for longer, in a slow clearer than in a fast one, which is why one person is fine after three cups while another is wide awake at midnight after one.
Clearance is only half of it. Caffeine works by blocking adenosine, a signal that builds up through the day and makes you sleepy, and people also differ in the gene for the main receptor caffeine blocks. A 2023 UK systematic review of 22 studies found that variants in that receptor gene, ADORA2A, were linked with caffeine-related anxiety and disturbed sleep, while CYP1A2 variants were linked with differences in alertness and mental performance.
None of this can be measured with a consumer gut test. No stool test shows how fast you clear caffeine, and no food intolerance test measures it either. The most reliable measure available is your own pattern. If your symptoms rise and fall with your total caffeine intake, from tea and energy drinks as well as coffee, and ease when you have less or have it earlier in the day, slow clearance is the likely explanation.
Can coffee cause diarrhoea?
Yes, through an effect on the colon that has nothing to do with intolerance. In a Sheffield study from 1990, 99 healthy young adults were asked about their bowel habits, and 29 per cent said coffee gave them the urge to open their bowels. When the researchers then measured pressure inside the lower colon, it began contracting more within four minutes of drinking coffee in the people who had reported the urge, and the effect lasted at least half an hour. Hot water did nothing.
A later American study monitored the colon over a full day and found that caffeinated coffee stimulated it about as strongly as a 1,000 calorie meal, 60 per cent more than water and 23 per cent more than decaf.
Four minutes is far too quick for anything you drink to have physically reached the colon. The signal appears to run through nerves and gut hormones that respond to coffee arriving in the stomach. For most people this is a normal response. In some people it is strong enough to cause urgency or loose stools, and it is often read as a caffeine problem when it is not one.
Can decaf coffee cause digestive symptoms?
Yes, because the bowel responds to coffee itself, not to the caffeine in it. In the Sheffield study, decaffeinated coffee set off the same rise in colon activity as regular coffee in the people who responded. The American measurements put decaf in between, stronger than water but weaker than caffeinated coffee. Caffeine adds something, but compounds in the coffee itself are doing much of the work.
Caffeine on its own looks surprisingly weak as a bowel stimulant. In a Swiss trial, 60 people recovering from bowel surgery were randomly assigned to caffeine capsules or a dummy capsule, to test whether caffeine would restart their bowels sooner after an earlier observation that coffee seemed to. The caffeine capsules made no difference at all. People recovering from an operation are an unusual group, but the result points the same way as the decaf findings.
If you have IBS and switched to decaf without any improvement in your gut, this is the likely reason. The switch removes nearly all of the caffeine, and with it the jitteriness and the sleep effects, but it does not remove the compounds that drive the bowel response. If decaf affects your gut the same way regular coffee does, caffeine was never the problem, and the practical question becomes how much coffee of any kind suits you.
Can coffee trigger acid reflux?
Coffee stimulates the stomach to produce acid, and caffeine is not the main driver here either. In a classic 1975 study, decaffeinated coffee triggered almost as much acid production as regular coffee, and both triggered far more than a matching dose of caffeine on its own. The acids coffee contains, including a family called chlorogenic acids, are thought to carry much of this effect.
Acid alone does not decide who gets heartburn. A follow-up study compared people who got heartburn after coffee with people who did not. The heartburn group did not make more acid. What set them apart was a weaker valve between the stomach and the oesophagus, which let acid travel upwards. Heartburn after coffee says more about that valve than about the coffee.
At the population level the evidence is mixed. A 2022 review of coffee and the digestive system concluded that the acid stimulation is well established, while studies on whether coffee drinkers actually develop more reflux disease disagree with each other. If coffee reliably gives you heartburn, your own experience answers the question for you, whatever the averages say.
Does coffee aggravate IBS?
Coffee does not appear to cause IBS. A 2023 meta-analysis pooled eight studies covering more than 430,000 people and found that coffee drinkers were slightly less likely to have IBS than people who drank none. That is an association in observational data, not evidence of protection, but it sits a long way from coffee being a cause.
Causing the condition and aggravating its symptoms are different things. In an analysis of 9,710 food and symptom diaries, mostly kept by people meeting the criteria for IBS, caffeinated coffee was one of the clearest trigger patterns recorded, linked with diarrhoea within one to two hours of drinking it. That fits the speed of the colon response to coffee, and IBS often involves a gut that over-responds to normal signals.
UK advice reflects this. NICE guidance on IBS recommends limiting tea and coffee to three cups a day as part of first-line dietary advice, before any formal exclusion diet is considered. Caffeine also sits alongside fat, alcohol and spicy food among the commonly reported triggers in our guide to diet management for IBS.
How does coffee affect the gut microbiome?
Coffee appears to nudge the mix of gut bacteria modestly rather than reshape it. A 2024 review of coffee and the gut found that moderate intake, which the included studies generally meant as fewer than four cups a day, was associated with a more varied mix of gut bacteria and higher levels of some groups generally regarded as beneficial, while very heavy intake was implicated in reflux problems.
Your gut bacteria also work on the coffee. A 2026 review describes how the chlorogenic acids in coffee mostly reach the colon intact, where gut bacteria break them down into smaller compounds the body can absorb. Whether any of coffee's effects on health run through these changes is not yet established, and the review states that human evidence remains limited.
Can a test tell you why coffee affects you?
Not the caffeine part. No consumer test measures how quickly your liver clears caffeine, and a stool test cannot show it, because clearance happens in the liver, not the gut. A test marketed as an answer to caffeine sensitivity is claiming something no consumer test measures.
What a test can show is whether your immune system is reacting to coffee as a food. Our 270-food intolerance test, which includes coffee and teas, measures IgG antibody reactions to the foods themselves. An elevated IgG result for coffee may indicate a food sensitivity to coffee, the bean rather than the caffeine, and that is a separate question from slow clearance, the bowel response and reflux.
The separation matters in practice. If decaf triggers your symptoms and your IgG result for coffee is elevated, the reaction is to the coffee itself, and the herbal teas on the panel give you tested alternatives to compare against. Where that kind of reaction sits among the different ways food can disagree with you is explained in our guide to what a food intolerance is.
When should you see a GP?
Gut symptoms that track coffee are rarely a sign of disease, but some symptoms need a GP regardless of what seems to trigger them. See your GP if you have blood in your stool, unexplained weight loss, a change in bowel habit that has lasted more than three weeks, difficulty swallowing or food sticking when you swallow, or repeated vomiting. The same applies if heartburn is happening most days for three weeks or more whatever you change, if new gut symptoms start when you are over 50, or if bowel or ovarian cancer runs in your family. A racing or irregular heartbeat after normal amounts of caffeine is also a GP conversation, particularly if you take a regular medicine, because some medicines slow caffeine clearance and raise its effects. Do not stop a prescribed medicine because of anything you read about caffeine.
This guide is for information only and does not replace medical advice. Speak to your GP or pharmacist about your own symptoms.
Sources
- McCusker RR, Fuehrlein B, Goldberger BA, Gold MS, Cone EJ (2006). Caffeine content of decaffeinated coffee. Journal of Analytical Toxicology. PubMed | DOI
- Nehlig A (2018). Interindividual Differences in Caffeine Metabolism and Factors Driving Caffeine Consumption. Pharmacological Reviews. PubMed | DOI
- Kapellou A, King A, Graham CAM, et al. (2023). Genetics of caffeine and brain-related outcomes - a systematic review of observational studies and randomized trials. Nutrition Reviews. PubMed | DOI
- Brown SR, Cann PA, Read NW (1990). Effect of coffee on distal colon function. Gut. PubMed | DOI
- Rao SS, Welcher K, Zimmerman B, Stumbo P (1998). Is coffee a colonic stimulant? European Journal of Gastroenterology and Hepatology. PubMed | DOI
- Abbassi F, Müller SA, Steffen T, et al. (2022). Caffeine for intestinal transit after laparoscopic colectomy: randomized clinical trial (CaCo trial). The British Journal of Surgery. PubMed | DOI
- Cohen S, Booth GH (1975). Gastric acid secretion and lower-esophageal-sphincter pressure in response to coffee and caffeine. The New England Journal of Medicine. PubMed | DOI
- Cohen S (1980). Pathogenesis of coffee-induced gastrointestinal symptoms. The New England Journal of Medicine. PubMed | DOI
- Nehlig A (2022). Effects of Coffee on the Gastro-Intestinal Tract: A Narrative Review and Literature Update. Nutrients. PubMed | DOI
- Saygili S, Hegde S, Shi XZ (2024). Effects of Coffee on Gut Microbiota and Bowel Functions in Health and Diseases: A Literature Review. Nutrients. PubMed | DOI
- Yang L, Wang C, Cui L, et al. (2026). Coffee, the Gut Microbiome, and Host Metabolism: Gastrointestinal Fate, Microbial Transformation, Mechanistic Insights, and Prospects for Precision Nutrition. Metabolites. PubMed | DOI
- Lee JY, Yau CY, Loh CYL, et al. (2023). Examining the Association between Coffee Intake and the Risk of Developing Irritable Bowel Syndrome: A Systematic Review and Meta-Analysis. Nutrients. PubMed | DOI
- Clevers E, Launders D, Helme D, et al. (2024). Coffee, Alcohol, and Artificial Sweeteners Have Temporal Associations with Gastrointestinal Symptoms. Digestive Diseases and Sciences. PubMed | DOI