Digestive

Temporary Lactose Intolerance After Illness

Medically reviewed by Dr. Sarah Chen, MD, FAAP · Board-Certified Pediatrician

Content reviewed against published AAP, NIH, AAP guidelines

Editorial policy

Last reviewed:

Digestive issues are common in infants and toddlers. If your baby is experiencing temporary lactose intolerance after illness, here is what you need to know.

The short answer

Temporary (secondary) lactose intolerance can occur after a stomach virus because the infection damages the intestinal lining where lactase enzyme is produced. This typically causes watery diarrhea, gas, and bloating when consuming milk or lactose-containing formula. It usually resolves within 2 to 6 weeks as the gut heals. Most babies do not need to permanently avoid lactose.

Key takeaways

  • Temporary (secondary) lactose intolerance can occur after a stomach virus because the infection damages the intestinal lining where lactase enzyme is produced. This typically causes watery diarrhea, gas, and bloating when consuming milk or lactose-containing formula. It usually resolves within 2 to 6 weeks as the gut heals. Most babies do not need to permanently avoid lactose.
  • Usually normal when: Temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks
  • Call your doctor if: Severe dehydration from ongoing diarrhea related to milk feeds
  • Varies by age — see the age-by-age breakdown below
The biggest concern with vomiting is dehydration. Young children can become dehydrated quickly, so it's important to replace fluids. Offer small amounts of an oral rehydration solution frequently.
Vomiting in Children, American Academy of Pediatrics (AAP)

This is one of the most common questions parents ask. Searching for answers means you care.

What Parents Should Know

According to AAP, NIH guidelines, temporary (secondary) lactose intolerance can occur after a stomach virus because the infection damages the intestinal lining where lactase enzyme is produced. This typically causes watery diarrhea, gas, and bloating when consuming milk or lactose-containing formula. It usually resolves within 2 to 6 weeks as the gut heals. Most babies do not need to permanently avoid lactose. At 0-3 months, true lactose intolerance in newborns is extremely rare. If a young infant develops diarrhea after an illness, continue breastfeeding (which contains lactose but also factors that help gut healing). For formula-fed babies with persistent diarrhea, your pediatrician may recommend a lactose-free formula temporarily. It is generally considered normal when temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks. However, you should contact your pediatrician promptly if severe dehydration from ongoing diarrhea related to milk feeds.

Sources: [1], [2], [3]

Normal vs. Concerning

Usually Normal
Worth Discussing
Temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks
Severe dehydration from ongoing diarrhea related to milk feeds
Gas and mild bloating with dairy that gradually resolves as the gut heals
Bloody stools with dairy, which suggests cow's milk protein allergy rather than lactose intolerance

By Age

What to expect by age

0-3 months

True lactose intolerance in newborns is extremely rare. If a young infant develops diarrhea after an illness, continue breastfeeding (which contains lactose but also factors that help gut healing). For formula-fed babies with persistent diarrhea, your pediatrician may recommend a lactose-free formula temporarily.

3-6 months

After a stomach bug, you may notice your baby has more gas, bloating, and watery stools when resuming normal milk feeds. This usually means the gut is still healing. Your pediatrician may suggest a temporary switch to a lactose-free formula for 2 to 4 weeks, then gradually reintroducing the regular formula.

6-12 months

Secondary lactose intolerance is common after rotavirus or other severe gastroenteritis at this age. Continue breast milk and offer lactose-free alternatives for a few weeks. The gut lining regenerates and lactase production resumes as healing occurs. Most babies can return to normal dairy intake within 2 to 6 weeks.

12-24 months

Toddlers recovering from a stomach bug may develop temporary intolerance to milk, yogurt, and cheese. You may notice watery, frothy diarrhea returning when dairy is reintroduced. Reducing dairy for 2 to 4 weeks while offering other calcium sources (fortified alternatives, broccoli, calcium-set tofu) and then gradually reintroducing usually works.

What to Tell Your Pediatrician

  • Describe when you first noticed temporary lactose intolerance after illness and how it has changed over time.
  • Note your baby's current age and which age-specific patterns you are seeing.
  • Mention if dairy-related diarrhea persists beyond 6 weeks after the illness.
  • Mention if you need guidance on alternative feeding during temporary intolerance.
  • Let your doctor know if you have noticed any related concerns, such as changes in feeding, sleep, or movement patterns.
  • Bring a list of any questions or observations you want to discuss at the appointment.

What Should You Do?

When to take action

Probably normal when...
  • Temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks
  • Gas and mild bloating with dairy that gradually resolves as the gut heals
Mention at your next visit when...
  • Dairy-related diarrhea persists beyond 6 weeks after the illness
  • You need guidance on alternative feeding during temporary intolerance
  • You are unsure whether the intolerance is temporary or permanent
