In Brief
Gastroenteritis is an infection of the stomach and intestines, caused most often by viruses and sometimes by bacteria or parasites[1]. It causes watery diarrhea, abdominal pain, nausea, vomiting and sometimes fever[1]. Vomiting usually passes in 1 to 2 days and diarrhea in 5 to 7 days[3]. The basis of treatment is replacing the fluid that is lost[2]. Bloody diarrhea, vomiting so often that you cannot keep fluids down and signs of fluid loss call for a visit to a doctor[3].
- The most common cause is norovirus; it occurs at every age[1].
- Antibiotics are not used for gastroenteritis caused by viruses[2].
- In babies, diarrhea can lead to severe fluid loss within 1 to 2 days[1].
- Washing hands with soap and water reduces spread; hand sanitizer alone is not enough against norovirus[6].
What is gastroenteritis?
Gastroenteritis is an infection of the stomach and intestines. Viruses cause it most often; bacteria, parasites and some chemicals can also cause it[1].
It is also called the stomach flu. But flu viruses do not cause gastroenteritis; flu is a disease of the airways[1]. Gastroenteritis that develops from spoiled or contaminated food or drink is called food poisoning[1].
Diarrhea means passing watery or loose stools 3 or more times a day. Passing stools more often than usual is also counted as diarrhea[4]. The soft stools of breastfed babies are not diarrhea[4].
Most people recover without medical treatment[2]. The most important danger is fluid loss (dehydration)[4]. According to the World Health Organization, diarrheal diseases cause the death of about 443,800 children under 5 every year[4]. For the water and salt balance in the body, see our article on fluid loss and electrolyte imbalance.
What are the symptoms of gastroenteritis?
The main symptoms of gastroenteritis are watery diarrhea, abdominal pain or cramps, nausea and vomiting[1]. Some people also have a fever[1][7].
| Virus | Start after contact | How long symptoms last |
|---|---|---|
| Norovirus | 12 to 48 hours | 1 to 3 days |
| Rotavirus | About 2 days | 3 to 8 days |
| Adenovirus | 3 to 10 days | 1 to 2 weeks |
| Astrovirus | 4 to 5 days | 1 to 4 days |
With bacteria the time varies. Food poisoning from staphylococcus can cause symptoms within half an hour to 8 hours, and Salmonella within 6 hours to 6 days[7]. For other causes of nausea, see our article on nausea.
Signs of fluid loss
- In adults: Extreme thirst, dry mouth, little dark-colored urine, tiredness, sunken eyes, dizziness or fainting[1]
- In babies and children: Thirst, a diaper that stays dry for 3 hours or longer, low energy, dry mouth, no tears when crying[1]
- At any age: Pinched skin that goes back slowly and sunken cheeks[1]
What causes gastroenteritis?
Viruses, bacteria or parasites cause gastroenteritis in most cases[4]. These germs spread through contaminated food or water or through poor hygiene[4].
- Viruses: Norovirus is the most common cause and occurs at every age. Rotavirus, adenovirus and astrovirus affect mostly babies and young children[1].
- Bacteria: Salmonella, Campylobacter, Escherichia coli (E. coli), Shigella and staphylococcus are among the common bacteria[4][7].
- Parasites: Some parasites also cause intestinal infection and diarrhea[4]. In diarrhea that lasts longer than 14 days after travel, parasites are looked for[5].
How does it spread?
The virus spreads through very small particles in the stool or vomit of a sick person[1]. Contaminated surfaces, objects, food and drinks also spread it[1]. Close contact such as shaking hands is enough[1].
Norovirus is highly contagious and can stay alive on surfaces for months[1]. It can be shed in the stool before symptoms start and for up to 2 weeks after recovery[1]. For this reason it spreads quickly in shared places such as homes, daycare centers, schools, nursing homes and restaurants[1]. Norovirus and rotavirus are more common in the winter months[1].
Who is at higher risk?
How is gastroenteritis diagnosed?
Gastroenteritis is usually diagnosed from the symptoms. If the symptoms are mild and short, tests are usually not needed[8].
- History: The doctor asks how long and how often the symptoms have been present. The doctor also asks about contact with sick people, recent travel and the medicines you take[8].
- Examination: Blood pressure and pulse are measured. Signs of fever and fluid loss are looked for. The abdomen is listened to and the painful area is examined[8].
- Stool test: It can show signs of infection and inflammation[8].
When is a stool culture requested?
If there is a fever, bloody or mucus-containing stool, severe abdominal cramps or signs of sepsis, a stool test is recommended to look for bacteria[5]. If an outbreak is suspected, and in people with a weak immune system, wider tests are done[5]. These tests may also look for the bacterium Clostridioides difficile[5].
If diarrhea lasts 14 days or longer, causes other than infection are also considered[5]. These include inflammatory bowel disease and irritable bowel syndrome[5]. Diarrhea can sometimes come from sensitivity to a food[3]; see our article on what food intolerance is.
How is gastroenteritis treated?
The main treatment of gastroenteritis is replacing the fluid and salts that are lost[2]. The aim is to prevent fluid loss[2].
Oral rehydration therapy
- Drink plenty of fluids. If you feel nauseous, drink in small sips[3].
- Oral rehydration solution (ORS) is made of clean water, sugar and salt[4]. In mild and moderate fluid loss, this solution is used first[5].
- ORS is given to children as recommended. Ask your doctor before giving it to babies[2].
- Older adults, people with a weak immune system and adults with severe diarrhea should also use ORS[2].
- Fruit juice and fizzy drinks can make diarrhea worse[3].
Treatment in hospital
In severe fluid loss, fluids are given through a vein[4]. Shock, a change in consciousness or stopped bowel movements also need fluids through a vein[5]. People with severe fluid loss may need to be treated in hospital[2].
Nutrition and care at home
When your appetite returns, you can usually go back to your normal meals, even if diarrhea continues. A restricted diet does not help treatment[2].
- Rest at home and eat when you feel able to[3].
- Stay away from fatty and spicy foods for a while[3].
- Children should keep eating nutritious foods[4].
For vomiting in children, our article on what helps children's vomiting is a guide.
Are antibiotics needed for gastroenteritis?
Antibiotics are not used for gastroenteritis caused by viruses[2]. Guidelines do not recommend antibiotics for most watery diarrhea in people who have not recently traveled abroad[5].
The doctor may start an antibiotic in some situations[5]:
- People with a weak immune system and young babies who look ill
- Babies younger than 3 months in whom a bacterial infection is suspected
- People who have just returned from abroad and have a fever of 38.5 °C or higher
- People who have bloody diarrhea together with fever
Antibiotics are not used for some types of E. coli that produce Shiga toxin; the doctor makes this decision[5]. Antibiotics are also not started for watery diarrhea that lasts 14 days or longer until a cause is found[5].
Other medicines
- The doctor may give a medicine to stop severe vomiting[2].
- The World Health Organization recommends zinc supplements for 10 to 14 days for children with diarrhea; zinc shortens how long diarrhea lasts[4].
- Paracetamol can be used for fever and pain; for children, read the leaflet first[3].
- Do not give aspirin to children under 16[3].
Can gastroenteritis be prevented?
Hand hygiene and safe food and water are the basic measures to prevent gastroenteritis[4][6]. There is a vaccine against rotavirus for babies[1][4].
- Wash your hands with soap and water for 20 seconds, especially after using the toilet, after changing a diaper and before preparing food[6].
- Hand sanitizer does not work well against norovirus; it is not a substitute for hand washing[6].
- Wash fruits and vegetables well; cook shellfish such as mussels and oysters thoroughly. Throw away food that may be contaminated[6].
- Use clean drinking water[4].
- Feed babies only breast milk until they are 6 months old[4].
If someone at home is sick
- Do not prepare food for others while you are sick and for 2 days after the symptoms have passed[6].
- Wipe surfaces contaminated with vomit or stool while wearing gloves, and clean them with a bleach solution[6].
- Remove soiled laundry without shaking it and wash it separately in hot water[3][6].
- Do not share items such as towels and cutlery[3].



