Most foods you eat while breastfeeding won’t bother your baby at all. But a small number of proteins and compounds do pass through breast milk and can cause fussiness, gas, or allergic reactions in sensitive infants. Cow’s milk is the most common culprit, followed by soy, eggs, and certain vegetables. Understanding which foods are most likely to cause problems, and how to tell if your baby is actually reacting, can save you weeks of unnecessary dietary restriction.
Cow’s Milk Is the Most Common Trigger
Cow’s milk protein is responsible for more reactions in breastfed babies than any other food. When you drink milk or eat dairy products, the proteins pass into your breast milk in small amounts. Most babies handle this fine, but those with a cow’s milk protein allergy can develop symptoms that fall into two categories.
The classic allergic response involves rashes, facial swelling, or flushing. These reactions tend to appear quickly and are usually easier to identify. The more common type in breastfed infants is a slower, non-immune reaction that causes vomiting, fussiness during or after feeding, diarrhea, or blood in the stool. This second type is harder to pin down because the symptoms overlap with normal infant fussiness and digestive immaturity.
The only way to confirm a cow’s milk protein issue is to remove all dairy from your diet, wait to see if the baby improves, and then reintroduce dairy to see if the symptoms return. There’s no reliable blood test for the non-immune type. If your baby does react to cow’s milk, there’s roughly a 10 to 14 percent chance they’ll also react to soy protein, since the two proteins are structurally similar. That cross-reactivity is why some elimination protocols remove both dairy and soy at the same time.
Soy and Eggs Are Close Behind
After dairy, soy and eggs are the next most frequent triggers for breastfed babies with food sensitivities. Soy is especially tricky because it’s in a huge range of processed foods, from bread to salad dressings, often listed as soy lecithin, soy protein isolate, or soybean oil. Eggs can trigger both the slower gut-based reactions and, less commonly, the classic allergy symptoms like skin rashes.
The University of Rochester Medical Center recommends two approaches for sorting out which food is the problem. You can eliminate dairy, soy, and eggs all at once and wait two to four weeks to see if your baby improves. Or you can remove one food group at a time, giving each a full two to four weeks before moving on. The all-at-once method is faster but more restrictive. The one-at-a-time method is easier to sustain but takes longer to get answers. In either case, the food clears from your milk within a few days, but your baby’s gut may need additional time to heal before you see improvement.
Cruciferous Vegetables and Onion
Broccoli, cabbage, and cauliflower have a reputation for making breastfed babies gassy, and there’s some evidence behind it. A study published in the Journal of the American Dietetic Association found that maternal intake of cabbage, cauliflower, and broccoli was each associated with a modest increase in colic symptoms. Mothers who ate more than one cruciferous vegetable had a 60 percent higher likelihood of their infant experiencing colic symptoms compared to those who didn’t.
Onion showed a stronger association, with a 70 percent increased risk of colic symptoms. The mechanism isn’t entirely clear. Fiber itself doesn’t pass into breast milk, so the gas you experience from eating broccoli isn’t directly transferred to your baby. Instead, certain sulfur-containing compounds or other byproducts of digestion may reach the milk and affect some infants. The effect is real but modest, and most babies tolerate these vegetables without any issue. If your baby seems consistently fussy after you eat a particular vegetable, it’s worth testing, but there’s no reason to preemptively avoid your entire produce drawer.
Chocolate and Caffeine
Chocolate appeared as a significant contributor to colic in the same study, with a 50 percent increased risk of colic symptoms. Chocolate contains both caffeine and a related compound called theobromine, and babies metabolize both of these much more slowly than adults do.
Pure caffeine from coffee or tea, however, may be less of a concern than many parents expect. A large prospective study of nearly 4,000 infants found that even heavy maternal caffeine consumption (300 mg per day or more, roughly three cups of coffee) did not significantly increase nighttime waking or crying at three months of age. The 300 mg daily limit recommended in several countries appears safe for infant sleep and behavior. That said, individual babies vary, and premature or very young newborns clear caffeine more slowly. If your newborn seems jittery or unusually wakeful, cutting back on caffeine for a few days is a reasonable experiment.
Garlic and Spicy Foods
Garlic does change the flavor of breast milk. Compounds from garlic peak in breast milk about two to three hours after you eat it, and the garlicky smell is detectable by that point. But here’s the surprise: most babies actually like it. In controlled studies, infants who were new to garlic-flavored milk spent about 30 percent more time nursing compared to when their mothers took a placebo. Babies whose mothers regularly ate garlic showed no change in behavior, suggesting they were already accustomed to the flavor.
Spicy foods similarly alter the taste of breast milk but rarely cause digestive problems in the baby. The capsaicin in hot peppers doesn’t transfer to milk in amounts that irritate an infant’s gut. If your baby seems unbothered, there’s no reason to bland out your diet.
Alcohol Timing
Alcohol passes freely into breast milk at roughly the same concentration as your blood alcohol level. According to the CDC, alcohol from one standard drink is generally detectable in breast milk for about two to three hours after consumption. That window gets longer with additional drinks and shorter for people with higher body weight. The alcohol leaves your milk as it leaves your blood, so “pumping and dumping” doesn’t speed the process. If you choose to drink, timing the feed before the drink or waiting the two-to-three-hour window per drink is the practical approach.
How to Tell If Your Baby Is Reacting
The most reliable sign of a food sensitivity in a breastfed baby is bright red blood, with or without mucus, in an otherwise healthy infant’s stool. This is the hallmark of allergic proctocolitis, a condition where food proteins inflame the lower part of the intestine. It looks alarming but is typically not dangerous. These babies usually continue to grow normally and feed well despite the bloody stools.
Other signs worth tracking include consistent fussiness during or shortly after feeds, diarrhea or unusually watery stools, vomiting that goes beyond normal spit-up, eczema or persistent rashes, and poor weight gain. The key word is “consistent.” All babies are fussy sometimes, and a single episode of gas after you eat broccoli doesn’t mean broccoli is the problem. Look for patterns over several days.
When Reactions Are More Serious
A small number of infants develop a condition called food protein-induced enterocolitis syndrome, or FPIES, which causes more severe reactions. Common triggers include cow’s milk, soy, oat, rice, egg, and peanut. In exclusively breastfed babies, chronic FPIES can present as ongoing irritability, mucus or blood in stools, poor weight gain, and feeding difficulties.
The acute form is more dramatic: repetitive vomiting, paleness, and lethargy appearing one to four hours after the trigger food is consumed. Severe cases can cause a baby to become limp, unresponsive, or develop a grayish skin color. This is a medical emergency. FPIES is rare, but it’s important to recognize because the symptoms can mimic an infection or other serious illness, and the connection to a specific food is often missed initially.
Practical Approach to Elimination
If you suspect a food is bothering your baby, the process is straightforward but requires patience. Remove the suspected food completely for two to four weeks. Read labels carefully, since dairy and soy proteins hide in many packaged foods under various names. If your baby improves, you’ve likely found the trigger. If nothing changes after a full four weeks, the food probably isn’t the issue, and you can add it back.
Keep your diet as varied as possible during this process. Unnecessary restrictions can affect your nutrition and milk supply without helping your baby. Most breastfed infants tolerate everything their mothers eat, and true food protein allergies affect a relatively small percentage of babies. Starting with dairy, the most common trigger, and working outward from there is the most efficient strategy.

