How Long Do Diarrhea Bugs Last? Days to Weeks

Most diarrhea bugs clear up within one to three days if a virus is the cause, though bacterial and parasitic infections can stretch recovery to a week or longer. The exact timeline depends on what’s causing the infection, your age, and how healthy your immune system is going in.

Viral Stomach Bugs: 1 to 3 Days

Viruses cause the vast majority of stomach bugs, and norovirus is the most common culprit. Symptoms typically hit 12 to 48 hours after exposure and last one to three days. Rotavirus follows a similar pattern, with a slightly longer incubation period of about two days before symptoms appear. In both cases, you’re looking at vomiting, watery diarrhea, and stomach cramps that peak within the first 24 hours and then gradually taper off.

Children tend to take a bit longer to bounce back. Most kids recover fully in two to three days, but younger children (toddlers and infants) sometimes need a few extra days. The biggest risk for young kids isn’t the bug itself but dehydration from fluid loss. Dark-colored pee, a dry mouth, fewer wet diapers, and crying without tears are all signs a child is getting dehydrated and needs fluids or medical attention.

Bacterial Infections: Up to 10 Days

Bacterial stomach bugs, often grouped under the umbrella of “food poisoning,” tend to last longer and hit harder than viral ones. The three most common bacterial causes each have their own timeline:

  • Salmonella: Symptoms appear 6 to 72 hours after infection and typically last one to seven days, though severe cases can persist up to 10 days.
  • Campylobacter: Symptoms show up anywhere from 1 to 10 days after exposure and can last up to 10 days.
  • E. coli: Symptoms begin 2 to 10 days after infection. Most people recover within 10 days.

Bacterial diarrhea is more likely to include blood or mucus in your stool, a higher fever, and more intense cramping than a viral bug. These features don’t always appear, but they’re clues that bacteria rather than a virus might be responsible.

Parasitic Infections: Weeks Without Treatment

Parasites like cryptosporidium and giardia are less common but cause infections that drag on far longer. Cryptosporidium typically resolves on its own in about two weeks for people with healthy immune systems, but some people experience symptoms that come and go for 30 days or more. Giardia can last even longer without treatment, sometimes persisting for weeks to months with greasy, foul-smelling diarrhea, bloating, and gas.

Parasitic infections are more common after drinking untreated water from lakes or streams, traveling to certain countries, or spending time in places with shared water like pools and water parks. If your diarrhea has lasted more than two weeks and doesn’t seem to be improving, a parasite is worth considering.

How Long You Stay Contagious

Here’s the part most people don’t realize: you can spread a stomach bug well after you feel better. With norovirus, the highest concentrations of virus in stool actually appear after symptoms have resolved. In experimental studies, norovirus was detectable in stool for a median of four weeks after infection, and in some people up to eight weeks. That doesn’t necessarily mean you’re highly contagious for two months, but it does mean careful hand-washing matters long after your last bout of diarrhea.

The practical takeaway is to stay home for at least 48 hours after your last episode of vomiting or diarrhea if possible, and to be vigilant about hand hygiene for weeks afterward, especially before preparing food for others.

Over-the-Counter Medications and Recovery

Anti-diarrheal medications can shorten the time you’re dealing with loose stools. Loperamide (the active ingredient in Imodium) works faster and maintains control of symptoms longer than bismuth subsalicylate (found in Pepto-Bismol), based on clinical comparisons. Neither one treats the underlying infection, but they can make the wait more bearable.

That said, your body uses diarrhea to flush out the pathogen, so there’s a trade-off. For mild cases, staying hydrated and letting the bug run its course is often the better approach. The priority is replacing lost fluids and electrolytes. Water alone isn’t enough if you’re losing a lot of fluid; oral rehydration solutions or even diluted sports drinks help replace the sodium and potassium your gut is losing.

When Diarrhea Lasts Too Long

For adults, diarrhea that persists beyond two days without any improvement warrants a call to your doctor. For children, that threshold is shorter: 24 hours of unimproved diarrhea is the point to seek guidance. Bloody stool, a fever above 102°F, signs of dehydration, or severe abdominal pain are reasons to get checked sooner regardless of how long it’s been.

Lingering Gut Issues After the Bug Clears

Even after the infection is gone, some people notice their gut doesn’t feel right for weeks or months. This is called post-infectious irritable bowel syndrome, and it’s surprisingly common. Between 5% and 32% of people who get a stomach bug go on to develop lingering symptoms like cramping, bloating, and irregular bowel habits.

The risk of developing these ongoing gut issues is about six times higher after a gastrointestinal infection compared to people who weren’t sick. The good news is that for most people, symptoms gradually fade on their own. After a viral stomach bug, lingering symptoms typically resolve within about three months. Bacterial infections can trigger symptoms that take longer to settle. In one large study, 31% of patients had ongoing symptoms at two years, but that dropped to 17% by six years. So if your gut still feels off a few weeks after a stomach bug, you’re not imagining it, and it will very likely get better with time.