What Foods Can Make a Baby Gassy While Breastfeeding?
Posted on January 26, 2026
Posted on January 26, 2026
Watching your little one pull their legs up to their chest, turn red in the face, and let out a sharp cry is heart-wrenching for any parent. We know how it feels to spend hours rocking a fussy baby, wondering what might be going on in that tiny, gurgling tummy. While gas is a completely normal part of infant development, it often leaves us questioning everything we eat. You might find yourself staring at your dinner plate, wondering if that side of broccoli or the splash of cream in your coffee is the reason your baby is uncomfortable.
At Milky Mama, we believe that understanding your baby's digestive health is a key part of feeling confident in your breastfeeding journey. We are here to help you navigate the confusing world of "infant-safe" diets and offer clinical insight into how your nutrition affects your milk. This post will cover common food triggers, why babies get gassy in the first place, and how you can support your baby's comfort while maintaining a healthy milk supply.
By the end of this guide, you will have a better understanding of which foods may contribute to gas and how to identify if your baby has a genuine sensitivity or is just navigating a normal developmental milestone.
Before we look at your diet, it is important to understand that gas is often a byproduct of a baby’s biology rather than a "problem" with your milk. When babies are born, their gastrointestinal (GI) systems are incredibly immature. They are essentially learning how to process nutrients for the first time. The muscles that move food through the intestines and the balance of healthy gut bacteria are still developing.
Gas is a natural result of the digestive process. It happens when bacteria in the gut break down sugars and proteins. Because a baby's system is still "learning the ropes," gas can sometimes get trapped, causing that tell-tale bloating and discomfort.
Another major factor is air. Babies are prone to swallowing air while they eat, especially if they are struggling with a shallow latch or if they are feeding very quickly. When air is swallowed, it has to go somewhere—either back up as a burp or through the digestive tract as gas. Even crying can cause a baby to swallow air, creating a cycle where a gassy baby cries and becomes even gassier. For more context, read this guide to what foods may make a breastfed baby gassy.
Key Takeaway: Most infant gas is caused by an immature digestive system or swallowed air, rather than a specific food in the mother’s diet.
While many babies can tolerate anything their mother eats, some infants are more sensitive to certain proteins or compounds that pass into the breast milk. If you suspect your diet is playing a role, these are the most common culprits.
Cow’s milk protein is the most frequently cited trigger for gas and fussiness in breastfed babies. It is important to distinguish between a lactose intolerance and a cow’s milk protein allergy (CMPA).
Almost all babies are born with the ability to digest lactose, which is the primary sugar in breast milk. However, the large proteins found in cow's milk, like whey and casein, can pass through your milk and irritate a baby’s sensitive gut. This can lead to excessive gas, bloating, and in some cases, more severe symptoms like eczema or mucus in the stool.
Common dairy sources include:
Vegetables like broccoli, cauliflower, cabbage, and Brussels sprouts are famous for causing gas in adults. This happens because these vegetables contain a complex sugar called raffinose and high amounts of fiber that our bodies struggle to break down completely.
Interestingly, the fiber that causes gas in you does not pass into your breast milk. However, some of the tiny components of these vegetables can change the smell of the milk or affect the baby's digestion. While many babies handle these nutrient-dense greens perfectly well, some parents notice a spike in fussiness about 2 to 6 hours after consumption.
Like cruciferous vegetables, beans and lentils are high in fiber and complex sugars. While they are an excellent source of protein and iron for breastfeeding moms, they can occasionally lead to a gassy baby. If you enjoy beans, try soaking them thoroughly before cooking or using digestive enzymes, after consulting your doctor, to help break down the gas-producing compounds before they reach your system.
We know that a morning cup of coffee is often a survival tool for new parents. While a moderate amount of caffeine is usually fine, some babies are very sensitive to it. Caffeine can pass into your milk and may stimulate the baby's digestive system, causing it to move too quickly. This can lead to gas and general irritability.
Chocolate also contains small amounts of caffeine and a compound called theobromine. If you notice your baby is extra "wired" or gassy after you enjoy a chocolate treat, you might consider limiting your intake for a few days to see if their symptoms improve.
Spices like chili, curry, and large amounts of raw garlic can alter the flavor and aroma of your milk. Some research suggests that babies actually enjoy these flavor variations, as it prepares them for solid foods later in life. However, for a baby with a particularly sensitive stomach lining, the "kick" in spicy food might cause some mild reflux or gas.
The high acidity in fruits like oranges, lemons, limes, and grapefruits can sometimes irritate a baby’s GI tract. This may present as gas, spit-up, or even a diaper rash. If your baby seems to have a "sour" stomach or skin irritation after you drink a large glass of orange juice, the acidity might be the culprit.
It is vital to recognize when gas is just a passing phase and when it is a sign of a true food allergy. Most babies with a simple food sensitivity will have "happy gas"—they might grunt or turn red, but they are generally gaining weight and meeting milestones.
A true food allergy, such as a cow's milk protein allergy, often presents with more systemic symptoms. Watch for:
If you see these signs, it is time to consult your pediatrician or a certified lactation consultant. They can help you determine if a strict elimination diet is necessary.
Sometimes we blame the broccoli when the real issue is how the baby is eating. Before cutting out half the foods in your pantry, consider these three common "mechanical" causes of gas.
A shallow latch is one of the most common reasons for gas. If the baby isn't deeply latched, they may "break" the seal frequently, sucking in air along with the milk. This air goes straight to the stomach. If you hear "clicking" sounds while your baby feeds or if your nipples feel flattened or painful after a session, the latch likely needs adjustment.
For structured breastfeeding education covering latch, feeding expectations, and milk supply, explore the Breastfeeding 101 course.
The let-down reflex is the process where your body releases milk from the small sacs in the breast into the ducts. For some moms, this reflex is very strong, and the milk comes out like a firehose.
To keep up with the fast flow, babies often "gulp" the milk, swallowing air in the process. Additionally, a baby who receives a large volume of "foremilk" without enough "hindmilk" may experience lactose overload. The high amount of lactose can ferment in the gut, causing green, explosive, and gassy stools.
If a baby is overfed, their stomach may become overly distended, leading to discomfort. Similarly, a baby who cries for a long time before being fed will swallow significant amounts of air. Responding to early hunger cues—like rooting, sucking on hands, or smacking lips—can prevent the "frantic" feeding that leads to gas.
If you suspect a specific food is the problem, don't guess—track it. An elimination diet can be taxing, so you want to be sure you are cutting out the right thing.
While you are figuring out the dietary side of things, your baby needs relief right now. These techniques can help move trapped bubbles through their system.
It is easy to get so caught up in what not to eat that you forget to nourish yourself. Breastfeeding requires a lot of energy, and being overly restrictive with your diet can sometimes lead to a dip in your milk supply or leave you feeling exhausted.
We recommend focusing on nutrient-dense foods that support lactation while being gentle on the stomach. Ingredients like oats, flaxseed, and brewer's yeast are wonderful for many breastfeeding families. Our Emergency Brownies are one of our most-loved lactation treats, packed with these supply-supporting ingredients in a delicious, easy-to-eat format. If you find yourself cutting out dairy, these can be a great way to ensure you're still getting the calories and support you need.
For hydration, which is also key to a healthy supply and good digestion for both you and baby, you might explore Milky Mama's lactation drink mixes. These provide hydration plus lactation-support ingredients without the high acidity of some citrus juices.
If you are looking for herbal support, our supplements like Lady Leche™ or Pumping Queen™ are formulated to support milk production using traditional herbs. We always recommend chatting with your healthcare provider before starting any new herbal regimen to ensure it's the right fit for your specific needs.
This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice. Please consult your healthcare provider or a certified lactation consultant before beginning an elimination diet or adding new supplements to your routine.
If you are currently dealing with a fussy, gassy little one, here is your quick-start action plan:
For additional supply-focused options, browse the full lactation supplements collection.
Dealing with a gassy baby can feel like a never-ending puzzle, but remember that for most infants, this is a short-lived phase. As their digestive systems mature and they get better at nursing, the gas usually subsides on its own. While certain foods like dairy or cruciferous vegetables can be triggers, they aren't the cause for every baby. Trust your instincts, stay observant, and don't feel like you have to survive on a diet of plain chicken and rice.
You are doing an amazing job providing the best possible nutrition for your baby. Every drop counts, and your well-being matters just as much as your baby's comfort. If you ever feel overwhelmed or need personalized guidance, we are here to support you.
For more education and support on your breastfeeding journey, check out our frequently asked breastfeeding questions or explore our breastfeeding courses. You don't have to navigate these "gassy" waters alone.
While spicy flavors like garlic or chili can change the taste of your milk, they rarely cause actual "pain" or damage to a baby's stomach. Most babies tolerate these flavors well, though a few may be sensitive to the acidity or have mild reflux after a particularly spicy meal.
Most parents notice a reaction within 2 to 8 hours after the mother consumes the food. However, since every baby's metabolism is different, it can occasionally take up to 24 hours for the components to pass through the breast milk and affect the baby's digestion.
No, there is no need to avoid these healthy foods unless you notice a clear and consistent pattern of gas in your baby. These foods are high in fiber and essential nutrients that are beneficial for your health; the fiber itself does not pass into your milk.
It's possible. If you have an oversupply or a very fast let-down, your baby may be "gulping" air or getting too much lactose-rich foremilk. This can lead to gassy, green stools and fussiness, which can often be managed by adjusting your nursing positions or burping more frequently.