Baby gastroenteritis: the stomach bug, feeding through it, and recovery

0–3 years · Health · Updated July 2026 · All articles

A stomach bug in a baby is one of those illnesses that tends to arrive fast and feel alarming. The vomiting, the diarrhoea, the worry about whether they are drinking enough: it is a lot to handle, especially in the middle of the night. The good news is that most cases of gastroenteritis in babies resolve on their own within a week, and what you do at home, particularly around feeding, makes a real difference to how your baby copes.

What is gastroenteritis?

Gastroenteritis is an infection of the gut that causes vomiting and diarrhoea. In babies it is most often caused by viruses, particularly rotavirus and norovirus, though bacterial infections from contaminated food or water can also be responsible. It is extremely common: most babies have at least one episode in their first two years of life, according to NHS figures. The body fights it off, and the immune system comes out stronger for it.

How the illness unfolds

Gastroenteritis typically starts with vomiting, which is often sudden and can be severe in the first 24 hours. Diarrhoea then follows, sometimes overlapping with the vomiting phase. A low fever is common and is simply the immune system doing its job. The vomiting usually settles within one to two days, but the diarrhoea can last five to seven days, or even a little longer in younger babies. This is a normal timeline and does not mean your baby is getting worse. Knowing what to expect helps you stay calm and watch for the signs that actually matter.

Feeding through the illness

This is the area where parents feel most uncertain, and the most important message is simple: do not stop feeding.

Stopping feeds entirely is not recommended and can worsen dehydration, which is the main risk of this illness. Small and frequent is the approach that works.

Fluids and rehydration

Keeping your baby hydrated is the most important thing you can do. In babies under 12 months, breastmilk or formula should be your primary fluid. In older babies and toddlers, water can be offered freely between feeds. Oral rehydration solutions (ORS such as Dioralyte) may be recommended by your GP or 111 for babies who are showing early signs of dehydration, and they work by replacing the salts and sugars the body loses through vomiting and diarrhoea.

Avoid sports drinks, fruit juice, and undiluted squash. These are high in sugar and can actually make diarrhoea worse rather than helping.

What not to give

A few things that parents sometimes reach for are not appropriate for babies and young children:

Infant paracetamol or ibuprofen can be given for fever or discomfort according to your baby's age and weight, but they will not shorten the illness itself. Always follow the dosing instructions on the packaging.

Preventing spread: hygiene in the home

Gastroenteritis is highly contagious and spreads easily in households with babies. A few habits make a significant difference:

Rotavirus vaccine

The rotavirus vaccine is offered to all babies in the UK as part of the routine immunisation schedule. It is given as oral drops at eight weeks and 12 weeks. According to NHS data, it has significantly reduced hospital admissions for severe gastroenteritis in young babies since its introduction. If your baby has had both doses, they have meaningful protection against the most common cause of severe gastroenteritis in infants, though it does not protect against all strains or other causes such as norovirus.

When to see a doctor

Most cases of gastroenteritis can be managed at home. Contact your GP or call 111 if:

Call 999 or go to A&E if your baby shows signs of severe dehydration: extreme limpness, very sunken eyes and fontanelle, no urine output, or no response to you. These are emergencies.

Frequently asked questions

Should I stop breastfeeding during a stomach bug?

No. Continue breastfeeding through gastroenteritis. Both NHS and WHO recommend this clearly. Breastmilk provides antibodies that help your baby fight the infection, as well as fluid and nutrition that are hard to replace. Offer feeds more frequently if your baby is vomiting, to help replace lost fluids little and often.

Can babies have rehydration sachets?

Oral rehydration sachets such as Dioralyte can be given on medical advice. In most mild cases, breastmilk or formula is sufficient. If your GP or 111 advises ORS, use the infant formulation and follow the instructions carefully for your baby's weight. Do not guess the dose.

How long does gastroenteritis last in babies?

Vomiting usually settles within one to two days. Diarrhoea can continue for five to seven days, and loose or more frequent stools may linger for a week or two after the acute illness. This is a normal part of recovery and does not mean there is a persistent infection. If diarrhoea continues beyond two weeks, contact your GP.

What can I feed my baby with gastroenteritis?

Continue breastmilk or formula as your main fluid. If your baby is eating solids, offer small amounts of foods they usually enjoy. There is no need to restrict to specific foods or follow a bland diet. Appetite often reduces during illness, which is completely normal. Offer little and often rather than large amounts.

Is gastroenteritis contagious from babies to adults?

Yes, and it spreads very easily through contaminated hands, surfaces and nappy contents. Thorough handwashing with soap and water (not just hand gel, which is less effective against norovirus) is the best protection. Adults regularly exposed to a baby's nappies are at real risk of catching the infection themselves.

When does gastroenteritis need hospital?

Go to A&E or call 999 if your baby has signs of severe dehydration: a very dry mouth, no tears, sunken eyes and fontanelle, very dark or no urine, extreme lethargy, or no response to you. Also go urgently if there is blood in the stool, or if your baby is under three months and deteriorating quickly. Call 111 if you are worried but your baby does not seem to be in immediate danger.

Track nappies, feeds and symptoms through every stomach bug

Cubby makes it easy to log what your baby is eating and how many wet nappies they are having, so you can spot dehydration before it gets serious and have the answers your doctor needs.

Start free

Related articles