Overview of Gastroenteritis

ByJonathan Gotfried, MD, Lewis Katz School of Medicine at Temple University
Reviewed/Revised Jun 2023 | Modified Sept 2023
VIEW PROFESSIONAL VERSION
GET THE QUICK FACTS

Gastroenteritis is inflammation of the lining of the stomach and small and large intestines. It is usually caused by infection with a microorganism but can also be caused by ingestion of chemical toxins, medications, or drugs.

  • Gastroenteritis is usually caused by an infection.

  • Typically, people have diarrhea, nausea, vomiting, and abdominal pain.

  • The diagnosis is based on a person’s history of recent contact with contaminated food, water, or people infected with certain microorganisms; recent use of antibiotics; and sometimes laboratory tests.

  • Antibiotics are given to treat gastroenteritis that is caused only by parasites or certain bacteria.

  • Thoroughly washing the hands after a bowel movement or contact with fecal matter and avoidance of undercooked foods are the best ways to prevent infection.

Gastroenteritis usually consists of mild to severe diarrhea that may be accompanied by loss of appetite, nausea, vomiting, cramps, and discomfort in the abdomen. Although gastroenteritis usually is not serious in a healthy adult, causing only discomfort and inconvenience, it can cause life-threatening dehydration and electrolyte imbalance in the very ill or weak, the very young, and the very old.

Each year in the United States, about 48 million people develop gastroenteritis by eating contaminated food and about 3,000 die of it.

Each year worldwide, about 1.6 million people die of infectious gastroenteritis.

(See also Gastroenteritis in Children.)

Causes of Gastroenteritis

The most common causes of gastroenteritis are

  • Viruses (most common)

  • Bacteria

  • Parasites

Other causes include

Infections that cause gastroenteritis can be transmitted from person to person, especially if people with diarrhea do not thoroughly wash their hands after a bowel movement. Infection also can occur if people touch their mouth after touching an object (such as a diaper or toy) contaminated by infected stool. All such transmission involving infected stool is termed fecal-oral transmission.

A person, and sometimes large numbers of people (in which case an outbreak of illness is called an epidemic), can also become infected by eating food or drinking water that has been contaminated by infected stool. Most foods can be contaminated with bacteria and cause gastroenteritis if not cooked thoroughly or pasteurized. Contaminated water is sometimes ingested in unexpected ways, such as when swimming in a pond contaminated by stool from an animal or in a swimming pool contaminated by stool from another person.

In some cases, gastroenteritis is acquired through direct contact with animals that carry the infectious microorganism.

Table
Table

Viruses

Viruses are the most common cause of gastroenteritis in the United States. Certain viruses infect cells in the lining of the small intestine where they multiply and cause watery diarrhea, vomiting, and fever.

Four types of viruses cause gastroenteritis: norovirus, rotavirus, astrovirus, and enteric (intestinal) adenovirus.

Most viral gastroenteritis infections are caused by

Astrovirus can infect people of all ages but usually infects infants and young children. In temperate climates, infection is most common during winter months. In tropical climates, infection is more common during summer months. It is spread by fecal-oral transmission. Symptoms start 3 to 4 days after infection.

Adenovirus is the 4th most common cause of childhood viral gastroenteritis. It most commonly affects children under the age of 2. Infections occur year-round and increase slightly in the summer. The infection is spread by fecal-oral transmission and in respiratory droplets of moisture such as those produced by coughing. Anyone nearby may inhale these droplets and become infected. Symptoms start 3 to 10 days after infection.

Other viruses (such as cytomegalovirus and enterovirus) can cause gastroenteritis in people who have an impaired immune system.

Did You Know...

  • Worldwide, about 1.6 million people die each year of gastroenteritis caused by an infection.

Bacteria

The most common bacterial causes of gastroenteritis are

Bacterial gastroenteritis is less common than viral gastroenteritis. Bacteria cause gastroenteritis by various means.

Certain species, such as Vibrio cholerae and enterotoxigenic strains of E. coli, attach to the lining of the intestines without invading and produce enterotoxins. These toxins cause the intestines to secrete water and electrolytes, resulting in watery diarrhea.