Act now when...
  • Severe dehydration from ongoing diarrhea related to milk feeds
  • Bloody stools with dairy, which suggests cow's milk protein allergy rather than lactose intolerance
  • Failure to thrive or weight loss during the period of intolerance

What You Can Do at Home

  • Keep track of when you notice temporary lactose intolerance after illness — noting the time of day, duration, and any triggers can help your pediatrician.
  • Remember that temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks — this is generally within the range of normal.
  • At 0-3 months, focus on observation rather than intervention unless your pediatrician advises otherwise.
  • Keep your baby upright for 20-30 minutes after feeding. Note any patterns between feeds and symptoms.
  • While monitoring at home, seek immediate care if severe dehydration from ongoing diarrhea related to milk feeds.

Baby Diarrhea

Baby diarrhea is defined as a sudden increase in the frequency and wateriness of stools compared to your baby's normal pattern. Breastfed babies naturally have loose, seedy stools, which is not diarrhea. True diarrhea in babies is most often caused by a viral infection and usually resolves on its own, but preventing dehydration is the most important thing you can do.

Food Intolerance vs Food Allergy in Baby

Food allergies involve the immune system and can cause immediate reactions like hives, swelling, and breathing difficulty. Food intolerances involve the digestive system and cause symptoms like gas, bloating, diarrhea, or cramping without immune involvement. Both can be uncomfortable but allergies can be life-threatening while intolerances are not. Some reactions are non-IgE mediated allergies, which fall between the two.

Stomach Bug Timeline in Baby

A typical stomach virus (gastroenteritis) in babies lasts 1 to 3 days for vomiting and 5 to 7 days for diarrhea, though some viruses can cause diarrhea lasting up to 2 weeks. The most important thing is to maintain hydration during this time. Your baby is usually most contagious in the first few days of symptoms.

GERD vs Cow's Milk Protein Allergy

GERD and cow's milk protein allergy (CMPA) share many overlapping symptoms including spitting up, fussiness, and poor feeding, making them difficult to distinguish. Up to 40% of infants referred for GERD symptoms actually have CMPA. A 2 to 4 week trial of eliminating cow's milk protein (maternal elimination for breastfed, hydrolyzed formula for formula-fed) can help determine if CMPA is the cause.

Frequently asked questions

Is temporary lactose intolerance after illness normal?
Temporary (secondary) lactose intolerance can occur after a stomach virus because the infection damages the intestinal lining where lactase enzyme is produced. This typically causes watery diarrhea, gas, and bloating when consuming milk or lactose-containing formula. It usually resolves within 2 to 6 weeks as the gut heals. Most babies do not need to permanently avoid lactose.
When should I call the doctor about temporary lactose intolerance after illness?
Severe dehydration from ongoing diarrhea related to milk feeds Bloody stools with dairy, which suggests cow's milk protein allergy rather than lactose intolerance Failure to thrive or weight loss during the period of intolerance
When is temporary lactose intolerance after illness normal?
Temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks Gas and mild bloating with dairy that gradually resolves as the gut heals
What causes temporary lactose intolerance after illness?
Temporary (secondary) lactose intolerance can occur after a stomach virus because the infection damages the intestinal lining where lactase enzyme is produced. This typically causes watery diarrhea, gas, and bloating when consuming milk or lactose-containing formula. It usually resolves within 2 to 6 weeks as the gut heals. Most babies do not need to permanently avoid lactose. Common explanations include: Temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks. Gas and mild bloating with dairy that gradually resolves as the gut heals.
What should I mention to my pediatrician about temporary lactose intolerance after illness?
You should mention temporary lactose intolerance after illness at your next visit if: Dairy-related diarrhea persists beyond 6 weeks after the illness. You need guidance on alternative feeding during temporary intolerance. You are unsure whether the intolerance is temporary or permanent.
Is temporary lactose intolerance after illness normal at 0-3 months?
True lactose intolerance in newborns is extremely rare. If a young infant develops diarrhea after an illness, continue breastfeeding (which contains lactose but also factors that help gut healing). For formula-fed babies with persistent diarrhea, your pediatrician may recommend a lactose-free formula temporarily.
Is temporary lactose intolerance after illness normal at 3-6 months?
After a stomach bug, you may notice your baby has more gas, bloating, and watery stools when resuming normal milk feeds. This usually means the gut is still healing. Your pediatrician may suggest a temporary switch to a lactose-free formula for 2 to 4 weeks, then gradually reintroducing the regular formula.
Should I go to the ER for temporary lactose intolerance after illness?
Seek emergency care if severe dehydration from ongoing diarrhea related to milk feeds, or if bloody stools with dairy, which suggests cow's milk protein allergy rather than lactose intolerance. When in doubt, call your pediatrician's after-hours line for guidance.
Does temporary lactose intolerance after illness go away on its own?
In many cases, temporary lactose intolerance after illness resolves on its own, especially when temporary looser stools after reintroducing dairy following a stomach bug that improve over 2 to 4 weeks. By 12-24 months, toddlers recovering from a stomach bug may develop temporary intolerance to milk, yogurt, and cheese. You may notice watery, frothy diarrhea returning when dairy is reintroduced. Reducing dairy for 2 to 4 weeks while offering other calcium sources (fortified alternatives, broccoli, calcium-set tofu) and then gradually reintroducing usually works.

