Why Does Diarrhea Cause Metabolic Acidosis?

Diarrhea causes metabolic acidosis primarily by flushing bicarbonate out of the body in stool. Bicarbonate is the main chemical buffer your blood uses to neutralize acid, and the fluid inside your intestines is loaded with it. When diarrhea speeds everything through, that bicarbonate never gets reabsorbed, and blood pH drops. The story gets more layered when you factor in how specific infections sabotage the gut’s ion-exchange machinery, how potassium loss compounds the problem, and how the kidneys scramble to compensate.

How the Gut Normally Handles Bicarbonate

Your digestive system is one of the biggest bicarbonate factories in the body. The pancreas alone secretes juice with bicarbonate concentrations of roughly 140 to 150 millimoles per liter under stimulation, which is well above the concentration in blood plasma.1PubMed Central. Physiology and pathophysiology of bicarbonate secretion by pancreatic duct epithelium The bile ducts and intestinal lining add more. Under normal conditions, this bicarbonate gets reabsorbed further along the intestinal tract, so it does not leave the body in any meaningful amount. The net effect is a closed loop: bicarbonate flows in, neutralizes stomach acid, and then gets reclaimed.

Diarrhea breaks that loop. When stool moves through the colon too quickly, or when massive volumes of fluid are being secreted into the intestinal lumen, the lower gut simply does not have enough contact time to reabsorb the bicarbonate. The result is direct loss of a crucial blood buffer in feces. Because bicarbonate is essentially being drained out of the blood’s buffering system, the blood becomes more acidic. This is the core mechanism behind what clinicians call a non-anion gap, or hyperchloremic, metabolic acidosis: the bicarbonate is lost, and chloride rises in the blood to fill the electrical gap.2American Journal of Kidney Diseases. Core Curriculum in Nephrology: Acid-Base Disorders – Section: The Anion Gap

How Infections Sabotage Ion Exchange

The intestinal lining is not a passive tube. It is covered in transporter proteins that actively shuttle ions back and forth between the gut lumen and the bloodstream. One of the most important for acid-base balance is an anion exchanger called DRA (for “Down Regulated in Adenoma”), which absorbs chloride from the intestinal lumen and sends bicarbonate out. Under normal conditions, this exchange is tightly regulated. But research has shown that a wide range of gut pathogens actively suppress DRA. Infections with organisms like enteropathogenic E. coli, Salmonella, C. difficile, and Cryptosporidium all downregulate DRA’s function or expression.3PubMed Central. SLC26A3 (DRA, the Congenital Chloride Diarrhea Gene): A Novel Therapeutic Target for Diarrheal Diseases

When DRA is suppressed, two things happen at once. First, chloride is not absorbed from the intestinal lumen, so it stays behind and draws water with it osmotically, worsening the diarrhea itself. Second, the exchanger is no longer pulling bicarbonate into the lumen in a controlled way tied to chloride uptake, which means the gut’s ion recycling breaks down. The net result is that even more electrolyte-rich, bicarbonate-containing fluid ends up lost in stool.

Cholera is the most dramatic example. Cholera toxin triggers the intestinal lining to actively secrete water and electrolytes into the gut lumen. Classic studies of the human jejunum exposed to cholera toxin show that absorption of water and electrolytes progressively converts to net secretion over a matter of hours, with sodium, chloride, and bicarbonate movement all tracking together.4Gut. Effect of cholera toxin on the human jejunum A person with severe cholera can lose liters of fluid per day, each liter carrying a substantial bicarbonate load. The speed and volume of these losses explain why cholera-related acidosis can become life-threatening within hours.

The Potassium Connection

Diarrhea does not just strip bicarbonate from the body. It also causes heavy potassium losses, and the two problems reinforce each other in a way that makes acidosis worse. When potassium levels in the blood drop, the kidneys respond by increasing acid secretion and ramping up the production of ammonia, a process called ammoniagenesis.5PubMed. Acid-base and potassium homeostasis In isolation this might seem helpful, since excreting more acid should correct acidosis. But the picture is more complicated. Potassium depletion also causes cells throughout the body to shift hydrogen ions from inside the cell to the outside, effectively pushing more acid into the blood. And the kidney’s attempts to hold onto potassium come at the expense of holding onto other ions that would normally help maintain acid-base balance.