Other bacteria (such as Staphylococcus aureus [see also Staphylococcal Food Poisoning], Bacillus cereus, and Clostridium perfringens) produce an exotoxin that can be present in contaminated food. The toxin can cause gastroenteritis without causing a bacterial infection. These toxins generally cause severe nausea, vomiting, and diarrhea. Symptoms begin within 12 hours of ingesting contaminated food and lessen within 36 hours.

Some bacteria (such as certain strains of E. coli, Campylobacter, Shigella, Salmonella, and Clostridioides difficile) invade the lining of the small or large intestine (colon). There, they damage cells, causing sores (ulcerations) that bleed, and allow a considerable leakage of fluid containing proteins, electrolytes, and water. The diarrhea contains microscopic white and red blood cells and sometimes visible blood.

Salmonella and Campylobacter are common bacterial causes of diarrhea in the United States. Both infections are most frequently acquired from eating undercooked poultry. Unpasteurized milk is also a possible source. Campylobacter is occasionally transmitted by dogs or cats with diarrhea. Salmonella can be transmitted by eating undercooked eggs and by having contact with reptiles (such as turtles or lizards), birds, or amphibians (such as frogs and salamanders).

Species of Shigella are also a common bacterial cause of diarrhea in the United States and are usually transmitted person to person (especially in day care centers), although foodborne outbreaks occur.

E. coli gastroenteritis can be caused by several different subtypes of the bacteria.

Clostridioides difficile (C. diff) is now probably the most common bacterial cause of diarrhea in the United States and is the most common cause of diarrhea that occurs after treatment with antibiotics (see Drug-Related Gastroenteritis). However, it sometimes occurs in people who have not been treated with antibiotics. Antibiotics kill the healthy bacteria that normally reside in the intestines, which allows Clostridioides difficile bacteria to grow in their place. Clostridioides difficile produces a toxin that causes watery diarrhea that ranges from mild to severe and bloody (see also Clostridioides difficile–induced diarrhea).

Several other bacteria cause gastroenteritis, but most are rare in the United States. Yersinia enterocolitica can cause gastroenteritis or a syndrome that mimics appendicitis. A person is infected after ingesting undercooked pork, unpasteurized milk, or contaminated water. Several Vibrio species (such as Vibrio parahaemolyticus) cause diarrhea after ingesting undercooked seafood. Vibrio cholerae, which causes cholera, is responsible for the watery diarrhea that sometimes causes severe dehydration in people in low-resource countries. Epidemics may occur after natural disasters or in refugee camps. Listeria can rarely cause foodborne gastroenteritis but more often causes a bloodstream infection or meningitis in pregnant women, newborns, or older adults. Aeromonas is acquired from swimming in or drinking contaminated fresh water or briny, salty water. Plesiomonas shigelloides can cause diarrhea in people who have eaten raw shellfish or traveled to tropical regions in low-resource countries.

Parasites

The most common parasites are

Certain intestinal parasites, particularly Giardia intestinalis, stick to the lining of the intestine and cause nausea, vomiting, diarrhea, and a general sick feeling. The resulting infection, called giardiasis, occurs in every region of the United States and throughout the world. If the infection becomes persistent (chronic), it may keep the body from absorbing nutrients (called malabsorption syndrome). Infection is usually spread through drinking contaminated water (sometimes from wells or unconventional water sources encountered while hiking or camping), eating contaminated food, or through person-to-person contact (such as in day care centers).

Another intestinal parasite, called Cryptosporidium parvum, causes watery diarrhea that is sometimes accompanied by abdominal cramps, nausea, and vomiting. The resulting infection, called cryptosporidiosis, is usually mild in otherwise healthy people, but it may be severe or even fatal in people with a weakened immune system. It is most commonly acquired by drinking contaminated water. Because it is resistant to usual concentrations of chlorine, this parasite is the most common cause of recreational water illness in the United States.

