Back to blog

What Foods to Avoid While Breastfeeding to Prevent Gas

Posted on January 26, 2026

What Foods to Avoid While Breastfeeding to Prevent Gas? Navigating Your Diet for a Happier Baby

Table of Contents

  1. Introduction
  2. Recognizing the Signs of a Gassy Baby
  3. How Your Diet Influences Your Breast Milk
  4. Common Foods to Avoid to Prevent Gas
  5. The Role of the Let-Down Reflex and Latch
  6. Practical Remedies for Immediate Relief
  7. When to See a Professional
  8. Tracking Your Journey with a Food Diary
  9. Maintaining Your Nutrition While Avoiding Triggers
  10. Conclusion
  11. FAQ

Introduction

Watching your baby struggle with gas can be one of the most heartbreaking parts of early parenthood. You see them pulling their tiny legs up to their chest, turning red, and crying in a way that feels impossible to soothe. It is only natural to look at your own plate and wonder if that spicy taco or morning latte is the culprit. At Milky Mama, we know how much you want to provide comfort for your little one while maintaining your own health and energy.

This post covers which foods commonly correlate with infant gas, the science behind how your diet affects your milk, and practical ways to find relief. If you are also worried about supply, our guide on how to know if your milk supply is low can help you sort out what is happening. We will look at common triggers like dairy and caffeine, as well as non-dietary causes of gassiness. Our goal is to help you navigate these challenges so you can get back to those sweet, quiet moments of bonding. While every baby is unique, identifying certain triggers may help your little one feel more comfortable.

Recognizing the Signs of a Gassy Baby

Before we dive into the menu, it is helpful to confirm that gas is actually the issue. Babies have very immature digestive systems. Their bodies are learning how to process nutrients, move waste through the intestines, and coordinate the muscles needed to pass gas or have a bowel movement. This process can sometimes look more dramatic than it actually is.

Common signs that your baby is experiencing gas include:

  • Pulling their legs up toward their tummy or arching their back.
  • A belly that feels tight or slightly swollen to the touch.
  • Passing gas or burping frequently.
  • Fussiness or crying that seems to improve after they pass gas.
  • Squirming or grunting during or after a feeding session.

It is important to remember that some gassiness is completely normal. However, if your baby seems to be in significant pain or if the fussiness lasts for hours, looking into your diet is a reasonable next step.

How Your Diet Influences Your Breast Milk

There is a common misconception that if a food makes you gassy, it will automatically make your baby gassy. This is not strictly true. When you eat a bowl of beans or a head of broccoli, the gas you experience is caused by the breakdown of fiber in your own large intestine. Fiber does not pass into your bloodstream, which means it cannot pass into your breast milk.

However, certain proteins and compounds from your food do enter your bloodstream and eventually your milk supply. This is how flavors and potential allergens reach your baby. When we talk about foods to avoid while breastfeeding to prevent gas, we are usually talking about sensitivities or minor intolerances to these specific proteins.

Key Takeaway: Your baby is not reacting to the "gas" in the food itself, but rather to how their unique digestive system reacts to the proteins or chemicals that transfer into your milk.

Common Foods to Avoid to Prevent Gas

If you suspect your diet is the cause of your baby’s discomfort, there are several common triggers to consider. You do not need to cut all of these out at once. Instead, observe your baby’s behavior after you consume the following items.

Dairy Products

Dairy is the most common dietary trigger for gassiness and fussiness in breastfed infants. This is usually due to a sensitivity to cow’s milk protein, not lactose intolerance. Lactose is a sugar naturally found in all human breast milk, regardless of what the parent eats. However, the proteins found in cheese, butter, yogurt, and milk can pass into your supply.

If your baby has a cow's milk protein sensitivity, you might notice:

  • Excessive gas and bloating.
  • Green, mucusy, or explosive stools.
  • Skin rashes or eczema.
  • Severe fussiness that mimics colic.

Because dairy is so prevalent, it can take two to three weeks of complete avoidance to see a significant change in your baby. If you are looking for dairy-free ways to support your supply, our lactation snacks collection is a helpful place to start. For example, our Emergency Brownies are a popular option in the collection and are designed for breastfeeding moms who want a treat that fits their routine.

Soy

Many babies who are sensitive to dairy are also sensitive to soy. This is because the protein structures in soy and cow’s milk are quite similar. Soy is hidden in many processed foods under names like "vegetable protein" or "lecithin." If you have cut out dairy but your baby is still struggling, soy may be the next item to investigate.

Caffeine

