Back to blog

What Foods Should Breastfeeding Moms Avoid to Prevent Gas

Posted on January 26, 2026

Foods to Navigate: Helping Your Breastfed Baby with Gas

Table of Contents

  1. Introduction
  2. Understanding Why Babies Get Gassy
  3. The Most Common Culprit: Dairy Products
  4. Soy and Cross-Reactivity
  5. The Truth About Cruciferous Vegetables
  6. Spicy Foods and Flavor Changes
  7. Caffeine and Carbonated Beverages
  8. Acidic Foods: Citrus and Tomatoes
  9. Is it Really the Food? Non-Dietary Causes of Gas
  10. How to Conduct an Elimination Diet
  11. Practical Ways to Relieve Your Baby's Gas
  12. When to Seek Professional Help
  13. Nutritious Snacks for Sensitive Tummies
  14. Summary of Action Steps
  15. Conclusion
  16. FAQ

Introduction

Watching your little one struggle with gas can be heartbreaking. You see them pulling their tiny legs to their chest, turning red, and crying in a way that feels impossible to soothe. It is only natural to look at your plate and wonder if your last meal is the reason for their discomfort. At Milky Mama, we know that every drop of breast milk is liquid gold, but we also understand the anxiety that comes when your baby seems reactive to what you are eating.

Breastfeeding is a beautiful journey, but it does not always come naturally, and navigating the nuances of your diet can feel like a guessing game. Many parents worry that they need to survive on a bland diet of chicken and rice to keep their babies happy. Fortunately, most babies can handle whatever their mothers eat without any issues. However, for a small percentage of infants, certain proteins or compounds in maternal breast milk can lead to extra fussiness and gas.

This post will explore the relationship between your diet and your baby’s digestive comfort. We will look at common food triggers, explain the difference between a simple gas bubble and a true food sensitivity, and provide actionable steps to help your baby feel better. Our goal is to empower you with the knowledge to support your breastfeeding journey while ensuring you stay well-nourished and confident.

Understanding Why Babies Get Gassy

Before we dive into specific foods, it is important to understand that gas is a normal part of being a human. For a newborn, the digestive system is brand new and quite immature. This means their gut is still learning how to process milk, move waste along, and handle the natural gases produced during digestion.

Intestinal gas happens when bacteria in the gut break down food. It also occurs when air is swallowed during feeding or crying. Because babies spend so much of their time lying flat and have weak abdominal muscles, they cannot always move that gas out as easily as adults do. This can lead to trapped bubbles that cause temporary discomfort.

In many cases, gassiness has nothing to do with what you ate. It is often just a sign of a maturing GI tract. However, if the gas is accompanied by extreme fussiness, skin rashes, or changes in stool, your diet may be playing a role. Understanding this distinction can help you stay calm while you troubleshoot the cause of your baby’s tears.

The Most Common Culprit: Dairy Products

When a breastfeeding mother notices her baby is excessively gassy, the first thing most lactation consultants suggest looking at is dairy. Cow’s milk protein is the most common allergen and sensitivity for breastfed infants. It is important to note that this is usually a sensitivity to the protein in the milk (whey or casein), not necessarily a lactose intolerance.

When you consume milk, cheese, yogurt, or butter, the proteins from those foods can enter your bloodstream and eventually pass into your breast milk. For some babies, these foreign proteins are difficult to break down, leading to inflammation in the gut, which manifests as gas, bloating, and discomfort.

Signs of a Dairy Sensitivity

If your baby is sensitive to the dairy in your diet, you might notice:

  • Extreme fussiness or "colicky" behavior after feedings
  • Frequent, explosive, or green stools
  • Mucus or even tiny specks of blood in the stool
  • Eczema or unexplained skin rashes
  • Reflux or frequent "wet" burps

If you suspect dairy is the issue, many moms find relief by trying an elimination diet. This involves removing all obvious and hidden dairy from your diet for about two to three weeks. Because it can take a while for these proteins to leave your system and your baby's system, you may not see an immediate change on day one.

