Back to blog

What Foods Upset Baby’s Stomach When Breastfeeding

Posted on January 26, 2026

What Foods Upset Baby's Stomach When Breastfeeding?

Table of Contents

  1. Introduction
  2. How Your Diet Affects Your Breast Milk
  3. The Most Common Culprit: Dairy Products
  4. Soy, Wheat, and Other Common Allergens
  5. The Impact of Caffeine and Chocolate
  6. Spicy Foods and Strong Flavors
  7. Acidic Fruits and Their Effects
  8. The Truth About "Gassy" Vegetables
  9. Non-Dietary Causes of Stomach Upset
  10. How to Conduct a Successful Elimination Diet
  11. Supporting Your Supply During Dietary Changes
  12. Summary of Potential Triggers
  13. Conclusion
  14. FAQ

Introduction

It is a quiet night until it isn’t. Your baby is crying, pulling their tiny legs up to their chest, and clearly feeling uncomfortable. As a breastfeeding parent, your first thought often goes to your last meal. You wonder if that spicy taco or morning latte is the reason your little one is so fussy. It is a common concern that can leave many parents feeling anxious about every bite they take.

At Milky Mama, we know how much you want to provide the best for your baby, and our breastfeeding help page is a good place to start when you want personalized support. Breast milk is often called liquid gold because it provides the perfect balance of nutrients and immunity support. However, because your body uses your bloodstream to create milk, certain proteins and compounds from your diet can occasionally cause a reaction in your baby.

This article explores the common foods that may upset a baby’s stomach. We will look at how to identify sensitivities and how to support your baby through gas and fussiness. We will also discuss how to maintain a healthy supply while navigating an elimination diet, and our Foods That Upset Baby’s Stomach When Breastfeeding guide offers a deeper look at the same topic.

How Your Diet Affects Your Breast Milk

Many parents worry that if a food makes them gassy, it will automatically make their baby gassy. This is a common misunderstanding. Gas in an adult is usually caused by the fermentation of fiber in the digestive tract. Fiber does not pass into your breast milk. Your milk is made from components in your blood, not the contents of your stomach.

However, proteins from the foods you eat do enter your bloodstream. From there, they can pass into your milk supply. If your baby has a sensitivity or an allergy to a specific protein, their immune system or digestive tract may react. This reaction often shows up as gas, fussiness, or changes in their stool.

Most babies can handle a wide variety of flavors and foods without any issues. In fact, exposing your baby to different flavors through your milk may help them accept a wider variety of solid foods later. But for a small percentage of infants, certain triggers can lead to significant discomfort.

Key Takeaway: Your milk is made from your blood, meaning fiber doesn't pass through, but proteins and certain chemicals can reach your baby.

The Most Common Culprit: Dairy Products

If a baby is struggling with significant stomach upset, cow’s milk protein is often the first thing lactation experts look at. Cow’s milk contains proteins called casein and whey. These proteins are large and can be difficult for a newborn's immature digestive system to break down.

When you consume milk, cheese, yogurt, or butter, these proteins enter your milk supply. For babies with a cow's milk protein allergy (CMPA) or a sensitivity, this can cause inflammation in their gut. Symptoms often include:

  • Excessive gas and bloating.
  • Severe colic or inconsolable crying.
  • Skin rashes or eczema.
  • Mucus or blood in the stool.
  • Frequent, forceful spitting up.

It is important to distinguish between a lactose intolerance and a milk protein allergy. True lactose intolerance is very rare in infants because breast milk is naturally high in lactose. The issue is almost always the protein from the cow's milk you are eating, not the sugar in the milk itself.

Soy, Wheat, and Other Common Allergens

After dairy, soy is the next most common food that can cause issues. Interestingly, many babies who are sensitive to dairy are also sensitive to soy. This is because the proteins in soy are shaped similarly to the proteins in dairy. If you decide to cut out dairy, be cautious about replacing it entirely with soy-based products until you see how your baby reacts.

Wheat and corn are also potential triggers. These are found in many processed foods, making them harder to avoid. A sensitivity to wheat might manifest as a slow-onset fussiness or a persistent diaper rash. If you have a family history of celiac disease or gluten sensitivity, it may be worth monitoring your baby’s reaction to bread, pasta, and crackers.

Other foods that can occasionally cause a reaction include:

  • Eggs (specifically the proteins in the egg white).
  • Peanuts and tree nuts.
  • Fish and shellfish.

If you are worried about your milk supply while navigating these dietary changes, our Emergency Lactation Brownies are a great option. They are designed to support lactation with ingredients like oats and flaxseed, providing a nourishing snack that doesn't rely on common triggers for many parents.

