Why Do We Get Diarrhea? What’s Happening in Your Gut

Diarrhea happens when too much water ends up in your stool, either because your intestines are pushing fluid out, pulling fluid in, or moving things through too fast for water to be absorbed. Globally, diarrheal diseases caused an estimated 1.17 million deaths in 2021, making this one of the most common and consequential disruptions in human health. Understanding the different mechanisms helps explain why so many different triggers, from a stomach bug to a glass of milk, can produce the same watery result.

How Your Intestines Normally Handle Water

Your digestive system processes roughly 9 liters of fluid every day, a combination of what you drink and the digestive juices your body secretes. The vast majority of that fluid gets reabsorbed before reaching your colon, and the colon soaks up most of what remains. Your stool typically contains only about 100 to 200 milliliters of water. Diarrhea occurs when something disrupts this finely tuned balance, letting excess water slip through.

There are three core ways this balance breaks down, and most causes of diarrhea involve at least one of them.

The Osmotic Pull: When Food Draws Water In

Normally, as your intestines absorb nutrients, salt follows along, and water trails behind osmotically. But when you eat or drink something your body can’t fully absorb, those undigested molecules sit in the intestinal space and act like tiny sponges. Their osmotic force pulls water (and secondarily, electrolytes) into the intestinal lumen, flooding the space with fluid your colon can’t keep up with.

This is called osmotic diarrhea, and it’s the reason lactose intolerance causes loose stools. If you lack enough of the enzyme that breaks down lactose, the undigested sugar travels to the colon, pulls water in, and gets fermented by bacteria, producing gas, bloating, and watery diarrhea. The same thing happens with fructose and other poorly absorbed carbohydrates. In one study of children with chronic abdominal pain, 41% had measurable carbohydrate malabsorption. Sugar alcohols found in sugar-free gum and candy (sorbitol, xylitol) are notorious for the same effect, and high doses of vitamin C or magnesium supplements can trigger it too.

A hallmark of osmotic diarrhea: it stops when you stop eating the offending substance.

The Secretory Flood: When Your Gut Pumps Out Fluid

In secretory diarrhea, the intestinal lining actively pushes chloride ions into the gut, and water follows. Under normal conditions, your intestines maintain a careful balance between absorbing and secreting fluid. In secretory diarrhea, that balance collapses. Chloride secretion overwhelms the intestine’s absorptive capacity, producing large volumes of watery stool even when you’re not eating.

This is the mechanism behind cholera, which hijacks the intestinal cells to keep chloride channels permanently open. Many bacterial toxins work similarly, turning your intestinal lining into a one-way valve that floods the gut with fluid. Certain hormonal tumors and bile acid malabsorption can also trigger secretory diarrhea. Unlike osmotic diarrhea, it persists even during fasting.

The Speed Problem: Too Fast to Absorb

Your colon is remarkably good at absorbing water, but it needs time. When intestinal contractions speed up (hypermotility), food and fluid get delivered to the colon faster than it can process them. The result is loose, watery stool simply because the transit was too rapid for adequate absorption.

This speed problem plays a central role in irritable bowel syndrome (IBS). People with diarrhea-predominant IBS often have irregular colon motility patterns where muscle contractions are stronger or more frequent than normal. Spasms can push stool through the colon so fast that fluid can’t be absorbed. Stress, caffeine, and certain foods can accelerate motility in anyone, which is why anxiety or a strong cup of coffee can send you to the bathroom.

Infections: The Most Common Trigger

Viral and bacterial infections are the leading cause of acute diarrhea worldwide, and they can use any combination of the mechanisms above.

Norovirus is the single biggest cause of epidemic gastroenteritis, spreading rapidly through families, cruise ships, restaurants, and institutions. It damages the intestinal lining, impairing absorption and triggering both secretory and osmotic diarrhea. Rotavirus remains the most significant cause of severe diarrheal illness in young children globally, responsible for up to 500,000 deaths annually. Rotavirus illness typically starts with vomiting, followed by distinctive foul-smelling diarrhea lasting 3 to 8 days, and can lead to dangerous dehydration in small children.

Among bacteria, Salmonella is one of the most common culprits in food-borne outbreaks, causing abdominal pain, diarrhea, nausea, and almost always fever. Clostridioides difficile (C. diff) is a different story. This bacterium typically strikes after antibiotic use, when the drugs have wiped out enough of the gut’s protective bacteria to let C. diff proliferate. It produces toxins that damage the colon lining, causing watery diarrhea, fever, and abdominal tenderness. In severe cases, it can lead to life-threatening complications including toxic megacolon and sepsis.

Antibiotics and Gut Flora Disruption

Antibiotics are one of the most common medication-related causes of diarrhea, and C. diff is only part of the explanation. Antibiotics can cause diarrhea in three ways: by directly irritating the tissue of the large intestine, by destroying the helpful bacteria that normally aid digestion and maintain the gut’s fluid balance, or by allowing harmful bacteria like C. diff to grow unchecked in the absence of normal flora.

Even without a C. diff infection, the loss of beneficial bacteria changes how your colon ferments and absorbs food, often producing loose stools that resolve once the course of antibiotics is finished and the microbiome recovers.

Chronic Diarrhea: IBS Versus IBD

When diarrhea persists for weeks or longer, two conditions top the list of possibilities, and they’re fundamentally different despite sounding similar.

IBS (irritable bowel syndrome) is a functional disorder. There’s no visible damage to the intestine, and diagnostic imaging looks completely normal. The problem lies in how the gut’s nerves and muscles behave: nerve endings in the bowel lining are unusually sensitive, the nerves controlling gut muscles are unusually active, and the resulting irregular contractions cause pain, bloating, and diarrhea. IBS is diagnosed based on a pattern of symptoms (abdominal pain linked to changes in stool frequency or form, present for at least 12 weeks out of the past year) after other causes have been ruled out.

IBD (inflammatory bowel disease, including Crohn’s disease and ulcerative colitis) causes real, visible inflammation that can permanently damage intestinal tissue. Unlike IBS, IBD shows up on imaging and biopsies. It also produces symptoms that IBS does not: bleeding, anemia, unexplained weight loss, and fever. These are important distinctions because IBD requires a completely different treatment approach and carries the risk of serious complications if left unmanaged.

Why Dehydration Is the Real Danger

Diarrhea itself is rarely dangerous in otherwise healthy adults. The threat is dehydration, the loss of water and electrolytes that your body depends on for basic functions. Early signs in adults include extreme thirst, dark urine, reduced urination, dizziness, and fatigue. In infants, watch for a dry mouth, no tears when crying, no wet diapers for three hours, sunken eyes, and skin that doesn’t spring back when pinched.

If dehydration progresses, the consequences escalate. Electrolyte imbalances can scramble the electrical signals between cells, potentially triggering seizures. Severe fluid loss can cause hypovolemic shock, where blood volume drops low enough that blood pressure collapses and organs stop receiving adequate oxygen. This is one of the most serious complications and can be fatal, particularly in young children and older adults. Diarrhea lasting more than 24 hours, bloody or black stool, an inability to keep fluids down, confusion, or a fever above 102°F are all signals that the situation has moved beyond routine and needs medical attention.