Soy and Cross-Reactivity

Close behind dairy on the list of potential triggers is soy. Interestingly, many babies who are sensitive to cow's milk protein are also sensitive to soy protein. This is known as cross-reactivity. If you have cut out dairy and haven't seen an improvement in your baby's gas levels after a few weeks, soy might be the next thing to investigate.

Soy is hidden in many processed foods, often labeled as "soy lecithin" or "vegetable oil." While some babies only react to high concentrations of soy (like soy milk or tofu), others may be sensitive to even the small amounts found in processed snacks. If you are looking for a dairy-free and soy-free way to stay hydrated and support your supply, our Lactation LeMOOnade™ is a refreshing option that keeps your needs in mind without common allergens.

The Truth About Cruciferous Vegetables

You may have heard that you should avoid broccoli, cabbage, cauliflower, and Brussels sprouts while breastfeeding. The theory is that since these foods make adults gassy, they will make babies gassy too. However, the science behind this is a bit more complex.

The gas we experience after eating broccoli is caused by the breakdown of fiber in our intestines. Fiber does not pass into breast milk. Therefore, the specific gas you feel from a bowl of cauliflower cannot be directly "passed" to your baby.

That being said, some babies do seem to react to the sulfur-containing compounds or specific proteins in these vegetables. If you notice a clear pattern where your baby is miserable every time you eat a specific vegetable, it is worth taking a break from it. But for most moms, these nutrient-dense greens are perfectly safe and very healthy to consume.

Spicy Foods and Flavor Changes

There is a common myth that spicy foods will "burn" a baby's tummy or cause extreme gas. In reality, breastfeeding in cultures that use heavy spices—like those in India, Mexico, or Thailand—does not result in higher rates of gassy babies.

What spicy foods do do is change the flavor and smell of your breast milk. This is actually a good thing! Exposing your baby to different flavors through your milk can make them more open to various foods when they start solids later on.

However, every baby is an individual. Some infants may be more sensitive to the chemical compounds in peppers or strong spices like garlic and onion. If your baby seems to pull away from the breast or becomes fussy specifically after you eat a spicy meal, they might just be sensitive to the flavor change or the way those spices interact with their digestion.

Caffeine and Carbonated Beverages

As a tired new parent, caffeine often feels like a necessity. While most babies tolerate a moderate amount of caffeine (about 200–300mg per day, or 2 small cups of coffee), some newborns are very sensitive to it.

Caffeine is a stimulant, and it can pass into your milk. In sensitive babies, this can lead to:

  • Difficulty falling or staying asleep
  • Increased irritability and jitteriness
  • Digestive upset or gas

Similarly, while the "bubbles" in carbonated soda or sparkling water cannot enter your milk, the high sugar content or artificial sweeteners in those drinks might affect your baby's gut flora. If you find yourself reaching for coffee just to stay awake, consider shifting your focus to deep hydration. Drinks like Pumpin Punch™ provide a flavorful way to stay hydrated with breastfeeding-supportive ingredients, helping you maintain your energy levels more naturally.

Acidic Foods: Citrus and Tomatoes

Acidic foods like lemons, limes, oranges, and tomatoes are often blamed for diaper rash and gas. While these foods don't change the pH of your breast milk (your body is very good at maintaining a consistent pH), the acidic components can occasionally cause a reaction in sensitive babies.

If you notice your baby develops a red ring around their anus (often called an "acid ring") or becomes particularly gassy after you consume a lot of tomato sauce or citrus juice, you might want to scale back. You don't necessarily have to cut them out entirely, but moderation is key.

Is it Really the Food? Non-Dietary Causes of Gas

Before you restrict your diet too heavily, it is vital to consider other reasons your baby might be gassy. Sometimes, we blame the pizza we had last night when the real issue is how the baby is taking in the milk.

The Importance of a Good Latch

