When a breastfed baby cries, draws their legs up, or farts a lot after feeds, parents naturally ask: what foods cause gas in breastfed infants? It’s a common question — and an understandably worrying one. You want a clear, practical answer: which gassy foods to avoid when breastfeeding, how to test whether your baby is sensitive, and what to do if they are.
Short answer up front: for most breastfed babies, maternal diet is not the main cause of gas. A small minority of infants appear to react to specific proteins (most commonly cow’s milk protein) or strong foods in the mother’s diet. The scientific evidence is mixed: a few well-conducted trials show benefit from very targeted elimination diets in selected babies, while systematic reviews conclude the overall data are limited and results vary by study and infant group. [1–3].
Below is a practical, well-sourced guide to help you figure out whether what you eat is affecting your baby — and what to try first.
Small amounts of dietary components (flavour molecules, small proteins) do pass into breast milk, so in theory, what you eat can change the milk’s taste or contain traces of allergenic proteins. That’s why some parents notice a correlation between certain meals and their baby’s fussiness [4,5].
BUT — large clinical reviews and guidelines stress that for the majority of infants, there’s no clear, consistent link between normal maternal diet and infantile colic or gassiness. A 2018 Cochrane review concluded the evidence for dietary changes reducing colic is sparse and at high risk of bias; it could not recommend broad dietary restrictions for all breastfeeding mothers. [1]. PMC
Practical takeaway: Most babies tolerate a normal, varied maternal diet. Only try dietary restriction if there’s a strong, reproducible pattern or your paediatrician suspects a milk-protein intolerance. [6]. HealthyChildren.org
Below are the foods most often blamed, along with the evidence and expert guidance on each.
Cow’s milk and dairy (milk, cheese, yoghurt) — the most evidence-backed culprit for a minority of infants.
If an infant has true cow’s milk protein allergy (CMPA) or intolerance, removing dairy from the mother’s diet often reduces symptoms (crying, vomiting, blood in stool, poor weight gain). Several randomised trials and clinical reports show that the elimination of cow’s milk protein in the breastfeeding parent can reduce colic or distress in some infants, especially early in life. That said, not all studies agree, and benefits are most likely when symptoms are severe or other allergy signs are present. [2,7].
Soy, eggs, peanuts, tree nuts, wheat, fish (common allergens) — possible culprits in sensitised infants.
A small, randomised trial that asked mothers to follow a broad low-allergen diet found reduced fussing in infants whose mothers eliminated multiple allergenic foods for a short trial period — but broad exclusions are difficult to maintain. They can cause nutritional issues in the mother if prolonged. Consider targeted elimination rather than a broad-spectrum diet unless advised to do so by a clinician. [2]. PubMed
Cruciferous vegetables (broccoli, cabbage, Brussels sprouts), beans, and lentils — frequently blamed; weak/inconsistent evidence.
These foods are notorious for making adults gassy, and some cohort data link maternal intake of cruciferous vegetables to increased colic reports in infants, but many babies tolerate them fine. Most paediatric authorities advise observing patterns rather than universally avoiding them. [3,11].
Onions, garlic, spicy foods, strong herbs, caffeine, and alcohol — individual sensitivity may be possible; moderate avoidance is recommended if suspected.
Small flavour compounds reach breast milk and, in sensitive babies, may cause transient fussiness. Caffeine and alcohol are handled differently (guidelines limit them for other reasons) — but a modest cup of coffee is usually fine for most breastfeeding parents. If you notice a clear link, try reducing your food intake and tracking your symptoms. [5,15].
FODMAP-rich foods — theory exists, but no robust infant data.
Some clinicians consider whether highly fermentable carbohydrates in the mother’s diet could subtly change milk and baby gut function — but evidence in infants is very limited. Monash and other groups discuss diet approaches mainly for maternal gut benefit; infant data remain sparse. [2,5].
If you suspect a link, follow a careful, evidence-based process:
You’ll find many internet lists (beans, broccoli, cabbage, garlic, peppers, chocolate, citrus) telling breastfeeding parents to avoid them. Those lists are useful starting points for tracking personal patterns — but they are not universal rules. Most authoritative sources (NHS, AAP/HealthyChildren, major children’s hospitals) recommend that only if a pattern appears should you try avoiding a food, and then do a targeted, time-limited trial. [3,4,6].
Gas alone is common and often harmless. But if gas accompanies red flags — poor weight gain, blood or mucus in stool, severe vomiting, rashes, wheezing, or breathing problems — you must see a paediatrician. Those signs increase the likelihood of a cow’s milk protein allergy or another medical condition needing assessment. In those situations, an elimination trial or formula change (for formula-fed infants) under medical guidance is appropriate. [7,11].
Before restrictive diets, try these proven, low-risk measures that reduce swallowed air and ease gas:
These steps are simple, effective, and supported by paediatric guidance as first-line measures for gassy babies. [6,8]. HealthyChildren.org+1
If you try a dairy or low-allergen trial:
Long-term unnecessary restriction can harm the parent and offers no benefit if the baby wasn’t sensitive in the first place. [2,12]. PubMed+1