How Long Does Gastroenteritis Last: Viral vs. Bacterial

Most cases of gastroenteritis resolve within 1 to 3 days for viral infections and up to a week for bacterial ones. The exact timeline depends on what’s causing the illness, your age, and how well you stay hydrated during recovery. Here’s what to expect from start to finish.

Viral Gastroenteritis: 1 to 3 Days

Norovirus, the most common cause of stomach flu in adults, typically runs its course in 1 to 3 days. Symptoms hit fast, often within 12 to 48 hours of exposure, and include watery diarrhea, vomiting, nausea, and stomach cramps. For most healthy adults, the worst is over within 48 hours.

Rotavirus, which more commonly affects young children, tends to last slightly longer, often 3 to 8 days. Children under six months are at higher risk for dehydration because their small bodies lose fluid quickly. In the U.S., acute gastroenteritis leads to roughly 200,000 pediatric hospitalizations each year, almost always because of dehydration rather than the infection itself.

Bacterial Gastroenteritis: Up to a Week

Bacterial infections from sources like undercooked poultry, contaminated water, or improperly stored food generally take longer to clear. Campylobacter, one of the most common bacterial causes, has an incubation period of 2 to 5 days, meaning you won’t feel sick right away. Once symptoms start, most people recover completely within one week.

Salmonella follows a similar pattern, with diarrhea, fever, and cramping that usually last 4 to 7 days. E. coli infections vary more widely. Most are mild and pass within a week, but certain strains can cause severe illness that lasts longer and requires medical attention. Bloody diarrhea at any point during a suspected bacterial infection is a reason to get checked out promptly.

What Recovery Actually Looks Like

Gastroenteritis doesn’t end like flipping a switch. The vomiting usually stops first, often within 24 hours. Diarrhea lingers longer, sometimes persisting for a few days after you otherwise feel better. Your appetite will likely disappear during the acute phase, but once it returns, you can go back to eating your normal diet even if the diarrhea hasn’t fully resolved.

One thing that catches people off guard: temporary lactose intolerance. Some people have trouble digesting dairy for up to a month or more after a bout of gastroenteritis. If milk, cheese, or ice cream cause bloating or loose stools during that window, it’s not a new allergy. Your gut lining just needs more time to heal.

About 1 in 10 people who get a gut infection go on to develop post-infectious irritable bowel syndrome, a condition where symptoms like cramping, bloating, and altered bowel habits continue for weeks or months after the infection has cleared. This is more common after severe or prolonged infections.

Staying Hydrated Won’t Shorten It, but It Matters

Oral rehydration solutions (the electrolyte drinks you find at pharmacies) don’t actually reduce how long the illness lasts or how much diarrhea you produce. Their job is preventing dehydration, which is the main danger of gastroenteritis, especially in young children and older adults.

What does help shorten the course is eating early. Resuming food once you can tolerate it, rather than waiting until symptoms completely stop, has been shown to reduce the severity and duration of diarrhea. You don’t need to follow the old BRAT diet (bananas, rice, applesauce, toast) exclusively. Eat what appeals to you and what you can keep down.

For young children, caregivers can use a syringe for newborns or a spoon and cup for older infants. Children under two should get about a teaspoon of rehydration fluid every one to two minutes. Older children can take frequent small sips. The goal is steady, small amounts rather than large gulps that might trigger more vomiting.

You’re Still Contagious After You Feel Better

This is the part most people don’t realize. With norovirus, you can continue spreading the virus for two weeks or more after your symptoms stop. The CDC recommends staying home for at least 48 hours after your last episode of vomiting or diarrhea. That’s the minimum. In settings like food service or healthcare, longer isolation periods are sometimes necessary.

Thorough handwashing with soap and water is more effective than hand sanitizer for norovirus specifically, since alcohol-based sanitizers don’t kill it as reliably. If someone in your household is sick, disinfect shared surfaces frequently and avoid sharing towels or utensils.

Signs Your Case Needs Medical Attention

Most gastroenteritis resolves on its own, but certain symptoms signal something more serious:

  • Duration: Symptoms lasting longer than five days
  • Fever: A temperature above 104°F (40°C), or any fever lasting more than three days
  • Dehydration: Inability to keep fluids down, dark urine, dizziness, or dry mouth
  • Blood in your stool
  • Green vomit, which can indicate a bowel obstruction
  • Severe abdominal pain or a rigid, swollen belly

In children, watch for fewer wet diapers, no tears when crying, and unusual sleepiness or irritability. Infants under six months and children with low body weight are at highest risk and should be evaluated sooner rather than later if they can’t keep fluids down.