Doctify logo
For providers
Provider Login

Gastroenteritis

Last reviewed: 03/06/26
Medically reviewedLearn more about our editorial process

Snapshot summary

Gastroenteritis is a common infection that affects the stomach and bowel. It usually causes diarrhoea, vomiting, nausea and tummy cramps. Most people recover at home within a few days, but it can spread easily and dehydration is the main risk.

Key facts:

  • Gastroenteritis is often caused by a virus, such as norovirus, but it can also be caused by bacteria or parasites
  • Symptoms usually start suddenly and may include watery diarrhoea, vomiting, nausea, tummy pain and fever
  • Most people recover without specific medical treatment
  • Drinking enough fluids is the most important part of treatment
  • You should stay off work, school or nursery until at least 48 hours after your last episode of diarrhoea or vomiting

Overview

Gastroenteritis is inflammation of the stomach and intestines, usually caused by an infection. It is often called a “tummy bug”, “stomach bug” or “stomach flu”, although it is not the same as influenza, which mainly affects the respiratory system.

When the gut is irritated or infected, it cannot absorb fluid in the usual way. This can lead to loose, watery stools. Vomiting can also happen because the stomach lining is irritated or because the body is trying to clear the infection.

For most adults, gastroenteritis is unpleasant but short-lived. It usually improves with rest, fluids and simple self-care. The main concern is dehydration, especially in babies, young children, older adults, pregnant women and people with underlying health conditions.

Gastroenteritis can spread very easily. It may pass from person to person through unwashed hands, contaminated surfaces, close contact with someone who is unwell, or food and water that contain harmful germs. Good hygiene is one of the most effective ways to reduce the spread.

Symptoms & causes

What are the symptoms of gastroenteritis?

Symptoms often start suddenly. They can appear within hours or a few days after coming into contact with the infection, depending on the cause.

Common symptoms include:

  • Watery diarrhoea
  • Feeling sick
  • Vomiting
  • Tummy cramps or abdominal pain
  • Bloating
  • Loss of appetite
  • A high temperature
  • Headache
  • Aching muscles
  • Feeling generally unwell

Vomiting often improves within 1 to 2 days. Diarrhoea may take a little longer and usually improves within 5 to 7 days.

What causes gastroenteritis?

Gastroenteritis is most often caused by an infection. The main causes include viruses, bacteria and parasites.

Viruses are a common cause of gastroenteritis. Norovirus is one of the most common causes in adults and is often known as the “winter vomiting bug”. It can spread quickly in households, schools, care homes, hospitals and other shared settings.

Bacterial gastroenteritis can happen after eating or drinking contaminated food or water. This is often described as food poisoning. Bacteria that can cause gastroenteritis include Salmonella, Campylobacter and some types of E. coli.

Parasites are less common in the UK, but they can cause gastroenteritis, especially after drinking contaminated water or travelling to areas with poorer sanitation.

Gastroenteritis-like symptoms can also be caused by some medicines, alcohol, food intolerances or other bowel conditions, so medical advice may be needed if symptoms are severe, unusual or persistent.

Who is at risk of gastroenteritis?

Anyone can get gastroenteritis, but some people are more likely to become unwell or dehydrated.

Higher-risk groups include:

  • Babies and young children
  • Older adults
  • Pregnant women
  • People with weakened immune systems
  • People with kidney disease, inflammatory bowel disease or other long-term conditions
  • People living or working in shared settings, such as care homes, nurseries, schools or hospitals
  • Travellers visiting areas where food or water hygiene may be less reliable

Diagnosis & tests

How is gastroenteritis diagnosed?

Gastroenteritis is usually diagnosed based on your symptoms. In most cases, tests are not needed because the illness improves on its own with home care.

A healthcare professional may ask about:

  • When your symptoms started
  • How often you are passing diarrhoea or vomiting
  • Whether there is blood or mucus in your stool
  • Whether you have a fever or severe pain
  • Whether anyone around you has similar symptoms
  • Recent travel
  • Food you have eaten recently
  • Your medical history and medicines

A stool sample may be recommended if symptoms are severe, last longer than expected, include blood or mucus, or happen after recent travel. Testing may also be needed if you are at higher risk of complications or there is a possible outbreak in a workplace, nursery, care home or healthcare setting.

Treatment

Most people can treat gastroenteritis at home. The main aim is to replace fluids lost through diarrhoea and vomiting while the infection clears.

Drinking enough fluid is the most important step. Water is usually fine, but oral rehydration solutions can be helpful if you are at higher risk of dehydration or have ongoing diarrhoea and vomiting. These solutions contain a balance of salts and sugars to help replace what your body is losing. If you feel sick, small frequent sips are often easier to manage than large drinks.