Other parasites that can cause symptoms similar to those of cryptosporidiosis include Cyclospora cayetanensis and, in people with an impaired immune system, Cystoisospora belli and a collection of organisms referred to as microsporidia. Entamoeba histolytica causes amebiasis, an infection of the large intestine and sometimes the liver and other organs. Amebiasis is a common cause of bloody diarrhea in countries where sanitation is inadequate but is rare in the United States.

Symptoms of Gastroenteritis

The type and severity of the symptoms depend on the type and quantity of microorganism or toxin ingested. Symptoms also vary according to the person’s resistance.

Symptoms often begin suddenly—sometimes dramatically—with a loss of appetite, nausea, or vomiting. Audible rumbling of the intestine and abdominal cramping may occur. Diarrhea is the most common symptom and may be accompanied by visible blood and mucus. The abdomen (and the loops of intestine inside) may be painfully swollen (distended) with gas.

The person may have a fever, feel generally sick, and have aching muscles and extreme exhaustion.

Gastroenteritis caused by viruses

Viruses cause watery diarrhea. Stools rarely contain mucus or blood. For symptoms specific to norovirus and rotavirus, see Norovirus Gastroenteritis and Rotavirus Gastroenteritis.

Adenovirus causes mild vomiting 1 to 2 days after diarrhea starts. The diarrhea can last 1 to 2 weeks. Infants and children may have mild vomiting that typically starts 1 to 2 days after diarrhea starts. A low fever occurs in about 50% of people. Some people may have nasal congestion, a runny nose, scratchy throat, and cough. Symptoms are typically mild but can last longer than with other viral causes of gastroenteritis.

Astrovirus symptoms are similar to a mild rotavirus infection.

Gastroenteritis caused by bacteria

Bacteria are likely to cause fever and may cause bloody or watery diarrhea. Some bacteria also cause vomiting.

Gastroenteritis caused by parasites

Parasites typically cause diarrhea that may last for a long time and may cause diarrhea that comes and goes. The diarrhea is usually not bloody. People may be very tired and lose weight when they have long-lasting diarrhea caused by a parasitic infection.

Complications of gastroenteritis

Severe vomiting and diarrhea can lead to marked fluid loss (dehydration). Symptoms of dehydration include weakness, decreased frequency of urination, dry mouth, and, in infants, lack of tears when crying. Excessive vomiting or diarrhea can result in electrolyte problems such as low levels of potassium in the blood (hypokalemia) and dehydration, which can cause low blood pressure and a rapid heart rate. Low levels of sodium in the blood (hyponatremia) also may develop, particularly if the person replaces lost fluids by drinking fluids that contain little or no salt, such as water and tea. Water and electrolyte imbalances are potentially serious, especially in the young, the old, and people with chronic diseases. Low blood volume (hypovolemic shock) and kidney failure can occur in severe cases.

Diagnosis of Gastroenteritis

  • A doctor's evaluation

  • History of contact with ill people, certain animals, or contaminated food or water; recent travel; or antibiotic use

  • Sometimes stool tests

The diagnosis of gastroenteritis is usually obvious from the symptoms alone, but doctors consider other gastrointestinal disorders that cause similar symptoms (for example, ulcerative colitis).

The cause of gastroenteritis often is not obvious and needs to be sought. Sometimes other family members or coworkers have recently been ill with similar symptoms, or people have had contact with certain animals. Other times, gastroenteritis can be traced to contaminated water or inadequately cooked, spoiled, or contaminated food, such as raw seafood or mayonnaise left out of the refrigerator too long. Recent travel, especially to certain foreign countries, and recent antibiotic use may give clues as well.

Lab Test

If the symptoms are severe or last for more than 48 hours, stool samples may be examined in a laboratory for white blood cells and bacteria, viruses, or parasites.

Lab Test

Seriously ill people may need blood tests to determine whether they have water and electrolyte imbalances or tests to determine how their kidneys are functioning.

If the symptoms persist longer than expected, a doctor may need to examine the large intestine with a sigmoidoscope (a flexible viewing tube used to view the lower part of the digestive tract) to determine whether the person has a disease such as ulcerative colitis.