We know that "tired" is an understatement for most new parents. However, some babies are incredibly sensitive to caffeine. Unlike adults, newborns have a very hard time breaking down caffeine. It can stay in their system for a long time, leading to irritability, restlessness, and digestive upset.

Caffeine is found in:

  • Coffee and espresso.
  • Many types of tea (including green tea).
  • Sodas and energy drinks.
  • Chocolate.

If you notice your baby becomes extra squirmy or gassy a few hours after your morning cup, try reducing your intake to one small serving or switching to decaf for a few days to see if their temperament improves. If you still want a convenient drink option, our lactation drink mixes collection offers alternatives you can keep on hand.

Cruciferous Vegetables

While the fiber in these veggies doesn't pass through, some babies seem sensitive to the sulfur compounds or other elements in the cabbage family. This includes:

  • Broccoli.
  • Cauliflower.
  • Brussels sprouts.
  • Cabbage.

If you enjoy these vegetables, try eating them cooked rather than raw. Cooking helps break down some of the compounds that are harder to digest, which may make them better tolerated by your baby.

Spicy Foods and Strong Aromatics

Garlic, onions, and hot peppers can all change the flavor and scent of your breast milk. While many babies actually enjoy the variety of flavors, some find it irritating to their digestive tract. If your baby seems to pull away from the breast or becomes fussy after you eat a particularly garlicky or spicy meal, they may be sensitive to those strong aromatic compounds.

Acidic Foods

Citrus fruits like oranges, lemons, and grapefruits, as well as tomato-based products, are highly acidic. In some babies, this acidity can lead to diaper rashes and increased "spit-up" or gas. If your baby has a sensitive stomach, you might find that limiting these fruits helps settle their digestion.

What to Do Next:

  • Pick one food group to eliminate at a time so you know exactly what the trigger is.
  • Keep a simple food diary for three to five days.
  • Note when your baby’s gas is at its worst.
  • Look for patterns between your meals and their fussiness.

The Role of the Let-Down Reflex and Latch

Sometimes, what we think is a food sensitivity is actually a mechanical issue. If your baby is swallowing a lot of air during a feed, they will inevitably become gassy.

Improving the Latch

A shallow latch allows air to enter the corners of the baby's mouth as they suck. This air goes straight into their stomach. Ensuring a deep, wide latch is one of the best ways to prevent gas before it starts. If you hear "clicking" sounds or see dimples in your baby's cheeks while they nurse, they may be taking in too much air. If you want more hands-on support, our Breastfeeding 101 course is a good next step.

Managing a Fast Let-Down

The let-down reflex is the process where your body releases milk from the ducts. Some moms have a very forceful or fast let-down. When this happens, the baby may gulp or choke to keep up with the flow, swallowing large amounts of air in the process.

To manage this, you can try:

  • Reclined or "laid-back" breastfeeding, which uses gravity to slow the flow.
  • Expressing a small amount of milk by hand before the baby latches.
  • Taking frequent breaks to burp the baby during the feed.

Understanding Foremilk and Hindmilk

Gas can also be caused by what is sometimes called a "foremilk/hindmilk imbalance." Foremilk is the thirst-quenching milk at the beginning of a feed, which is higher in lactose. Hindmilk is the creamier, high-fat milk that comes later. If a baby gets too much foremilk and not enough hindmilk, the high levels of lactose can ferment in their gut, causing green, frothy stools and significant gas.

Allowing your baby to finish the first breast completely before offering the second can help ensure they get that fatty, satisfying milk that slows down digestion and reduces gas.

Practical Remedies for Immediate Relief

While you work on identifying food triggers or improving the latch, your baby still needs relief. There are several gentle ways to help them move trapped bubbles through their system.

The "Baby Bicycle"

Lay your baby on their back and gently move their legs in a cycling motion toward their tummy. This manual movement helps "pump" gas through the intestines. Many parents find this works best during diaper changes.

Tummy Time

Placing your baby on their stomach while they are awake and supervised provides gentle pressure on their abdomen. This pressure can help them pass gas more easily. Even a few minutes of tummy time several times a day can make a big difference.

The "Football Hold"

Carry your baby face-down along your forearm, with their head resting near your elbow and their legs straddling your hand. This position applies gentle upward pressure on their belly, which is often very soothing for a gassy infant.

Hydration and Support for Mom

Staying hydrated is essential for your milk supply and your own recovery. If you are cutting out sugary sodas or caffeinated teas to help your baby, you still need delicious ways to stay hydrated. Our Pumpin Punch™ drink mix and Pumping Queen™ supplement are helpful options when you want support that fits into a busy day.