What to Do Next

  • Keep a simple food diary for three days.
  • Note the times your baby is most fussy.
  • Look for patterns between your meals and their behavior.
  • Consult with a pediatric health provider if you see blood in the stool.

The Impact of Caffeine and Chocolate

We know that those first few months of parenthood are exhausting. A cup of coffee can feel like a necessity. While most babies tolerate a moderate amount of caffeine, some are more sensitive than others. Caffeine is a stimulant that passes into breast milk.

Newborns have a very hard time processing caffeine. It stays in their system much longer than it does in an adult's. If you consume large amounts of coffee, soda, or energy drinks, your baby may become jittery, irritable, or have trouble sleeping. This can lead to overtiredness, which often looks like stomach pain or "witching hour" fussiness.

Chocolate also contains small amounts of caffeine and a compound called theobromine. Theobromine acts similarly to caffeine. If you notice your baby is especially fussy after you indulge in a large amount of chocolate, you might try limiting your intake to see if their temperament improves.

Spicy Foods and Strong Flavors

There is a long-standing myth that breastfeeding parents must eat a bland diet. For most people, this isn't true. Garlic, onions, and spicy peppers can change the smell and taste of your milk. For many babies, this is actually a positive experience.

However, some infants may react to the capsaicin in spicy foods. Capsaicin is the compound that gives peppers their heat. While it doesn't "burn" the baby through the milk, it can occasionally cause indigestion or a sensitive bottom.

If you notice your baby pulling away from the breast or acting fussy shortly after you eat a very spicy meal, they may not like the change in flavor. Most experts recommend eating what you enjoy but paying attention to how your baby responds in the hours following the feeding.

Acidic Fruits and Their Effects

Citrus fruits like lemons, limes, oranges, and grapefruits are high in Vitamin C, which is great for your recovery. However, the high acidity can sometimes be tough on a baby's digestive tract. Other acidic fruits include pineapples, strawberries, and kiwis.

