What Foods Cause Colic in Breastfed Babies?

Cow’s milk is the food most consistently linked to colic symptoms in breastfed babies, with research showing it roughly doubles the risk compared to other dietary factors. But dairy isn’t the only trigger. Studies have also connected maternal intake of eggs, nuts, wheat, cruciferous vegetables like cabbage and broccoli, onion, and chocolate with increased fussiness and crying in young infants. The catch is that diet only explains a fraction of colic cases, so an elimination diet helps some babies dramatically while making no difference for others.

How Food in Your Diet Reaches Your Baby

When you eat allergenic proteins, small amounts pass through your digestive system and into your breast milk. The protein in cow’s milk that gets the most attention, beta-lactoglobulin, peaks in breast milk between 4 and 6 hours after you drink or eat dairy and can remain detectable for up to 7 days. That lag time is one reason it can be so hard to connect a specific meal to your baby’s fussiness later that evening.

Not every mother transfers the same amount of protein. Researchers have found wide variation between women who consumed identical amounts of cow’s milk, likely because of differences in how each mother’s gut absorbs and filters food proteins. This means your baby could react to a food that another breastfeeding mother eats without any issue.

Cow’s Milk: The Strongest Link

Dairy is the most studied and best-supported dietary trigger. In one clinical trial of 90 infants, 74% of babies improved when their mothers switched to a low-allergen diet (which removed cow’s milk along with eggs, wheat, and nuts), compared with only 37% on a regular diet. That’s a meaningful difference, though it also shows the low-allergen diet didn’t help every baby.

The connection appears to be an immune response to cow’s milk protein rather than lactose intolerance. A small percentage of infants, likely somewhere in the range of 2% to 9% based on estimates in the clinical literature, have a genuine sensitivity to bovine milk proteins that contributes to excessive crying. For these babies, removing dairy from the mother’s diet can significantly reduce symptoms.

Other Common Trigger Foods

Beyond dairy, several other foods have shown up in research as potential contributors to colic symptoms in breastfed babies.

  • Eggs and nuts: These are classified as major allergens and were removed alongside dairy in the most successful elimination diet trials. Clinical guidelines suggest mothers consider avoiding them if a dairy-free trial alone doesn’t help.
  • Cruciferous vegetables: A study of exclusively breastfed infants found that maternal intake of cabbage increased the relative risk of colic symptoms by 30%, cauliflower by 20%, and broccoli by up to 30%. Eating more than one cruciferous vegetable raised the risk by 60%.
  • Onion: The same study found a 70% increased risk of colic symptoms when mothers ate onion regularly.
  • Chocolate: Chocolate carried a 50% increased risk in the same dataset, possibly because it contains both caffeine and other stimulating compounds.
  • Wheat: Often removed in elimination diet trials alongside dairy and eggs, though less studied on its own.
  • Caffeine: Frequently recommended for reduction during breastfeeding. It transfers into breast milk and may contribute to irritability in sensitive babies.

Soy is worth a special mention. While it’s sometimes suggested as a dairy replacement, soy protein itself is a significant allergen in infancy. If your baby is reacting to cow’s milk protein, there’s a reasonable chance soy could cause similar issues.

What About Spicy Foods and Garlic?

Many cultures advise breastfeeding mothers to avoid spicy foods, and it’s one of the most commonly restricted food categories worldwide. In surveys, over 85% of mothers report avoiding spicy food while nursing. But the evidence doesn’t support a connection to colic. Strong flavors like garlic do change the smell and taste of breast milk, yet studies show this doesn’t typically make infants fussier. In fact, two studies found that babies whose mothers ate garlic tended to nurse for longer periods and seemed to enjoy the flavor variety. So unless you notice a clear pattern with your own baby, there’s no strong reason to skip the hot sauce.

How to Try an Elimination Diet

The standard approach is to remove cow’s milk first, since it has the strongest evidence behind it. Cut all dairy, including hidden sources like whey and casein in processed foods. If your baby’s symptoms haven’t improved, you can broaden the elimination to include eggs, nuts, wheat, and soy.

Give each elimination trial at least 2 to 3 weeks before judging whether it’s working. Some proteins can linger in breast milk for days, and your baby’s gut needs time to calm down. Research on cow’s milk protein sensitivity shows meaningful symptom improvement after 3 to 4 weeks of a strict elimination diet. If you see no change after that window, the food you removed probably isn’t the culprit, and you can add it back.

When you do reintroduce a food, do it one at a time and watch for a return of symptoms over the following few days. This confirmation step matters because it tells you whether the improvement was actually tied to the dietary change or just coincided with your baby naturally outgrowing a fussy phase.

Diet Isn’t Always the Answer

Colic affects roughly 16% of infants, and studies have found no overall difference in colic rates between breastfed and formula-fed babies. That means most colic has nothing to do with what’s passing through breast milk. Immature gut development, differences in gut bacteria, and overstimulation all play roles that have nothing to do with your dinner plate.

A network meta-analysis comparing different colic treatments found that dietary changes reduced total crying by about 37 hours over a 3- to 4-week period, while a specific probiotic strain reduced crying by about 51 hours over the same timeframe. Both outperformed other interventions, but the point is that multiple approaches can help, and they work through different mechanisms. For many families, the best strategy combines dietary adjustments with other soothing techniques rather than relying on food elimination alone.

If you’ve removed the major trigger foods for a full month and your baby’s crying pattern hasn’t budged, the colic is very likely unrelated to your diet. Most babies outgrow colic by 3 to 4 months regardless of any intervention.