Galacto-oligosaccharides (GOS): beans, lentils and IBS
Updated 13 October 2026 · IBS Food Map guides · 11 sources
Not medical advice. IBS symptoms overlap with coeliac disease, inflammatory bowel disease and bowel cancer. See a doctor to get IBS diagnosed before changing your diet, and do the low-FODMAP diet with a registered dietitian if you can.
- GOS (mainly raffinose and stachyose) are short sugar chains that the small intestine cannot digest, so they are fermented in the colon. 1,2
- Pulses such as beans, lentils and chickpeas are the main dietary source of GOS. 3,4
- Canning lowered the FODMAP content of plant foods in a laboratory study, because GOS dissolve into the canning liquid. 5
- In a controlled trial, an alpha-galactosidase enzyme taken with high-GOS meals reduced symptoms in people with IBS who were sensitive to GOS. 2
- Pulses are valuable sources of protein and fibre, so reintroduction is especially important for vegetarians and vegans. 6
Galacto-oligosaccharides, usually shortened to GOS, are the second type of "O" (oligosaccharide) in FODMAP, alongside fructans. If beans give you wind, GOS are the reason. This guide explains what they are, where they are found and the practical options that can make pulses easier to eat.
What GOS are
The GOS found naturally in food are mainly raffinose and stachyose: short chains made of galactose, glucose and fructose units 1,3. Breaking the bond that holds the galactose units in place needs an enzyme called alpha-galactosidase, which the human small intestine does not make. As a result, GOS pass undigested into the colon, where bacteria ferment them and produce gas 2. As with fructans, this happens in everyone; the difference in IBS lies in how the bowel responds to the gas 7.
Where GOS are found
- Pulses. In an analysis of 55 grains, cereals, breads, pulses and biscuits, raffinose and stachyose were most common in pulses 3. Beans and lentils appear in public lists of FODMAP-containing foods 4. See beans, lentils and chickpeas.
- Some vegetables. Raffinose and/or stachyose were measured in 7 of 45 vegetables tested 1.
- Plant-based products. Products made from pulses, such as some meat alternatives and plant milks, can carry GOS with them, and processing can change the amount 5. See vegetarian and vegan low-FODMAP eating.
- Supplements and fortified foods. Some prebiotic supplements and fortified products contain added galacto-oligosaccharides. Check the ingredients list if you use them.
Why GOS can trigger symptoms
A carefully designed trial in Australia gave people with IBS a low-FODMAP diet for three days and then meals high in GOS but low in other FODMAPs. Overall symptoms rose significantly, and two-thirds of the participants (21 of 31) met the study's definition of GOS sensitivity 2. The typical complaints are wind, bloating and abdominal discomfort, which fits with fermentation in the colon acting on a sensitive bowel 7,8.
Public health advice reflects this: the NHS suggests that people troubled by bloating and wind may find it helps to avoid foods that are hard to digest, naming beans among them 9.
Practical ways to manage GOS
Canned and rinsed pulses
GOS dissolve in water. A laboratory study of plant-based foods found that canning and pickling produced the largest reductions in FODMAP content, as the carbohydrates move into the surrounding liquid 5. Draining and rinsing canned pulses, and not using the liquid, follows the same logic. Canned pulses are not FODMAP-free, though, and the amount you eat still matters (see serving size and FODMAP stacking).
Soaking and cooking dried pulses
Soaking and boiling dried pulses, then discarding the water, is based on the same principle, since GOS move into the water. How much is removed varies with the type of pulse and the method, so treat home-cooked pulses as something to test rather than as guaranteed to be lower.
Alpha-galactosidase enzymes
Alpha-galactosidase is sold over the counter as a digestive enzyme. In a randomised, double-blind, placebo-controlled crossover trial, taking the enzyme with high-GOS meals significantly reduced overall symptoms and bloating in people with IBS who were sensitive to GOS 2. The researchers suggested it could be used alongside the low-FODMAP diet to improve tolerance of high-GOS foods. It does not help with other FODMAP groups. Ask a pharmacist or your dietitian whether it is suitable for you and how to take it.
GOS in elimination and reintroduction
During the elimination phase, larger portions of pulses are usually swapped for other protein sources, with smaller amounts of canned and rinsed pulses where a dietitian advises 10. If symptoms improve, GOS are tested as a separate challenge in the reintroduction phase, starting with a small portion of one type of pulse and increasing it over a few days.
This matters most for people who rely on pulses for protein. Specialist dietitians point out that people following both a vegetarian or vegan diet and a low-FODMAP diet face extra challenges, and that reintroduction is key to keeping the diet varied and nutritionally adequate 6. See vegetarian and vegan low-FODMAP eating.
Pulses are also a good source of soluble fibre, which can help constipation; the NHS lists pulses among foods that provide it 9. Long-term avoidance is rarely necessary and makes a healthy diet harder 11.
Common questions
Why do beans cause more wind than most foods?
Pulses are the main source of GOS (raffinose and stachyose), which the small intestine cannot digest. Bacteria in the colon ferment them and produce gas. 3,2
Do enzyme tablets let me eat beans freely?
In one trial, alpha-galactosidase taken with high-GOS meals reduced symptoms in GOS-sensitive people with IBS. It may improve tolerance, but it only acts on GOS and is not a licence for unlimited portions. 2
Are canned beans lower in FODMAPs than dried?
A laboratory study found canning lowered FODMAP content because GOS move into the liquid. Drain and rinse them, and keep an eye on portion size. 5
Sources
- Muir JG, Rose R, Rosella O, et al. Measurement of short-chain carbohydrates in common Australian vegetables and fruits by high-performance liquid chromatography (HPLC). J Agric Food Chem. 2009;57(2):554-565. doi.org
- Tuck CJ, Taylor KM, Gibson PR, Barrett JS, Muir JG. Increasing symptoms in irritable bowel symptoms with ingestion of galacto-oligosaccharides are mitigated by α-galactosidase treatment. Am J Gastroenterol. 2018;113(1):124-134. doi.org
- Biesiekierski JR, Rosella O, Rose R, et al. Quantification of fructans, galacto-oligosacharides and other short-chain carbohydrates in processed grains and cereals. J Hum Nutr Diet. 2011;24(2):154-176. doi.org
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). Eating, diet, and nutrition for irritable bowel syndrome. niddk.nih.gov
- Tuck C, Ly E, Bogatyrev A, et al. Fermentable short chain carbohydrate (FODMAP) content of common plant-based foods and processed foods suitable for vegetarian- and vegan-based eating patterns. J Hum Nutr Diet. 2018;31(3):422-435. doi.org
- Tuck C, Barrett J. Re-challenging FODMAPs: the low FODMAP diet phase two. J Gastroenterol Hepatol. 2017;32(Suppl 1):11-15. doi.org
- Major G, Pritchard S, Murray K, et al. Colon hypersensitivity to distension, rather than excessive gas production, produces carbohydrate-related symptoms in individuals with irritable bowel syndrome. Gastroenterology. 2017;152(1):124-133. doi.org
- Barrett JS, Gibson PR. Fermentable oligosaccharides, disaccharides, monosaccharides and polyols (FODMAPs) and nonallergic food intolerance: FODMAPs or food chemicals? Therap Adv Gastroenterol. 2012;5(4):261-268. doi.org
- NHS. Diet, lifestyle and medicines for IBS. nhs.uk
- Whelan K, Martin LD, Staudacher HM, Lomer MCE. The low FODMAP diet in the management of irritable bowel syndrome: an evidence-based review of FODMAP restriction, reintroduction and personalisation in clinical practice. J Hum Nutr Diet. 2018;31(2):239-255. doi.org
- Halmos EP, Gibson PR. Controversies and reality of the FODMAP diet for patients with irritable bowel syndrome. J Gastroenterol Hepatol. 2019;34(7):1134-1142. doi.org