The single most effective dietary change for constipation is eating more fiber-rich whole foods, aiming for 25 to 30 grams per day. But not all fiber works the same way, and some specific foods have outsized effects that go beyond their fiber content alone. Here’s what to put on your plate and why it works.
How Fiber Actually Moves Things Along
Fiber relieves constipation through two distinct mechanisms, and understanding the difference helps you choose the right foods. Insoluble fiber, found in whole grains, vegetables, and wheat bran, works by physically irritating the lining of your colon. That irritation triggers your intestinal wall to secrete mucus and water, producing larger, softer stools that move through faster. The effect depends on particle size: large, coarse fiber particles provide a significant laxative effect, while finely ground versions do much less. This is why a bowl of bran flakes doesn’t hit the same as a slice of coarse whole-grain bread.
Soluble fiber, found in oats, beans, and fruits, works differently. It absorbs water and forms a gel that resists the dehydrating action of your large intestine, keeping stool soft and easy to pass. There’s one important catch: if gut bacteria ferment the soluble fiber before it reaches your lower colon, it loses its gel structure and its water-holding ability. This is why some soluble fiber supplements cause gas without actually helping you go. The best soluble fibers for constipation are the ones that resist fermentation and hold onto their gel, like psyllium husk and the fiber found in kiwifruit.
The Best Foods to Prioritize
Prunes
Prunes are the classic constipation remedy for good reason. Beyond their fiber (about 7 grams per cup), they contain roughly 9 grams of sorbitol per 100 grams. Sorbitol is a sugar alcohol your body absorbs poorly, so it pulls water into the intestines through osmosis, softening stool in a way that fiber alone can’t. Three to five prunes a day is a reasonable starting point. Prune juice works too, though it has less fiber than the whole fruit.
Kiwifruit
Green kiwifruit has become one of the most studied foods for constipation. A multicenter clinical trial published in the American Journal of Gastroenterology found that eating two green kiwifruits per day for four weeks produced a clinically significant increase in complete bowel movements, roughly 1.5 additional per week, in people with functional constipation and those with IBS-related constipation. Kiwifruit contains a unique combination of soluble fiber that holds water well, an enzyme called actinidin that aids protein digestion, and a natural ability to swell and retain moisture in the colon. It performed comparably to psyllium supplements in the same trial.
Legumes
Beans and lentils are the highest-fiber foods most people have easy access to. A single cup of cooked split peas delivers 16 grams of fiber, lentils provide 15.5 grams, and black beans come in at 15 grams. Even canned white beans like cannellini or navy beans offer around 13 grams per cup. That’s more than half of a full day’s fiber target in one serving. Start with smaller portions if you’re not used to eating them regularly, since the fermentable carbohydrates in beans can cause bloating at first.
Raspberries and Other High-Fiber Fruits
Raspberries pack 8 grams of fiber per cup, making them one of the most fiber-dense fruits available. Pears with the skin on, apples, and oranges are also strong choices. Pears and apples contain moderate amounts of sorbitol as well, giving them a mild osmotic effect similar to prunes. Eating the skin matters: that’s where much of the insoluble fiber lives.
Chia Seeds and Flaxseeds
One ounce of chia seeds (about two tablespoons) contains 10 grams of fiber. When chia seeds contact water, they form a thick gel that travels through your digestive tract largely intact, holding moisture all the way to your colon. Stir them into yogurt, oatmeal, or a glass of water and let them sit for 10 minutes before eating. Ground flaxseeds work through a similar mechanism, offering around 8 grams of fiber per ounce along with their own mucilage coating.
Magnesium-Rich Foods
Magnesium acts as a natural osmotic agent in the intestines, drawing water into the colon to soften stool. Foods high in magnesium include pumpkin seeds, almonds, spinach, and dark chocolate. These won’t replace fiber, but they complement it. Many people with constipation are mildly low in magnesium without knowing it, and increasing dietary intake through seeds and leafy greens adds another lever alongside fiber.
Foods That Can Make Constipation Worse
Heavily processed foods like white bread, chips, frozen meals, and fast food are low in fiber and often high in fat, both of which slow transit through the colon. Replacing even one processed snack per day with a handful of raspberries or a few prunes shifts the balance meaningfully.
Dairy deserves a specific mention. Research in the Journal of Pediatrics has found that an immune reaction to cow’s milk protein can alter the neuromuscular function of the gut in some people, particularly children. The mechanism involves immune cells in the intestinal lining releasing signaling molecules that directly affect the nerves controlling gut movement. If you notice constipation worsens with milk, cheese, or ice cream, a two-week elimination trial can help you determine whether dairy is a personal trigger. This doesn’t affect everyone, but it’s common enough to be worth testing.
Large amounts of red meat and unripe bananas can also contribute to slower bowel movements, especially when they displace higher-fiber foods from your diet.
Water Makes Fiber Work
Fiber without adequate water can actually make constipation worse. Fiber binds with water to do its job, and if there isn’t enough fluid available, the result is drier, harder stool. Aim for at least 48 to 64 ounces of water daily, and increase toward the higher end when you’re actively adding more fiber to your diet. Coffee and tea count toward your fluid intake, and coffee in particular has a mild stimulating effect on colonic contractions that can help with morning bowel movements.
How to Increase Fiber Without the Bloating
Adding too much fiber at once is the most common reason people give up on dietary changes for constipation. Your gut bacteria need time to adjust. A practical approach is to add one new high-fiber food every few days rather than overhauling your entire diet at once. If you’re currently eating 10 to 12 grams of fiber per day, increase by roughly 5 grams per week until you reach 25 to 30 grams. That might look like adding chia seeds to breakfast in week one, swapping white rice for lentils at dinner in week two, and adding a cup of raspberries as a snack in week three.
Cooking legumes thoroughly and rinsing canned beans reduces some of the fermentable sugars that cause gas. Soaking dried beans overnight and discarding the soaking water before cooking helps further.
If You Have a Sensitive Gut
People with IBS-related constipation face an extra challenge: many high-fiber foods are also high in fermentable carbohydrates (FODMAPs) that trigger bloating and pain. If this sounds like you, focus on fiber sources that are lower in FODMAPs. Strawberries, grapes, oranges, and kiwifruit are generally well tolerated. Oats, quinoa, and firm (slightly unripe) bananas are safer grain and starch options. Chia seeds and psyllium husk provide bulk without significant fermentation. You can still eat small portions of lentils and chickpeas, but start with a quarter cup and build up gradually.
The kiwifruit trial is especially relevant here, since participants with IBS-related constipation saw the same benefits as those with standard functional constipation, gaining nearly 1.7 additional complete bowel movements per week without worsening abdominal symptoms.