Skip to main content
Read about

Viral Gastroenteritis (Stomach Flu)

What you need to know about the stomach flu, how to get symptom relief, and how to keep the rest of your household safe.
Tooltip Icon.
Written by Adam Pont, MD, PhD.
Gastroenterology Fellow, New York Presbyterian Hospital/Columbia
Medically reviewed by
Last updated April 18, 2024

Viral gastroenteritis quiz

Take a quiz to find out if you have viral gastroenteritis.

Care Plan

1

First steps to consider

  • Gastroenteritis (stomach bug) usually goes away on its own.
  • Treat nausea, diarrhea, and other symptoms with OTC medications and drink fluids to stay hydrated.
2

When you may need a provider

  • Symptoms have not improved in 3 days.
  • You have a high fever (above 102F), bloody diarrhea or vomit, or you are pregnant.

Emergency Care

Arrow Icon.

Call 911 or go to the ER if you have any of the following symptoms:

  • You can’t keep liquid down
  • Have severe diarrhea with lightheadedness

What is viral gastroenteritis?

Viral gastroenteritis is a very contagious illness of the intestines that affects children and adults. It causes nausea, vomiting, and diarrhea. It is also called a stomach bug or stomach flu, although the virus mostly affects the intestines (not the stomach) and is not the same as the flu.

Gastroenteritis causes inflammation and irritation in the small intestine, where nutrients mostly get absorbed into the bloodstream. Many different viruses can cause gastroenteritis. You may not know which specific virus you have.

You can catch it by eating food that is contaminated by the virus, by touching contaminated surfaces, or by coming into contact with a sick person’s stool or vomit.

Most common symptoms

The main symptoms of viral gastroenteritis are nausea, vomiting, and watery diarrhea. You may also have stomach cramps or a fever.

In severe cases, the water losses from diarrhea and vomiting can cause dehydration, unless you manage to drink and keep down plenty of fluids. Signs of dehydration can include making less urine or really dark urine, and feeling dizzy or lightheaded.

Symptoms are more severe for young children, elderly people, and anyone with a compromised immune system.

Dr. Rx

When diagnosing viral gastroenteritis, I expect the patient to tell me at least one of these: ”I was just on a cruise,” ”My husband/wife/kids are also sick,” ”I work in a daycare,” ”Multiple people at home/work are sick.” When no close contacts are sick, it makes me think the symptoms might be due to another cause. —Dr. Adam Pont

Viral gastroenteritis quiz

Take a quiz to find out if you have viral gastroenteritis.

Take a diagnosis quiz

How do you get rid of viral gastroenteritis?

Since viral gastroenteritis is caused by a virus, antibiotics will not get rid of it.

The main goal is to prevent dehydration while you’re sick. Drink plenty of fluids to replace what is lost through vomiting and diarrhea.

Try taking small sips of water every few minutes. If you are urinating more than usual, you are likely drinking enough fluids. If you choose to rehydrate with water, you should also increase your salt intake by eating salty snacks (like pretzels or crackers).

You can also drink sports drinks (Gatorade) or an oral rehydration solution that contains electrolytes (Pedialyte). Avoid alcohol and caffeine. And get extra rest until you feel better.

If vomiting is so bad that you throw up every time you try to drink, head to the ER. For severe diarrhea with lightheadedness—and when you’re unable to keep down liquids—go to the ER or call 911. You may need fluids intravenously (IV).

If you are vomiting or have diarrhea and you are elderly or have a weakened immune system, call the doctor for an urgent (within 24 hours) appointment.

If your symptoms have not begun to improve in 3 days, you have a persistent high fever (above 102F), you have bloody diarrhea, or are pregnant, call your doctor for further advice.

Pro Tip

Most academic medical centers have stool-based multiplex tests that can identify up to about 20 different pathogens in one small sample of stool. This is particularly useful in identifying potential outbreak situations. —Dr. Pont

Viral gastroenteritis causes

You get a stomach bug by eating or drinking food contaminated with the virus or by touching something that is contaminated by a virus and then touching your mouth.

Some gastroenteritis viruses can survive for a long time (2 to 4 weeks) on hard surfaces (like sinks, counters, and doorknobs). Just a tiny amount of virus can make you sick.

Stomach viruses affect the intestines in different ways.

  • Some infect the cells lining the intestine and then decrease the absorption of nutrients and water, causing diarrhea.
  • Some cause the cells to dump water into the gut, also causing watery diarrhea.
  • Some may cause the stomach to take longer to empty its contents into the small intestine, which may contribute to nausea and vomiting.

Certain people are more at risk of getting viral gastroenteritis including the elderly, children, those with a compromised immune system, or those with other diseases that affect the intestines, such as inflammatory bowel disease.

Viral gastroenteritis in children

Viral gastroenteritis is very common in infants and young children.

In kids, it is usually caused by a virus called rotavirus, although other viruses including norovirus are becoming more widespread.

In the U.S., a rotavirus vaccine is usually given to babies within their first 6 months. Vaccination greatly reduces the chances of getting a severe rotavirus infection.

Children usually begin to recover from mild cases of gastroenteritis in 2 to 3 days, although they may have loose stools longer than other symptoms. They need to be watched closely to make sure they are drinking enough fluids. Good drinks are water, apple juice, and Pedialyte.

If symptoms persist, or your child is showing signs of dehydration, has other serious medical conditions, or is less than two months old, call your doctor urgently for further instructions or evaluation.

How long are you contagious with viral gastroenteritis?

An infected person is usually contagious while they have symptoms and possibly for a short period before symptoms develop. But with some viruses, a person can be contagious for a few days (and up to two weeks or longer) after symptoms have stopped.

Pro Tip

Viral gastroenteritis is extremely unpleasant, but if you are otherwise healthy, it will usually pass in several days and rarely requires a visit to a doctor. Drinking plenty of fluids and eating what you can tolerate are the most important things you can do. —Dr. Pont

Wash hands often with soap and water for at least 20 seconds to avoid spreading the virus to others. Hand sanitizer is not an effective substitute for killing some of these viruses. Do not prepare food for others while you are sick.

If someone around you has viral gastroenteritis, the risk of catching it from them is high.

In addition, up to a third of people who are infected do not show symptoms but can still spread the virus. The virus can easily spread in places where there are a lot of people in close contact, such as cruise ships, nursing homes, and child care centers.

Preventative tips

  • Wash hands with soap and water frequently and for at least 20 seconds. Hand sanitizing gel may not be as effective as soap and water for killing some of these viruses.
  • Wash fruits and vegetables before preparing and eating, and thoroughly cook shellfish.
  • Vaccinate babies. The vaccine for rotavirus is safe, effective, and widely available.
Share your story
Once your story receives approval from our editors, it will exist on Buoy as a helpful resource for others who may experience something similar.
The stories shared below are not written by Buoy employees. Buoy does not endorse any of the information in these stories. Whenever you have questions or concerns about a medical condition, you should always contact your doctor or a healthcare provider.
Dr. Le obtained his MD from Harvard Medical School and his BA from Harvard College. Before Buoy, his research focused on glioblastoma, a deadly form of brain cancer. Outside of work, Dr. Le enjoys cooking and struggling to run up-and-down the floor in an adult basketball league.

Was this article helpful?

57 people found this helpful
Tooltip Icon.
Read this next
Slide 1 of 4