What Can You Eat to Help with Constipation?

Several categories of food can help relieve constipation, and the most effective approach combines high-fiber fruits, vegetables, legumes, and seeds with enough water to keep everything moving. Most adults need 25 to 38 grams of fiber per day depending on age and sex, but the average intake falls well short of that. Closing the gap with the right foods can make a real difference in how often and how easily you go.

How Fiber Actually Works in Your Gut

Not all fiber does the same job. Insoluble fiber, found in wheat bran, vegetable skins, and whole grains, adds physical bulk to stool by binding water within a network of rigid fibers. It pushes things along mechanically. Soluble fiber, found in oats, beans, and fruits, absorbs water and swells into a soft gel. That gel lubricates the digestive tract, softens stool, and feeds the beneficial bacteria in your colon. Those bacteria produce short-chain fatty acids that lower intestinal pH and stimulate the muscular contractions that move waste forward.

Research on the ratio between the two types suggests a roughly equal mix of soluble and insoluble fiber produces the best intestinal movement. Too much soluble fiber on its own can actually absorb so much water that it creates a thick, viscous mass that slows things down. The practical takeaway: eat a variety of fiber sources rather than relying on a single food.

Prunes, Pears, and Other Fruits

Prunes are the most well-studied fruit for constipation, and for good reason. A 100-gram serving (about 10 prunes) provides 6.1 grams of fiber, but fiber isn’t the whole story. Prunes contain roughly 14.7 grams of sorbitol per 100 grams, a sugar alcohol your body absorbs poorly. Sorbitol draws water into the intestine, acting like a mild natural osmotic laxative on top of the fiber’s bulk-forming effect. Even prune juice retains about 6.1 grams of sorbitol per 100 milliliters, which is why it works despite having almost no fiber.

Pears and apples also contain sorbitol, though in smaller amounts. Kiwifruit is another standout. It’s rich in soluble fiber and contains a natural enzyme that helps break down protein in the gut, which can speed transit. Berries, oranges, and figs round out the list of fruits worth adding to your rotation.

Legumes and Whole Grains

If you’re looking for the most fiber per bite, legumes are hard to beat. One cooked cup of lentils delivers 15.5 grams of fiber. Black beans come in at 15 grams per cup. That’s close to half the daily recommendation in a single side dish. Both contain a healthy mix of soluble and insoluble fiber, so they soften stool and add bulk at the same time.

Whole grains are more modest but still useful. A cup of cooked oatmeal has about 4 grams of fiber, mostly the soluble type (beta-glucan) that forms a gel and feeds gut bacteria. Barley, quinoa, and whole wheat bread contribute additional insoluble fiber. Swapping refined grains for whole versions at every meal is one of the simplest dietary changes you can make.

Seeds That Form a Gel

Chia seeds and flaxseeds both produce a thick, mucilage-like gel when they contact water. Chia seeds can absorb up to 12 times their weight in liquid, swelling into a gel-coated bead that adds bulk and weight to stool while softening it for easier passage. Ground flaxseeds work through a similar mechanism and also provide a dose of insoluble fiber from their outer hull.

You can stir a tablespoon or two into water, yogurt, oatmeal, or smoothies. The key is to drink plenty of fluid alongside them. Without enough water, these seeds can clump together and make constipation worse rather than better.

Fermented Foods and Probiotics

Yogurt, kefir, sauerkraut, and kimchi supply live bacteria that can shift the balance of your gut microbiome in ways that help with regularity. A meta-analysis of randomized controlled trials found that probiotic products increased weekly bowel movements by nearly one additional stool per week in constipated adults. They also reduced the time it took for food to travel through the digestive tract.

The combination of Lactobacillus and Bifidobacterium strains together produced the strongest effect, boosting weekly stool frequency by about 1.14 additional movements. Bifidobacterium alone also performed well. Interestingly, Lactobacillus by itself did not reach statistical significance. The practical implication: look for yogurt or kefir that lists multiple strains on the label, particularly Bifidobacterium species.

Magnesium-Rich Foods

Magnesium draws water into the intestinal lumen through osmosis, the same mechanism behind milk of magnesia. You don’t need a supplement to get this effect. Pumpkin seeds, almonds, spinach, and dark chocolate are all concentrated sources. A quarter cup of pumpkin seeds provides roughly 40% of the daily magnesium requirement.

This osmotic effect increases both the water content and volume of stool, making it softer and easier to pass. For people whose constipation is partly driven by hard, dry stools, magnesium-rich foods can complement the mechanical bulk that fiber provides.

Coffee as a Natural Stimulant

Coffee triggers a measurable increase in the hormones gastrin and cholecystokinin, both of which stimulate the muscular contractions that push waste through your colon. This effect kicks in within minutes of drinking a cup and occurs with both caffeinated and decaffeinated coffee, though caffeine adds an extra push. Coffee won’t replace fiber, but a morning cup can help initiate a bowel movement when your diet is already doing the groundwork.

Why Water Matters as Much as Food

Fiber works by absorbing water. Without adequate fluid, adding more fiber to your diet can actually harden stool and make constipation worse. Research confirms that low water intake reduces fecal water content and increases the prevalence of functional constipation, even in people who aren’t clinically dehydrated. Up to half of adults are chronically underhydrated.

There’s no single magic number, but aiming for at least eight cups of water a day is a reasonable baseline. If you’re eating high-fiber foods, drinking extra water with meals helps that fiber do its job.

How to Increase Fiber Without Side Effects

Jumping straight to 30 or more grams of fiber a day when your body isn’t used to it will likely cause bloating, gas, cramping, and abdominal discomfort. In clinical trials, even participants who gradually increased their fiber intake reported moderate to severe flatulence and bloating in the first week. The difference is that those symptoms faded after a short adaptation period.

A practical schedule: add one new high-fiber food per week. Start with an extra serving of fruit or a small portion of beans, then build up over three to four weeks. This gives your gut bacteria time to adjust to the increased fermentation. Drinking more water as you go helps prevent the fiber from sitting in your colon and fermenting excessively. Most people find that the initial discomfort resolves within two to three weeks as their microbiome adapts.