
Your baby has thrown up twice and has had several watery diapers, and you are watching closely for signs things are getting worse. Stomach bugs are common, especially in babies in daycare, and most pass within a few days. With baby vomiting and diarrhea, the most important job is keeping your baby hydrated. Here is what to do and when to get help.
Quick answer: baby vomiting and diarrhea
Most vomiting and diarrhea in babies is caused by a viral stomach bug and gets better within a few days. Keep offering breast milk or formula in small, frequent amounts, ask your pediatrician about an oral rehydration solution if your baby keeps vomiting, and call right away for any sign of dehydration or a baby under 3 months.
- Most common cause: a viral stomach bug (gastroenteritis), often norovirus or rotavirus.
- Keep feeding: breast or formula milk in smaller, more frequent amounts.
- Watch for dehydration: fewer wet diapers, dry mouth, sunken soft spot, unusual sleepiness.
- Vomiting usually stops in 1 to 2 days; diarrhea can last 5 to 7 days.
Common causes
- viral gastroenteritis
- other infections, such as ear or urinary tract infections
- food intolerance or allergy
- less commonly, a blockage or other medical problem
How to care for your baby
- Keep breastfeeding or giving formula, offering small amounts often.
- Ask about oral rehydration solution from a pharmacist or your pediatrician, especially if your baby is vomiting or the diarrhea is very loose.
- Do not give fruit juice, soda or plain water to babies under 6 months.
- Continue solids if your baby wants them; bland foods are fine.
- Protect the diaper area with barrier cream.
- Wash hands thoroughly to stop the bug from spreading.
Oral rehydration solution: what the AAP advises
An oral rehydration solution (ORS), such as Pedialyte or a store-brand version, has the right balance of sugars and salts to replace lost fluid. The AAP says most children with mild diarrhea do not need one; it helps most when diarrhea is more severe or your baby is vomiting. The AAP advises against making your own solution at home. Store brands and name brands are equally fine, and your pediatrician or pharmacist can help you choose.
The key is small amounts, often. The AAP’s symptom checker for vomiting with diarrhea gives this home-care plan:
| Your child | What the AAP suggests if vomiting more than once | When to go back to normal feeds |
|---|---|---|
| Breastfed baby | Nurse for 5 minutes every 30 to 60 minutes. If vomiting continues, give pumped breast milk, 1 to 2 teaspoons (5 to 10 ml) every 5 minutes. ORS is rarely needed. | After 4 hours without vomiting, return to breastfeeding, starting with 5 minutes every 30 minutes and slowly increasing. |
| Formula-fed baby | Offer ORS, 1 to 2 teaspoons (5 to 10 ml) every 5 minutes. If you have no ORS, give formula in smaller amounts. After 2 hours without vomiting, double the amount. | After 4 hours without vomiting, return to regular formula in small amounts. |
| Child over 1 year | Offer ORS, 2 to 3 teaspoons (10 to 15 ml) every 5 minutes. | After 4 hours without vomiting, increase the amount; after 8 hours, return to regular fluids. |
- If your baby will not drink from a bottle or cup, the AAP suggests a medicine cup, syringe or teaspoon.
- For babies 6 to 12 months, the AAP says to use undiluted breast milk or formula, then ORS if milk is not kept down, and not plain water.
- The AAP says soft drinks, juices, soups and sports drinks have the wrong amounts of sugar and salt and may make a child sicker.
- Never dilute formula; give it at normal strength, just in smaller amounts.
Feeding during and after a stomach bug
For mild diarrhea without vomiting, the AAP says a change of diet is usually not needed. While your baby is actively vomiting, its symptom checker suggests pausing solid foods, then, after about 8 hours without vomiting, slowly adding easy starchy foods such as infant cereal or crackers. The AAP says fasting is not a treatment, and the BRAT diet (bananas, rice, applesauce, toast) is no longer recommended, because it is low in protein, fat and fiber. Ideally your child returns to their normal diet within about 24 hours.
Signs of dehydration
- fewer wet diapers or dark urine
- dry mouth and lips, no tears
- sunken soft spot or eyes
- cold hands and feet
- very sleepy, floppy or irritable
The AAP adds some concrete checks: for babies, fewer than 6 wet diapers a day, or no urine in more than 8 hours; dark yellow urine; and skin color that takes longer than 2 seconds to return after you gently press a fingertip or nail. The AAP also notes that a child who is alert and playful is not dehydrated.
See dehydration in babies and spitting up vs vomiting.
Related: baby poop color chart and the colors that need a call.
How long does a stomach bug last in babies?
The AAP says a child may vomit everything for the first 3 or 4 hours, after which the stomach usually settles; moderate vomiting usually stops within 12 to 24 hours, and mild vomiting with diarrhea can come and go for up to a week. With rotavirus, the CDC says vomiting and watery diarrhea can last 3 to 8 days. Diarrhea often lingers for a few days after the vomiting has stopped.
Medicines for vomiting and diarrhea
The AAP says over-the-counter anti-diarrhea medicines are not recommended for children under 2 and can be harmful in older children, so check with your pediatrician before giving any medicine for diarrhea or vomiting. The AAP also advises against homemade remedies. If your child vomits a medicine your doctor prescribed, call the doctor.
Stopping the spread at home
- Soap and water: the CDC advises washing hands for at least 20 seconds, especially after diaper changes and before preparing food. Hand sanitizer works less well against norovirus and does not replace handwashing.
- Clean up promptly: wear gloves, wipe up with paper towels, then disinfect the area with a bleach solution or a disinfectant registered against norovirus (CDC).
- Laundry: remove soiled clothes and bedding right away, handle them without shaking, and wash them in hot water (CDC).
- Keep going after recovery: the CDC says norovirus can stay in stool for 2 weeks or more after a person feels better, so keep up careful handwashing.
When to talk to your doctor
- a baby under 3 months with vomiting or diarrhea
- any signs of dehydration
- green vomit (bile), or blood in vomit or poop: seek urgent help
- forceful (projectile) vomiting, or vomiting for more than 24 hours
- diarrhea for more than 7 days, or fever
- a swollen, hard tummy or severe pain
When to call now or go to the ER
The AAP’s symptom checker lists these warning signs:
- Call 911: your child cannot be woken, is not moving or is too weak to stand, or you think it is a life-threatening emergency.
- Go to the ER now: your child is hard to wake, acts confused or is not alert; there is blood or green bile in the vomit.
- Call your pediatrician now: a baby under 12 weeks who has vomited 2 or more times; a baby under 12 months who has vomited ORS 3 or more times; severe vomiting for more than 8 hours while taking clear fluids; blood in the stool; stomach pain when not vomiting; a fever above 104°F (40°C), or any fever in a baby under 12 weeks.
- Call within 24 hours: a baby under 1 year with vomiting, vomiting for more than 24 hours, or a fever lasting more than 3 days.
Frequently asked questions
Should I stop milk feeds?
No. Keep giving breast milk or formula. Do not dilute formula.
When can my baby go back to daycare?
Usually 48 hours after the last episode of vomiting or diarrhea.
Is there a vaccine?
Yes, the rotavirus vaccine is part of many national schedules. See baby vaccinations.
What can I give my baby for vomiting and diarrhea?
Fluids are the treatment: breast milk or formula in small, frequent amounts, and an oral rehydration solution if your pediatrician or pharmacist suggests it. The AAP does not recommend over-the-counter anti-diarrhea medicines for children under 2, or homemade remedies, so ask your pediatrician before giving any medicine.
Is the BRAT diet good for a baby with diarrhea?
Not anymore. The AAP says the BRAT diet (bananas, rice, applesauce, toast) is no longer considered useful, because it is low in protein, fat and fiber. Once your baby is keeping fluids down, a return to their usual, age-appropriate foods is the goal.
Free printables: get our Safe Sleep Checklist, Feeding & Diaper Log and Hospital Bag Checklist, plus one short tip email a week. Join Babypino Weekly.
Sources
- American Academy of Pediatrics, HealthyChildren.org: Diarrhea and Vomiting
- American Academy of Pediatrics, HealthyChildren.org: Vomiting With Diarrhea (symptom checker)
- American Academy of Pediatrics, HealthyChildren.org: Drinks to Prevent Dehydration When Your Child Is Vomiting
- CDC: About Rotavirus
- CDC: Preventing Norovirus
- NHS: Diarrhoea and vomiting
- NICE: Diarrhoea and vomiting caused by gastroenteritis in under 5s
This guide is general information, not medical advice. If you are worried about your baby, contact your doctor right away.