This interplay is part of why young children with diarrhea often present with both severe hypokalemia (low potassium) and metabolic acidosis simultaneously. In one study of dehydrated children with acute diarrhea, infants aged 6 to 12 months had the highest rates of both problems, with about 70 percent showing hypokalemia and 60 percent showing metabolic acidosis.6Medical and Pharmaceutical Journal. Assessment of Serum Electrolyte Imbalance in Dehydrated Children with Acute Diarrhea The two disturbances are not independent complications; they are mechanistically linked.

How the Kidneys Try to Compensate

When blood becomes more acidic, the kidneys are the main line of defense. The primary tool they use is ammonium excretion. In the proximal tubule of the kidney, an amino acid called glutamine is broken down in a series of reactions that produce ammonium and, critically, generate new bicarbonate to replace what was lost. That ammonium is then secreted into the urine via a sodium-hydrogen exchanger called NHE3.7PubMed Central. Renal handling of ammonium and Acid base regulation In effect, the kidney manufactures fresh bicarbonate from scratch and dumps the acid load as ammonium in the urine.

This compensation works well for mild or slowly developing acidosis, but it has limits. In severe diarrhea, the bicarbonate losses can outpace what the kidney can regenerate, especially if dehydration is reducing blood flow to the kidneys at the same time. Dehydration means less filtrate passing through the tubules, which means less substrate for ammonium production. That is the central tension: diarrhea creates both the acid-base problem and the conditions that impair the body’s main fix for it.

How Clinicians Tell Diarrheal Acidosis Apart from Other Causes

Metabolic acidosis has dozens of potential causes, and figuring out whether diarrhea is the culprit matters for treatment. One practical tool is the urinary anion gap. It works as a rough proxy for how much ammonium the kidneys are excreting. In diarrheal acidosis, the kidneys are functioning normally and ramping up ammonium production, so the urinary anion gap comes out negative. In contrast, when acidosis stems from a problem in the kidney’s own acid-handling machinery (a renal tubular acidosis, for instance), the kidneys cannot excrete enough ammonium, and the urinary anion gap is positive.8PubMed. The use of the urinary anion gap in the diagnosis of hyperchloremic metabolic acidosis

This distinction is clinically important because the treatments diverge. Diarrheal acidosis usually resolves when fluid and electrolytes are replaced and the diarrhea itself is controlled. Renal tubular acidosis requires ongoing bicarbonate supplementation and investigation into what is wrong with the kidney. A negative urinary anion gap in someone with hyperchloremic acidosis and a history of recent diarrheal illness essentially points the clinician toward the gut, not the kidney, as the source of the problem.

When Diarrhea Causes a Different Kind of Acidosis Entirely

The bicarbonate-loss story described above covers most cases of diarrhea-related acidosis, but there is a mechanistically distinct variant that catches clinicians off guard: D-lactic acidosis. This tends to occur in people with short bowel syndrome, a condition in which large portions of the small intestine have been surgically removed or are nonfunctional. Because the shortened small bowel cannot absorb carbohydrates efficiently, undigested sugars arrive in the colon, where bacteria ferment them into D-lactic acid. That D-lactic acid is then absorbed into the bloodstream, causing an anion-gap metabolic acidosis, which is chemically a different beast from the non-anion gap acidosis of typical diarrhea.9PubMed Central. D-Lactic Acidosis in Short Bowel Syndrome

What makes D-lactic acidosis particularly insidious is the feedback loop. As D-lactate accumulates in the colon, the local pH drops, and the acidic environment actually favors the bacteria that produce D-lactate, leading to even more production. The cycle feeds itself until the person becomes severely acidotic.10PubMed Central. D-lactic acidosis: an underrecognized complication of short bowel syndrome Standard blood tests for lactate often miss it, because the routine assay measures L-lactate, the form produced by human metabolism, and does not pick up D-lactate at all. A person can have a dangerously elevated total lactate level and a normal-looking lab result. The clinical giveaway is often neurological symptoms: confusion, slurred speech, and an unsteady gait that appear after a high-carbohydrate meal, alongside an unexplained anion-gap acidosis.

Why Infants Are Especially Vulnerable

Adults with a bout of gastroenteritis rarely develop clinically significant acidosis. Infants and young children are a different story. Their vulnerability comes from several converging factors. They have a higher metabolic rate relative to body size, which means they produce more acid per kilogram to begin with. Their total body water, while proportionally larger, turns over faster, so they dehydrate more quickly. And their kidneys, especially in the first year of life, have a limited capacity to ramp up ammonium excretion compared to adult kidneys.

