Random Diarrhea: Causes, Duration, and When to Worry

A sudden episode of diarrhea almost always has a trigger, even when it feels completely random. Most cases are acute, meaning they last less than a week and resolve on their own. The cause is usually something you ate, a virus you picked up, a medication side effect, or a food your body couldn’t fully digest. Pinpointing which one can help you feel better faster and know whether it’s worth worrying about.

A Stomach Bug Is the Most Likely Cause

Viral gastroenteritis, often called a “stomach bug,” is the single most common reason for sudden diarrhea. Norovirus is the biggest culprit in adults, and it spreads remarkably easily through contaminated surfaces, food, or close contact with someone who’s sick. You can pick it up from a doorknob, a shared meal, or a restaurant where a worker was infected. Symptoms typically hit fast, within 12 to 48 hours of exposure, and include watery diarrhea, nausea, vomiting, and sometimes a low fever. Most people recover within one to three days without any treatment.

Other viruses like adenovirus and astrovirus cause similar symptoms but are less common in adults. Rotavirus used to be a major cause in children before widespread vaccination.

Something You Ate May Be the Problem

Food poisoning is the other classic explanation. Bacteria like Salmonella, Campylobacter, E. coli, and Staphylococcus aureus contaminate food that’s been improperly stored, undercooked, or cross-contaminated during preparation. Staph toxins can cause symptoms within hours of eating, while Salmonella and Campylobacter may take a day or two to kick in. The diarrhea from food poisoning can be more intense than a typical stomach bug, sometimes accompanied by cramping and vomiting.

If you ate something unusual in the last 24 to 72 hours, that’s a reasonable place to look. Undercooked poultry, raw eggs, unpasteurized dairy, and pre-made salads left at room temperature are frequent offenders.

Food Intolerances You Didn’t Expect

Not every dietary trigger involves contaminated food. Your body may simply struggle to digest certain ingredients, and the result is diarrhea that seems to come out of nowhere. Lactose intolerance is the best-known example. If you had more dairy than usual, or if your tolerance has gradually decreased with age (which is common), that could easily explain a sudden episode.

Sugar alcohols are a sneakier trigger. These are sweeteners found in sugar-free gum, protein bars, diet candy, and many “keto-friendly” snacks. Your body can’t fully absorb them, so they sit in your intestines, pull water in, and ferment. The result is bloating, gas, and diarrhea, often within hours of eating them. Common sugar alcohols include sorbitol, xylitol, maltitol, and mannitol. The FDA actually requires products containing sorbitol or mannitol to carry a warning that “excessive consumption can cause a laxative effect.” Check the label of anything sugar-free you ate recently.

Fructose, the sugar naturally present in fruit and added to many processed foods as high-fructose corn syrup, can have the same effect when consumed in large amounts. A smoothie with multiple servings of fruit, a large juice, or a honey-heavy snack could be enough to overwhelm your gut’s ability to absorb it.

Medications That Catch You Off Guard

If you recently started a new medication, or even took an over-the-counter one you don’t use often, that’s a common and overlooked cause. Antibiotics are the most well-known offenders. They work by killing bacteria, but they don’t only kill the ones causing your infection. They also disrupt the normal bacterial balance in your gut, which can allow problem bacteria to overgrow. In some cases, this leads to an overgrowth of a particularly aggressive species that causes severe, watery diarrhea. This is more likely with broad-spectrum antibiotics and longer courses.

Other common culprits include magnesium-containing antacids and anti-inflammatory painkillers like ibuprofen and naproxen. Even if you’ve taken these before without trouble, a higher dose or an empty stomach can be enough to trigger loose stools.

Stress and Anxiety Can Trigger It Too

Your gut and brain are in constant communication. A stressful event, a bad night of sleep, or a spike in anxiety can speed up the contractions in your intestines, pushing food through before your body has time to absorb enough water. This is why some people get diarrhea before a job interview, a flight, or an exam. If nothing else on this list fits and you’ve been under unusual stress, that’s a legitimate explanation.

Caffeine and alcohol can compound the effect. Both stimulate the gut, and if you had more coffee or drinks than usual alongside a stressful day, the combination can easily explain a sudden episode.

What Helps You Recover Faster

The most important thing during a bout of acute diarrhea is staying hydrated. You’re losing more fluid than usual, and dehydration is the main risk, not the diarrhea itself. Water is fine for mild cases. If you’re losing a lot of fluid, an oral rehydration solution or a drink with electrolytes helps replace what’s being lost.

You may have heard of the BRAT diet (bananas, rice, applesauce, toast) as the go-to recovery plan. It’s not harmful for a day when you’re feeling your worst, but it’s no longer recommended as a strict protocol. It lacks calcium, protein, vitamin B12, and fiber, and sticking with it for more than a day or two can actually slow recovery. The current guidance is simpler: eat bland, soft foods when you feel up to it, and return to a normal diet as soon as you can tolerate it. Your body needs the nutrients to heal.

How Long It Should Last

Acute diarrhea typically resolves within a few days and almost always within a week. If it lingers past two weeks, it’s classified as persistent diarrhea, which may point to an ongoing infection, a food intolerance you haven’t identified, or something like irritable bowel syndrome being triggered for the first time. Diarrhea lasting four weeks or more is considered chronic and warrants a medical evaluation to rule out conditions like inflammatory bowel disease, celiac disease, or other digestive disorders.

Signs That Need Prompt Attention

Most sudden diarrhea is harmless and short-lived, but certain symptoms signal something more serious. Watch for a fever above 102°F (39°C), blood or black color in your stool, or signs of dehydration like excessive thirst, very dark urine, dizziness, or little to no urination. In children, warning signs include no wet diaper for three or more hours, a dry mouth, crying without tears, or unusual sleepiness. These situations call for medical evaluation rather than waiting it out.