No specific foods have been scientifically proven to cause gas in breastfed babies. That said, certain foods are commonly reported as triggers, and the American Academy of Pediatrics does acknowledge that gas-producing foods in a mother’s diet can sometimes increase gassiness in her baby, especially in large amounts. The most evidence-backed culprit is cow’s milk protein, which is the most commonly reported food substance linked to gas and fussiness in newborns.
Why the “Gassy Foods” List Is Misleading
You’ve probably seen lists telling breastfeeding mothers to avoid broccoli, beans, and onions. These lists get shared constantly, but the research behind them is thin. Texas Children’s Hospital puts it plainly: there is limited scientific evidence proving that certain foods in a breastfeeding mother’s diet cause intestinal issues in their babies. Some babies may react to particular foods, but that doesn’t mean a universal avoidance list exists.
The reason is biological. When you eat broccoli and it gives you gas, that’s because bacteria in your gut are fermenting fiber. The gas itself doesn’t transfer into your breast milk. What does pass into breast milk are proteins, and to a lesser degree, flavor compounds and other small molecules. So the mechanism people imagine (you eat cabbage, baby gets cabbage gas) isn’t really how it works.
Cow’s Milk Protein: The Strongest Link
Of all the foods studied, cow’s milk protein has the clearest connection to digestive discomfort in breastfed babies. When you consume dairy, milk proteins pass into your breast milk and can trigger a reaction in sensitive infants. Cow’s milk protein and soy are the two most common allergens for infants.
True cow’s milk protein allergy is less common than parents think. While about 14% of babies are reported to have it, only around 1% actually do, according to research published in JAMA Pediatrics. There are two types of reactions. The classic allergic response causes rashes, facial swelling, or flushing and can be confirmed with blood tests. The more common non-IgE type is harder to pin down. Babies with this form may have vomiting, fussiness during or after feeding, diarrhea, or blood in the stool. The only way to confirm it is to eliminate all dairy from your diet, watch for improvement, then reintroduce dairy to see if symptoms return.
Signs that your baby’s gas might be related to a milk protein sensitivity (rather than normal newborn gassiness) include persistent gas paired with other symptoms: dry or irritated skin, rashes, colic-level fussiness, and green stool with mucus or blood. Gas alone, without these additional signs, is rarely a milk protein issue.
Foods the AAP Identifies as Possible Triggers
The American Academy of Pediatrics acknowledges that certain foods in a mother’s diet can contribute to gassiness, and lists these common offenders:
- Onions
- Broccoli
- Cabbage
- Beans
- Turnips
- Chocolate
- Apricots
- Rhubarb
- Prunes
But the AAP also says that generally restricting your diet should be avoided. Exposure to a variety of foods and flavors is normal and may actually help your baby accept solid foods later. The recommendation is only to consider reducing these foods if you notice a pattern, not to preemptively cut them out.
Researchers at the University of Queensland have specifically looked at the advice to avoid cruciferous vegetables like broccoli, cauliflower, and cabbage, and concluded that limited scientific evidence exists to support the claim that they cause colic in infants.
Caffeine and Infant Fussiness
Caffeine does pass into breast milk, but it’s more associated with irritability and sleep disruption than gas specifically. The CDC considers up to 300 mg per day (roughly three 8-ounce cups of coffee) generally safe for breastfeeding mothers. Individual babies vary in their tolerance, though. If your baby seems unusually jittery, irritable, or has trouble sleeping, reducing your caffeine intake is worth trying before assuming food is causing the gas.
How to Test Whether a Food Is the Problem
If you suspect a specific food is making your baby gassy, an elimination approach is the most reliable way to find out. Remove the suspected food completely and wait 2 to 4 weeks to see if your baby improves. This timeline matters because it takes time for proteins to fully clear your system and your milk. If you don’t see improvement after 4 weeks, the food probably isn’t the issue.
If symptoms do improve, you can confirm the connection by reintroducing that food and watching for a return of symptoms over the next few days. This reintroduction step is important. Many parents eliminate a food, the baby improves (as babies naturally do over time), and they permanently avoid that food for no reason.
When testing multiple suspected foods, introduce them back one at a time, giving each food its own 2 to 4 week window before moving on to the next.
Gas Is Usually Not About Your Diet
Most infant gas has nothing to do with what you’re eating. Newborns have immature digestive systems that are still learning to process milk, move gas through the intestines, and coordinate the muscles involved in digestion. Swallowing air during feeding is one of the most common causes, and it’s influenced by latch quality, milk flow speed, and how often the baby is burped.
A shallow latch lets extra air in with each suck. A fast milk flow (common in mothers with oversupply) forces the baby to gulp, swallowing air in the process. These mechanical factors are worth evaluating before changing your diet, since they’re more likely to be the cause and easier to address. A lactation consultant can assess latch and flow in a single visit.
Gassiness also tends to peak around 6 weeks and gradually improve by 3 to 4 months as the baby’s digestive system matures. If your baby is gaining weight normally, producing enough wet and dirty diapers, and is generally content between episodes of fussiness, the gas is likely a normal developmental phase.
Gas Drops: Do They Help?
Over-the-counter gas drops containing simethicone are widely marketed for infant gas, but a systematic review published in BMJ Open found moderate to low quality evidence showing no benefit. Across multiple studies, simethicone either made no difference or was associated with worsening symptoms. No serious side effects were reported, so the drops aren’t harmful, but they’re unlikely to solve the problem either. Your time is better spent evaluating latch mechanics and, if needed, trialing dietary changes one food at a time.