The most effective foods for constipation are those rich in fiber, natural sorbitol, or magnesium, all of which help move stool through your digestive tract. Adults need between 22 and 34 grams of fiber per day depending on age and sex, and most people fall well short of that. Adding the right combination of fruits, vegetables, legumes, and seeds can make a noticeable difference in how often and how comfortably you go.
Why Fiber Works (and Why Type Matters)
Not all fiber helps constipation equally. There are two broad categories, and they work through completely different mechanisms in your gut.
Soluble fiber dissolves in water and forms a gel. The best type for constipation is soluble fiber that resists fermentation, like psyllium husk. Because it holds onto water even as it moves through your large intestine, it keeps stool soft and hydrated. This prevents the hard, dry stools that are painful to pass.
Insoluble fiber doesn’t dissolve in water. Large, coarse particles (like those in wheat bran) mildly irritate the intestinal lining, which triggers the release of water and mucus into the colon. That extra fluid makes stool easier to move. One important caveat: finely ground insoluble fiber, like processed wheat bran powder, can actually make constipation worse by adding bulk without adding moisture. If you’re eating bran for constipation, choose coarse, flaky bran rather than finely milled versions.
Prunes: The Gold Standard
Prunes consistently outperform other remedies in clinical comparisons, and the reason goes beyond fiber. Every 100 grams of prunes (roughly 10 prunes) contains about 15 grams of sorbitol, a sugar alcohol your body absorbs slowly. Sorbitol draws water into the intestines, creating a natural laxative effect. Prunes also pack 184 milligrams of polyphenol antioxidants per 100 grams, which may further stimulate bowel activity.
If you don’t enjoy eating whole prunes, prune juice retains much of the sorbitol content. Start with a small glass and give it a few hours to work.
Kiwifruit Rivals Fiber Supplements
Green kiwifruit has some of the strongest clinical evidence of any whole food for constipation. In a large international trial, eating two green kiwifruits daily increased complete bowel movements by 1.53 to 1.73 per week, significantly outperforming 7.5 grams of psyllium husk (a standard fiber supplement dose). Both contained about 6 grams of fiber, so the kiwi’s advantage comes from something extra.
Kiwifruit cell walls have an unusually high capacity to swell and hold water. This helps retain moisture in the colon, softening stool and improving consistency. Kiwis also contain an enzyme that aids protein digestion, which may reduce bloating and discomfort alongside the laxative benefit. Two peeled green kiwifruits a day is the dose that’s been studied most.
Other Fruits Worth Adding
Several other fruits contain meaningful amounts of sorbitol or fiber. Pears, apples (with skin), and cherries all contain sorbitol, though less than prunes. Raspberries are one of the highest-fiber fruits available, with about 8 grams per cup. Oranges and figs are also solid choices. The natural sugars and water content in whole fruit add to the stool-softening effect, so fresh fruit generally works better than dried (except in the case of prunes, where concentration is the point).
Legumes Pack the Most Fiber Per Serving
If you’re trying to close a big gap between your current fiber intake and the recommended 22 to 34 grams per day, legumes are the fastest way to get there. A single cup of cooked split peas delivers 16 grams of fiber. Lentils provide 15.5 grams per cup, black beans 15 grams, and white beans like cannellini or navy beans about 13 grams.
Even half a cup of any of these added to a soup, salad, or grain bowl gets you a substantial portion of your daily target. If beans make you gassy, start with lentils, which tend to be easier on the stomach, and increase portions gradually over a week or two. Your gut bacteria adjust to higher fiber intake over time, and the bloating typically fades.
Seeds: Small but Powerful
Chia seeds and flaxseeds are unusually fiber-dense for their size. Two tablespoons of chia seeds contain 10 grams of fiber, and the same amount of flaxseeds provides 8 grams. Both form a gel when mixed with liquid, which is exactly the kind of soluble fiber that keeps stool hydrated in the colon.
The key with seeds is drinking enough water alongside them. Without adequate fluid, the high fiber content can actually worsen constipation. Stir chia seeds into yogurt, oatmeal, or a glass of water and let them sit for 10 to 15 minutes so they absorb liquid before you eat them. Ground flaxseeds mix easily into smoothies or cereal. Whole flaxseeds pass through your system largely undigested, so grinding them gives you access to both the fiber and the nutrients inside.
Whole Grains That Help
Oatmeal is a reliable everyday option. It contains a mix of soluble and insoluble fiber and pairs well with many of the fruits and seeds already mentioned. A bowl of oatmeal topped with raspberries and a tablespoon of chia seeds could deliver over 15 grams of fiber in a single meal.
Coarse wheat bran (not finely ground) is one of the most studied fibers for constipation. Sprinkling a few tablespoons over cereal or into baked goods adds bulk and stimulates water secretion in the colon. Bulgur wheat, brown rice, and whole grain bread also contribute meaningful fiber, though in smaller amounts per serving.
Magnesium-Rich Foods Add a Bonus Effect
Magnesium draws water into the intestines, which is why it’s sold in supplement form as a laxative. You can get a gentler version of this effect through magnesium-rich foods. Dark leafy greens like spinach and Swiss chard, almonds, cashews, pumpkin seeds, black beans, and dark chocolate (70% cacao or higher) are all good sources. Many of these overlap with high-fiber foods, so you get a double benefit.
You won’t get the dramatic effect of a magnesium supplement from food alone, but consistently eating magnesium-rich foods contributes to softer, easier-to-pass stools over time.
How to Add These Foods Without Discomfort
Jumping from a low-fiber diet to a high-fiber one overnight is a common mistake that leads to bloating, cramping, and gas. Increase your fiber intake by about 5 grams every few days, giving your digestive system time to adapt. A practical first week might look like adding two kiwis at breakfast and a half cup of lentils at dinner, then building from there.
Water intake matters just as much as fiber intake. Fiber absorbs water to do its job, so eating more fiber without drinking more fluid can make constipation worse. The NIDDK recommends drinking plenty of water, naturally sweetened fruit and vegetable juices, and clear soups to help fiber work effectively. The exact amount depends on your body size, activity level, and climate, but a good rule of thumb is to drink when you’re thirsty and keep your urine a pale yellow.
If you’re someone who gets significant bloating or gas from beans, onions, garlic, or wheat, you may be sensitive to certain fermentable carbohydrates. In that case, focus on foods that are high in fiber but lower in these compounds: kiwifruit, chia seeds, oats, oranges, spinach, and small portions of bulgur wheat all tend to be better tolerated. You can still get plenty of fiber without the discomfort.