Broccoli can absolutely cause diarrhea, and it does so more often than most people realize. The usual culprits are its high fiber content, a group of fermentable sugars called raffinose family oligosaccharides, and sulfur-containing compounds that produce gas and irritate the gut lining. For most people the result is mild and temporary, but the severity depends on how much you eat, how it’s prepared, and whether you have an underlying digestive condition that makes cruciferous vegetables harder to handle.
Fiber and How It Speeds Things Along
A single cup of cooked broccoli delivers roughly 5 grams of fiber, a mix of soluble and insoluble types. Insoluble fiber adds bulk to stool and physically pushes material through the intestines faster. That’s a good thing when your diet is otherwise low in fiber, but if you eat a large serving of broccoli on top of an already fiber-rich meal, the extra bulk can overwhelm your colon’s ability to absorb water. The result is loose, watery stool that moves through faster than normal.
Soluble fiber, meanwhile, forms a gel-like substance in the gut that bacteria love to ferment. That fermentation produces short-chain fatty acids and gas. The short-chain fatty acids are generally beneficial, but in large quantities they draw water into the colon through osmosis, which loosens stool further. People who suddenly add a lot of broccoli to a low-fiber diet tend to notice this more than those who eat it regularly, because their gut bacteria haven’t yet adjusted to the increased workload.
Raffinose and Other Fermentable Sugars
Broccoli contains raffinose family oligosaccharides (RFOs), a group of complex sugars that humans cannot digest on their own. We lack the enzyme alpha-galactosidase in our small intestine, so these sugars pass intact into the colon, where bacteria feast on them. The fermentation produces carbon dioxide, hydrogen, and methane, which is why broccoli is so reliably associated with flatulence. RFOs are formally classified as anti-nutritional factors precisely because of these gas-producing effects.1PubMed Central. Raffinose Family Oligosaccharides: Friend or Foe for Human and Plant Health?
Gas alone doesn’t equal diarrhea, but in sensitive individuals, the rapid fermentation of RFOs pulls extra water into the large intestine through the same osmotic mechanism that makes other poorly absorbed sugars problematic. If enough water accumulates, stool becomes liquid. The effect is dose-dependent: a few florets might produce some bloating, while a heaping plate of broccoli stir-fry could push things into outright diarrhea, especially if you’re also eating other high-RFO foods like beans, lentils, or cabbage in the same meal.
Sulfur Compounds and Hydrogen Sulfide
Broccoli belongs to the Brassicaceae family, a group of vegetables rich in sulfur-containing compounds called glucosinolates. These are the molecules responsible for broccoli’s slightly bitter, peppery taste. When you chew or digest broccoli, glucosinolates break down into various byproducts, some of which are processed by sulfate-reducing bacteria in the colon. The end product of that bacterial metabolism is hydrogen sulfide, the gas that smells like rotten eggs.
Hydrogen sulfide isn’t just unpleasant to smell. At high concentrations in the gut, it can be directly toxic to the cells lining the colon. It lowers local pH and disrupts the normal balance of intestinal bacteria, which can impair the colon’s ability to absorb water and electrolytes properly.2PubMed Central. Hydrogen sulfide toxicity in the gut environment: Meta-analysis of sulfate-reducing and lactic acid bacteria in inflammatory processes For people who already have an abundance of sulfate-reducing bacteria in their gut, a big serving of broccoli can tip the hydrogen sulfide balance into territory that produces cramping and loose stools. This also explains why some people tolerate broccoli fine most of the time but have trouble with it during periods of digestive stress, when the gut bacterial landscape has shifted.
Raw Versus Cooked Makes a Real Difference
If raw broccoli seems to bother your stomach more than cooked broccoli, you’re not imagining it. Raw broccoli retains all of its intact fiber structure, which is tougher for the stomach and small intestine to break down mechanically. That means more undigested material reaches the colon, giving bacteria more to ferment. Cooking softens the cell walls, partially breaks down some of the fiber, and makes the vegetable easier to digest higher up in the gastrointestinal tract before it reaches the gas-producing bacteria below.
The cooking method matters too. Steaming preserves more of broccoli’s glucosinolates and related bioactive compounds compared to boiling or microwaving, which cause those compounds to leach into the cooking water.3Food Chemistry. Cooking method significantly effects glucosinolate content and sulforaphane production in broccoli florets That’s a trade-off. If your goal is maximizing the health benefits of broccoli’s sulfur compounds, steaming is better. But if those sulfur compounds are contributing to your digestive distress, boiling might actually be gentler on your gut because it washes more of them away. Steam cooking also improves broccoli’s ability to bind bile acids in the gut, which has cholesterol-lowering potential but can contribute to looser stools in some people, since bile acids that escape reabsorption act as natural laxatives in the colon.4PubMed. Steam cooking significantly improves in vitro bile acid binding of collard greens, kale, mustard greens, broccoli, green bell pepper, and cabbage
So the irony is that the “healthiest” preparation method can sometimes be the one most likely to upset your stomach. For people who are having real trouble, boiling broccoli and discarding the cooking water removes a meaningful portion of both the glucosinolates and the water-soluble RFOs, making the vegetable much milder on the gut.
When an Underlying Condition Is the Real Culprit
For some people, broccoli isn’t really the problem; it’s just the trigger that exposes an existing digestive issue. Irritable bowel syndrome (IBS) is the most common example. People with IBS, particularly the diarrhea-predominant subtype, are hypersensitive to fermentable carbohydrates. Broccoli lands squarely on the moderate-to-high end of the FODMAP scale, so even a modest portion can provoke symptoms in someone whose gut is already primed to overreact. Many gastroenterologists recommend a low-FODMAP elimination diet that temporarily removes broccoli, then reintroduces it gradually to find the threshold a person can tolerate.
Small intestinal bacterial overgrowth (SIBO) is another condition worth knowing about. In SIBO, bacteria that normally live in the colon have colonized the small intestine, where they ferment food prematurely. Patients with SIBO can present with chronic diarrhea, bloating, weight loss, and malabsorption.5PubMed Central. Small intestinal bacterial overgrowth: a comprehensive review High-fiber, high-sulfur vegetables like broccoli feed those misplaced bacteria generously, producing gas and diarrhea higher up in the digestive tract than usual. If broccoli reliably gives you explosive symptoms within an hour or two of eating it, rather than the delayed bloating most people experience, SIBO is worth discussing with a doctor.
Inflammatory bowel disease (IBD), including Crohn’s disease and ulcerative colitis, adds another wrinkle. During a flare, the inflamed gut lining has difficulty handling any high-fiber food, and broccoli’s roughage can physically irritate damaged tissue. Interestingly, research suggests that glucosinolates and their breakdown products may actually have anti-inflammatory and gut-barrier-restoring effects over the longer term.6PubMed Central. The Effects of Interventions with Glucosinolates and Their Metabolites in Cruciferous Vegetables on Inflammatory Bowel Disease: A Review That creates a frustrating situation: the very food that might help heal the gut in remission can make symptoms worse during active inflammation.
Less Obvious Sensitivities to Broccoli
Beyond fiber and fermentable sugars, a couple of rarer sensitivities can make broccoli a digestive problem. One is salicylate intolerance. Broccoli contains natural salicylates, the same family of compounds found in aspirin. People with salicylate intolerance react to these substances with a range of symptoms including chronic gastrointestinal irritation and, in some cases, diarrhea.7Deutsches Ärzteblatt International. Salicylate Intolerance: Pathophysiology, Clinical Spectrum, Diagnosis and Treatment If you notice digestive problems not just with broccoli but also with tomatoes, berries, herbs, and spices, salicylate intolerance is a possibility worth exploring. The condition is often missed because the offending foods seem to have nothing else in common.
True allergy to broccoli is rare but not impossible. Broccoli is a member of the Brassicaceae family, which includes mustard, cabbage, cauliflower, and kale. Research on mustard allergy has found that nearly all patients with confirmed mustard hypersensitivity also showed sensitization to other members of the Brassicaceae family, with cross-reactivity confirmed through laboratory testing.8PubMed Central. Mustard allergy confirmed by double-blind placebo-controlled food challenges: clinical features and cross-reactivity with mugwort pollen and plant-derived foods There was also a strong association with mugwort pollen sensitization. So if you have a known mustard allergy or get seasonal symptoms from mugwort pollen, your body may react to broccoli proteins as well, and gastrointestinal symptoms like cramping and diarrhea are part of that allergic picture.
How Broccoli Reshapes Your Gut Bacteria
One reason broccoli’s digestive effects tend to diminish over time is that regular consumption actually changes the composition of your gut microbiome. A controlled feeding study found that after a period of daily broccoli consumption, participants experienced a shift in their gut bacteria: Bacteroidetes (a large group of bacteria involved in breaking down complex plant fibers) increased by about 10%, while Firmicutes decreased by about 8%. The overall ratio between these two major bacterial groups shifted by roughly 37% compared to baseline.9PubMed Central. Broccoli consumption affects the human gastrointestinal microbiota
What that means in practical terms is that your gut bacteria gradually become better equipped to handle the fibers and sugars in broccoli. The bacteria that thrive on plant-based fibers multiply, and fermentation becomes more efficient, which typically means less gas and less osmotic water draw over time. This is why nutritionists often recommend introducing broccoli gradually rather than going from zero to a heaping plate overnight. Give your gut bacteria a week or two to adjust, and the diarrhea and bloating often resolve on their own.
Practical Ways to Reduce the Trouble
If you like broccoli and want to keep eating it without the digestive aftermath, several strategies actually have evidence behind them. Cooking is the simplest. As mentioned earlier, boiling strips away a good portion of the compounds that cause problems, while steaming offers a middle ground. Even just blanching broccoli for two or three minutes before adding it to a salad softens the fiber enough to make a noticeable difference for many people.
Alpha-galactosidase supplements, sold under brand names like Beano, provide the enzyme your body lacks for breaking down raffinose family oligosaccharides. A double-blind crossover study found that taking alpha-galactosidase before a meal containing these sugars significantly reduced the number of flatulence events over the following hours compared to a placebo, though it did not significantly reduce bloating or pain.10PubMed. Does Beano prevent gas? A double-blind crossover study of oral alpha-galactosidase to treat dietary oligosaccharide intolerance If gas is your primary symptom, these supplements are worth trying. If diarrhea is the bigger issue, they may help by reducing the total amount of undigested sugar reaching the colon, but they won’t address fiber-related or sulfur-related mechanisms.
Portion control sounds obvious, but it’s genuinely the most reliable lever. Most people can handle a modest side of broccoli without problems; it’s the large servings, especially combined with other high-fiber or high-FODMAP foods in the same meal, that push the gut past its comfort zone. Spreading your broccoli intake across multiple meals rather than eating it all in one sitting reduces the fermentation load at any given time.
Pairing broccoli with other foods can help too. Eating it alongside protein and fat slows gastric emptying, which gives the small intestine more time to work on the digestible components before the remainder hits the colon. A piece of broccoli eaten with chicken and olive oil will generally cause less trouble than the same amount of broccoli eaten as a standalone snack on an empty stomach.
When Broccoli Sprouts Are a Special Case
Broccoli sprouts deserve a separate mention because they’ve become popular as a concentrated source of sulforaphane, a compound with well-documented antioxidant properties. Sprouts contain far higher concentrations of glucosinolates per gram than mature broccoli florets, sometimes ten to a hundred times more. That concentrated dose means the sulfur-related digestive effects are amplified as well. People who tolerate cooked broccoli perfectly well sometimes find that a handful of raw sprouts gives them gas, cramps, or diarrhea.
Sprouts also carry a food safety consideration that mature broccoli generally doesn’t. Because they’re grown in warm, humid conditions and usually eaten raw, sprouts of all kinds are associated with a higher risk of bacterial contamination. If you develop diarrhea within 12 to 72 hours of eating raw broccoli sprouts and it’s accompanied by fever, vomiting, or bloody stool, that pattern looks more like foodborne illness than a fiber or FODMAP reaction. The garden-variety digestive upset from broccoli’s natural compounds tends to be milder and starts sooner, usually within a few hours.
For people who want the health benefits of sprouts without the digestive gamble, lightly steaming them for just a minute or two can reduce both the glucosinolate concentration and the microbial risk while still retaining a meaningful amount of sulforaphane. It’s not a perfect solution, but it’s a reasonable compromise for sensitive stomachs.