If a baby does not have a deep, firm latch, they often swallow air while they nurse. This air travels down into their stomach and intestines, leading to painful gas bubbles. If you hear a "clicking" sound while your baby feeds or if your nipples come out looking flattened (like a new lipstick tip), your baby might be taking in too much air. Working with a certified lactation consultant can help you improve the latch and reduce gas.

For a step-by-step breakdown, the 5 Steps To Get The Perfect Latch guide is a helpful place to start.

Fast Let-Down and Oversupply

If you have a very fast let-down (meaning the milk sprays out with a lot of force), your baby might "gulp" to keep up. This gulping often leads to swallowed air. Additionally, if you have an oversupply, your baby might be getting a lot of "foremilk"—the milk at the beginning of the feeding which is higher in lactose.

If the baby's system is flooded with more lactose than they can digest at once, it can cause "lactose overload," resulting in green, frothy stools and significant gas. This is not an intolerance to your milk, but rather a timing issue. Try nursing on just one side per feeding to ensure the baby gets to the higher-fat "hindmilk," which slows down digestion and helps the body process lactose more effectively.

Crying and Swallowing Air

It is a bit of a cycle: a baby is gassy, so they cry; because they are crying, they swallow more air; because they swallowed more air, they get more gassy. Try to catch your baby's hunger cues (rooting, sucking on hands, lip smacking) before they reach the stage of frantic crying. Feeding a calm baby is much easier on their digestive system than feeding a distressed one.

Key Takeaway: While diet can be a factor, often the culprit of baby gas is swallowed air from a poor latch, a fast let-down, or crying. Always check the "mechanical" aspects of feeding before making major dietary restrictions.

How to Conduct an Elimination Diet

If you have ruled out latch issues and fast let-down, and you still suspect a food trigger, a systematic elimination diet is the best way to find answers. Do not try to cut out everything at once! If you stop eating dairy, soy, eggs, and wheat all at the same time, you won't know which one was actually the problem when the baby feels better. Plus, you need calories and nutrients to maintain your supply.

  1. Pick One Culprit: Start with dairy, as it is the most common trigger.
  2. Read Labels Carefully: Dairy hides in things like bread, crackers, and salad dressings. Look for words like whey, casein, or milk solids.
  3. Wait 2-3 Weeks: It takes time for your body to clear the proteins and for the baby's gut to heal.
  4. Track the Results: Keep a simple log of what you eat and how the baby's gas and mood seem each day.
  5. Reintroduce: If the baby is better, try eating a small amount of dairy again. If the gas returns, you have your answer. If they don't get better after three weeks of no dairy, move on to the next food (like soy or eggs).

Practical Ways to Relieve Your Baby's Gas

While you are waiting to see if your dietary changes work, you can help your baby feel better in the moment. These techniques help move trapped air through the digestive tract.

  • Bicycle Legs: Lay your baby on their back and gently move their legs in a cycling motion. Then, gently press their knees up toward their tummy. This manual pressure can help "squeeze" out trapped gas.
  • Tummy Time: Even a few minutes of supervised tummy time can put gentle pressure on the abdomen, helping gas move along naturally.
  • The "Football Hold": Lay your baby face-down along your forearm, with their head in your hand and their legs straddling your elbow. The gentle pressure on their belly while you walk can be very soothing.
  • Warm Baths: A warm bath can help relax the abdominal muscles, making it easier for the baby to pass gas.
  • Frequent Burping: If your baby is prone to gas, don't wait until the end of the feeding to burp them. Try burping them every few minutes or every time you switch sides.

When to Seek Professional Help

While gas is usually a normal part of infancy, there are times when it indicates something more serious. You should always trust your gut. If your baby seems to be in constant pain or if you are feeling overwhelmed, reach out for support.

Contact your pediatrician or an IBCLC if you notice:

  • Your baby is not gaining weight properly.
  • There is visible blood or significant mucus in the stool.
  • The baby is vomiting forcefully (not just typical spit-up).
  • The baby has a fever or seems lethargic.
  • You see a persistent, angry red rash that won't go away.