On top of that, the volume of diarrheal fluid relative to body weight is much larger in a small child. An infant who loses 300 milliliters of bicarbonate-rich stool has lost a far greater proportion of total body bicarbonate than an adult losing the same volume. The electrolyte data bear this out: infants in the 6-to-12-month age group show the highest rates of both metabolic acidosis and hypokalemia during acute diarrheal illness.6Medical and Pharmaceutical Journal. Assessment of Serum Electrolyte Imbalance in Dehydrated Children with Acute Diarrhea This is the age window when maternal antibodies have waned but the child’s own immune system is still maturing, so diarrheal infections tend to be more frequent and more severe.

Rehydration and Whether Bicarbonate Should Be Given Directly

The first-line treatment for diarrhea-related acidosis is fluid replacement, not acid correction. In most cases, restoring circulating volume allows the kidneys to resume their compensatory work, and the acidosis resolves on its own over hours. The World Health Organization’s oral rehydration solution (ORS) was originally formulated with sodium bicarbonate as a base component. Later formulations substituted sodium citrate, which the body converts to bicarbonate after absorption, and studies showed the citrate-based solution was equally effective at correcting acidosis within 48 hours.11PubMed Central. Oral rehydration therapy: efficacy of sodium citrate equals to sodium bicarbonate for correction of acidosis in diarrhoea The shift to citrate was practical rather than clinical: citrate is more stable in solution and gives the ORS a longer shelf life in tropical climates where refrigeration is scarce.

For children with severe dehydration, guidelines recommend starting with intravenous normal saline to restore circulation before transitioning to oral rehydration.12PubMed. Simplified treatment strategies to fluid therapy in diarrhea The question of whether to give intravenous bicarbonate directly is more contested. In a randomized trial of children with acute diarrhea, severe dehydration, and severe non-anion gap metabolic acidosis, those who received calculated-dose bicarbonate infusion on top of standard Ringer’s Lactate rehydration resolved their acidosis significantly faster, at a median of about 8 hours compared to 12 hours with rehydration alone. The bicarbonate group also needed less intensive care support and had fewer adverse outcomes.13PubMed. Additional Bicarbonate Infusion Complements WHO Rehydration Therapy in Children with Acute Diarrhea and Severe Dehydration Presenting with Severe Non-anion Gap Metabolic Acidemia: An Open Label Randomized Trial That said, this was a single small trial, and clinical practice has traditionally been cautious about bicarbonate infusion because overcorrection can cause its own problems, including a paradoxical worsening of intracellular acidosis and dangerous drops in ionized calcium.

The general approach most clinicians follow is to reserve intravenous bicarbonate for the sickest patients whose blood pH has dropped dangerously low and whose acidosis is not responding to fluid resuscitation alone. For everyone else, replacing fluid and electrolytes and treating the underlying diarrhea is usually enough. The body is quite good at regenerating its own bicarbonate stores once the losses stop and kidney perfusion improves.

D-Lactic Acidosis in Veterinary Medicine

The link between diarrhea and D-lactic acidosis is not unique to humans. Newborn calves with diarrhea commonly develop a combination of dehydration, conventional bicarbonate-loss acidosis, and D-lactic acidosis. In calves, the clinical picture has been studied extensively because neonatal calf diarrhea is one of the most economically significant diseases in livestock. Research on diarrheic calves found that clinical signs like posture, behavior, and the palpebral reflex (whether the calf blinks when you touch the corner of its eye) correlated strongly with both base excess and D-lactate levels in the blood.14PubMed. Metabolic acidosis in neonatal calf diarrhea-clinical findings and theoretical assessment of a simple treatment protocol Loss of the palpebral reflex, in particular, emerged as the best bedside indicator that D-lactate was elevated.

This matters for human medicine because calf models have pushed forward the understanding of D-lactic acidosis in ways that would be hard to replicate ethically in human studies. The finding that D-lactate itself contributes to neurological depression, independent of pH, has influenced how clinicians think about the unexplained encephalopathy sometimes seen in human short bowel patients. It also underlines a broader point: when the gut is not absorbing properly and bacteria get access to undigested nutrients, they produce organic acids that the body was never designed to handle in large quantities. The resulting acidosis is not just a bookkeeping problem on a chemistry panel. It has direct effects on brain function, cardiac contractility, and the ability to maintain blood pressure, which is why severe diarrheal acidosis in any species demands urgent correction.