Why Does Broccoli Give You Gas but Not Spinach?
The raffinose content in cruciferous vegetables explains why some greens cause more gas than others.
Written by Ration Editorial Team · Updated July 20, 2026
Key takeaways
- Broccoli contains sulfur compounds and fermentable fibers that gut bacteria break down into gas, while spinach has much less of these.
- Sulfur compounds in cruciferous vegetables may release hydrogen sulfide gas, which has a distinct smell and has been studied for effects on blood pressure.[2]
- High-fiber diets support a healthy gut microbiota, and research in animal models links this to broader health benefits beyond digestion.[1]
- The evidence directly linking raffinose or sulfur compounds to gas is thin. Much of what we know comes from broader nutrition and plant science research, not gas-focused human trials.
Why does broccoli cause more gas than spinach?
Broccoli tends to cause more gas than spinach because of the types of carbohydrates and sulfur compounds it contains.
Broccoli is a cruciferous vegetable, like cabbage, kale, and Brussels sprouts, and these plants carry compounds that your gut bacteria break down in ways that release gas.
Spinach has a much gentler effect on digestion. It contains less of the hard-to-digest fiber and sulfur compounds that fuel gas production in your gut.
What is raffinose and why does it matter?
Raffinose is a type of sugar found in many vegetables. Your small intestine cannot break it down, because it lacks the enzyme needed to split it apart.
Instead, raffinose travels to your large intestine. There, gut bacteria ferment it.
This fermentation process produces gases like hydrogen, carbon dioxide, and sometimes methane. This is a normal part of digestion, but it can lead to bloating or flatulence.
Cruciferous vegetables like broccoli tend to have higher amounts of raffinose and related fibers compared to leafy greens like spinach.
This difference in carbohydrate content is one reason broccoli has a bigger reputation for causing gas.
Do sulfur compounds play a role too?
Broccoli and other cruciferous vegetables contain sulfur-based compounds called glucosinolates. When you chew or digest these vegetables, your body breaks glucosinolates down into other sulfur compounds.
Research has looked at these sulfur compounds mainly for their potential role in cancer prevention, not digestion.
One study found that sulfur-containing compounds in cruciferous vegetables may have anticancer properties, working through several biological pathways.[3]
Separately, some of these sulfur compounds can be converted into hydrogen sulfide gas in the body. Hydrogen sulfide has been studied for its role in blood vessel function and blood pressure regulation.[2]
Hydrogen sulfide has a strong smell, similar to rotten eggs. This may explain why gas from broccoli sometimes has a noticeably stronger odor than gas from other vegetables.
It's worth noting that this research on hydrogen sulfide focuses on cardiovascular health, not digestion or gas directly. The link to flatulence odor is a reasonable inference, not something these studies set out to prove.
Why doesn't spinach cause the same problem?
Spinach is a leafy green, not a cruciferous vegetable. It has a different nutritional profile.
Spinach contains much lower amounts of raffinose family sugars and glucosinolates compared to broccoli. With less fermentable material reaching your large intestine, your gut bacteria produce less gas.
Spinach does still contain fiber, and any high-fiber food can contribute to some gas, especially if your gut isn't used to it. But the effect tends to be much milder than with broccoli or other cruciferous vegetables.
Is gas from vegetables a bad sign?
Gas from vegetables is usually a normal sign that your gut bacteria are doing their job. Fiber fermentation feeds beneficial bacteria in your colon, and this process is considered a healthy part of digestion.
Diets high in fiber, including from vegetables like broccoli, have been studied for their broader effects on gut microbiota.
In one study using an animal model, a diet combining high fiber and high fat supported healthier outcomes for offspring, in part through changes in gut bacteria signaling to the brain.[1]
This research is still early and was conducted in animals, not people. But it points to fiber-rich vegetables playing a bigger role in gut health than just causing gas.
If gas from vegetables is uncomfortable, cooking broccoli thoroughly, eating smaller portions, or introducing fiber gradually may help your gut adjust over time.
What foods are similar to broccoli for gas?
Several vegetables share broccoli's tendency to cause gas, mainly because they belong to the same plant family or contain similar compounds.
- Cabbage
- Cauliflower
- Brussels sprouts
- Kale
- Beans and lentils, which are especially high in raffinose
- Onions and garlic, which also contain sulfur compounds
Foods that tend to be gentler on digestion, similar to spinach, include:
- Lettuce
- Cucumber
- Zucchini
- Most leafy greens
The bottom line
Broccoli causes more gas than spinach mainly because of its raffinose content and sulfur compounds, both of which your gut bacteria ferment or break down in ways that release gas.
Much of the direct science connecting these compounds to gas production is still limited. Researchers have studied sulfur compounds more for cancer and cardiovascular effects than for digestion.[3][2]
Fiber-rich vegetables, including broccoli, appear to support a healthy gut microbiota overall, based on early research in animal models.[1] Occasional gas is generally a normal, harmless part of eating a fiber-rich diet.
Sources
- Don't Worry, Heavy Moms; Just Eat Your Broccoli(or Kimchi)! Co-diet of high-fiber and high-fat helps give birth to healthy offspring through gut microbiota-to-brain signaling · PMID 34140427
- Potential Effects of Natural H(2)S-Donors in Hypertension Management · PMID 35454169
- Anticancer Mechanism of Sulfur-Containing Compounds · PMID 26298460