You can eat when you feel able to. There is no need to force food, but plain foods may be easier at first, such as toast, rice, pasta, potatoes, soup, crackers or bananas. Very fatty, spicy or sugary foods may make symptoms worse for some people.

Paracetamol may help with fever, aches or tummy discomfort. Always follow the instructions on the packet and check with a pharmacist if you are unsure, especially for children or if you have liver disease.

Anti-diarrhoea medicines such as loperamide may be suitable for some adults, but they are not always needed. They should not be given to children under 12 unless advised by a doctor, and they should be avoided if you have blood in your diarrhoea or a high fever.

Antibiotics are not usually needed because gastroenteritis is often viral. They may be considered if testing shows a specific bacterial or parasitic cause, or if you are at higher risk of complications.

Management

Managing gastroenteritis is mainly about staying hydrated, resting and reducing the risk of spreading the infection to others.

Wash your hands often with soap and warm water, especially after using the toilet and before preparing food. Alcohol hand gels are not always effective against some causes of gastroenteritis, including norovirus, so handwashing is especially important.

You should stay off work, school or nursery until at least 48 hours after your last episode of diarrhoea or vomiting. During this time, avoid preparing food for others where possible. It is also sensible to clean toilets, taps, door handles and other frequently touched surfaces, and to avoid sharing towels, flannels, cutlery or glasses until you have recovered.

Most people recover without any lasting problems. The main complication is dehydration, which happens when the body loses more fluid and salts than it takes in. This can happen quickly if you are vomiting repeatedly, have frequent diarrhoea or cannot drink enough.

Signs of dehydration include:

  • Feeling very thirsty
  • Dizziness or light-headedness
  • Dry mouth, lips or tongue
  • Passing less urine than usual
  • Dark, strong-smelling urine
  • Feeling unusually tired, weak or confused
  • Muscle cramps
  • Sunken eyes

In babies and young children, signs may include fewer wet nappies, no tears when crying, a dry mouth, unusual sleepiness, irritability, floppiness or a sunken soft spot on the head.

Severe dehydration can be serious and may need urgent medical treatment.

Outlook

The outlook for gastroenteritis is usually very good. Most people recover fully at home within a few days.

Vomiting often settles within 1 to 2 days, while diarrhoea usually improves within 5 to 7 days. Some people may find that their bowel habits take a little longer to fully return to normal.

Recovery may take longer if the infection is bacterial or parasitic, if you have another medical condition, or if you become dehydrated. Seek medical advice if symptoms are not improving, are getting worse or you are worried about dehydration.

When to seek medical help

Gastroenteritis can usually be managed at home, but medical advice is important if symptoms are severe, prolonged or there are signs of dehydration.

Contact your GP or NHS 111 if you or your child:

  • Have signs of dehydration, such as dizziness, passing little urine or extreme thirst
  • Keep vomiting and cannot keep fluids down
  • Have diarrhoea for more than 7 days
  • Have vomiting that lasts more than 2 days
  • Have blood in your diarrhoea or vomit
  • Have severe or worsening tummy pain
  • Have a high temperature that does not improve
  • Have recently travelled abroad
  • Have a weakened immune system or a long-term condition
  • Are pregnant and concerned about symptoms

Seek urgent medical help if a baby under 6 months has diarrhoea and vomiting, or if a child becomes unusually drowsy, floppy, pale, confused or difficult to wake.

Call 999 or go to A&E if there are signs of severe dehydration, severe confusion, collapse, severe abdominal pain, or symptoms that feel life-threatening.

Find a provider

FAQs

Is gastroenteritis contagious?

Yes. Gastroenteritis can spread easily, especially when caused by viruses such as norovirus. Washing your hands with soap and water, cleaning shared surfaces and staying home until 48 hours after symptoms stop can help reduce the spread.

How long does gastroenteritis last?

Vomiting often improves within 1 to 2 days. Diarrhoea usually improves within 5 to 7 days, although bowel habits may take a little longer to fully settle.

What should I drink with gastroenteritis?

Drink plenty of fluids, such as water or diluted squash. If you are at risk of dehydration or struggling to replace fluids, oral rehydration solutions from a pharmacy may help.

Should I eat when I have gastroenteritis?

You do not need to force yourself to eat, especially if you feel sick. When your appetite returns, start with simple foods such as toast, rice, pasta, potatoes, soup or crackers.

Can I take medicine to stop diarrhoea?

Some adults can use anti-diarrhoea medicine for short-term relief, but it is not always needed. Do not give anti-diarrhoea medicines to children under 12 unless advised by a doctor, and avoid them if there is blood in the stool or a high fever.

References

https://www.nhsinform.scot/illnesses-and-conditions/stomach-liver-and-gastrointestinal-tract/gastroenteritis-in-adults/

https://www.nhs.uk/symptoms/diarrhoea-and-vomiting/

https://cks.nice.org.uk/topics/gastroenteritis/

Find a provider