Foods That Cause Gas in Babies: What to Know
Last updated: March 19, 2026 ยท 7 min read
Gas is extremely common and usually normal in babies of all ages. When babies start solid foods, some gas increase is expected as the digestive system adjusts. Common culprits include beans and lentils, cruciferous vegetables (broccoli, cauliflower, cabbage), peas, peaches, and pears โ but gas from solid foods rarely causes significant distress. In most cases, gassiness resolves as your baby's gut matures.
Why Do Babies Get Gassy?
A certain amount of gas is a completely normal part of infant digestion. Several factors contribute:
- Immature digestive system โ A baby's gut is still developing the enzymes and gut flora needed to efficiently break down food. Fermentation of partially digested food by gut bacteria produces gas.
- Swallowed air โ Babies swallow air during feeding, especially with a poor latch during breastfeeding, fast milk flow, or when bottle-feeding with an improperly sized nipple.
- New foods โ Any new food can temporarily increase gas as the gut adjusts. This is especially true for high-fiber foods.
- Developing gut microbiome โ In the first year, a baby's gut microbiome is in a state of rapid development. This natural process involves fermentation that produces gas.
Foods That Commonly Cause Gas in Babies
When on Solid Foods (6+ Months)
Once babies start solid foods, these categories most commonly produce gas:
Legumes and Beans
- Black beans, kidney beans, chickpeas, lentils
- Why: High in fermentable fiber (FODMAPs) and oligosaccharides that gut bacteria ferment vigorously
- What to do: Introduce slowly in small amounts; rinse canned beans very well; cook dried beans thoroughly
Cruciferous Vegetables
- Broccoli, cauliflower, Brussels sprouts, cabbage, kale
- Why: Contain raffinose, a complex sugar that humans can't fully digest โ gut bacteria do the rest, producing gas
- What to do: Steam very thoroughly (softer cooking reduces gas-producing compounds); introduce in small amounts; pair with easily digested foods
High-Fiber Fruits
- Prunes, pears, peaches, apples
- Why: High in fructose and sorbitol, which can be poorly absorbed and fermented in the colon
- What to do: Offer in moderate quantities; these are also excellent for constipation relief
Dairy (for Sensitive Babies)
- Yogurt, cheese, cow's milk as an ingredient
- Why: Babies with mild lactose sensitivity or cow's milk protein sensitivity may experience increased gas
- What to do: Monitor symptoms; if gas is significant and associated with crying or blood in stool, consult your pediatrician about possible cow's milk protein allergy (CMPA)
Whole Grains and Oats
- Oatmeal, whole grain cereals
- Why: High in fiber, which increases fermentation; the gut adjusts over time
- What to do: Gas from oats typically resolves within 1โ2 weeks as the gut microbiome adapts
For Breastfed Babies: Does Mom's Diet Matter?
This is one of the most common concerns among breastfeeding mothers. The honest answer: the evidence is limited and inconsistent.
While it's biologically possible for small amounts of food compounds to pass into breast milk, research has not reliably shown that a breastfeeding mother eating broccoli, beans, or dairy causes measurable increases in infant gas or distress. Babies naturally produce gas as their gut flora develops โ a mother's diet is rarely the primary culprit.
Before eliminating foods from your own diet, speak with your pediatrician or a lactation consultant. Unnecessarily restricting your diet can make breastfeeding less sustainable and may reduce your own nutritional intake.
How to Tell If Gas Is Causing Pain
Gas itself isn't always painful. Here's how to distinguish normal gassiness from gassy discomfort:
- Normal gassy baby: Passes gas easily, may have a firm belly, but is generally content, feeds well, and gains weight normally
- Gassy with discomfort: Pulls up legs, arches back, cries in a high-pitched way after feeding, difficulty being consoled, significant belly distension
How to Help a Gassy Baby
These strategies have the best evidence for reducing infant gas:
Burping Technique
- Burp frequently โ every 2โ3 oz during bottle feeding, and when switching breasts during nursing
- Try multiple positions: over the shoulder, sitting upright, face-down across the lap
- Be patient โ some babies take several minutes to burp
Feeding Adjustments
- Breastfeeding: Ensure a deep latch to minimize swallowed air; if you have fast letdown, try laid-back breastfeeding positions
- Bottle-feeding: Use a slow-flow nipple and tilt the bottle to keep the nipple full of milk (not air); consider anti-colic bottles
Movement and Massage
- Bicycle legs: Gently move your baby's legs in a cycling motion while they lie on their back; helps move gas through the bowel
- Tummy time: Supervised tummy time when baby is awake applies gentle pressure to the abdomen and can help move gas
- Abdominal massage: Using the pad of your finger, gently massage in a clockwise direction around the navel
- Warm bath: Warm water can help relax abdominal muscles and ease discomfort
When to Call Your Pediatrician
Contact your pediatrician if gassiness is accompanied by:
- Fever over 100.4ยฐF (38ยฐC) in a baby under 3 months
- Blood or mucus in stool
- Forceful or projectile vomiting
- Significant decrease in wet diapers (possible dehydration)
- Failure to gain weight or significant weight loss
- Inconsolable crying lasting more than 3 hours (possible colic)
- Severe abdominal distension (bloated belly that is hard to the touch)
Frequently Asked Questions
Is it normal for babies to be gassy?
Yes. Gas is extremely common in babies. Gassiness is rarely a sign of a serious problem unless accompanied by fever, blood in stool, severe vomiting, or weight loss.
Can a breastfeeding mother's diet cause gas in babies?
The evidence is limited. Most gassiness in breastfed babies is from the baby's own developing gut, not the mother's diet. Don't eliminate foods from your diet without consulting your pediatrician or lactation consultant.
What can I do to relieve gas in my baby?
Effective strategies include frequent burping, bicycle legs, tummy time, gentle abdominal massage, and ensuring a good feeding latch. For bottle-fed babies, consider anti-colic bottles.
When should I be concerned about a gassy baby?
Contact your pediatrician if gas is accompanied by fever, blood in stool, forceful vomiting, poor weight gain, or inconsolable crying lasting more than 3 hours.
Do gas drops work for babies?
Simethicone (Mylicon, Infacol) is generally safe but evidence of effectiveness is mixed. Talk to your pediatrician before using gas drops regularly.
For related reading, see our guides on foods that help with baby constipation and best first foods for baby.
This article is for informational purposes only and does not constitute medical advice. Always consult your pediatrician about your baby's digestive health. Sources: AAP HealthyChildren.org, CDC Infant and Toddler Nutrition.