How Is Diarrhea Caused? Common and Chronic Triggers

Diarrhea happens when your intestines can’t absorb enough water from the food and liquid passing through them, or when they actively push extra fluid into the digestive tract. The result is loose, watery stools that move through your system faster than normal. While the triggers range from a stomach bug to a food intolerance to medication side effects, every case of diarrhea comes down to a disruption in how your gut handles fluid. Understanding the specific mechanism behind yours can help you figure out what’s going on and what to do about it.

Four Ways Your Gut Produces Diarrhea

Your small intestine both absorbs and secretes fluid throughout the day. Normally, absorption wins out, and your colon removes most of the remaining water before stool reaches the exit. Diarrhea develops when something tips that balance. There are four basic mechanisms, and many conditions involve more than one at the same time.

Secretory diarrhea occurs when your intestinal lining pumps excess fluid into the gut. Bacterial toxins are the classic trigger here. Bacteria like E. coli and the organism that causes cholera produce toxins that essentially flip a switch in your intestinal cells, forcing them to secrete water and electrolytes instead of absorbing them. The volume of fluid can be enormous, which is why these infections carry a serious dehydration risk.

Osmotic diarrhea happens when something in your gut pulls water in by creating an osmotic gradient. Think of it like a sponge sitting in your intestine. Undigested sugars, certain laxatives, and sugar alcohols all do this. When your body can’t break down or absorb a substance, it stays in the intestine and draws water toward it. This type typically stops when you stop eating or drinking the offending substance.

Inflammatory (exudative) diarrhea involves damage to the intestinal lining itself. Blood, pus, and protein-rich fluid leak into the gut, adding volume to your stool. Conditions like ulcerative colitis and Crohn’s disease work this way. The inflammation also impairs normal fluid absorption, compounding the problem.

Motility-related diarrhea results when food moves through your intestines too quickly for water to be properly absorbed. Your colon needs time to do its job. If contractions push contents through before that window closes, you end up with loose, watery stool. This mechanism plays a role in irritable bowel syndrome and in hyperthyroidism.

Infections: The Most Common Trigger

Viruses cause the majority of acute diarrhea cases worldwide. Norovirus, rotavirus, and similar organisms infect the mature cells lining your small intestine, the cells responsible for both digestion and absorption. The virus kills these cells, causing them to slough off and leaving the intestinal surface blunted and less capable of absorbing nutrients and water. Your body replaces these cells within a few days, which is why most viral gastroenteritis resolves on its own.

Bacterial infections tend to be more aggressive. Some bacteria, like certain strains of E. coli, produce toxins that hijack your intestinal cells into secreting fluid. Others, like Salmonella, physically invade the intestinal wall and trigger an inflammatory response. Parasites such as Giardia take a different approach, attaching to the intestinal lining and interfering with absorption over weeks or months if untreated.

The common thread across all infectious diarrhea is that a pathogen disrupts the normal architecture or function of your intestinal lining. Whether it kills cells, poisons them, or inflames them, the end result is the same: fluid that should be absorbed ends up in your stool.

Food Intolerances and Osmotic Effects

If you get diarrhea after drinking milk or eating fruit, the mechanism is usually osmotic. Lactose intolerance is the most familiar example. When your body doesn’t produce enough of the enzyme that breaks down lactose (the sugar in dairy), that lactose travels intact to your colon. There, bacteria ferment it, producing gas, and the undigested sugar draws water into the intestine. The combination of excess fluid and fermentation byproducts causes bloating, cramping, and loose stools.

Fructose malabsorption works the same way. Your small intestine has a limited capacity to absorb fructose. Exceed that capacity with large amounts of fruit juice, honey, or high-fructose corn syrup, and the unabsorbed fructose reaches the colon, where it triggers the same osmotic and fermentation cascade.

Sugar alcohols like sorbitol and mannitol, commonly found in sugar-free gum, candy, and protein bars, are particularly poor at being absorbed. They accumulate in the colon, increase osmotic pressure, and prevent water absorption. Whether you develop diarrhea from sugar alcohols partly depends on your gut bacteria. Research published in Nutrients found that bacteria capable of breaking down sorbitol can protect against this effect. People whose microbiome lacks these specific bacteria are more susceptible. This is why some people can chew sugar-free gum all day with no issues while others get diarrhea from a single piece.