When to See a Professional

Most of the time, gas is a normal, albeit frustrating, part of infancy. However, there are times when you should consult a pediatrician or a certified lactation consultant.

Seek help if your baby:

  • Is not gaining weight appropriately.
  • Has blood or excessive mucus in their stool.
  • Is vomiting forcefully (not just standard spit-up).
  • Seems to be in constant pain that does not resolve with burping or position changes.
  • Has a persistent skin rash or respiratory issues.

A lactation consultant can help you troubleshoot your latch and positioning, which is often the "missing piece" in the gas puzzle. They can also guide you through a safe and nutritionally sound elimination diet if it becomes necessary. If you would like personalized support, our Certified Lactation Consultant Breastfeeding Help page is a great place to begin.

Tracking Your Journey with a Food Diary

If you decide to try an elimination diet, don't rely on memory alone. Fatigue makes it hard to remember what you ate eight hours ago when the baby starts crying. Use a simple notebook or a phone app to track:

  1. Everything you eat and drink.
  2. The time of your feedings.
  3. The baby’s "mood" (e.g., fussy, calm, gassy).
  4. Stool consistency and color.

Usually, a reaction to something you ate will happen within 2 to 12 hours. If you eat a bowl of ice cream at noon and the baby is screaming with gas at 6:00 PM, you have a potential lead. If the gas only happens once, it might be a fluke. If it happens every time you have dairy, you have your answer.

"Every drop counts, and your well-being matters just as much as your baby's. Finding the right balance in your diet shouldn't feel like a punishment; it's just another way you are learning to communicate with your new little one."

Maintaining Your Nutrition While Avoiding Triggers

It can be tempting to survive on plain toast and water when you are afraid of making your baby gassy. Please don't do this! You need calories and nutrients to produce milk and keep your energy up.

If you are cutting out dairy, focus on other calcium sources like kale, almonds, and fortified plant milks. If you are cutting out beans, get your protein from lean meats, eggs (if tolerated), or quinoa. Our Lady Leche™ supplement and lactation supplements collection can also be a helpful addition to your routine while you are adjusting your eating habits.

Conclusion

Navigating your baby’s digestive health is a journey of trial and error. While it is helpful to know what foods to avoid while breastfeeding to prevent gas, remember that most babies will eventually outgrow these sensitivities as their systems mature. Usually, by four to six months, many of the "forbidden" foods can be reintroduced without issue.

Focus on a deep latch, frequent burping, and a balanced diet that makes you feel good. If you are pumping too, our guide on how to keep up milk supply when exclusively pumping can be a helpful companion read. You are doing an amazing job, and this phase is only temporary. By staying observant and patient, you can find the right path for both you and your baby.

  • Gas is often caused by an immature gut or swallowing air, not just your diet.
  • Dairy and caffeine are the most common dietary triggers.
  • Mechanical fixes like latch adjustment and burping are just as important as food choices.
  • Always consult a professional if you notice blood in the stool or poor weight gain.

Breastfeeding is a beautiful way to nourish your child, and while it comes with challenges, there is almost always a solution that allows you to continue your journey comfortably.

This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice.

FAQ

How long does it take for food to leave my breast milk?

Most food proteins and compounds reach their peak in your milk within 2 to 6 hours after consumption. Most will be completely cleared from your system within 24 to 48 hours, though dairy proteins can sometimes linger for up to two weeks in your body’s tissues.

Can I still eat spicy food if my baby is gassy?

Yes, many babies tolerate spicy food perfectly fine. You only need to avoid it if you notice a consistent pattern of your baby becoming fussy or having digestive upset every time you eat those specific spices.

Does drinking carbonated water cause gas in my baby?

No, the carbonation (bubbles) in your drink stays in your digestive tract and does not pass into your milk. However, if the carbonated drink contains caffeine or artificial sweeteners, your baby might react to those specific ingredients instead of the bubbles.

Is it safe to use gas drops for my breastfeeding baby?

Simethicone gas drops are generally considered safe for infants, but you should always check with your pediatrician before starting any new supplement or medication. These drops work by breaking up large gas bubbles into smaller ones that are easier for the baby to pass.


This product is not intended to diagnose, treat, cure, or prevent any disease. Consult with your healthcare provider for medical advice. If you need more personalized support, we invite you to explore our lactation services at Milky Mama. We are here to support you every step of the way.

Share on:

Bestsellers