Skip to main content

Gastroenteritis in children

Gastroenteritis is an infection of the gut (intestines). It causes diarrhoea and may also cause symptoms such as being sick (vomiting) and tummy (abdominal) pain. In most cases the infection clears within a few days, but sometimes it takes longer. The main risk is lack of fluid in the body (dehydration). The main treatment is to give your child lots to drink. This may mean giving special rehydration drinks. Also, once any dehydration is treated with drinks, encourage your child to eat as normally as possible. Consult a doctor if you suspect that your child is dehydrating, or if they have any worrying symptoms such as those which are listed below.

Continue reading below

What is gastroenteritis and what causes it?

Gastroenteritis is an infection of the gut (intestines). It is common. Many children have more than one episode in a year. The severity can range from a mild tummy upset for a day or two with some mild diarrhoea, to severe diarrhoea and being sick (vomiting) for several days or longer. Many viruses, bacteria and other microbes (germs) can cause gastroenteritis.

A virus is the most common cause of gastroenteritis. Rotavirus is the most common virus causing gastroenteritis in children in the UK. Almost every child in the UK has a rotavirus infection before they are 5 years old. Once you have had rotavirus, your body usually becomes immune to getting it again. Therefore, it is uncommon for adults to get rotavirus because most will have had it as a child. Adenoviruses are another common group of viruses that cause gastroenteritis in children. Adenovirus and rotavirus infection are more common in infants and younger children than in teenagers.

Viruses are easily spread from an infected person to another by close contact. This is often because of the virus being present on the infected person's hands after they have been to the toilet. Surfaces or objects touched by the infected person can also allow transmission of the virus. The virus can also be passed on if the infected person prepares food. Outbreaks of a virus causing gastroenteritis can often occur - for example, in schools or hospitals.

Food poisoning (from eating food infected with microbes) causes some cases of gastroenteritis. Food poisoning is usually caused by a bacterial infection. Common examples are species of bacteria called Campylobacter, Salmonella and Escherichia coli (usually shortened to E. coli). Poisons (toxins) produced by bacteria can also cause food poisoning. Another group of microbes called parasites can also be a cause of food poisoning. Parasites are living things (organisms) that live within, or on, another organism.

Water contaminated by bacteria or other microbes is another common cause, particularly in countries with poor sanitation.

This is a general leaflet about gastroenteritis. Click the links for other leaflets that give more details about some of the different microbes that cause gastroenteritis.

What are the symptoms of gastroenteritis?

  • The main symptom is diarrhoea, often with being sick (vomiting) as well. Diarrhoea means loose or watery stools (faeces), usually at least three times in 24 hours. Blood or mucus can appear in the stools with some infections. Diarrhoea and vomiting may cause dehydration. See also the separate leaflet called Acute Diarrhoea in Children.

  • Crampy pains in the tummy (abdomen) are common. Pains may ease for a while each time some diarrhoea is passed.

  • A high temperature (fever), headache and aching limbs sometimes occur.

In most children, the symptoms are mild and they tend to get better within a few days. If vomiting occurs, it often lasts only a day or so but sometimes longer. Diarrhoea often continues after the vomiting stops and commonly lasts for between 5 to 7 days. Slightly loose stools may persist for a week or so further before a normal pattern returns. Sometimes the symptoms last longer.

How is gastroenteritis diagnosed and does my child need any tests?

Most parents recognise gastroenteritis in their children because of their typical symptoms. The symptoms will often be quite mild and commonly get better within a few days without any treatment, other than drinking plenty of fluids. You will often not need to take your child to see a doctor or seek medical advice.

However, in some circumstances, you may need to seek medical advice for your child (see below). If this is the case, the doctor may ask you questions about:

  • Recent travel abroad.

  • Whether your child has been in contact with someone with similar symptoms.

  • Whether they have recently taken antibiotics.

  • Whether they have recently been admitted to hospital.

