Foods That Cause Gas in Babies: What to Avoid While Breastfeeding

The primary foods that cause gas in babies include cow's milk proteins, legumes, cruciferous vegetables (like broccoli and cabbage), and excessive caffeine. These components pass through breast milk and can trigger fussiness in sensitive infants. Managing your intake by soaking legumes for 24 hours or trying a 7-day dairy elimination diet supports your baby's digestion without compromising your milk's nutritional value.

Solution for a Gassy Baby: What to Eat & Avoid While Breastfeeding

A baby crying for hours, pulling their legs to their tummy, and a worried mother wondering, "Was it something I ate?" This is one of the most common and draining situations for new moms. In my clinical experience, I observe that while maternal diet isn't always the sole culprit, specific food proteins directly impact an infant's developing gut.

Rather than unnecessarily restricting your diet, we can manage these gas crises scientifically without compromising your milk quality.

Remember, what you eat isn't always the trigger, but the right nutrition strategy directly shapes your baby's comfort. Beyond gas concerns, I cover the overall energy and weight balance of the breastfeeding period in the breastfeeding nutrition for mothers guide.

Is Breast Milk the Only Cause of Your Baby's Gas Pain?

The first and most important fact is this: Gas pain (colic) in babies is often a normal, temporary phase. A baby's developing gut flora is still maturing. However, components from certain foods you eat can pass into your bloodstream and then into your milk, causing fussiness in sensitive infants. (Source: American Academy of Pediatrics).

Which Foods Cause Gas in Babies? (Detailed List)

Some foods can have a "gas bomb" effect due to their sulfur compounds or indigestible carbohydrates. Here are the most common culprits:

1. Cow's Milk and Dairy (The Most Common Cause)

The problem usually isn't the lactose you consume, but your baby's inability to digest cow's milk protein (casein). Cheese, yogurt, butter, and milk-based desserts can cause gas, mucousy stools, and even skin rashes in your baby.

2. Legumes and Grains

Chickpeas, lentils, kidney beans, and pinto beans contain "oligosaccharides," which are hard to digest. They ferment in your gut, creating gas, and this discomfort can be passed on through your milk.

3. Sulfur-Rich Vegetables (Cruciferous)

Cabbage, cauliflower, broccoli, leeks, onions, and garlic. These vegetables are very healthy, but when eaten raw, their sulfur content can trigger gas pain.

Would you like to receive professional diet counseling?

Yes, I Do

4. Stimulants and Acidic Foods

Excessive caffeine (coffee, chocolate), spicy seasonings (red pepper flakes, hot peppers), and acidic fruits (oranges, tangerines) can cause infant reflux symptoms and fussiness in some babies.

How to Make Gassy Foods More Baby-Friendly

The foods listed are very nutritious, so reducing their effects is healthier than cutting them out completely. Here are some dietitian tips:

Food Group How to Reduce Gas
Legumes Soak for at least 24 hours, discard the water, and add cumin while cooking.
Cabbage / Broccoli Never eat them raw. Steam or boil them, and discard the cooking water.
Onion / Garlic Don't add them raw to salads; cook them thoroughly in your meals.
Dairy Products If you suspect dairy, try a dairy elimination diet for 1 week. If your baby feels better, try lactose-free or goat's milk products.

Foods That Don't Cause Gas (Safe List for Breastfeeding Moms)

Knowing what you can eat with peace of mind matters as much as knowing what to avoid. The safe list I give my clients:

  • Vegetables: Zucchini, carrots, spinach, chard, purslane, potatoes. Steamed or boiled, they carry the lowest gas risk.
  • Fruits: Apples, pears, quince, and ripe bananas. Unlike acidic citrus, they rarely cause fussiness in babies.
  • Protein sources: Boiled eggs, grilled or poached chicken, fish, and red meat. Choose grilling and boiling over frying.
  • Grains: Rice and oats are the safest pair; bulgur can cause gas in some babies, so introduce it gradually.
  • Drinks: Warm water, fennel tea, linden, and dill tea soothe the mother and support digestion.

Even with a safe list, every baby's tolerance differs; when adding a new food, watch your baby's reaction for 24-48 hours.

What Should a Breastfeeding Mom Eat to Avoid Gas? (Sample Menu)