Antibiotics and Gut Flora Disruption

Antibiotics are one of the most common medication-related causes of diarrhea. They work by killing bacteria, but they don’t distinguish between the harmful bacteria causing your infection and the beneficial bacteria living in your gut. The result is a significant drop in the diversity and richness of your intestinal microbiome, changes that can persist well after you finish the prescription.

When your normal gut residents are depleted, two things happen. First, undigested carbohydrates accumulate because the bacteria that would normally ferment them are gone. Second, opportunistic pathogens have room to colonize. The most dangerous of these is Clostridioides difficile, which accounts for roughly 20% of all antibiotic-associated diarrhea cases. C. difficile produces toxins that damage the intestinal lining and trigger severe, sometimes life-threatening inflammation. The remaining 80% of cases involve milder disruption: altered fermentation, changes in bile acid processing, and shifts in fluid balance that resolve as the microbiome recovers.

Chronic Conditions That Cause Ongoing Diarrhea

When diarrhea persists for weeks or months, the cause is usually a chronic condition rather than an infection. The two most commonly confused are inflammatory bowel disease (IBD) and irritable bowel syndrome (IBS), and they work through fundamentally different mechanisms.

IBD, which includes Crohn’s disease and ulcerative colitis, involves visible inflammation of the intestinal lining. A colonoscopy reveals ulcers, redness, and structural damage. The inflamed tissue leaks blood, mucus, and protein into the gut while simultaneously losing its ability to absorb fluid normally. In Crohn’s disease, inflammation can also create abnormal connections (fistulas) between sections of the intestine, bypassing entire stretches of absorptive surface. When the disease affects the end of the small intestine, bile salts that would normally be reabsorbed there spill into the colon, where bacteria convert them into compounds that directly stimulate fluid secretion.

IBS, by contrast, shows no visible damage. The intestinal lining looks completely normal under a scope. Instead, the problem lies in how the gut and brain communicate. The enteric nervous system, sometimes called the “second brain,” controls intestinal contractions and fluid secretion. In IBS, this system appears to be hypersensitive or poorly regulated, leading to abnormal motility, visceral pain, and diarrhea without any structural cause. This is why IBS has been reclassified as a disorder of gut-brain interaction.

Celiac disease represents yet another mechanism. Here, an immune reaction to gluten damages the tiny finger-like projections (villi) that line the small intestine and provide absorptive surface area. As these villi flatten and atrophy, the intestine loses its ability to absorb fats, nutrients, and fluid. The unabsorbed fat alone increases stool volume significantly, and the malabsorbed bile salts compound the problem by stimulating secretion further down the tract.

Motility: When Everything Moves Too Fast

Your colon absorbs water gradually as stool moves through it. Anything that speeds up transit time reduces how much water gets pulled out. Hyperthyroidism increases gut motility as part of its system-wide metabolic acceleration. Anxiety and stress activate the enteric nervous system and can trigger rapid colonic contractions. Even a large cup of coffee stimulates motility enough to cause loose stools in some people.

On the opposite end, abnormally slow motility in the small intestine can also cause diarrhea, though the mechanism is indirect. When contents sit too long in the small bowel, bacteria overgrow in a space that should be relatively sterile. These bacteria break down bile salts prematurely, which then irritate the colon and stimulate secretion. This is seen in conditions like scleroderma, where the intestinal muscles lose their ability to contract normally.

Warning Signs That Need Attention

Most acute diarrhea resolves within a day or two. For adults, the threshold for concern is diarrhea lasting more than two days without improvement, signs of dehydration (excessive thirst, dark urine, dizziness, very little urination), severe abdominal or rectal pain, blood or black color in the stool, or a fever above 102°F.

Children dehydrate faster and need closer monitoring. In kids, diarrhea that doesn’t improve within 24 hours warrants medical attention, as does no wet diaper for three or more hours, fever above 102°F, bloody or black stools, crying without tears, or a sunken appearance around the eyes or cheeks. Skin that stays “tented” when pinched rather than flattening back down is a reliable sign of significant dehydration in children and adults alike.