This is to look for a possible cause of their gastroenteritis. They will usually examine your child for signs of lack of fluid in the body (dehydration). They may check their temperature and heart rate. They may also examine your child's tummy (abdomen) to look for any tenderness.

Tests are not usually needed. However, in certain cases, the doctor may ask you to collect a stool (faeces) sample from your child. For example, if your child:

  • Is particularly unwell.

  • Has bloody stools.

  • Is admitted to hospital.

  • Has suspected food poisoning.

  • Has recently travelled abroad.

  • Has symptoms which are not getting better.

The stool sample can then be examined in the laboratory to look for the cause of the infection.

Continue reading below

When should I seek medical advice?

Most children who have gastroenteritis have mild symptoms which will get better in a few days. The important thing is to ensure that they have plenty to drink. In many cases, you do not need to seek medical advice. However, you should seek medical advice in the following situations (or if there are any other symptoms that you are concerned about):

  • If your child is under the age of 6 months.

  • If your child has an underlying medical condition (for example, heart or kidney problems, diabetes, history of premature birth).

  • If your child has a high temperature (fever).

  • If you suspect lack of fluid in the body (dehydration) is developing (see earlier).

  • If your child appears drowsy or confused.

  • If your child is being sick (vomiting) and unable to keep fluids down.

  • If there is blood in their diarrhoea or vomit.

  • If your child has severe tummy (abdominal) pain.

  • Infections caught abroad.

  • If your child has severe symptoms, or if you feel that their condition is getting worse.

  • If your child's symptoms are not settling (for example, vomiting for more than 1-2 days, or diarrhoea that does not start to settle after 3-4 days).

What is the treatment for gastroenteritis in children?

Symptoms of gastroenteritis often settle within a few days or so as a child's immune system is usually able to clear the infection. Children can usually be treated at home. Occasionally, admission to hospital is needed if symptoms are severe, or if complications develop. For information about treatment, see the separate leaflet called Acute Diarrhoea in Children.

Note: if you suspect that your child is dehydrated, or is becoming dehydrated, you should seek medical advice urgently.

Medication is not usually needed

You should not give medicines to stop diarrhoea to children under 12 years old. They sound attractive remedies but are unsafe to give to children, due to possible serious complications. However, you can give paracetamol or ibuprofen to ease a high temperature or headache.

Racecadotril is a prescription-only medicine that is occasionally prescribed to children over the age of 3 months. It helps to reduce the amount of fluid lost in the poo in children who are still getting diarrhoea with fluid replacement therapy. .

See also the separate leaflet called Diarrhoea Medicine.

Continue reading below

Are there any complications that can occur from gastroenteritis?

Complications from gastroenteritis in children are uncommon in the UK. They are more likely in very young children. They are also more likely if your child has an ongoing (chronic) illness such as diabetes, or if their immune system is not working fully. For example, if they are taking long-term steroid medication or they are having chemotherapy treatment for cancer. Possible complications include the following:

  • Lack of fluid and salt (electrolyte) imbalance in the body. This is the most common complication. It occurs if the water and salts that are lost in your child's stools (faeces), or when they have been sick (vomited), are not replaced by them drinking enough fluids. If your child drinks well, then it is unlikely to occur, or is only likely to be mild and will soon recover as your child drinks.

  • Reactive complications. Rarely, other parts of the body can react to an infection that occurs in the gut (intestines). This can cause symptoms such as joint inflammation (arthritis), skin inflammation and eye inflammation (either conjunctivitis or uveitis). Reactive complications are uncommon if it is a virus causing gastroenteritis.

  • Spread of infection to other parts of your child's body such as their bones, joints, or the meninges that surround their brain and spinal cord. This is rare. If it does occur, it is more likely if gastroenteritis is caused by Salmonella spp. infection.

  • Persistent diarrhoea syndromes may rarely develop.

  • Irritable bowel syndrome is sometimes triggered by a bout of gastroenteritis.

  • Lactose intolerance can sometimes occur for a while after gastroenteritis. It is known as secondary or acquired lactose intolerance. Your child's gut lining can be damaged by the episode of gastroenteritis. This leads to lack of a chemical (enzyme) called lactase that is needed to help the body digest a sugar called lactose that is in milk. Lactose intolerance leads to bloating, tummy (abdominal) pain, wind and watery stools after drinking milk. The condition gets better when the infection is over and the gut lining heals.

  • Haemolytic uraemic syndrome is a rare complication. It is usually associated with gastroenteritis caused by a certain type of E. coli infection - E. coli O157. It is a serious condition where there is anaemia, a low platelet count in the blood and kidney failure. If recognised and treated, most children recover well.

  • Malnutrition may follow some gut infections. This is mainly a risk for children in developing countries.

