What Foods Make My Baby Gassy While Breastfeeding?
Posted on January 26, 2026
Posted on January 26, 2026
It is 2:00 AM, and your little one is pulling their legs up to their chest, letting out sharp cries that tell you exactly what is wrong. Gas. Watching your baby struggle with tummy discomfort is heartbreaking, especially when you are doing everything you can to provide the best nutrition possible. You might find yourself staring at your last meal, wondering if that broccoli or extra cheese on your pizza is the culprit behind the fussiness.
At Milky Mama, we understand the late-night Google searches and the anxiety that comes with trying to figure out your baby's digestive needs, and our breastfeeding help page is a good place to start when you want personalized support. This post covers the most common foods that may contribute to infant gas, why your baby’s digestive system is so sensitive right now, and how you can identify potential triggers. We will also discuss when gas is just a normal part of development and when it might be time to look closer at your diet.
The truth is that while most babies tolerate their parent's diet perfectly well, some infants are more sensitive to certain proteins and substances that pass through breast milk. Our goal is to empower you with the knowledge to support your baby’s comfort while maintaining your own well-being and nutrition.
Before we dive into the specific foods, it is important to understand why babies are so prone to gas in the first place. Their digestive systems are incredibly immature at birth. The gastrointestinal (GI) tract—the system responsible for processing food—is still learning how to move waste and air through the body efficiently.
In those early weeks and months, a baby’s gut is like a new engine that hasn't been broken in yet. They are often learning how to coordinate sucking, swallowing, and breathing all at once. This learning process often results in the baby swallowing air, which is a primary cause of gas. Furthermore, the muscles in their abdomen are weak, making it harder for them to push gas out on their own.
Gas is also a natural byproduct of digestion. When the beneficial bacteria in the gut break down the sugars and proteins in breast milk, they produce gas. Because your baby’s gut flora is still developing, this process can sometimes be a bit "louder" and more uncomfortable than it is for adults.
Many parents believe they need to stick to a bland "white diet" of chicken and rice to avoid gassy babies. This is usually not necessary. However, if you notice a pattern of fussiness that starts a few hours after you eat a specific food and lasts for up to 24 hours, there might be a connection.
When we talk about food sensitivities in breastfed babies, dairy is the number one suspect. It is important to distinguish between lactose intolerance and a cow's milk protein allergy or sensitivity. Real lactose intolerance is extremely rare in infants because breast milk is naturally very high in lactose.
The issue is usually the cow's milk protein (whey and casein) found in the dairy you consume. These proteins can pass into your breast milk. Because your baby’s gut is "leaky" in the early months—which is a normal stage of development to allow antibodies to pass through—these large dairy proteins can cause irritation. If you are trying to stay nourished while making changes, the lactation snacks collection can be a helpful place to look for breastfeeding-friendly options.
Common symptoms of dairy sensitivity include:
We know that as a new parent, coffee can feel like a survival tool. However, some babies are very sensitive to caffeine. Unlike adults, newborns have a very hard time processing caffeine. It can stay in their system much longer than it stays in yours.
If you are consuming high amounts of coffee, tea, soda, or energy drinks, the caffeine can pass into your milk. This may lead to a baby who is not only gassy but also jittery, irritable, and unable to sleep. If your baby seems "wired" and gassy, try reducing your intake to one small cup a day to see if their temperament improves.
You may have heard that you should avoid broccoli, cabbage, cauliflower, and Brussels sprouts. These are known as cruciferous vegetables. In adults, these foods cause gas because of the way our gut bacteria break down the complex fibers.
Interestingly, the fiber itself does not pass into your breast milk. However, some of the sulfur-based compounds and other trace elements can. While many babies handle these vegetables just fine, some parents report that their babies become particularly gassy or "colicky" after a meal heavy in these greens. For a deeper look at food-related tummy troubles, our guide on what foods give baby gas when breastfeeding can help you compare patterns.
Garlic, onions, and spicy peppers can change the flavor and smell of your breast milk. For most babies, this is actually a good thing! Exposure to different flavors in the womb and through breast milk can make a baby more open to trying new foods later in life.
However, some babies are sensitive to the "heat" or the strong compounds in garlic and onions. If your baby seems to pull away from the breast or becomes extremely fussy and gassy after you eat a spicy curry or garlicky pasta, it might be worth monitoring.
Much like cruciferous vegetables, beans are famous for causing gas in adults due to certain sugars called oligosaccharides. While these sugars don't pass directly into milk in large amounts, the way your own body processes them can sometimes affect the baby. If you find that every time you have a bowl of chili, your baby has a rough night, there could be a link.
Soy is the second most common allergen after dairy. Many babies who are sensitive to cow's milk protein are also sensitive to soy protein. Since soy is hidden in so many processed foods (as soybean oil or soy lecithin), it can be a tricky one to identify. Eggs are another high-protein food that can occasionally cause digestive upset or skin rashes in sensitive breastfed infants.
Key Takeaway: Dairy is the most common dietary cause of infant gas, but most babies can tolerate a wide variety of foods. Look for patterns rather than cutting out entire food groups immediately.
Before you decide to overhaul your entire diet, it is essential to check if the gas is coming from the way the baby is feeding rather than what they are eating. If you want help sorting out feeding mechanics, a visit to our certified lactation consultant breastfeeding help page can be a reassuring next step.
An improper latch is a very common cause of gas. If the baby does not have a deep, firm seal on the breast, they may "click" or break the seal frequently during the feed. Every time that seal breaks, the baby gulps in air. This air travels down to the stomach and intestines, leading to painful bubbles.
If you hear a clicking sound or if your nipples feel pinched and painful after a feed, your baby might not be latching correctly. Working with a lactation professional can help you adjust the positioning to ensure a more efficient, "air-free" feeding experience.
The let-down reflex is the process where your milk begins to flow from the small sacs in your breast into the ducts. Some parents have a very forceful or fast let-down. If the milk comes out too quickly, the baby may struggle to keep up, leading to coughing, choking, or gulping.
When a baby gulps to keep up with a heavy flow, they inevitably swallow air. To help with this, you can try:
Breast milk changes during a feeding. The milk that comes out first (foremilk) is often higher in lactose and thinner. The milk that comes at the end of the feed (hindmilk) is higher in fat. If a baby gets a large amount of foremilk but not enough fat-rich hindmilk, the lactose can hit their system very quickly.
This can overwhelm the baby's ability to digest the lactose properly, leading to "lactose overload." The symptoms of this look exactly like a food sensitivity: green, frothy stools and a very gassy, fussy baby. If supply and flow are part of the puzzle, our milk supply guide for exclusive pumpers is a useful related read. Allowing the baby to finish the first breast completely before offering the second can help ensure they get that balance of fat.
If you suspect your baby is reacting to something in your diet, the best way to find out is through a systematic approach. Do not try to cut out everything at once, as this can leave you depleted and stressed.
If you want a more structured approach to breastfeeding education, the Breastfeeding 101 course can be a helpful companion to this process.
While you are working on the dietary side of things, there are several ways you can help your baby find immediate relief from gas.
Don't wait until the end of the feed to burp. If your baby is gassy, try burping them every time you switch breasts or every 5 to 10 minutes if you are using a bottle. Try different positions, such as:
Moving your baby's legs in a bicycling motion can help manually push gas through the intestines. You can also try a "top-down" massage. Using a little bit of baby-safe oil, rub your hand in a clockwise motion on their belly. This follows the natural path of the large intestine and can help move those bubbles along.
Supervised tummy time is not just for building neck muscles; it is great for digestion too. The gentle pressure on the abdomen can help the baby pass gas more easily. Just make sure to wait about 20 to 30 minutes after a feed before doing tummy time to avoid excessive spit-up.
A warm bath can help relax the baby’s abdominal muscles. Sometimes, the relaxation of the warm water is enough to help them finally pass the gas that has been bothering them.
It is easy to get so caught up in what you can't eat that you forget to nourish yourself. Breastfeeding requires a significant amount of energy and nutrients. At Milky Mama, we believe that your well-being is just as important as your baby's comfort.
If you find that you need to cut out dairy or other foods, make sure you are replacing those calories with other nutrient-dense options. For example, if you cut out milk, focus on leafy greens, almonds, and fortified plant milks for calcium.
Many moms find that incorporating gentle, lactation-supporting ingredients helps keep their supply steady while they navigate dietary changes. Our Pumping Queen supplement is formulated to support milk production, and the lactation supplements collection is a useful place to explore more options. Additionally, if you need a quick snack that feels like a treat but is dairy-free, our Emergency Lactation Brownies are a favorite for a reason—they provide a delicious boost while being conscious of common sensitivities.
Most of the time, gas is a normal, albeit frustrating, part of the "fourth trimester." However, there are times when you should seek professional help.
Consult your pediatrician or a certified lactation consultant (IBCLC) if you notice:
A lactation consultant can do a full assessment of your baby's latch and your milk supply to see if the issue is mechanical rather than dietary. They can also help you create a safe plan for an elimination diet that doesn't compromise your nutrition. If you want more one-on-one support, our breastfeeding help page is designed for exactly this kind of guidance.
If your baby is struggling with gas, here is your quick action plan:
"Every drop of breast milk provides incredible benefits, and while gas can be stressful, it is usually a temporary hurdle as your baby’s body grows and matures."
Navigating your baby's digestive health can feel like a guessing game, but remember that you are the expert on your baby. By paying close attention to their cues and patterns, you can often find the source of their discomfort. Whether the answer lies in adjusting your latch, managing a fast let-down, or temporarily cutting out dairy, there is always a path forward.
You are doing an amazing job providing for your little one. Gas may cause some tears now, but as your baby’s digestive system matures, these long nights will become a memory. For more support and lactation-friendly snacks and supplements, explore the resources we have at Milky Mama, including our lactation drink mixes collection for another easy way to support your routine. We are here to support you every step of the way.
This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice.
Not necessarily. While spicy foods like peppers or garlic can change the flavor of your milk, many babies tolerate them perfectly well. You only need to avoid them if you notice your baby is consistently fussy or gassy in the hours following a spicy meal.
Most food proteins and compounds appear in breast milk within 2 to 6 hours after you eat them. If your baby has a sensitivity, you will usually see a reaction within that timeframe, though some proteins like dairy can linger in your system for up to two weeks.
Most babies can handle a moderate amount of caffeine (about 200–300mg per day). However, if your baby seems particularly restless, jittery, or gassy, try skipping the caffeine for a few days to see if their symptoms improve.
Yes, this is very common and often referred to as "grunting baby syndrome." Because infants have weak abdominal muscles and haven't learned how to relax their pelvic floor while pushing, they often look like they are struggling, even when the gas is normal.