Temporary Lactose Intolerance After Illness
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.
This is one of the most common questions parents ask. Searching for answers means you care.
By Age
What to expect by age
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.
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.
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.
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 Should You Do?
When to take action
- 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
- 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
- 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
Sources
Related Resources
Trust your instincts. If something feels wrong, reach out to your pediatrician.
Worrying about your baby means you care. That is a good thing.
Related Digestive Concerns
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.