Treatment of Gastroenteritis

  • Fluids and rehydration solutions

  • Sometimes medications

Rehydration

Usually the only treatment needed for gastroenteritis is getting bed rest and drinking an adequate amount of fluids. Even a person who is vomiting should drink as much as can be tolerated, taking small frequent sips.

If vomiting or diarrhea is prolonged or the person becomes severely dehydrated, fluids and electrolytes given by vein (intravenously) may be needed. Because children can become dehydrated more quickly, they should be given fluids with the appropriate mix of salts and sugars. Any of the commercially available solutions designed to replace lost fluids and electrolytes (called oral rehydration solutionsbreastfeeding should continue.

As the symptoms subside, the person may gradually add foods to the diet. Although often recommended, there is no need to limit the diet to bland foods such as cereal, gelatin, bananas, rice, applesauce, and toast. However, some people are unable to tolerate milk products for a few days after having diarrhea.

Medications

Because antibiotics can cause diarrhea and may encourage the growth of organisms resistant to antibiotics, they are usually best avoided, even when a known bacterium is causing gastroenteritis. Antibiotics may be used, however, when certain bacteria, such as Campylobacter, Shigella, and Vibrio, are the cause, and for people who have traveler’s diarrhea. Antibiotics are also used to treat diarrhea caused by Clostridioides difficile. The antibiotic that is used for treatment is different from the antibiotic that caused the Clostridioides difficile infection. (See also table Microorganisms That Cause Gastroenteritis.)

Did You Know...

  • Antibiotics do not always help diarrhea that is caused by bacteria.

Probiotics

Prevention of Gastroenteritis

  • Vaccination

  • Handwashing

  • Breastfeeding

Two rotavirus vaccines given by mouth are available and are safe and effective against most strains of rotavirus. Rotavirus vaccination is part of the recommended infant vaccination schedule.

For infants, a simple and effective way to help prevent gastroenteritis is breastfeeding.

Caregivers should wash their hands thoroughly with soap and water before preparing bottles for formula-fed infants. If soap and clean water are unavailable, an antibacterial hand sanitizer should be used.

Caregivers should also wash their hands after changing diapers. Diaper-changing areas should be disinfected with a freshly prepared solution of household bleach (¼ cup bleach diluted in 1 gallon of water).

Children with diarrhea should be excluded from day care centers for the duration of their symptoms. Children infected with E. coli that causes bloody diarrhea or Shigella should also have two negative stool tests before they are allowed to return to the center.

Did You Know...

  • It takes 20 seconds to receive the full benefit of handwashing with regular soap and water.

Infants and other people with a weakened immune system should not be exposed to reptiles, birds, or amphibians, because these animals typically carry Salmonella bacteria, and infection is more severe in these groups of people.

Because most infections that cause gastroenteritis are transmitted by person-to-person contact, particularly through direct or indirect contact with infected stool, good handwashing with soap and water after a bowel movement is the most effective means of prevention.

To prevent foodborne infections, hands should be washed before touching food, knives and cutting boards used to cut raw meat should be washed before use with any other food, meat and eggs should be cooked thoroughly, and leftovers should be refrigerated promptly after cooking. Only pasteurized dairy products and pasteurized apple juice should be used.

Travelers should try to avoid high-risk foods and beverages, such as those sold by street vendors.

To prevent recreational water illness, people should not swim if they have diarrhea. Infants and toddlers should have frequent diaper checks and should be changed in a bathroom and not near the water. Swimmers should avoid swallowing water while swimming.

Because use of most antibiotics can increase the risk of diarrhea caused by Clostridioides difficile infection, antibiotics are used only when necessary and never in situations in which they will have no effect (for example, for a viral infection).

Drugs Mentioned In This Article

quizzes_lightbulb_red
Test your KnowledgeTake a Quiz!
Download the free Merck Manual App iOS ANDROID
Download the free Merck Manual App iOS ANDROID
Download the free Merck Manual App iOS ANDROID