Lactation support is about more than just the latch. A certified consultant can help you look at the whole picture—your diet, your supply, and your baby's behavior—to find a path forward that keeps everyone healthy. If you want personalized help, the Certified Lactation Consultant Breastfeeding Help page is a strong next step.

Nutritious Snacks for Sensitive Tummies

If you do find that you need to avoid certain foods, you might worry about your milk supply dropping. This is a common concern when moms cut out major food groups like dairy. The key is to replace those calories with other nourishing, lactogenic foods.

Oats, flaxseed, and brewer's yeast are wonderful ingredients that are generally very well-tolerated by babies. Our Emergency Lactation Brownies are a favorite for a reason; they are packed with these supply-supporting ingredients. We also offer a range of dairy-free and soy-free options so that you don't have to choose between your baby's comfort and your milk supply goals.

If you want a deeper education piece to support your next steps, the Breastfeeding 101 course collection can help you build confidence around feeding.

Summary of Action Steps

If you are currently dealing with a gassy, fussy baby, here is your quick-start guide:

  • Check the latch: Ensure the baby isn't swallowing excess air during feeds.
  • Burp often: Don't wait until the feed is over to release those air bubbles.
  • Assess for dairy: Consider a 2-week trial of removing cow's milk protein if gas is severe.
  • Keep a food diary: Look for patterns between your meals and baby's fussiness.
  • Use physical relief: Practice bicycle legs and tummy time daily.
  • Stay nourished: If you cut out a food, replace those calories with healthy, breastfeeding-safe alternatives.

If you need a broader food guide while you troubleshoot, What Should I Eat While Breastfeeding? is a helpful companion read.

"Every drop counts. Whether you are navigating a complex elimination diet or just trying to get through a fussy evening, remember that you are doing an amazing job providing for your baby."

Conclusion

Navigating your baby’s gassiness can be one of the more stressful parts of early parenthood. It is easy to feel guilty about every bite you take, but remember that breastfeeding is a relationship that should work for both you and your baby. In the vast majority of cases, you do not need to avoid a long list of foods. Usually, a few small adjustments—whether to your diet or your feeding technique—can make a world of difference.

Our team is here to support you through every stage of this journey. Whether you need a virtual consultation with one of our experts or a nourishing snack to get you through the day, we are committed to making breastfeeding a more empowered experience for you. If supply support is part of your plan, the Why Breast Milk Supply is Low: A Supportive Guide for Moms article can help you think through next steps. You've got this, and we are here to help.

This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice. If you are considering adding supplements or herbal remedies to your routine, it is always a good idea to discuss them with your doctor or a lactation professional.

FAQ

Can spicy food make my breastfed baby gassy?

While spicy food can change the flavor of your milk, there is no scientific evidence that it directly causes gas in most babies. Some infants may be sensitive to specific spices, but most tolerate them well. If you notice a consistent pattern of fussiness after spicy meals, you may want to reduce the heat for a few days to see if it helps.

How long does food stay in breast milk?

Most food proteins and compounds appear in breast milk within 2 to 6 hours after consumption. However, they can remain in your system for much longer. If you are testing for a dairy sensitivity, it can take up to 2 to 3 weeks for the proteins to completely clear from both your milk and your baby’s digestive system.

Should I stop eating broccoli and cabbage while breastfeeding?

For most mothers, there is no need to avoid these vegetables. The fiber that causes gas in adults does not pass into breast milk. You should only consider avoiding them if you notice your baby is specifically gassy or uncomfortable every single time you eat them, as some babies may react to other compounds in the plants.

What is the most common food to avoid for a gassy baby?

Cow's milk protein is the most frequent dietary trigger for gas and digestive distress in breastfed infants. If your baby is excessively gassy, has rashes, or has mucus in their stool, dairy is the first thing many healthcare providers suggest eliminating. Soy is the second most common trigger due to its similar protein structure.

Share on:

Bestsellers