References

  1. [1]American Academy of Pediatrics. Lactose Intolerance in Children. HealthyChildren.org. AAP
  2. [2]National Institute of Diabetes and Digestive and Kidney Diseases. Lactose Intolerance. NIH
  3. [3]American Academy of Pediatrics. Diarrhea. HealthyChildren.org. AAP

Doctor Visit Checklist

Bring this checklist to your next pediatrician visit to discuss Temporary Lactose Intolerance After Illness.

Things to mention

  • Describe when you first noticed temporary lactose intolerance after illness and how it has changed over time.
  • Note your baby's current age and which age-specific patterns you are seeing.
  • Mention if dairy-related diarrhea persists beyond 6 weeks after the illness.
  • Mention if you need guidance on alternative feeding during temporary intolerance.
  • Let your doctor know if you have noticed any related concerns, such as changes in feeding, sleep, or movement patterns.
  • Bring a list of any questions or observations you want to discuss at the appointment.

Observations to share

  • Dairy-related diarrhea persists beyond 6 weeks after the illness
  • You need guidance on alternative feeding during temporary intolerance
  • You are unsure whether the intolerance is temporary or permanent

Urgent signs to report immediately

  • Severe dehydration from ongoing diarrhea related to milk feeds
  • Bloody stools with dairy, which suggests cow's milk protein allergy rather than lactose intolerance
  • Failure to thrive or weight loss during the period of intolerance

My notes

From ismybabyalright.com — free, evidence-based baby health guides

All content follows our editorial policy and is reviewed against published clinical guidelines.

2,705 evidence-based guides6 authoritative medical sources5 medical advisory board members

Bottom line

Most cases of temporary lactose intolerance after illness are normal. Talk to your pediatrician if severe dehydration from ongoing diarrhea related to milk feeds.

Trust your instincts. If something feels wrong, reach out to your pediatrician. Worrying about your baby means you care — that is a good thing.

Share:FacebookX

Was this page helpful?

Baby Diarrhea

Baby diarrhea is defined as a sudden increase in the frequency and wateriness of stools compared to your baby's normal pattern. Breastfed babies naturally have loose, seedy stools, which is not diarrhea. True diarrhea in babies is most often caused by a viral infection and usually resolves on its own, but preventing dehydration is the most important thing you can do.

Food Intolerance vs Food Allergy in Baby

Food allergies involve the immune system and can cause immediate reactions like hives, swelling, and breathing difficulty. Food intolerances involve the digestive system and cause symptoms like gas, bloating, diarrhea, or cramping without immune involvement. Both can be uncomfortable but allergies can be life-threatening while intolerances are not. Some reactions are non-IgE mediated allergies, which fall between the two.

Stomach Bug Timeline in Baby

A typical stomach virus (gastroenteritis) in babies lasts 1 to 3 days for vomiting and 5 to 7 days for diarrhea, though some viruses can cause diarrhea lasting up to 2 weeks. The most important thing is to maintain hydration during this time. Your baby is usually most contagious in the first few days of symptoms.

GERD vs Cow's Milk Protein Allergy

GERD and cow's milk protein allergy (CMPA) share many overlapping symptoms including spitting up, fussiness, and poor feeding, making them difficult to distinguish. Up to 40% of infants referred for GERD symptoms actually have CMPA. A 2 to 4 week trial of eliminating cow's milk protein (maternal elimination for breastfed, hydrolyzed formula for formula-fed) can help determine if CMPA is the cause.

My Baby's Belly Looks Swollen

A rounded, slightly protruding belly is completely normal in babies and toddlers due to immature abdominal muscles and their proportionally larger organs. However, if the belly becomes suddenly swollen, feels hard and tight, or is accompanied by pain, vomiting, or changes in bowel movements, it needs medical evaluation as it could signal gas buildup, constipation, or rarely, something more serious.

My Baby Has an Anal Fissure (Blood When Pooping)

A small streak of bright red blood on the surface of your baby's stool or on the diaper is most commonly caused by an anal fissure, which is a tiny tear in the skin around the anus from passing hard stool. Anal fissures are very common in babies and toddlers and usually heal on their own with simple measures like keeping stools soft. While this is rarely serious, any blood in your baby's stool should be mentioned to your pediatrician.