Diarrhea forms when too much water stays in your stool instead of being absorbed back into your body. Normally, your intestines reabsorb the vast majority of the fluid that passes through them, but when something disrupts that process, or when your intestines actively pump extra fluid out, the result is loose, watery stool. There are several distinct ways this happens, and most cases of diarrhea involve more than one of them at the same time.
How Your Intestines Normally Handle Water
Every day, your digestive system processes a remarkable amount of liquid. Between the water you drink, saliva, stomach acid, bile, and other digestive juices, roughly 9 liters of fluid enter your intestines daily. Your body reabsorbs about 98% of that, leaving only around 100 to 200 milliliters in your stool.
This absorption depends almost entirely on sodium. Cells lining the small intestine pull sodium in from the gut, often piggy-backing it alongside glucose and amino acids from digested food. Once inside the cell, sodium gets rapidly pumped out into the narrow spaces between neighboring cells. This creates a concentrated, salty environment in those tiny gaps, and water follows by osmosis, flowing naturally toward the higher concentration of dissolved particles. From there, both the sodium and water diffuse into the small blood vessels inside each intestinal fold, entering your bloodstream. The large intestine then mops up most of whatever fluid the small intestine missed.
When any part of this tightly coordinated system breaks down, water accumulates in the intestinal space rather than returning to the blood. That excess water is what makes stool loose or liquid.
Osmotic Diarrhea: Unabsorbed Substances Trap Water
Osmotic diarrhea happens when something in the gut pulls water in and holds onto it. If you eat or drink something your body can’t fully absorb, those unabsorbed particles raise the concentration of dissolved material inside your intestine. Water flows toward that higher concentration, just as it does during normal absorption, but in this case it flows in the wrong direction: into the gut lumen rather than out of it.
This is the mechanism behind several common triggers. Lactose intolerance is a classic example. Without enough of the enzyme that breaks down lactose, the intact sugar molecule sits in the intestine, drawing water toward it. The same thing happens with sugar alcohols like sorbitol and xylitol, found in sugar-free gum and candies. Certain laxatives work on this exact principle, using magnesium or polyethylene glycol to hold water in the bowel. High doses of vitamin C can do it too.
The hallmark of osmotic diarrhea is that it stops when you stop consuming the offending substance. If you fast or avoid the trigger food, the diarrhea resolves because there’s nothing left in the gut to trap the water.
Secretory Diarrhea: The Gut Pumps Fluid Out
Secretory diarrhea is more aggressive. Instead of water passively accumulating, the intestinal lining actively pushes fluid into the gut. The driving force behind this is chloride. Cells in the intestinal lining move chloride ions from the blood side of the cell to the gut side, and sodium and water follow.
Bacterial infections are the most dramatic cause. The cholera toxin, for instance, locks a signaling switch inside intestinal cells in the “on” position, forcing chloride channels to stay open and pour fluid into the bowel continuously. Some strains of E. coli produce toxins that mimic natural hormones your gut uses to regulate fluid balance, hijacking the system to trigger massive secretion. These toxins can also shut down the intestine’s ability to absorb sodium and water at the same time, creating a double hit: more fluid coming in, less going out.
Secretory diarrhea doesn’t stop with fasting. Because the intestinal cells themselves are being chemically instructed to secrete, it continues whether or not there’s food in the gut. Certain hormonal tumors, bile acid malabsorption, and some medications can trigger the same secretory process without an infection being involved.
Inflammatory Diarrhea: Damage to the Gut Lining
When the intestinal lining is inflamed or physically damaged, fluid, blood, and proteins leak directly into the bowel. This is what happens in conditions like Crohn’s disease, ulcerative colitis, and certain severe infections caused by bacteria like Salmonella or Clostridioides difficile.
Inflammation does more than just create leaks. It disrupts the tight junctions between intestinal cells, the seals that normally control what passes between cells. Some bacterial toxins specifically attack these junctions, breaking down the proteins that hold them together and redistributing others away from the cell surface. The result is increased permeability, essentially a leaky gut wall that lets fluid seep through gaps that shouldn’t be there. On top of that, immune cells drawn to the site of inflammation release chemical signals that can independently trigger secretion, meaning inflammatory diarrhea often has a secretory component layered on top of the direct damage.
Stool from inflammatory diarrhea often contains visible mucus or blood, which distinguishes it from other types.
How Transit Speed Makes It Worse
Your intestines need time to absorb water. The longer digested material stays in contact with the intestinal wall, the more fluid gets reabsorbed. When the gut moves things through faster than normal, there simply isn’t enough contact time for absorption to keep up.
Slow transit through the small intestine gives the body a longer window to absorb nutrients and water from digested food, which also reduces the volume of material reaching the colon. When that transit accelerates, the colon receives a larger, more liquid load than it can handle. Hyperthyroidism, irritable bowel syndrome, anxiety, caffeine, and certain medications can all speed up intestinal contractions. Rapid transit rarely causes diarrhea entirely on its own, but it amplifies the effect of any other mechanism that’s already at work.
What Makes Diarrhea Dangerous
Diarrheal stool carries significant amounts of sodium, potassium, and bicarbonate out of the body. Losing too much sodium and potassium disrupts the electrical signals your muscles and heart depend on, while losing bicarbonate makes the blood more acidic. In mild cases, your kidneys compensate. In severe or prolonged cases, especially in young children and older adults, the combined loss of water and electrolytes can cause dehydration that becomes life-threatening within hours.
This is why oral rehydration solutions work so well. They contain both sodium and glucose, taking advantage of the same coupled absorption system the small intestine uses under normal conditions. Even when much of the intestine is affected by infection or inflammation, there are usually enough functioning cells to absorb sodium when it arrives alongside glucose, pulling water back into the body in the process.
Acute, Persistent, and Chronic Diarrhea
Gastroenterologists classify diarrhea by how long it lasts. Acute diarrhea resolves within two weeks and is most commonly caused by viral or bacterial infections, food intolerances, or medications. Persistent diarrhea lasts two to four weeks and often signals an infection that hasn’t fully cleared or an emerging underlying condition. Chronic diarrhea, lasting more than four weeks, points toward ongoing conditions like inflammatory bowel disease, celiac disease, bile acid malabsorption, or hormonal disorders.
The Bristol Stool Scale, a visual reference chart used by clinicians and patients alike, classifies diarrheal stool as Type 6 (fluffy, mushy pieces with ragged edges) or Type 7 (entirely liquid with no solid pieces). Tracking which type you’re experiencing, along with frequency and duration, provides useful information for identifying the underlying cause.
Why Most Cases Involve Multiple Mechanisms
In practice, diarrhea rarely follows a single neat pathway. A stomach virus might damage intestinal cells (reducing absorption), trigger an immune response (causing inflammation and leakage), and speed up gut contractions (shortening transit time), all at once. Food poisoning from E. coli can involve toxin-driven secretion, tight junction disruption, and osmotic effects from undigested food reaching the colon too quickly. Even something as straightforward as lactose intolerance has a secondary component: when unabsorbed lactose reaches the colon, bacteria ferment it and produce gases and short-chain fatty acids, which further draw in water and stimulate contractions.
Understanding these overlapping mechanisms explains why diarrhea can vary so much in severity and character, from mildly loose stool after a rich meal to the profuse, watery output of cholera. The underlying biology is the same: water going the wrong direction, staying in the gut instead of returning to the blood, through some combination of too much being pulled in, too much being pushed out, too much leaking through, or too little time to absorb what’s there.

