What Foods to Avoid While Breastfeeding for Gas
Posted on January 26, 2026
Posted on January 26, 2026
If you have ever spent your "witching hour" pacing the floor with a fussy, arching, gassy baby, you know how heartbreaking—and exhausting—it can be. You want to provide the best nourishment possible, but watching your little one struggle with tummy bubbles can make you question everything you eat. At Milky Mama, we hear from parents every day who are worried that their favorite snack or morning latte might be the reason for their baby’s discomfort.
It is important to remember that most babies are naturally gassy because their digestive systems are still learning how to work. However, in some cases, the foods you consume can play a role in how your baby feels. This article will explore which foods might contribute to infant gas, how to identify sensitivities, and how you can support your baby's comfort while maintaining your own wellness. We will help you distinguish between normal newborn gas and a potential food sensitivity so you can feel empowered in your breastfeeding journey.
Before we dive into your diet, it is helpful to understand why gas happens in the first place. For most infants, gas is a result of an immature digestive tract. Their bodies are working hard to process milk, and sometimes that process creates air bubbles. Babies also swallow air when they cry, gulp milk quickly, or have a shallow latch.
Sometimes, the way your milk is delivered can also cause gas. If you have an oversupply or a very fast let-down reflex—which is the physiological response that causes milk to flow from the breasts—your baby might gulp and swallow air to keep up with the flow. This can lead to a "foremilk and hindmilk" imbalance. Foremilk is the thinner milk at the start of a feed, which is higher in lactose. Hindmilk is the creamier, fattier milk that comes later. If a baby gets too much lactose-heavy foremilk too quickly, it can ferment in their gut and cause extra 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.
When we talk about food sensitivities in breastfed babies, dairy is almost always at the top of the list. It is important to distinguish between a lactose intolerance and a cow's milk protein allergy (CMPA). True lactose intolerance is extremely rare in infants because breast milk is naturally high in lactose. However, the proteins from the cow’s milk you consume (like casein and whey) can pass into your milk.
For some babies, these proteins cause inflammation in the gut, leading to significant gas, fussiness, and even skin issues like eczema. If your baby is reacting to dairy, you might notice:
If you suspect dairy is the issue, we often suggest a trial elimination. This means removing all milk, cheese, butter, and hidden dairy ingredients for about two to three weeks. Because these proteins stay in your system for a while, it can take a few weeks to see a total change in your baby’s comfort.
You have likely been told to avoid broccoli, cabbage, cauliflower, and Brussels sprouts while breastfeeding. These are known as cruciferous vegetables. In adults, the high fiber content in these veggies is broken down by bacteria in the large intestine, creating gas.
However, the fiber itself does not pass into your breast milk. This means that just because broccoli makes you gassy, it does not automatically mean it will make your baby gassy. Most babies tolerate these healthy vegetables just fine.
That said, some babies are sensitive to the specific proteins or sulfur compounds in these vegetables. If you notice a consistent pattern where your baby is miserable every time you eat a large bowl of roasted cauliflower, it may be worth cutting back temporarily. These vegetables are packed with nutrients, so we don't recommend cutting them out "just in case"—only if you see a direct correlation.
Spicy foods like chili, peppers, and hot sauce are another common concern. Many cultures around the world consume high levels of spice while breastfeeding without any issues. In fact, exposing your baby to various flavors through your milk can actually help them be more open to different foods when they start solids.
Spices like garlic and onion can change the smell and taste of your milk. Interestingly, research has shown that some babies actually stay at the breast longer when the milk tastes like garlic! However, if your baby seems to experience heartburn or extreme fussiness after you have a spicy meal, their delicate digestive lining might be sensitive to those specific compounds.
Your morning cup of coffee is often a survival tool, but caffeine can pass into breast milk in small amounts. While most babies can handle a moderate amount (about 200–300mg a day), some newborns are much more sensitive.
Because a newborn’s body takes a long time to process caffeine, it can build up in their system. This can lead to jitteriness, poor sleep, and increased fussiness, which often looks like "gas pain." If your baby is struggling to settle and seems extra gassy, try reducing your caffeine intake for a few days to see if their temperament improves.
Sugary sodas, fruit juices, and highly processed snacks can sometimes contribute to an unhappy tummy. High amounts of refined sugar in your diet can occasionally influence the balance of bacteria in your own gut, which may indirectly affect your baby. Carbonated drinks, while they don't pass "bubbles" into your milk, are often associated with artificial sweeteners or high-fructose corn syrup, which some babies find difficult to tolerate.
When you are looking for a boost, reaching for whole-food snacks is usually better for both your energy and your baby's digestion. Our Emergency Lactation Brownies are a favorite for many parents because they use wholesome ingredients like oats and flaxseed to support supply while being a satisfying treat. Keeping your diet focused on "real" foods can help stabilize your own digestion and reduce the likelihood of mystery triggers.
While fish is an excellent source of Omega-3 fatty acids, which are vital for baby's brain development, certain types should be avoided. High-mercury fish—like swordfish, king mackerel, and tilefish—can be detrimental to a baby's developing nervous system. While mercury doesn't necessarily cause gas, it is a critical "food to avoid" for general safety.
Other common allergens include:
Before you restrict your diet significantly, it is essential to check the "mechanics" of feeding. Many babies who seem gassy are actually just "air swallowers." If a baby does not have a deep, firm seal on the breast, they will pull in air with every suck.
If you hear a clicking sound while your baby nurses, or if they frequently pull off the breast and seem frustrated, the latch may be the culprit. At Milky Mama, we offer Certified Lactation Consultant Breastfeeding Help to help you troubleshoot these issues from the comfort of your home. A simple change in positioning—like the "laid-back" nursing position—can help your baby manage a fast flow of milk and reduce the amount of air they swallow.
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, but your baby is still struggling, there are several physical techniques you can use to help those bubbles move along.
Many parents turn to herbal supplements to help support their milk supply while they are navigating dietary changes. Ingredients like moringa, alfalfa, and blessed thistle are often used to support lactation. Our supplements, such as Pumping Queen or Lady Leche, are formulated with these types of traditional herbs to support milk production.
When choosing supplements, it is important to monitor your baby. Just like food, some babies may react to certain herbs. Always start with the recommended dose and watch for any changes in your baby's stool or fussiness.
This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice.
If you and your healthcare provider decide an elimination diet is necessary, do it systematically. If you cut out dairy, soy, eggs, and wheat all at once, you won't know which one was the actual trigger.
Remember, you need plenty of calories and nutrients to produce milk and maintain your own health. Do not restrict your diet so heavily that you feel weak or depleted. If you find yourself unable to eat a balanced diet due to multiple sensitivities, speak with a registered dietitian who specializes in breastfeeding.
There is growing evidence that the balance of bacteria in a baby's gut—the microbiome—plays a huge role in gas and colic. Some studies suggest that certain strains of probiotics (like L. reuteri) may help reduce crying time and gas in breastfed infants.
While you can take probiotics yourself, which may improve the quality of your milk, some parents choose to give probiotic drops directly to the baby. Always speak with your pediatrician before starting any supplements for your infant. Ensuring your own gut health is in good shape is a great first step, as a healthy maternal microbiome is the foundation for your baby’s digestive health.
While gas is normal, some symptoms indicate a more serious issue that requires medical attention. You should contact your pediatrician if your baby exhibits any of the following:
Dealing with a gassy baby is a phase, and for most families, it passes as the baby reaches 3 to 4 months of age and becomes more mobile. You are doing an amazing job navigating these challenges.
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 the world of "what to eat" while breastfeeding can feel like a minefield, especially when you are sleep-deprived and trying to soothe a crying baby. While certain foods like dairy or excessive caffeine can contribute to gas in sensitive infants, remember that most gas is a normal part of growing up. You don't have to live on a diet of plain chicken and brown rice to be a successful breastfeeding parent.
By staying observant, checking your baby's latch, and making small, mindful adjustments to your diet, you can find a balance that works for both of you. At Milky Mama, we are here to support you with the education and products you need to make this journey a little smoother. You’ve got this, and we are so proud of the work you are doing for your little one.
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.