Why Do Pinto Beans Give You Gas and How to Stop It

Pinto beans cause gas because they contain sugars your body literally cannot digest. These sugars, called raffinose-family oligosaccharides, pass through your stomach and small intestine completely intact and land in your colon, where bacteria feast on them and produce gas as a byproduct. A single cup of cooked pinto beans packs over 15 grams of fiber along with these undigestible sugars, making them one of the more gas-producing legumes you can eat.

The Sugars Your Body Can’t Break Down

Your small intestine is missing a specific enzyme needed to split apart a group of complex sugars found in beans. The dominant one is stachyose, which makes up roughly 88% of these sugars in dry beans. Raffinose accounts for about 10%, with trace amounts of a third sugar called verbascose. In pinto beans, these sugars collectively represent between 2.4% and 6% of the bean’s dry weight, depending on the variety and growing conditions.

Because you lack the enzyme to digest them, these sugars arrive in your large intestine fully intact. That’s where trillions of gut bacteria take over. They ferment these sugars as fuel, and fermentation produces three main gases: carbon dioxide, hydrogen, and methane. In vitro research comparing pinto beans to oats found that pinto beans generated significantly more gas and more short-chain fatty acids during fermentation, which also lowered the pH of the gut environment. This is the same basic process that happens inside you after a bowl of pinto beans.

Fiber Adds to the Effect

The oligosaccharides aren’t the only culprit. One cup of cooked pinto beans contains about 15.4 grams of total dietary fiber, a mix of soluble and insoluble types. Soluble fiber dissolves in water and forms a gel that slows digestion, while insoluble fiber adds bulk and moves things along. Both types resist digestion in the upper gut, so they also end up feeding bacteria in the colon.

On top of that, cooking method affects how much of the bean’s starch resists digestion. Pressure cooking, for instance, tends to create higher levels of resistant starch compared to regular boiling. Resistant starch behaves a lot like fiber: it escapes digestion in the small intestine, reaches the colon, and gets fermented into gas and short-chain fatty acids. So a pressure-cooked pot of pinto beans may actually produce slightly more gas than one simmered on the stovetop, even though both cooking methods reduce other anti-nutritional compounds.

Why Pinto Beans Are Worse Than Some Other Legumes

Not all beans are equally gassy. Research from the Cleveland Clinic suggests pinto beans and baked beans tend to produce more gas than other varieties, while black-eyed peas are among the least problematic. The difference comes down to oligosaccharide concentration, which varies significantly between species and even between cultivars of the same species. Field-grown bean samples show total oligosaccharide levels ranging from 3.5% to 6% of dry weight, a wide enough spread that choosing a different variety can meaningfully change your experience.

How to Reduce Gas From Pinto Beans

Soak and Discard the Water

The simplest technique is also one of the most effective. Soaking pinto beans before cooking, then discarding the soaking water, reduces raffinose by about 25% and stachyose by about 25%. Verbascose drops even more, by roughly 42%. Total sugars in the beans fall by over 80% when you throw out the soaking liquid. This works because oligosaccharides are water-soluble, so they leach out of the beans over time. An overnight soak of 8 to 12 hours in plenty of water gives the best results. The key step most people skip is dumping that water and using fresh water to cook.

Canning Helps Too

Multi-environment research on dry bean varieties found that canning reduces oligosaccharide content compared to raw dried beans. The combination of soaking, high heat, and the liquid exchange during the canning process pulls out a meaningful portion of these sugars. If you’re buying canned pinto beans and rinsing them before use, you’re already ahead of someone cooking dried beans without a soak.

Enzyme Supplements

Over-the-counter products like Beano contain an enzyme called alpha-galactosidase, derived from a common mold. This is the exact enzyme your body is missing. When you take it with your first bite of beans, it works in your upper digestive tract to break apart the oligosaccharides before they reach the colon. With less undigested sugar arriving in the large intestine, bacteria have less to ferment, and you produce less gas. A randomized, double-blind trial in 52 patients found the enzyme effective at reducing gas-related symptoms compared to placebo over a two-week period.

Build Up Gradually

Your gut microbiome adapts. People who eat beans regularly tend to produce less gas from them over time, because the bacterial population shifts toward species that ferment oligosaccharides more efficiently and produce less gas in the process. If you’re adding pinto beans back into your diet, start with smaller portions (a quarter cup) a few times per week and increase over several weeks. This gives your gut bacteria time to adjust without overwhelming your system.

The Gas Is Actually a Sign of Something Good

The short-chain fatty acids produced alongside all that gas are genuinely beneficial. They feed the cells lining your colon, reduce inflammation, and support a healthier gut microbiome. The fermentation that causes bloating is the same process that makes beans one of the most consistently health-promoting foods in nutrition research. The goal isn’t to eliminate fermentation entirely, just to manage it so you’re comfortable enough to keep eating beans regularly.