What Causes Mild Diarrhea? Infections, Food & Stress

Mild diarrhea, the kind that’s uncomfortable but doesn’t knock you off your feet, is most often caused by something you ate, drank, or are stressed about. It usually resolves on its own within a day or two. The triggers range from food intolerances and sugar-free products to medications, infections, and even anxiety.

Understanding which category your symptoms fall into can help you figure out whether to wait it out, adjust your diet, or pay closer attention.

How Mild Diarrhea Works in Your Gut

The amount of fluid in your stool is determined by its solute content, meaning the dissolved particles inside your intestines. When those particles aren’t absorbed properly, they pull water into the bowel by osmosis, producing loose, watery stools. This is the mechanism behind most diet-related diarrhea, from lactose intolerance to sugar-free gum.

In other cases, your intestinal lining actively pumps fluid into the bowel in response to an infection or toxin. This secretory mechanism is what happens during food poisoning or a stomach bug. Many episodes of mild diarrhea involve some combination of both processes.

Foods and Drinks That Trigger Loose Stools

Food intolerance is one of the most common causes of recurring mild diarrhea, and it’s different from a food allergy. Allergies involve the immune system and can cause hives, swelling, or anaphylaxis. Intolerances are a digestive problem: your body lacks the enzymes to break down a specific substance, so bacteria in your gut ferment it instead. That fermentation produces gas, bloating, nausea, and diarrhea.

Lactose intolerance is the classic example. People with low levels of lactase, the enzyme that digests milk sugar, pass undigested lactose into the lower intestine where bacteria go to work on it. Fructose, the sugar found in fruit, honey, and high-fructose corn syrup, causes the same pattern in people who absorb it poorly. You might tolerate a small amount of the trigger food but cross a threshold with a larger serving, which is why symptoms can seem inconsistent.

Greasy or very high-fat meals can also speed up intestinal transit, especially if your body isn’t used to them. Coffee is a well-known trigger too, not because of caffeine alone, but because it stimulates contractions in the colon.

Sugar Alcohols and Artificial Sweeteners

If you’ve ever noticed loose stools after chewing sugar-free gum or eating a protein bar, sugar alcohols are the likely culprit. These sweeteners (sorbitol, xylitol, mannitol, and erythritol) are poorly absorbed in the small intestine. The unabsorbed portion draws water into the bowel through osmosis, producing a laxative effect.

Research suggests that intake above 10 to 15 grams per day is where most people start having trouble, but many processed foods marketed as sugar-free contain levels well above that threshold. The FDA requires any product with added sorbitol or mannitol to carry a label warning that “excessive consumption can cause a laxative effect.” Among common sugar alcohols, xylitol tends to cause the most bloating, gas, and diarrhea, while erythritol appears gentler on the stomach unless consumed in large amounts.

Medications That Commonly Cause Diarrhea

Nearly all medications list diarrhea as a possible side effect, but some are especially notorious. Antibiotics are at the top of the list. Your intestines normally host a diverse community of bacteria that keep each other in balance. Antibiotics kill off some of those populations, allowing other types to overgrow and disrupt normal digestion. This kind of diarrhea can start during a course of antibiotics or shortly after finishing one.

Other frequent offenders include metformin (used for diabetes), NSAIDs like ibuprofen and naproxen, and antacids containing magnesium. Heartburn medications that reduce stomach acid can also occasionally cause loose stools.

Magnesium supplements deserve special mention. The forms most commonly reported to cause diarrhea are magnesium oxide, carbonate, chloride, and gluconate. These are also some of the cheapest and most widely sold forms. The mechanism is the same osmotic process behind sugar alcohols: unabsorbed magnesium salts pull water into the intestine. If you take magnesium and notice loose stools, switching to a better-absorbed form like magnesium glycinate often helps.

Viral and Bacterial Infections

Stomach bugs are a leading cause of sudden-onset diarrhea. Norovirus is the most common cause of foodborne illness worldwide and affects both children and adults. Rotavirus is the most common cause in young children. Symptoms typically appear one to three days after exposure and usually last just a day or two, though they can occasionally persist for up to 14 days.

Bacterial infections tend to last a bit longer. The most common culprits in traveler’s diarrhea are strains of E. coli, followed by Campylobacter, Shigella, and Salmonella. Untreated bacterial diarrhea usually resolves within three to seven days. These infections are picked up through contaminated food or water, and the diarrhea they cause can range from mild to severe depending on the pathogen and your overall health.

Mild infectious diarrhea generally doesn’t need treatment beyond staying hydrated. Your body clears the virus or bacteria on its own.

Stress and the Gut-Brain Connection

Your brain and your gut are in constant communication through the nervous system. When you’re anxious or under acute stress, your body releases cortisol and adrenaline. These stress hormones speed up digestion, pushing food through your intestines faster than normal. Less time in the intestine means less water gets absorbed, and the result is loose stools or urgency.

This is why you might get diarrhea before a job interview, a flight, or an exam, even when you haven’t eaten anything unusual. For people with chronic stress or anxiety, this pattern can become a regular occurrence. It’s also a core feature of irritable bowel syndrome (IBS), where the gut-brain connection is essentially miscalibrated, making the intestines overreact to normal signals.

When Mild Diarrhea Isn’t So Mild

Most mild diarrhea clears up within a couple of days without any intervention. But certain signs suggest something more serious is going on. Blood or black color in the stool, fever above 101°F (38°C), severe abdominal or rectal pain, and signs of dehydration (dark urine, dizziness, dry mouth) all warrant medical attention. For adults, diarrhea that persists beyond two days without improvement is also a reason to get evaluated.

For children, the timeline is shorter. Diarrhea that doesn’t improve within 24 hours, any sign of dehydration, or bloody stools should prompt a call to their pediatrician. Young children and infants lose fluids faster and are more vulnerable to dehydration than adults.

Unintentional weight loss alongside chronic loose stools is another red flag, as it can point to malabsorption conditions, inflammatory bowel disease, or other disorders that need diagnosis and treatment rather than watchful waiting.