What Foods Help With Constipation and What to Avoid

High-fiber fruits, vegetables, seeds, and whole grains are the most effective foods for relieving constipation. Prunes top the list, but they’re far from the only option. The key is getting enough fiber (about 25 to 30 grams a day for most adults) and pairing it with plenty of water so the fiber can do its job.

Why Fiber Is the Main Fix

Fiber works in two ways. Soluble fiber absorbs water and turns into a gel during digestion, which softens stool and makes it easier to pass. Insoluble fiber adds bulk and speeds the movement of food through your digestive tract. Most plant foods contain both types in varying ratios, so eating a variety of fruits, vegetables, grains, and legumes covers both bases.

The U.S. Dietary Guidelines set the fiber target at 14 grams per 1,000 calories you eat. For someone on a 2,000-calorie diet, that’s 28 grams a day. Most Americans fall well short of that number, which is one reason constipation is so common.

Prunes: The Most Studied Option

Prunes have the strongest research behind them for constipation relief. They contain both soluble and insoluble fiber, plus sorbitol, a natural sugar alcohol that draws water into the intestines. Clinical trials have tested daily doses of 80 to 120 grams (roughly 8 to 12 prunes) over four weeks. Both amounts improved stool output and transit time compared to water alone. If you don’t like eating prunes whole, prune juice still contains the sorbitol, though it loses most of the fiber.

Fruits and Vegetables With the Biggest Impact

Beyond prunes, several other fruits pull double duty with fiber and natural sugars or water content that help move things along:

  • Kiwifruit: Two medium kiwis provide about 4 grams of fiber plus enzymes that support digestion. Multiple studies have found kiwifruit improves stool frequency within a few weeks.
  • Pears and apples: Both are high in soluble fiber (especially in the skin) and contain sorbitol. A medium pear has about 6 grams of fiber. Eat them with the skin on.
  • Berries: Raspberries pack about 8 grams of fiber per cup, making them one of the most fiber-dense fruits available.
  • Broccoli, Brussels sprouts, and sweet potatoes: Cooked vegetables like these deliver 3 to 5 grams of fiber per serving and are easy to work into meals.

Leafy greens like spinach also contribute, though their fiber content per serving is lower. Their real value is the magnesium they provide, which helps relax intestinal muscles and draw water into the colon.

Seeds and Whole Grains

Chia seeds and ground flaxseed are standouts. Two tablespoons of chia seeds deliver 10 grams of fiber, and the same amount of ground flaxseed provides 8 grams. Both form a gel when mixed with liquid, which softens stool effectively. Use ground flaxseed rather than whole seeds, since whole seeds can pass through your system undigested. With chia or flax, always drink extra water. Without enough fluid, that concentrated fiber can actually make constipation worse.

Oatmeal is another reliable choice, with about 4 grams of fiber per cooked cup. It’s particularly rich in a soluble fiber called beta-glucan that forms a gel in the gut. Other strong whole-grain options include barley, quinoa, and whole wheat bread (check that “whole wheat” or “whole grain” is the first ingredient, not just a marketing term on the label).

Beans and Legumes

Beans are the single highest-fiber food group. A cup of cooked lentils has about 15 grams of fiber, and black beans, chickpeas, and kidney beans all land in the 12 to 15 gram range per cup. That’s roughly half your daily target in one serving. If beans tend to make you gassy, start with smaller portions (a quarter cup) and work up gradually. Canned beans rinsed under water tend to cause less gas than dried beans you cook yourself.

Fermented Foods

Yogurt, kefir, sauerkraut, and kimchi contain live bacteria that may improve gut transit time. Research on probiotics and constipation has shown the most promise from products containing Bifidobacterium strains, though the evidence isn’t strong enough to point to one specific product or dose. Plain yogurt or kefir with live active cultures is a reasonable addition to a high-fiber diet, not a replacement for it. Think of fermented foods as supporting players rather than the main solution.

Why Water Makes or Breaks Your Results

Fiber without adequate fluid can backfire. A study of adults with chronic functional constipation found that a high-fiber diet (25 grams per day) improved stool frequency on its own, but the results were significantly better when participants also drank 1.5 to 2 liters of water daily, compared to those drinking about 1 liter. Harvard Health recommends aiming for roughly 16 ounces of water four times a day, which puts you right in that range. If you’re adding chia seeds, flaxseed, or psyllium husk to your routine, water is especially critical.

Foods That Can Make Constipation Worse

While you’re adding fiber-rich foods, it helps to limit the ones that slow things down. Highly processed, low-fiber foods are the usual culprits: white bread, white rice, chips, fast food, cheese in large amounts, and processed meats. These foods move slowly through the gut and produce small, hard stools. You don’t need to eliminate them entirely, but if they make up the bulk of your diet, they’re likely part of the problem.

Unripe bananas are a specific food worth noting. They’re high in resistant starch that can be binding. Ripe bananas (with brown spots) are the opposite: they contain more soluble fiber and can actually help.

How to Add Fiber Without the Bloating

Jumping from a low-fiber diet to a high-fiber one overnight almost guarantees gas, bloating, and cramping. Your gut bacteria need time to adjust. The practical approach is to add one extra serving of a high-fiber food per day for a week, then assess how you feel before adding another. Continue this pattern until you’re hitting your daily target. Most people can ramp up comfortably over three to four weeks.

In terms of when you’ll see results, a study tracking adults who increased their fiber intake found that weekly bowel movements rose significantly within the first four weeks, jumping from about 7 per week to nearly 9, and those improvements held steady through 12 weeks. So expect gradual progress rather than overnight relief. If you need faster results in the short term, prunes or kiwifruit tend to work within a few days for many people, while the broader dietary shift takes longer to fully kick in.

A Practical Daily Framework

Getting to 25 or 30 grams of fiber doesn’t require a complete diet overhaul. A realistic day might look like this: oatmeal topped with raspberries and a tablespoon of chia seeds at breakfast (roughly 14 grams of fiber), a salad with chickpeas at lunch (8 to 10 grams), and roasted broccoli or sweet potato with dinner (4 to 5 grams). Add a handful of prunes as a snack, and you’re well past your target. Spread the fiber across meals rather than loading it into one sitting, and keep a water bottle nearby throughout the day.