Preventing spread of infection to others

Gastroenteritis can very easily be passed on from person to person. Therefore, you and your child need to take measures to try to reduce this chance.

If your baby has gastroenteritis, be especially careful to wash your hands after changing nappies and before preparing, serving, or eating food. Ideally, use liquid soap in warm running water but any soap is better than none. Dry your hands properly after washing. For older children, whilst they have gastroenteritis, the following are recommended:

  • Regularly clean the toilets used, with disinfectant. Also, clean the flush handle, toilet seat, sink taps, bathroom surfaces and door handles at least daily with hot water and detergent. Disposable cleaning cloths should be used (or a cloth just for toilet use).

  • If a potty has to be used, wear gloves when you handle it, dispose of the contents into a toilet, then wash the potty with hot water and detergent and leave it to dry.

  • Make sure your child washes their hands after going to the toilet. Ideally, they should use liquid soap in warm running water but any soap is better than none. Dry properly after washing.

  • If clothing or bedding is soiled, first remove any stools (faeces) into the toilet. Then wash in a separate wash at as high a temperature as possible.

  • Don't let your child share towels and flannels.

  • Don't let them help to prepare food for others.

  • They should stay off school, nursery, etc, until at least 48 hours after the last episode of diarrhoea or being sick (vomiting). They should also avoid contact with other children, where possible, during this time. (Sometimes this time may be longer with certain infections. Check with your doctor if you are not sure.)

  • If the cause of gastroenteritis is known to be (or suspected to be) a germ called Cryptosporidium spp., your child should not swim in swimming pools for two weeks after the last episode of diarrhoea.

Can gastroenteritis be prevented?

The advice given in the previous section is aimed at preventing the spread of infection to other people. But, even when we are not in contact with someone with gastroenteritis, proper storage, preparation and cooking of food and maintaining good hygiene help to prevent gastroenteritis. In particular, always wash your hands, and teach children to wash theirs:

  • After going to the toilet (and after changing nappies).

  • Before touching food. And also, between handling raw meat and food ready to be eaten. (There may be some germs (bacteria) on raw meat.)

  • After gardening.

  • After playing with pets (healthy animals can carry certain harmful bacteria).

The simple measure of washing hands regularly and properly is known to make a big difference to the chance of developing gastroenteritis.

You should also take extra measures when in countries of poor sanitation. For example, avoid water and other drinks that may not be safe and avoid food washed in unsafe water.

Breastfeeding is also protective. Breast-fed babies are much less likely to develop gastroenteritis compared to bottle-fed babies.


As mentioned earlier, rotavirus is the most common cause of gastroenteritis in children. There is an effective vaccine against rotavirus. In the UK it was decided to routinely vaccinate babies against rotavirus. From September 2013 babies were offered drops (by mouth) to prevent rotavirus, along with their other routine vaccinations. These drops are given at 2 and 3 months of age.

Further reading and references

Article history

The information on this page is written and peer reviewed by qualified clinicians.

symptom checker

Feeling unwell?

Assess your symptoms online for free