There are no foods scientifically proven to cause gas in breastfed babies. That might not be what you expected to hear, but the research is clear: the link between a mother’s diet and infant gassiness is far weaker than most people assume. The one well-documented exception is cow’s milk protein, which is the most commonly reported food substance to cause gas and fussiness in newborns. Beyond that, the list of “foods to avoid” is mostly based on anecdotal reports, not evidence.
That doesn’t mean your baby’s gas isn’t real or that your diet plays zero role. It means the approach should be targeted, not a long list of restrictions.
Why Most “Gassy Foods” Don’t Affect Your Baby
When you eat beans, broccoli, or cabbage, the gas you feel comes from fiber and complex sugars being broken down by bacteria in your intestines. That gas stays in your digestive tract. It doesn’t enter your bloodstream, and it doesn’t transfer into breast milk. Your baby is digesting milk, not the kale salad you had for lunch.
Many mothers report that foods like kale, spinach, beans, onions, garlic, peppers, and spicy dishes seem to cause gas in their babies. But when researchers look at this systematically, no specific foods have been proven to cause gas in infants. Some babies react, many tolerate the same foods just fine. Strong flavors like garlic, mint, and vanilla can change the taste of breast milk, which might make a baby fussy at the breast, but that’s different from causing intestinal gas.
Cow’s Milk Protein Is the Main Culprit
If there’s one food group worth examining first, it’s dairy. Cow’s milk protein is the most commonly reported dietary trigger for gas and fussiness in breastfed babies. When a mother consumes milk, cheese, yogurt, or other dairy products, small proteins pass into her breast milk. Some infants can’t tolerate these proteins, leading to digestive symptoms.
Cow’s milk protein sensitivity in babies can show up as excessive gas, fussiness during or after feeding, diarrhea, vomiting, or even blood in the stool. The more severe end of this spectrum is cow’s milk protein allergy, which affects roughly 1% of babies, though about 14% are reported by parents to have it. That gap matters: most babies suspected of having a dairy allergy don’t actually have one, so it’s worth testing carefully rather than assuming.
If you suspect dairy is the problem, remove all cow’s milk products from your diet for two to four weeks. The proteins will clear from your milk within a few days, but your baby’s gut may take longer to heal. If symptoms improve, you’ve likely found your answer. If nothing changes after four weeks, dairy probably isn’t the issue, and you can add it back.
Caffeine Can Cause Fussiness, Not Gas Exactly
Caffeine does pass into breast milk, and some babies are sensitive to it. A caffeine-sensitive baby tends to be jittery, wide-eyed, and unable to sleep for long stretches. This overstimulation can lead to poor feedings, more crying, and more swallowed air, which then becomes gas. It’s an indirect path, but a real one.
If your baby seems wired after you’ve had coffee, try cutting back to under 300 milligrams per day (roughly two to three cups of coffee). Some babies tolerate caffeine without any issues, so this is only worth adjusting if you notice a pattern.
How to Test a Suspect Food
Rather than eliminating a long list of foods and making yourself miserable, use a targeted elimination approach. Pick the single food you suspect most, remove it completely for two to four weeks, and watch for improvement. If your baby gets better, reintroduce the food and see if symptoms return. That confirmation step is important because infant gas naturally fluctuates, and it’s easy to credit a dietary change that had nothing to do with the improvement.
If removing one food doesn’t help after four weeks, the cause may not be food-related at all. You may need to look at other foods or, more likely, other causes entirely.
Non-Dietary Causes Are Often the Real Problem
Before overhauling your diet, consider that most infant gas has nothing to do with what you eat. Newborns are brand new to the experience of air. They swallow it when they cry, when they feed, and when they latch poorly. That air has to go somewhere.
A baby who cries from hunger for a while before feeding will gulp milk quickly and swallow extra air. Starting feedings before your baby gets frantically hungry can reduce this significantly. If you’re bottle-feeding with expressed milk, experimenting with different nipple shapes and flow rates can help your baby feed without gulping or sputtering.
Oversupply is another common cause. When milk comes out too fast, babies swallow more air trying to keep up. Positioning changes and paced feeding can help with this. A shallow latch, where the baby isn’t getting enough of the breast in their mouth, also lets air sneak in around the edges.
Symptoms of normal gas include fussiness, a visibly bloated belly, and lots of burping or passing gas. These are uncomfortable but expected in young infants whose digestive systems are still maturing. Signs that something more is going on include vomiting, diarrhea, refusing to feed, an unusual-sounding cry, changes in breathing, or unusual sleepiness. Colic, defined as crying more than three hours a day for more than three days a week in an otherwise healthy baby under three months, is a separate pattern that overlaps with gas but isn’t the same thing.
Foods Commonly Blamed but Rarely Proven
For the sake of completeness, here are foods that frequently show up on “avoid while breastfeeding” lists, along with what the evidence actually says:
- Cruciferous vegetables (broccoli, cauliflower, cabbage): Gas from fiber fermentation stays in your gut. No evidence these affect breast milk composition in a way that causes infant gas.
- Beans and lentils: Same mechanism. The complex sugars that cause gas in you don’t transfer to milk.
- Onions and garlic: These change the flavor of breast milk, which some babies notice. Not linked to gas specifically.
- Spicy foods: No evidence that capsaicin or similar compounds cause infant digestive distress through breast milk.
- Citrus and tomatoes: Sometimes blamed for fussiness, but no research supports a connection to gas.
None of these need to be preemptively avoided. If you eat a varied diet and your baby is gassy, the overwhelming odds are that the gas is coming from swallowed air or normal digestive immaturity, not from your dinner plate. The only food worth a serious trial elimination is dairy, and only if your baby’s symptoms go beyond ordinary fussiness.

