Heartburn and diarrhea showing up together usually signals that something is irritating or disrupting more than one part of your digestive tract at once. The gastrointestinal system runs as a single connected tube from throat to colon, so a condition that disturbs motility, acid production, or the gut’s microbial balance can easily produce symptoms at both ends. The causes range from everyday triggers like food intolerances and alcohol to chronic conditions like irritable bowel syndrome overlapping with acid reflux, and occasionally to rarer disorders that specifically drive both symptoms through excess hormone production.
The IBS and Acid Reflux Overlap
The single most common reason people experience heartburn and diarrhea together is that irritable bowel syndrome and gastroesophageal reflux disease frequently coexist in the same person. Research has found that up to about 79% of people with IBS also report reflux symptoms, and up to roughly 71% of people diagnosed with reflux report IBS-type symptoms like diarrhea, bloating, or abdominal cramping.1PubMed. Gastroesophageal reflux disease (GERD) and irritable bowel syndrome (IBS)–is it one disease or an overlap of two disorders? Those numbers are strikingly high, and researchers have debated for years whether this overlap means the two conditions share a common root or are genuinely separate problems that just happen to travel together.
One leading explanation is that both disorders stem from a shared dysfunction in how the gut’s smooth muscle and sensory nerves operate. If the nerves lining your digestive tract are hypersensitive or your gut muscles contract in disordered patterns, that could loosen the valve between your stomach and esophagus (causing acid to splash upward) while also speeding food through your intestines (causing loose stools). The alternative theory is that reflux itself can produce IBS-like symptoms further down the tract, which is partly supported by the fact that some people see their diarrhea improve when their reflux is treated.2Journal of Neurogastroenterology and Motility. The Overlap Between GERD and Functional Bowel Disorders – When East Meets Rome Either way, if you have one of these conditions, getting screened for the other is worth the conversation with your doctor.
Food, Drink, and Dietary Triggers
Sometimes the simplest explanation is the right one. Certain foods and beverages are well known for provoking both heartburn and diarrhea in the same meal or the same day. Spicy foods, very fatty meals, coffee, and chocolate can relax the lower esophageal sphincter (the muscular ring keeping stomach acid out of your esophagus) while also stimulating your intestines to move faster. The result is a burning chest paired with urgent trips to the bathroom.
Alcohol deserves special mention. It impairs the function of the muscles that separate the esophagus from the stomach, promoting heartburn, while simultaneously disrupting muscle movement in the small and large intestines and interfering with nutrient absorption, all of which contribute to the diarrhea commonly seen in heavy drinkers.3PubMed Central. Alcohol’s role in gastrointestinal tract disorders You do not need to be a chronic drinker for this to happen. A single evening of heavy drinking can trigger both symptoms the next morning.
Food intolerances add another layer. Lactose malabsorption, for instance, commonly produces bloating, gas, and diarrhea when someone consumes dairy. Interestingly, one study found that heartburn and regurgitation were actually more severe in patients who did not have lactose malabsorption compared to those who did, suggesting that the relationship between dairy intake and upper GI symptoms is not as straightforward as people assume.4MDPI (International Journal of Environmental Research and Public Health). The Perception of Lactose-Related Symptoms of Patients with Lactose Malabsorption If you suspect a food intolerance is behind your symptoms, an elimination diet or a breath test through your doctor can help pin it down. But keep in mind that multiple intolerances can overlap, making it tricky to isolate the culprit without systematic testing.
Medications That Create the Problem They Treat
Here is an irony that catches many people off guard: proton pump inhibitors, the medications most commonly prescribed for heartburn, can sometimes cause diarrhea as a downstream side effect. PPIs work by dramatically reducing stomach acid, which is effective for healing esophageal irritation. But stomach acid also serves as a barrier against bacteria. When acid levels stay suppressed for months or years, bacteria can proliferate in the small intestine, a condition called small intestinal bacterial overgrowth, or SIBO.
A study in elderly patients found that long-term PPI use was significantly associated with both positive breath tests for SIBO and the occurrence of SIBO-related symptoms, including diarrhea, bloating, and abdominal discomfort.5PubMed Central. A Study on the Glucose Breath Test Positivity Rate and Occurrence of Small Intestine Bacterial Overgrowth-Related Symptoms Caused by Long-Term Use of Proton Pump Inhibitor (PPI) Versus Potassium-Competitive Acid Blocker (P-CAB) in Elderly Patients So you may start taking a PPI for heartburn, get relief from the burning, but develop new lower GI symptoms because the medication has altered your gut environment. If you have been on a PPI for a long time and diarrhea has crept in, that connection is worth raising with your prescriber rather than assuming you have developed a second, unrelated problem.
When Bacterial Overgrowth Fuels Both Symptoms
SIBO does not only result from medication use. It can develop on its own, and it has a notable relationship with reflux. A retrospective study of nearly 400 patients found that GERD was significantly more common in patients who tested positive for SIBO, and that reflux appeared to be an independent risk factor for bacterial overgrowth in the small intestine.6Dove Press (Journal of Inflammation Research). Correlation Between Gastroesophageal Reflux Disease and Small Intestinal Bacterial Overgrowth: Analysis of Intestinal Microbiome and Metabolic Characteristics The bacteria produce gas as they ferment food in the small intestine, which can increase abdominal pressure and push stomach contents upward, worsening reflux. At the same time, the bacterial overgrowth irritates the intestinal lining and draws water into the bowel, producing diarrhea. It becomes a self-reinforcing loop where one problem amplifies the other.
SIBO is diagnosed through breath testing and treated with targeted antibiotics, sometimes followed by dietary changes to prevent recurrence. If you have persistent heartburn and diarrhea that do not respond well to standard treatments, bacterial overgrowth is one of the less obvious causes worth investigating.
Zollinger-Ellison Syndrome
This is a rare condition, but it is the textbook example of a single disease driving severe heartburn and diarrhea simultaneously. Zollinger-Ellison syndrome is caused by a tumor (called a gastrinoma, usually in the pancreas or duodenum) that pumps out excessive amounts of the hormone gastrin. Gastrin tells your stomach to produce acid, and without the normal feedback loop to shut it off, the stomach floods with acid far beyond what it needs.
The acid overwhelms the esophageal sphincter, causing intense heartburn and recurrent ulcers. It also pours into the small intestine in volumes the gut cannot handle, impairing the absorption of sodium and water and triggering chronic diarrhea. In case series, abdominal pain appears in about 75% of patients, diarrhea in about 73%, and heartburn in roughly 44%.7PubMed Central. Zollinger-Ellison Syndrome: A Rare Case of Chronic Diarrhea Weight loss is another common feature. Zollinger-Ellison syndrome is typically managed with high-dose acid suppression and, when possible, surgical removal of the tumor.8PubMed Central. Gastrinoma and Zollinger Ellison syndrome: A roadmap for the management between new and old therapies
Because the syndrome is uncommon, it is often diagnosed late, sometimes years after symptoms begin. Doctors tend to suspect it when a patient has severe reflux that does not respond to normal doses of acid-blocking medication, or when diarrhea and recurrent ulcers appear together without an obvious dietary or infectious explanation.
Crohn’s Disease Affecting the Upper GI Tract
Most people think of Crohn’s disease as a problem of the lower intestines, and it usually is. But Crohn’s can inflame any part of the digestive tract, including the esophagus, stomach, and duodenum. When it does, the inflammation in the upper tract produces symptoms that mimic reflux, including heartburn, pain after eating, and difficulty swallowing. Meanwhile, the more typical lower-tract involvement causes diarrhea, cramping, and sometimes bloody stools.
Upper GI involvement in Crohn’s generally occurs alongside disease in the lower tract rather than in isolation.9PubMed Central. Crohn’s disease of esophagus, stomach and duodenum In one documented case, a patient with persistent upper abdominal pain underwent endoscopy that revealed ulcer-like lesions in the esophagus and widespread inflammation in the stomach and duodenum, all ultimately attributed to Crohn’s, while colonoscopy confirmed inflammation in the terminal ileum.10Military Medicine. Upper Gastrointestinal Manifestations of Crohn’s Disease: Differential Diagnosis and Treatment of an Uncommon Presentation of Crohn’s Disease If you already carry a Crohn’s diagnosis and develop new heartburn symptoms, it is worth considering whether the disease has spread upward rather than assuming the reflux is unrelated.
Bile Acid Problems After Gallbladder Removal
Your gallbladder stores and concentrates bile, releasing it in measured doses when you eat fat. After a cholecystectomy (gallbladder removal), bile drips continuously into the small intestine instead. Most people adjust, but some develop bile acid diarrhea because the colon cannot reabsorb the excess bile, which stimulates the intestinal lining to secrete water and electrolytes.11PubMed Central. Diagnosis and treatment of post-cholecystectomy diarrhoea
The heartburn component comes from bile reflux. Without the gallbladder acting as a reservoir, bile can flow backward from the duodenum into the stomach and even the esophagus. Bile is alkaline, but it is still deeply irritating to tissues that are not designed to handle it. The burning sensation from bile reflux feels a lot like acid reflux but responds poorly to acid-suppressing medications, which can be a clue. If your heartburn and diarrhea started after gallbladder surgery, bile acid sequestrant medications (which bind the excess bile in the gut) are often the more effective treatment path.
Diabetes and Nerve Damage to the Gut
Long-standing diabetes can damage the autonomic nerves that control digestion, a complication called gastrointestinal autonomic neuropathy. By some estimates, GI symptoms occur in about half of people with diabetes, though the condition is underdiagnosed because the symptoms overlap with so many other problems.12Experimental and Clinical Gastroenterology. Gastrointestinal autonomic neuropathy in patients with type 2 diabetes mellitus: features of diagnosis and treatment
The nerve damage disrupts the coordinated muscle contractions that move food through the tract. In the esophagus, this manifests as weakened sphincter control and reflux. In the stomach, it can slow emptying (gastroparesis), causing nausea and bloating. And in the intestines, it can swing between sluggish motility (constipation) and overactive motility (diarrhea), sometimes alternating unpredictably. The combination of reflux and diarrhea in someone with poorly controlled blood sugar is a pattern that should prompt evaluation for autonomic neuropathy, especially if gastroparesis symptoms are also present.
Thyroid Disorders
Both overactive and underactive thyroid function can cause digestive trouble, which surprises many people. Thyroid hormones regulate the basal metabolic rate throughout the body, and the gut is particularly sensitive to changes. An overactive thyroid speeds up intestinal motility, commonly causing diarrhea. An underactive thyroid typically slows things down, leading to constipation, but can also produce diarrhea in some cases through different mechanisms.13Europe PMC. Consequences of dysthyroidism on the digestive tract and viscera Both conditions can affect esophageal motility and sphincter tone, contributing to reflux.
The key detail here is that thyroid-related GI problems tend to improve once thyroid levels are brought back to normal. If you are experiencing unexplained heartburn and diarrhea alongside other signs of thyroid trouble (unexplained weight changes, fatigue, temperature sensitivity, hair changes), a simple blood test can rule this in or out quickly.
Autoimmune and Systemic Conditions
Several systemic diseases can affect the entire digestive tract at once, producing upper and lower GI symptoms simultaneously. Systemic sclerosis (scleroderma) is one of the more dramatic examples. In people with this autoimmune condition, GI tract involvement is nearly universal, and any segment from the mouth to the anus can be affected. The esophagus is commonly involved, leading to severe reflux, while intestinal involvement causes bloating, diarrhea, and in advanced cases, malnutrition.14Europe PMC. Gastrointestinal Manifestations of Systemic Sclerosis
Mast cell disorders represent another category worth knowing about. Mast cells are immune cells scattered throughout the gut lining that regulate sensitivity and vascular permeability. In conditions like systemic mastocytosis and mastocytic enterocolitis, mast cells accumulate in abnormal numbers and release chemical mediators that cause inflammation, pain, and altered motility across multiple segments of the GI tract.15Europe PMC. Mast cells in gastrointestinal disease These conditions are uncommon and often difficult to diagnose, but they are increasingly recognized as a cause of otherwise unexplained GI symptoms that span the upper and lower tract.
Pregnancy and Hormonal Shifts
Pregnancy is one of the most common situations in which heartburn and changes in bowel habits co-occur, though the classic pairing is heartburn and constipation rather than heartburn and diarrhea. The hormonal shifts of pregnancy, particularly rising progesterone, relax smooth muscle throughout the GI tract. That relaxation loosens the esophageal sphincter (causing reflux) and slows intestinal transit (causing constipation and bloating). However, some pregnant people do experience diarrhea, especially in the first trimester when hormonal fluctuations are most volatile, or in the third trimester as the body prepares for labor.
If you are pregnant and dealing with both symptoms, the usual advice applies: smaller meals, avoiding trigger foods, staying upright after eating, and discussing safe medications with your provider. Heartburn in pregnancy is almost always benign and resolves after delivery, though the discomfort while you are living with it is very real.
When to See a Doctor
Occasional heartburn paired with a loose stool after a heavy meal or a night of drinking is not a medical emergency. But certain patterns warrant a visit:
- Duration: Both symptoms persisting daily for more than two weeks without an obvious dietary explanation.
- Weight loss: Unintentional loss of more than a few pounds alongside GI symptoms can signal conditions like Zollinger-Ellison syndrome or Crohn’s disease.
- Blood: Blood in your stool or vomit calls for prompt evaluation.
- Medication connection: Symptoms that began or worsened after starting a new medication, especially PPIs or antibiotics.
- Nighttime symptoms: Diarrhea that wakes you from sleep is more likely to have an organic cause than functional diarrhea, which tends to occur during waking hours.
Diagnosis usually starts with a careful history and sometimes involves blood work, stool testing, breath testing for SIBO, or endoscopy. The range of possible causes is wide, but most are treatable once identified. The fact that two symptoms appear together is actually useful information for your doctor, because it narrows the list of likely diagnoses compared to either symptom alone.
High-Fat Diets and the Gut Microbiome
Emerging research is exploring how dietary patterns reshape the microbial communities in your intestines, which in turn affects digestion and symptom patterns. An animal study found that a high-fat, high-protein diet altered the composition of lactase-producing bacteria in the gut, reducing populations of beneficial species like Lactobacillus while increasing others.16Europe PMC. Diarrhea Caused by High-Fat and High-Protein Diet Was Associated With Intestinal Lactase-Producing Bacteria This kind of microbial shift could theoretically make someone more prone to both poor digestion of certain carbohydrates (contributing to diarrhea and gas) and altered gut motility patterns that worsen reflux. The research is still in early stages and mostly based on animal models, so direct conclusions for people are premature. But it fits a broader pattern in gastroenterology: the community of microbes in your intestines is not just a bystander. It actively shapes how your gut moves, how it handles acid, and how it responds to the food you eat.