What Foods to Avoid While Breastfeeding for Gas
Posted on January 26, 2026
Posted on January 26, 2026
If you have ever spent the "witching hour" pacing the floor with a fussy, arching baby, you know how exhausting it can be. While it's natural to worry that your morning latte or favorite snack is causing those tummy bubbles, most infant gas is actually caused by an immature digestive system or swallowed air. When a dietary trigger is to blame, cow’s milk protein allergy (CMPA) is the most common culprit, followed by sensitivities to caffeine or high-sugar foods. At Milky Mama, we want to help you distinguish between normal newborn development and potential food sensitivities so you can feel empowered in your breastfeeding journey.
Quick Answer: Most breastfed-baby gas is usually from swallowed air or immature digestion, not food. If a dietary trigger is suspected, cow’s milk dairy is the first thing to test, and caffeine is another common thing to watch in sensitive babies.
Before restricting your diet, it is helpful to understand the primary causes of infant gas:
Key Takeaway: Most infant gas is caused by an immature digestive system or swallowed air, rather than the specific foods in a parent's diet.
Dairy is the most frequent food sensitivity in breastfed infants. It is important to distinguish between lactose intolerance (which is rare in babies) and cow’s milk protein allergy (CMPA). In CMPA, proteins like casein and whey pass into your milk and can cause gut inflammation.
If your baby is reacting to dairy, you might notice:
If you suspect dairy is the issue, we suggest a trial elimination. This involves removing all milk, cheese, butter, and hidden dairy for about 2–3 weeks to allow the proteins to clear your system and the baby's gut to heal.
Many parents are told to avoid broccoli, cabbage, cauliflower, and Brussels sprouts. While these "cruciferous" vegetables cause gas in adults due to high fiber content, that fiber does not pass into breast milk.
Most babies tolerate these vegetables well. However, some may be sensitive to specific sulfur compounds. Unless you see a consistent pattern of misery after you eat these nutrient-packed greens, there is no need to cut them out "just in case."
Spicy foods like chili and peppers generally do not cause gas. Exposing your baby to various flavors can actually make them more open to different foods later. While garlic and onion can change the scent of your milk, some babies actually nurse longer when these flavors are present. If your baby experiences specific heartburn or fussiness after a spicy meal, consider reducing the heat for a few days to monitor the reaction.
Quick Summary:
- Most baby gas is still more likely to come from swallowed air or an immature digestive system than from mom’s diet.
- Cow’s milk dairy is the most common food to trial first if you suspect a trigger.
- Cruciferous vegetables usually do not need to be removed unless you see a clear pattern.
- Check latch and feeding position before making broad diet cuts.
- Get medical help if you see blood in the stool, poor weight gain, projectile vomiting, fever, or lethargy.
While most babies can handle a moderate caffeine intake of about 200–300mg a day, some newborns are highly sensitive. Because their bodies process caffeine slowly, it can build up, leading to jitteriness and fussiness that mimics gas pain. If your baby is struggling to settle, try reducing your caffeine for a few days to see if their temperament improves.
High amounts of refined sugar and artificial sweeteners in sodas or processed snacks can influence your gut bacteria and potentially affect your baby's comfort. Focusing on whole-food snacks is better for your energy and your baby's digestion.
Our Emergency Lactation Brownies are a favorite because they use wholesome ingredients like oats and flaxseed to support supply while being a satisfying, "real food" treat.
While fish provides vital Omega-3s, avoid high-mercury options like swordfish, king mackerel, and tilefish for general safety. Other common allergens to watch include:
Before significantly restricting your diet, check the mechanics of feeding. Many gassy babies are simply "air swallowers." A shallow latch or a clicking sound during nursing often indicates the baby is pulling in air.
At Milky Mama, we offer Certified Lactation Consultant Breastfeeding Help to help you troubleshoot. Simple changes, like the "laid-back" nursing position, can help your baby manage milk flow and reduce swallowed air.
Key Takeaway: Improving your baby's latch and using upright feeding positions can often resolve "gas" issues more effectively than restrictive dieting.
If you have adjusted your diet and checked the latch, these physical techniques can help move gas along:
Many parents use herbal supplements like moringa, alfalfa, and blessed thistle to support milk supply. Our supplements, including Pumping Queen and Lady Leche, use traditional herbs to support production.
Always monitor your baby when starting supplements, as some infants may react to certain herbs.
This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice.
If an elimination diet is necessary, do it systematically:
Ensure you are still getting enough calories to maintain your health. If you are struggling to eat a balanced diet, consult a registered dietitian.
The balance of bacteria in a baby's microbiome plays a large role in gas. Studies suggest strains like L. reuteri may reduce gas and crying in breastfed infants. You can take probiotics yourself to improve milk quality, or discuss probiotic drops for the baby with your pediatrician.
While gas is normal, contact your pediatrician if your baby exhibits:
Key Takeaway: Every drop of breast milk counts, and while diet can matter, your overall well-being and the bond with your baby are the most important parts of the journey.
Navigating your diet while breastfeeding can feel like a minefield, but remember that most gas is a normal part of your baby's development. You don't need a restrictive diet to be a successful parent. By observing patterns, checking the latch, and making mindful adjustments, you can find a balance that works for both of you. Milky Mama is here to support you with the education and products you need to make this journey smoother.
While spicy foods can change the flavor of your milk, they do not typically cause gas in most babies. However, some infants may be sensitive to the compounds in very hot peppers, leading to fussiness or a diaper rash. If you notice a consistent reaction after spicy meals, consider reducing the heat for a few days to see if it helps.
Most foods appear in your breast milk within 2 to 6 hours after consumption. If your baby has a sensitivity, you will likely see a reaction within that timeframe, though some proteins like dairy can take longer to build up or clear out. Keeping a food diary can help you pinpoint the exact window for your baby.
You do not need to avoid these vegetables unless you notice your baby is specifically bothered by them. The fiber that causes gas in adults does not pass into breast milk, and these vegetables provide essential vitamins for both you and your baby. If your baby is gassy, it is more likely due to swallowed air or an immature digestive system.
Yes, many babies experience a "witching hour" in the late afternoon or evening where they are more gassy and fussy. This is often due to a build-up of air swallowed during the day or overstimulation of their nervous system. Gentle movement, burping, and skin-to-skin contact are often the best remedies for evening gas.