ConditionDigestive system
Gastroenteritis: Infectious and Noninfective Causes and Treatment
Gastroenteritis is inflammation of the stomach and intestines that causes diarrhea, vomiting, nausea and stomach cramps. Most cases are infectious, usually from viruses such as norovirus, and are often called stomach flu. Noninfective gastroenteritis has other causes: medicines, food intolerances and allergies, toxins, radiation or chronic conditions. Most infectious cases clear within 1 to 3 days. The main danger is dehydration, especially in babies and older adults, so replacing fluids is the key treatment.
Also called: Stomach flu, stomach bug, gastric flu, infectious diarrhea, noninfective gastroenteritis, noninfectious gastroenteritis
At a glance
- What it is
- Inflammation of the stomach and intestines causing diarrhea and vomiting.
- Infectious causes
- Norovirus, rotavirus, bacteria (Salmonella, Campylobacter, E. coli, C. difficile), parasites.
- Noninfective causes
- Medicines, food intolerance or allergy, toxins, alcohol, radiation, inflammatory conditions.
- Duration
- Viral gastroenteritis usually 1 to 3 days; some infections up to 1 to 2 weeks.
- Treatment
- Oral rehydration, rest, gradual return to eating; antibiotics only for specific bacterial causes.
When to get help
Call 911 or go to the ER
- Signs of severe dehydration: no urine for 8 hours or more (6 in a baby), very dry mouth, sunken eyes, confusion, extreme drowsiness or fainting
- Vomit that is green, bloody or looks like coffee grounds
- Severe constant abdominal pain, a swollen hard belly, or a stiff neck with fever
- A baby who is floppy, unresponsive, or has a sunken soft spot
See a doctor within a day or two
- Blood in the stool or black stools
- Fever above 39 °C (102.2 °F) with diarrhea
- Unable to keep any fluids down for more than 12 hours (adults) or 4 to 6 hours (young children)
- Diarrhea in someone who is pregnant, over 65, has kidney disease, diabetes or a weakened immune system
- Diarrhea after recent antibiotics or a hospital stay (possible C. difficile)
Book a routine appointment
- Diarrhea lasting more than 7 days in adults, or more than 5 to 7 days in children
- Recurring episodes of diarrhea and cramps, or symptoms linked to specific foods or medicines
Usually safe to manage at home
- Diarrhea and vomiting for a day or two while drinking and passing urine normally
Symptoms
- watery diarrhea, sometimes several times an hour at first
- nausea and vomiting
- stomach cramps and bloating
- low-grade fever, chills, aches and headache
- loss of appetite and tiredness
Symptoms of viral gastroenteritis typically start 12 to 48 hours after exposure.
Infectious gastroenteritis
Viruses (most common)
- Norovirus: the leading cause of gastroenteritis in all ages in the US. Sudden vomiting and diarrhea lasting 1 to 3 days. Extremely contagious; outbreaks on cruise ships, in schools and care homes. See viral gastroenteritis.
- Rotavirus: severe watery diarrhea in young children; now much less common thanks to vaccination.
- Adenovirus and astrovirus: mainly in children.
Bacteria
- Salmonella (poultry, eggs): see Salmonella gastroenteritis
- Campylobacter (undercooked chicken, unpasteurized milk)
- E. coli, including Shiga toxin-producing strains that can cause bloody diarrhea and kidney failure in children
- Shigella (person-to-person spread, bloody diarrhea)
- Clostridioides difficile after antibiotics: see C. difficile colitis
- toxins from Staphylococcus aureus or Bacillus cereus in food, causing food poisoning with rapid vomiting
Parasites
Giardia and Cryptosporidium from contaminated water cause prolonged diarrhea, bloating and gas. Common after travel, camping or swimming pool exposure. See traveler's diarrhea.
Noninfective gastroenteritis: causes
Gastroenteritis without an infection is called noninfective (or noninfectious) gastroenteritis. See noninfectious gastroenteritis for more detail. Common causes:
| Cause | Examples | Clues |
|---|---|---|
| Medicines | NSAIDs, antibiotics, metformin, magnesium antacids, chemotherapy, colchicine | Started after a new drug or dose change |
| Food intolerance | Lactose, fructose, sorbitol and other sugar alcohols | Symptoms after specific foods; bloating, gas |
| Food allergy | Milk, egg, shellfish | Rapid onset with hives or swelling |
| Toxins and chemicals | Alcohol binges, heavy metals, poisonous mushrooms, some seafood toxins | Recent exposure; others affected |
| Radiation | Pelvic or abdominal radiotherapy | During or after treatment |
| Inflammatory and immune conditions | Crohn's disease, ulcerative colitis, microscopic colitis, eosinophilic gastroenteritis, celiac disease | Recurring or persistent symptoms, weight loss |
| Other | Stress, ischemic colitis in older adults, graft-versus-host disease | Specific settings |
Noninfective gastroenteritis is not contagious. It often lasts longer or recurs, and the cause must be identified to stop it.
Who is at higher risk of complications
- babies and young children
- adults over 65
- pregnant people
- people with weakened immune systems, kidney disease or diabetes
- people taking diuretics, ACE inhibitors, ARBs, SGLT2 inhibitors or metformin, which can worsen dehydration or kidney problems (ask a doctor or pharmacist about pausing them during severe illness)
Diagnosis
Most cases need no tests. Doctors check for dehydration and consider tests when:
- there is blood in the stool, high fever or severe illness
- symptoms last more than a week
- there was recent travel, antibiotic use or hospitalization
- there is an outbreak
Tests include stool cultures or multiplex PCR panels, C. difficile tests, blood tests for electrolytes and kidney function, and, for noninfective causes, celiac antibodies, fecal calprotectin, a medication review, and sometimes colonoscopy with biopsies.
Treatment
Rehydration
- oral rehydration solution (ORS): the best choice for moderate fluid loss; small, frequent sips if vomiting
- for mild illness in adults, water, broth and diluted juice are fine
- keep breastfeeding babies; formula-fed babies continue formula plus ORS as needed
- IV fluids in hospital for severe dehydration
Eating
Return to normal food as soon as you feel able. Starting with bland foods (rice, toast, bananas, crackers, soup) is fine, but strict diets are not necessary. Avoid alcohol and very fatty or sugary foods for a few days.
Medicines
- loperamide can reduce diarrhea in adults without fever or bloody stools; follow the label dose and do not give to young children
- bismuth subsalicylate can ease symptoms in adults; it can turn stools black; avoid in children and teenagers because it contains a salicylate
- anti-nausea medicine such as ondansetron may be prescribed, especially for children
- antibiotics are needed only for some bacterial infections, severe illness or high-risk patients; they can worsen Shiga toxin E. coli
- noninfective causes: stop or change the offending medicine, avoid trigger foods, or treat the underlying condition
Prevention
- wash hands with soap and water, especially after the toilet and before food; alcohol gel does not reliably kill norovirus
- clean contaminated surfaces with a bleach-based cleaner
- stay home for 48 hours after symptoms stop, and do not prepare food for others
- cook meat thoroughly, avoid unpasteurized milk, and wash produce
- rotavirus vaccine for infants
Frequently asked questions
What is noninfective gastroenteritis?
Noninfective gastroenteritis is inflammation of the stomach and intestines that is not caused by a virus, bacterium or parasite. Common causes include medicines such as NSAIDs or antibiotics, food intolerances or allergies, alcohol, toxins, radiation and inflammatory bowel conditions.
What causes noninfective gastroenteritis?
Typical causes are medicines (NSAIDs, metformin, antibiotics, chemotherapy), lactose or other food intolerances, food allergies, alcohol, chemical or plant toxins, radiotherapy and conditions such as microscopic colitis, celiac disease or Crohn's disease.
How is noninfective gastroenteritis treated?
Treatment focuses on fluids to prevent dehydration and on removing the cause: stopping or changing a medicine, avoiding trigger foods, or treating an underlying condition. Antibiotics do not help. Persistent symptoms need tests to find the cause.
How long does gastroenteritis last?
Viral gastroenteritis usually lasts 1 to 3 days, though some people feel tired for a week. Bacterial infections can last up to a week. Diarrhea lasting more than 7 days, or recurring, suggests another cause and needs medical review.
Is gastroenteritis contagious?
Infectious gastroenteritis is very contagious, especially norovirus, which spreads through vomit, stool, contaminated food and surfaces. People can spread it for at least 48 hours after symptoms stop. Noninfective gastroenteritis is not contagious.
Sources
This guide was written from current patient and clinical guidance, including:
- CDC: Norovirus Symptoms and Treatment
- NIDDK: Viral Gastroenteritis (Stomach Flu)
- American College of Gastroenterology: Clinical Guideline on Acute Diarrheal Infections in Adults
- World Health Organization: Oral Rehydration Salts
- NHS: Diarrhoea and vomiting