Overview
Acute gastroenteritis is inflammation of the stomach and intestines, usually from an infection. It causes diarrhea, vomiting, nausea and abdominal cramps, sometimes with fever. Most cases pass on their own within 1–3 days.
The popular name “stomach flu” is inaccurate: the illness is not caused by the influenza virus.
Causes and how it spreads
- Viruses — norovirus is the most common cause in adults; rotavirus in young children, especially the unvaccinated.
- Bacteria — Salmonella, Campylobacter, some types of E. coli, often from contaminated food.
- Parasites — e.g. Giardia, with longer-lasting symptoms.
The infection spreads through contaminated food or water, from surfaces, or by direct contact with the sick person. Washing hands with soap and water is the most effective measure (alcohol gel does not eliminate norovirus well).
Diagnosis
Most cases are diagnosed by the doctor without tests. Tests (stool culture, tests for viruses or parasites, electrolytes and kidney function) are ordered when there is blood in the stool, severe illness, prolonged symptoms or risk factors.
Treatment
Fluids are the main treatment.
- Use an oral rehydration solution (ORS) in small, frequent sips, even if you are vomiting.
- Limit very sweet and fizzy drinks — they can make diarrhea worse.
- Go back to your usual food as soon as you have an appetite. The restrictive “BRAT” diet (bananas, rice, applesauce, toast) is no longer recommended as standard treatment.
- Infants continue breastfeeding or their usual formula.
Antibiotics are not used routinely. Even when a bacterium is found in a stool culture, this does not automatically mean an antibiotic is needed; in some infections antibiotics can be harmful. Anti-diarrheal medicines are used only when they are appropriate for the age and situation.
When to seek help
Seek medical assessment if symptoms last more than a few days or get worse. Infants, pregnant women, the elderly and people with weakened immunity should be seen sooner.
How to decide whether care at home is enough
Acute gastroenteritis is inflammation of the stomach and intestines, most often from viruses, presenting with vomiting, watery diarrhea, abdominal pain and sometimes mild fever. The main risk is not the infection itself, which usually passes on its own, but dehydration, especially in babies, older people and those with chronic disease. The practical question is therefore: is the person keeping fluids down, and are there signs of dehydration? The figure shows how the decision is made.
The main viruses and how long the illness lasts
According to NIDDK, the most common cause at all ages is norovirus: symptoms start 12 to 48 hours after exposure and last 1 to 3 days. Rotavirus mainly affects babies and young children, starts about 2 days after exposure and lasts 3 to 8 days; the rotavirus vaccine prevents this infection. Adenovirus can last 1 to 2 weeks, and astrovirus 1 to 4 days. Norovirus is very contagious: it spreads through contact with stool or vomit, contaminated surfaces and food prepared by an infected person, and can be found in stool up to 2 weeks after recovery.
Rehydration: how and with what
In children, NIDDK recommends oral rehydration solutions (available in pharmacies), prepared according to the package instructions; babies continue breast milk or formula as usual, and a doctor is asked before giving the solution. Older people, adults with weakened immunity and those with severe diarrhea should also use a rehydration solution. Other adults can drink water, diluted fruit juice or broth. When there is vomiting, small and frequent sips are taken. Restricted diets do not help: most people can return to their usual food as soon as appetite returns, even if diarrhea continues.
Medicines: what helps and what does not
Antibiotics do not work against viruses, so they are not used for viral gastroenteritis. In adults, loperamide or bismuth subsalicylate may help with diarrhea, but they should not be taken when there is blood in the stool or fever, as this may indicate a bacterial infection. These medicines may not be safe in babies and children and are given only on a doctor's advice. When vomiting is severe, the doctor may prescribe an anti-vomiting medicine.
Signs of dehydration
In adults: great thirst or dry mouth, passing urine less often and dark urine, dizziness, skin that does not spring back quickly when pinched, sunken eyes or cheeks. In babies and young children: no wet nappies for 3 hours or more, no tears when crying, a sunken fontanelle and drowsiness. These signs require a visit at once; severe dehydration may need intravenous fluids.
How not to spread it in the family
Wash hands well with soap and water after the toilet, after changing nappies and before preparing food; do not prepare food for others during the illness and for two days after it; clean surfaces soiled with vomit or stool and wash clothes at a high temperature. Children stay at home until vomiting and diarrhea have passed.
Follow-up
After ordinary gastroenteritis no check is needed. Reassessment is needed when diarrhea lasts more than a few days, recurs often, or there is weight loss; stool tests and, as appropriate, colonoscopy, which is performed at the clinic, may then be needed.
Frequently asked questions
Should I fast? No; continue fluids and eat when you have an appetite.
Do probiotics help? Evidence is limited; they are not essential.
When can I go back to work? Usually once symptoms have passed; if you work with food or patients, wait about 48 hours after the last symptom.
What to bring to the visit
Note how many times you have vomited and had diarrhea, whether there was blood, your temperature, the amount of fluids taken and urination, medicines taken (especially recent antibiotics) and whether others in the family are ill.
When a bacterial cause or food poisoning is suspected
Not every gastroenteritis is viral. Food poisoning from bacteria such as Salmonella, Campylobacter or some types of E. coli often appears a few hours to a few days after a suspect meal (undercooked meat or eggs, food kept out of the fridge), and can give higher fever, more severe pain and blood in the stool. These signs, as well as diarrhea after travel abroad, require a visit and sometimes a stool test. Even in these cases, most healthy adults recover without an antibiotic; antibiotics are used only in selected cases, as the doctor decides.
Babies, older people and those with chronic disease
In babies, fluid reserves are small and dehydration develops within hours; so NIDDK advises parents to call the doctor for advice when the child has vomiting or diarrhea. In older people and in those taking diuretics, blood pressure or diabetes medicines, fluid loss can cause a fall in blood pressure, dizziness and kidney injury; in these cases the doctor may advise temporarily pausing some medicines until the illness passes. Do not stop medicines yourself without advice.
Eating after the illness
When appetite returns, start with small meals and simple foods; no special diet is needed. Some people have trouble with milk for a few days after the infection.
Key sources
This information is educational and does not replace a visit to the doctor. Do not change your treatment without consulting your doctor. Updated: October 2026.