When gas pain is at its peak (usually in the evenings), here is a sample "Safe Menu" to help soothe both you and your baby:

  • Breakfast: Boiled egg + Dill (a natural gas reliever) + Feta cheese (test first) + Tahini-molasses (provides energy, doesn't cause gas) + Linden tea.
  • Lunch: Boiled chicken with cumin or grilled meatballs + White rice (Bulgur can cause gas) + Carrot salad.
  • Snack: 1 cup of fennel tea + 2 walnuts + Dried mulberries.
  • Dinner: Zucchini or spinach dish (with rice) + Compote (apple or quince, unsweetened).

Personalized online diet program. Start now!

Book Online

The Most Potent Natural Gas Relievers

Before reaching for medication, you can use the natural remedies in your kitchen:

  1. Cumin: Gas pain's number one enemy. Add it to food or brew it as a tea.
  2. Fennel Tea: Passes through breast milk to soften the baby's bowels and aid digestion.
  3. Dill: A natural gas expeller; you can eat it raw with every meal.
  4. Warm Water: Drinking cold water can increase gas for the mother. Drinking warm water helps relax the intestines.

Why Should You Work with a Registered Dietitian?

Trying to follow "forbidden food" lists from the internet can lead to a decrease in breast milk supply and leave you exhausted. Every baby's tolerance is different. Is your baby reacting to dairy, or are they just swallowing air?

With professional guidance:

  • We map out your baby's gas triggers (Which food affects them, and how many hours later?).
  • We use "Pinpoint Elimination" instead of unnecessary restrictions.
  • A gas-free eating plan is created that protects your milk quality.

A gassy baby isn't an unhappy baby; they're just a baby learning to digest. To make this process as comfortable as possible for both of you, you can explore my Online Infant Nutrition Counseling for a personalized, gas-free eating plan.

Frequently Asked Questions

The most common gas-producers are cow's milk products, raw onion and garlic, legumes (chickpeas, beans), cabbage, broccoli, spicy foods, and chocolate.
Yes, cumin seeds have a 'carminative' (gas-relieving) effect. When a mother drinks cumin tea or adds it to her food, the active compounds can pass into her milk and help soothe the baby's digestion.
Anything the mother has trouble digesting can also upset the baby. Especially greasy fried foods, processed packaged goods, and fast food can affect milk quality and make the baby fussy.
If your baby gets gassy when you drink cow's milk, try drinking it warm with a pinch of cinnamon or cumin. If the problem persists, switch to lactose-free milk or plant-based milks like almond or oat milk.
A baby's digestive system typically starts to mature around 4 months of age. Colic and gas pains usually decrease by 3-4 months. After this period, you can slowly reintroduce the restricted foods.
The mother's diet is a long-term solution. For immediate relief, the fastest methods are holding the baby upright against your shoulder and patting their back, doing 'bicycle legs,' and massaging their tummy clockwise with warm oil.
When a mother consumes cumin, fennel, dill, ginger, linden tea, and plenty of warm water, the soothing properties of these foods pass into her milk and can help relieve the baby's gas pain.
Naturally, the combination of fennel and cumin is the most powerful. Medically, drops containing simethicone are used, but these must be given only under a doctor's supervision.
It's not just from the mother's diet. Excessive gas can also be caused by swallowing air during an improper latch, bottle feeding, being cold, or underlying issues like a cow's milk allergy or lactose intolerance.
Yes, lentils are one of the gassiest legumes. However, their effect can be reduced if cooked with cumin and then thoroughly blended and strained. It should be consumed with caution in the first few months.
The safest group for a nursing mother: steamed zucchini, carrots, spinach, and potatoes; apples, pears, quince, and ripe bananas among fruits; boiled eggs, grilled chicken, and fish for protein; rice and oats among grains. Fennel tea and linden also ease digestion. Still, every baby differs; introduce each new food while watching your baby for 24-48 hours.
Both are among the safest carbohydrate sources for gas. Rice contains no oligosaccharides, so it does not ferment in the gut; boiled or baked potatoes digest just as easily. Bulgur and whole grains can trigger sensitivity in some babies, so during heavy gas periods it is wiser to prioritize rice and potatoes.
Dyt. Şeyda Ertaş

Dyt. Şeyda Ertaş

Expert Author

Dietitian & Nutrition Specialist

BSc in Nutrition and Dietetics, Hacettepe University. Over 7 years of professional experience guiding 2000+ clients toward healthier lives through science-based nutrition.

View Profile

Free Pre-Application

This is a pre-application. No credit card required, payments determined after consultation.

KVKK & GDPR compliant SSL encrypted Reply within ~4 hours

Application Received!

Your message has been sent successfully. We will contact you soon.

Working Hours

Monday - Friday: 09:00 AM - 6:00 PM
Saturday: 10:00 AM - 2:00 PM
Sunday: Closed

Applications received outside working hours or on holidays will be responded to on the next business day.

Have an urgent matter?