Most people who catch a stomach bug are back to normal within a few days. Diarrhea from viral gastroenteritis usually lasts about 1 to 3 days, though some cases stretch to a week or slightly longer. The diarrhea often stops before you feel completely well again, because your gut can take extra time to settle and your appetite can lag behind.
The term “stomach bug” is a little misleading. It usually means an infection of the intestines, not the stomach itself, and viruses cause most of these episodes. The timeline depends on which virus you picked up, how healthy you were going in, and how well you stay hydrated while your body clears the infection.
How Long Does Diarrhea Last With Stomach Bug?
For the most common cause, norovirus, diarrhea typically lasts 1 to 3 days. Vomiting tends to stop sooner, often within 24 to 48 hours, while loose stools can hang on a bit longer.
Rotavirus, which is now far less common in US children thanks to vaccination, tends to produce a longer illness. Diarrhea can last 3 to 8 days. Adenovirus and astrovirus generally fall somewhere in the middle.
Those numbers describe the average. Real life is messier. Some healthy adults are done in 24 hours. Others have loose stools for a week. Neither is automatically a sign that something is wrong.
What matters more than the exact day count is the direction of travel. Symptoms should be improving, not getting worse, after the first day or two.
What Counts as Diarrhea, and What Causes It?
Diarrhea means passing loose or watery stools more often than usual. Doctors generally describe it as three or more loose stools in a day, though what is “normal” varies a lot from person to person.
When a virus infects the lining of your small intestine, it damages the cells that normally absorb water and nutrients. Your gut also speeds up, pushing contents through faster than it can reabsorb fluid. The result is watery stool. This is a mechanical process, not a sign your body is “flushing out toxins.” That idea is a myth. The diarrhea is a side effect of the infection, not a cleansing mechanism.
Viral causes account for the large majority of short-lived stomach bugs. Norovirus is the most common in adults. Rotavirus is more often seen in unvaccinated young children. Bacterial causes like Salmonella, Campylobacter, and Shigella are less common but tend to cause more severe or bloody diarrhea, and they can last longer without treatment.
The distinction matters because the timeline and the warning signs differ. A virus usually resolves on its own. Some bacterial infections need medical care.
How Long Are You Contagious?
You can spread norovirus before diarrhea starts and for a few days after you feel better. Some people shed the virus for up to two weeks, especially young children and people with weakened immune systems.
This is why stomach bugs sweep through households, schools, and cruise ships so efficiently. You feel fine, you think you are past it, and you are still contagious.
Handwashing with soap and water matters more than hand sanitizer here. Alcohol-based sanitizers do not reliably kill norovirus. Soap and water, rubbed for about 20 seconds, physically removes the virus from your hands.
When Does Diarrhea Last Longer Than Expected?
Diarrhea that continues past about a week deserves a closer look. It does not always mean something serious, but it changes the list of possible causes.
Some possibilities when diarrhea drags on:
- A bacterial or parasitic infection rather than a virus
- A medication side effect, including antibiotics that disrupt gut bacteria
- A food intolerance that was triggered or unmasked during the illness
- An underlying condition such as irritable bowel syndrome or inflammatory bowel disease
- Post-infectious irritable bowel syndrome, which can develop after a gut infection clears
Post-infectious IBS is real and often overlooked. Some people develop lasting changes in bowel habits after a bout of gastroenteritis, even though the infection itself is long gone. The mechanism is not fully understood, and researchers continue to study why some people recover cleanly and others do not.
What Actually Helps You Recover?
There is no medication that shortens a viral stomach bug. Antibiotics do nothing against viruses, and taking them unnecessarily can cause harm. The goal is to support your body while it clears the infection on its own.
Fluid and electrolyte replacement is the main treatment. Diarrhea and vomiting both drain water and salts, and dehydration is the complication that actually sends people to the hospital. Oral rehydration solutions, sold in pharmacies, are formulated to replace both fluid and electrolytes. Sports drinks are not the same thing. They contain far more sugar and less sodium than a proper rehydration solution.
Over-the-counter loperamide can reduce diarrhea in adults, but it should not be used if you have a fever or bloody stools. In those cases, slowing the gut can trap the infection and make things worse. If you are unsure which situation you are in, skip it.
Eating is often the last thing you feel like doing. When you are ready, bland foods are easier to tolerate, but there is no strong evidence that any specific diet speeds recovery. Your appetite returning is a good sign, not a requirement you have to force.
Warning Signs That Need Medical Attention
Most stomach bugs resolve without medical care. Certain signs mean you should not wait it out.
Get medical help if you see:
- Signs of dehydration, such as little or no urination, dry mouth, dizziness on standing, or dark urine
- Blood or pus in your stool
- A high fever that does not come down
- Severe abdominal pain, not just cramping
- Diarrhea lasting more than a week in adults
- Vomiting so constant you cannot keep any fluid down
Dehydration is the most common serious complication, and it can develop quickly in young children, older adults, and anyone with a weakened immune system. In these groups, the threshold for calling a doctor should be lower.
For infants and young children, watch for fewer wet diapers, no tears when crying, sunken eyes, or unusual sleepiness. These are reasons to seek care promptly. No clinical guidelines exist for treating dehydration at home in infants beyond offering breast milk or an appropriate oral rehydration solution, so when in doubt, contact a clinician.
How to Keep It From Spreading
Norovirus is hardy. It survives on surfaces for days and resists many common cleaners. Bleach-based cleaners are recommended for surfaces contaminated by a stomach bug.
Wash your hands with soap and water after using the bathroom, after changing diapers, and before preparing food. Wash fruits and vegetables and cook shellfish thoroughly, since these are common sources.
If someone in your home is sick, keep their towels and utensils separate and clean high-touch surfaces often. Stay home while you have symptoms and for at least two days after they stop, since you can still pass the virus on.
Frequently Asked Questions
How long does diarrhea from a stomach bug usually last?
Diarrhea from viral gastroenteritis usually lasts about 1 to 3 days, with norovirus on the shorter end and rotavirus lasting 3 to 8 days. Symptoms should be improving rather than worsening after the first day or two.
Should I take medicine to stop the diarrhea?
Over-the-counter loperamide can reduce diarrhea in adults, but it should not be used if you have a fever or bloody stools. In those cases, slowing the gut can trap the infection and make it worse.
When should I see a doctor for diarrhea?
See a doctor if diarrhea lasts more than a week, if there is blood or pus in your stool, if you have a high fever, or if you show signs of dehydration. Young children, older adults, and people with weakened immune systems should seek care sooner.
Can I still be contagious after the diarrhea stops?
Yes. You can spread norovirus for a few days after you feel better, and some people shed the virus for up to two weeks. Handwashing with soap and water is the most reliable way to reduce spread.

