The most effective way to reduce gas from pinto beans is to soak them before cooking and discard the soaking water. This single step can cut the main gas-causing sugars by 25 to 42 percent, depending on the type. A few additional techniques, from longer cooking times to a pinch of baking soda, can reduce gas even further.
Why Pinto Beans Cause Gas
Pinto beans are rich in a group of complex sugars called raffinose family oligosaccharides. These sugars, primarily raffinose and stachyose, are found in high concentrations in most legumes. The human digestive system simply doesn’t produce the enzyme needed to break them down. They pass through your stomach and small intestine completely intact, arriving in your large intestine undigested.
Once there, the bacteria in your colon feast on these sugars through fermentation. The byproducts of that fermentation are hydrogen, carbon dioxide, and methane, the three main components of intestinal gas. This is a purely mechanical problem: your gut bacteria are doing the digesting your body can’t, and gas is the inevitable result. The goal of every degassing technique is to get those sugars out of the beans before they reach your colon.
Soak and Discard the Water
Soaking is the foundation of every bean degassing strategy. When dried pinto beans sit in water, their cell membranes begin to break down, releasing oligosaccharides into the surrounding liquid. Draining that water and rinsing the beans before cooking removes a significant portion of the gas-producing sugars along with it.
A study on common beans found that soaking before cooking and then discarding the soak water reduced raffinose content by 25 percent, stachyose by about 25 percent, and verbascose (a related sugar) by nearly 42 percent. Those are meaningful reductions from a simple overnight soak. The key detail: you must throw out the soaking water. Cooking beans in their soak water puts those sugars right back into the pot.
For a standard overnight soak, cover your pinto beans with several inches of cold water and let them sit for 8 to 12 hours, or overnight. Drain, rinse thoroughly, and cook in fresh water. If you’re short on time, a quick soak works too: bring the beans to a boil for two to three minutes, then remove from heat and let them sit covered for one hour. That initial boiling accelerates the breakdown of cell membranes and speeds the release of oligosaccharides into the water. Drain, rinse, and proceed with fresh water.
Add a Pinch of Baking Soda
Adding a small amount of baking soda to your soaking water creates a mildly alkaline environment that further breaks down gas-producing sugars. Research found that roughly 1/16 teaspoon of baking soda per quart of soaking water significantly decreases raffinose family sugars beyond what soaking alone achieves.
That’s a very small amount, about a pinch. More is not better here. Too much baking soda can give beans a soapy taste and mushy texture, and it may destroy some B vitamins. Stick to the minimum. Add the pinch to your soaking water, let the beans soak as usual, then drain, rinse well, and cook in fresh water with no additional baking soda.
Cook Them Longer
Undercooked beans are harder to digest and more likely to cause gas. The longer and more thoroughly you cook pinto beans, the more their complex sugars and starches break down. Softer beans are genuinely more digestible. If your beans still have any firmness or graininess in the center, they need more time.
One practical tip: avoid adding acidic ingredients like tomatoes, vinegar, or molasses until the beans are fully tender. Acids prevent legumes from softening, which means they’ll stay tougher and less digestible no matter how long you continue cooking. Get the beans completely soft first, then add your acidic ingredients for the final stage of cooking.
Change the Water Mid-Cook
For maximum gas reduction, you can take the water-discarding approach one step further. After soaking and draining, bring the beans to a boil in fresh water, cook for 30 minutes, then drain and replace the water again before finishing. Each water change pulls out additional dissolved oligosaccharides. This is the most aggressive approach and will produce the mildest beans, though you’ll also lose some flavor and nutrients into each batch of discarded water. It’s a tradeoff, but for people who are especially sensitive, it works.
Build Up Your Tolerance Gradually
Your gut bacteria adapt to what you eat regularly. People who eat beans infrequently tend to experience more gas because their colon bacteria aren’t accustomed to processing oligosaccharides efficiently. If you start eating pinto beans in small portions a few times a week, your digestive system gradually adjusts and gas production typically decreases over several weeks.
Start with half-cup servings and increase from there. This isn’t just anecdotal. The oligosaccharides in beans actually function as prebiotics, feeding beneficial bacteria in your colon. Over time, a more adapted bacterial population processes these sugars with less gas as a byproduct.
Combining Methods for Best Results
No single technique eliminates bean gas entirely, but stacking several together gets you close. The most effective routine looks like this:
- Soak overnight in plenty of water with a pinch of baking soda
- Drain and rinse thoroughly, discarding all soaking liquid
- Cook in fresh water until the beans are completely soft with no resistance in the center
- Hold acidic ingredients until the beans are fully tender
- Eat beans regularly in moderate portions to let your gut adapt
Canned pinto beans, for what it’s worth, have already been soaked and cooked at high temperatures during processing. Draining and rinsing canned beans removes the oligosaccharide-rich packing liquid and can noticeably reduce gas compared to eating them straight from the can. If you’re using canned beans, always drain and rinse before adding them to your recipe.

