Written by Ada’s Medical Knowledge Team
What is gastroenteritis?
Gastroenteritis, sometimes called gastro, gastric flu or stomach flu, is a common condition caused by irritation and inflammation of the stomach and intestines. 1 It is usually the result of a viral or bacterial infection, but can also be caused by:
- Certain medications.
The main symptoms of both viral and bacterial gastroenteritis are:
- Abdominal cramping
Although they can be very unpleasant, most cases of gastroenteritis clear on their own within a few days, without specific treatment. The main complication tends to be dehydration, particularly among young children and the elderly. To prevent dehydration, it is important to replace fluids that are lost through vomiting and diarrhea.
Concerned that you or a loved one may have this condition? Start your symptom assessment in the free Ada app.
- Diarrhea, which is often watery
- Nausea and/or vomiting
- Abdominal pain and cramps
- Loss of appetite
These symptoms often appear suddenly. In addition, someone with gastroenteritis may present with the following: 2
- Body aches
If there are symptoms of a more serious illness, or if the gastroenteritis does not resolve within a few days, it is important to seek medical advice. Things to watch out for are:
- Indications of severe dehydration (such as passing little to no urine, and dizziness that does not go away)
- Blood or pus in the diarrhea
- Constant vomiting that makes it impossible to keep down liquids
- A fever over 38 degrees Celsius (100.4 degrees Fahrenheit)
In addition, if the affected person has recently returned from overseas travel, or has a serious underlying health condition such as inflammatory bowel disease, it is advisable to see a doctor. 3 The free Ada app can also be used to carry out a symptom assessment.
Viruses are the most common cause of acute gastroenteritis, particularly in children. However, the following can also cause the condition:
- Bacteria and their byproducts
- Toxic chemicals
- Certain drugs
A number of different viruses cause gastroenteritis. Although the condition is sometimes referred to as stomach flu, the influenza virus is not to blame. Flu shares some of the same symptoms, headache, fever, and body aches, but it does not usually affect the stomach and intestines. 1
Of these, norovirus and rotavirus are the most common, with rotavirus responsible for the majority of cases of viral gastroenteritis in children.
Viral gastroenteritis is highly contagious, leading to outbreaks in schools, hospitals, prisons and other places where large numbers of people are in close proximity. The virus is present in the stool and vomit of those who are infected, and is spread easily from person to person, particularly when people forget to wash their hands after using the toilet.
Infection typically occurs by sharing the following with someone who has the virus:
- Eating utensils
It can also spread by a person touching contaminated surfaces or objects and then touching your mouth, or consuming food or water contaminated with the virus. It has been suggested that swallowing airborne viral particles after someone has vomited may also be a possible route of transmission for some viruses. Raw or undercooked shellfish, especially oysters, can also be a source of the virus, as they may be contaminated from dirty water. However, this is relatively rare. 5
A range of different bacteria can also cause bacterial gastroenteritis. These include: 6
- Escherichia coli
- Clostridium difficile
Some of these bacteria can be transmitted from person to person, but they are most often spread through contaminated food and water.
Bacterial gastroenteritis can be acquired from:
- Undercooked meat, eggs and fish
- Unpasteurised milk and juices
- Untreated water
- Food that is improperly stored or prepared
- Raw fruits and vegetables that are not thoroughly washed in clean water.
- Contact with reptiles, birds and amphibians
Bacterial gastroenteritis is a common cause of “traveler’s diarrhea”, a type of gastroenteritis that frequently affects travelers to developing countries. It is often the result of poor food hygiene in local restaurants. 7
Some cases of gastroenteritis are not caused by the bacteria themselves, but by toxins that they release. The harmful byproducts of certain types of bacteria can contaminate food, causing food poisoning when ingested. These byproducts are called exotoxins, and usually cause symptoms within 12 hours of consumption. This type of gastroenteritis typically resolves within 36 hours. 6
Gastroenteritis can also be caused by infection with intestinal parasites. The two most commonly implicated are giardia and cryptosporidium. 6 These parasites are found all over the world and are typically acquired through contaminated water or contact with infected animals.
Giardia can also be spread from person to person, for example in daycare centers, if people do not wash their hands after using the toilet. Infection with giardia is known as giardiasis, and can become chronic if not treated properly, causing malabsorption of nutrients. Cryptosporidium infections, which are usually acquired through swimming in and accidentally swallowing contaminated water, typically resolve on their own within two weeks.
The amoeba E. histolytica is another type of parasite that can cause gastroenteritis. It is not common in developed countries, but should be ruled out as a cause of the condition if the affected person has recently traveled to countries in Africa, Asia and Central and South America. 8
Other types of gastroenteritis
While uncommon, in susceptible people gastroenteritis can be an adverse effect of certain medications. These include:
- Some drugs used in cancer treatment
Radiation therapy can also cause symptoms similar to those of gastroenteritis.
In addition, gastroenteritis can be triggered by the ingestion of heavy metals such as lead, mercury and arsenic. It can also be caused by plant toxins, in the case of ingesting poisonous plants and mushrooms. 9 If any of these causes are suspected, medical advice should be sought without delay.
Many cases of gastroenteritis go away on their own, without treatment, and without the need for a formal diagnosis by a doctor. It is important to see a medical practitioner to identify the cause of the illness if the condition does not clear within a few days, or if there are any causes for concern, such as:
- Blood or pus in the stool
- Constant vomiting or diarrhea
- A high fever
- Symptoms of dehydration (for example, dry mouth, headache, and infrequently passing small amounts of urine)
This is also the case if the affected person has recently traveled, has a weakened immune system or underlying health condition.
The treatment prescribed will differ depending on what is causing the gastroenteritis. Medical practitioners typically start by taking a medical history and performing a physical examination. They may then order blood and stool tests if they deem it necessary. 2
In most cases of viral and bacterial gastroenteritis, basic supportive treatment is sufficient. This includes magaining the nausea, vomiting and diarrhea through: 6
- Bed rest
- Oral rehydration
As long as there are no indications of a more serious condition or severe dehydration, gastroenteritis can generally be treated at home.
It is very important that a person with gastroenteritis drink plenty of fluids. They should take frequent small sips in between vomiting or bowel movements. To help prevent or treat mild dehydration, oral rehydration drinks, available from pharmacies, can be used. These are different to sports drinks and carbonated beverages, which are not as effective in replacing lost electrolytes. If a person with gastroenteritis is unable to keep any liquids down, or is becoming severely dehydrated, they can be admitted to hospital to receive intravenous fluids via a drip.
To avoid spreading the infection to others, a person with gastroenteritis should stay home until their symptoms have completely cleared. 4 They should also take care to wash their hands thoroughly after using the toilet, and before preparing or eating food.
Antiemetics, antibiotics and other medication
If the nausea and vomiting is severe, an antiemetic medicine such as ondansetron may be helpful. 6 Antiemetics lessen the feelings of nausea and prevent vomiting, which can help the person with gastroenteritis to rehydrate and rest. However, these medicines should not be used if a more serious condition is suspected.
Anti-diarrheal medication such as loperamide can also be taken, but should be avoided in certain cases. 6 These include:
- Where the person has recently taken antibiotics
- Where there is blood or pus in the stool
- Where a more serious condition is suspected.
In these cases, it is advisable to consult a doctor first.
Antibiotics are not widely prescribed for gastroenteritis, as they are only effective in certain cases of bacterial gastroenteritis. They may be prescribed for traveler’s diarrhea, or infections with shigella or campylobacter. 6 Doctors will often test for the specific bacteria before prescribing antibiotics.
If a painkiller is needed, paracetamol is preferred over ibuprofen and other medication that can cause further irritation to the digestive tract. Where the cause of the gastroenteritis is a parasite, an anti-parasitic medication will be prescribed.
Home remedies for gastroenteritis
There are a number of home remedies that can help with the treatment of gastroenteritis. These include: 10
- Drinking lots of fluids, such water, clear broths, and caffeine-free sports drinks, as well as oral rehydration mixes, to replace electrolytes lost through diarrhea and vomiting
- Sucking on ice chips when nothing else will stay down
- Resting as much as possible
- Letting the stomach settle, then reintroducing food slowly, beginning with bland, simple foods like rice, crackers, bananas and clear chicken soup
- Avoiding dairy, as well as rich and fatty foods, until recovery is complete
- Avoiding caffeine, alcohol and nicotine until recovery is complete
Probiotics may slightly shorten the duration of diarrhea, 6 so they can be considered as a complementary remedy in the treatment of gastroenteritis.
- Wash your hands thoroughly after using the toilet, after contact with animals, before preparing or eating food, and after changing a diaper. Use soap and water, or hand sanitizer if water is not available. Teach children to do the same.
- Make sure that food is stored properly and prepared hygienically
- Keep the kitchen and bathroom clean. Disinfect surfaces regularly, using bleach diluted in water (dilute according to the instructions on the product).
- When someone has gastroenteritis, clean and disinfect the toilet after each bout of vomiting or diarrhea.
- Do not share towels, washcloths or utensils with someone who is ill. Wash these separately, using hot water.
- Stay off work or school until 48 hours after the symptoms have cleared.
- When traveling, take care to avoid tap water (including ice cubes) and potentially contaminated food if the area seems to lack adequate sanitation.
- If you have diarrhea, avoid swimming.
- Vaccinate children against rotavirus.
Gastroenteritis in children
Young children are particularly susceptible to rotavirus infections, because they often forget to wash their hands after using the toilet and before eating food. They have also not yet built up a resistance to rotavirus. It is estimated that all children will have at least one bout of viral gastroenteritis before they are five years old, and many will have multiple episodes a year. 11
In most cases, gastroenteritis does not need to be formally diagnosed by a doctor, and the illness clears on its own within five to seven days. However, as with adults, if there are any indications of a more serious condition, medical advice should be sought. These include:
- Symptoms of dehydration
- Vomiting for more than three days
- Diarrhea for more than a week
- Blood, mucus or pus in the stools
- A high temperature (over 38 degrees Celsius or 100.4 degrees Fahrenheit)
- Shortness of breath or rapid breathing
- Stiff neck
- Green vomit
- Severe stomach pain
- Swelling of the abdomen
- A bulging fontanelle (in infants)
In addition, if the child has a weakened immune system or underlying illness, or has recently traveled, it is important to see a doctor.
Young children, particularly those under a year old, are at high risk of dehydration. Caregivers need to monitor for the following symptoms, 11 and seek medical advice if they are present:
- Dry eyes and mouth
- No tears when crying
- Sunken eyes
- Irritability and drowsiness
- Reduced urine
- Cold hands and feet
- Pale or blotchy skin
- Rapid breathing
- A sunken fontanelle in infants
As long as there is no indication of dehydration or another serious condition, children can generally be treated at home. Treatment for gastroenteritis should be supportive, with an emphasis on rest and rehydration.
The child should be encouraged to drink lots of fluids. Avoid carbonated drinks and juices, as they may worsen the diarrhea. Water and oral rehydration mixes are recommended. As soon as the vomiting is under control, the child should be encouraged to eat simple solid foods such as bread, rice and plain pasta. Infants should be fed breast milk or their other milk feeds as usual. 3
Antiemetics, anti-diarrheals and other medication should be given to children only on the recommendation of a medical practitioner. Paracetamol can be used to reduce a temperature and alleviate aches and pains.
Other names for gastroenteritis
- Stomach flu
- Infectious diarrhea
Q: Is gastroenteritis contagious?
A: Yes. Most cases of gastroenteritis are highly contagious, and can be spread easily from person to person. The exception is gastroenteritis caused by drugs, chemicals or poisonous substances.
To prevent the transmission of bacterial, viral or parasite-related gastroenteritis, it is important to practice good hygiene. A person may be contagious for anything from several days up to two weeks after recovery from viral gastroenteritis. 12
Q: How long does gastroenteritis last?
A: Most cases of gastroenteritis clear within a few days to a week. In children, it may take five to seven days. If the symptoms persist, it is important to consult a medical practitioner.
Q: When should I see a doctor about gastroenteritis?
A: It is advisable to consult a medical practitioner if:
- You are vomiting a lot and cannot keep fluids down
- You suspect that you are becoming dehydrated
- You notice any blood in your vomit or stools
- You have severe stomach pain
- You have a high temperature that does not go down
- You have persistent diarrhea
In addition, if you are elderly, pregnant, have a chronic health condition like diabetes, or have a compromised immune system, it is also important to consult a doctor. 13
Q: Should I be worried about gastroenteritis during pregnancy?
A: Pregnant women are just as susceptible to gastroenteritis as everyone else. Most cases of the illness will clear on their own without any complications, and can be treated with rest and rehydration. Medicines should be used with caution. A medical practitioner should be consulted before taking any antiemetics or other medication. 14 If the gastroenteritis does not clear, there is a fever, or there are indications of a more serious condition, medical advice should be sought without delay.
Q: Is there a vaccine against rotavirus or norovirus?
A: There exists a vaccine against rotavirus, the main virus that causes acute gastroenteritis, named Rotarix. It is recommended that children and other at risk groups be vaccinated against rotavirus as early as possible. 15 Although there are vaccines in development, there currently exists no widely available vaccine against norovirus, another of the leading causes of acute gastroenteritis. 16 Consult a doctor for further information regarding vaccines and other preventive measures against rotavirus and norovirus.
Q: Should I be worried about “traveler’s diarrhea”?
A: Traveler’s diarrhea – a type of diarrhea that develops during or shortly after travel abroad – is commonly caused by bacterial gastroenteritis. The main symptom is diarrhea (typically watery), though nausea, vomiting and abdominal pains may also occur. Most cases of traveler's diarrhea are relatively mild and can be managed without the need for medical advice. Dehydration is the main risk, meaning it is important to consume plenty of fluids and get plenty of rest. 17
Medical advice should be sought in any of the following situations:
- A fever is present
- There is blood in the stool
- There is difficulty replacing fluids because of frequent bouts of diarrhea or vomiting
- Symptoms last for more than three or four days
- Antibiotic medication has been taken but symptoms have not ceased within three days of treatment
- The affected individual is elderly or has an underlying medical condition
- The affected individual is pregnant
- The affected individual is under six months of age
Medical attention should also be sought when dehydration is suspected. Dehydration may present the following symptoms in adults:
- Muscle cramps
- Urinating less
- Dry mouth
The symptoms of dehydration in children include:
- Loss of energy
- Increased heart rate
- Urinating less
Q: Do I have gastroenteritis (stomach flu) or the flu?
A: Gastroenteritis and the flu are easily confused, especially as gastroenteritis is also termed the stomach flu. They are, however, distinct conditions with their own symptoms. For example, diarrhea and vomiting (the main symptoms of gastroenteritis) are only very rarely associated with the flu. Moreover, the coughing and congestion associated with the flu are not symptoms of gastroenteritis. If there is any doubt over which condition an individual is experiencing, a doctor’s opinion should be sought. 18
Q: What is the difference between gastroenteritis, gastritis and enteritis?
A: Gastroenteritis, gastritis and enteritis are distinct but similar conditions of the gastrointestinal system. The key distinction between the three is the specific part of the gastrointestinal tract that they affect. Gastroenteritis affects the stomach and small intestine, gastritis affects only the stomach, while enteritis affects only the small intestine. 19 20