Some parents find that excessive citrus intake leads to:

  • Increased spit-up.
  • Diaper rash (due to the change in the pH of the baby's stool).
  • General irritability.

If you suspect citrus is the cause, try swapping your morning orange juice for a less acidic option like pear or apple juice. For hydration that also supports your milk supply, our Pumpin’ Punch is a refreshing place to start.

The Truth About "Gassy" Vegetables

You may have been told to avoid broccoli, cabbage, cauliflower, and beans. These are known as cruciferous vegetables. In adults, they cause gas because our bodies struggle to break down certain complex sugars and fibers.

As we mentioned earlier, the fiber itself does not pass into your milk. Therefore, the gas you experience from a bowl of broccoli won't be "passed" to your baby. However, some of the sulfur-based compounds in these vegetables can move into your milk.

Most babies are not bothered by these vegetables. If your baby seems to have no issues, there is no reason to stop eating these healthy, nutrient-dense foods. If you do notice a direct correlation between a specific vegetable and a very gassy baby, you can try steaming them thoroughly to make them easier for your own body to process, which may change the compounds that reach your milk.

Non-Dietary Causes of Stomach Upset

Before you overhaul your entire diet, it is important to consider that fussiness is often caused by things unrelated to what you ate. Babies have very immature digestive systems. Their intestines are learning how to move milk along, which can be a gassy process regardless of your diet.

Improper Latch

If a baby does not have a deep, secure latch, they may swallow a lot of air during the feeding. This is called aerophagia. The air gets trapped in their stomach, leading to burps and painful pressure. Working with a certified lactation consultant can help you improve the latch and reduce the amount of air your baby takes in, and our Breastfeeding 101 course is a helpful next step for learning the basics.

Fast Let-Down Reflex

A let-down reflex is when your milk begins to flow. Some parents have a very fast or forceful let-down. This can cause the baby to gasp or gulp quickly to keep up with the flow, which leads to swallowing air. If your baby coughs or sputters at the start of a feeding, this might be the culprit. Trying a "laid-back" breastfeeding position can help slow the flow of milk.

Oversupply and Foremilk/Hindmilk Imbalance

If you have an overabundance of milk, your baby might get a lot of "foremilk." Foremilk is the milk at the beginning of the feed, which is high in lactose. If they get too much foremilk and not enough "hindmilk" (the fattier milk at the end), the lactose can ferment in their gut. This often leads to green, frothy stools and a very gassy baby.

Key Takeaway: Not all fussiness is food-related; latch issues and milk flow speed are common causes of infant gas.

How to Conduct a Successful Elimination Diet

If you have ruled out latch issues and still suspect a food sensitivity, an elimination diet is the most effective way to find the answer. This process requires patience and consistency. It can take up to two weeks for proteins like dairy to fully leave your system and your baby's system.

Step 1: Document Everything

Start a detailed log. Write down what you eat, the time you eat it, and how your baby behaves throughout the day. Look for physical signs like rashes, congestion, or unusual stools. This step prevents you from cutting out foods unnecessarily.

Step 2: Remove the Suspect Food

Choose one food category to remove at a time, starting with dairy. You must be thorough. This means reading labels for hidden ingredients like whey, casein, or "natural flavors" that may contain soy or dairy. Stick to this strictly for at least 10 to 14 days.

Step 3: Observe and Reintroduce

If your baby’s symptoms improve, you have likely found the trigger. To be absolutely sure, some parents choose to reintroduce a small amount of the food. If the symptoms return within 24 hours, you have your answer. If there is no change after 14 days of elimination, the food you cut out probably wasn't the cause, and you can move on to the next suspect.

Supporting Your Supply During Dietary Changes

Cutting out major food groups like dairy or wheat can be stressful. Stress and a lack of calories can sometimes impact your milk supply. It is vital to ensure you are replacing those lost calories with other nutrient-dense options.

If you are dairy-free, focus on healthy fats like avocado, nuts (if tolerated), and olive oil. Our Lady Leche™ or Pumping Queen™ supplements can be helpful during this time to provide herbal support for your supply while you navigate these changes. We are here to ensure that while you are looking out for your baby’s tummy, your needs are being met too.

Remember, breastfeeding is a journey of discovery. It takes time to learn your baby's cues and what their body can handle. You're doing an amazing job, even on the days when it feels like a puzzle you can't quite solve.

Next Steps for Comfort

  • Try "bicycle legs" to help move gas through the baby's system.
  • Practice frequent tummy time to help strengthen the digestive muscles.
  • Burp your baby halfway through a feeding, not just at the end.
  • Use a warm (not hot) compress on the baby's belly for soothing relief.

Summary of Potential Triggers

While every baby is different, keeping these common triggers in mind can help you troubleshoot.

  • Dairy: The most frequent cause of true sensitivity.
  • Caffeine: Can lead to jitters and poor sleep in newborns.
  • Soy: Often goes hand-in-hand with dairy issues.
  • Acidic Fruits: May cause diaper rash or reflux.
  • Strong Flavors: Might cause temporary nursing aversion in sensitive babies.

Conclusion

Managing a baby with a sensitive stomach can be exhausting, but it is usually a temporary phase. As your baby's digestive system matures, they will likely become less reactive to the foods in your diet. Most babies outgrow these sensitivities by their first birthday.

Focus on a balanced diet and pay close attention to your baby’s unique signals. If you feel overwhelmed, don't hesitate to reach out for professional support. We are dedicated to helping you reach your breastfeeding goals with confidence and ease.

  • Identify the difference between gas and a true allergy.
  • Use an elimination diet to pinpoint specific triggers.
  • Support your own nutrition to keep your supply steady.

Every drop counts, and your well-being is just as important as your baby’s. If you need extra support for your milk supply while managing a restricted diet, explore our range of lactation treats and herbal supplements designed by an IBCLC to help you thrive.

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 will peak in your milk about 2 to 6 hours after consumption. However, it can take anywhere from 48 hours to two weeks for certain proteins, like cow's milk protein, to be completely eliminated from your system and your baby's system. If you are doing an elimination diet, consistency over two weeks is key to seeing results.

Can spicy food cause diaper rash in babies?

While the spices themselves don't pass through milk in a way that "burns," the compounds can change the acidity or composition of the baby's stool. For some sensitive babies, this can lead to irritation around the anus or a mild diaper rash. If you notice a red ring after you eat spicy meals, you might consider dialling back the heat for a while.

Is it normal for breastfed babies to be gassy?

Yes, gas is a completely normal part of the human digestive process. Babies have very small, immature stomachs and intestines that are still learning how to function efficiently. As long as your baby is gaining weight well and is not in extreme pain, a little bit of gas is usually nothing to worry about.

Should I stop breastfeeding if my baby has a food allergy?

In almost all cases, you do not need to stop breastfeeding. Instead, you can usually manage the allergy by removing the trigger food from your own diet. Breast milk provides essential antibodies that actually help support and heal a baby's gut. Consult with a lactation professional or pediatrician to create a plan that keeps your baby healthy while you continue nursing.

Share on:

Bestsellers