Eating more fiber-rich foods, certain fruits, and fermented dairy can relieve constipation, often within a few days. The key is choosing the right types of fiber and pairing them with enough water. Most adults need 25 to 38 grams of fiber daily, but the average American gets roughly half that, which is one reason constipation is so common.
Not all fiber works the same way, though. Some foods move things along quickly, while others can actually make constipation worse. Here’s what to prioritize.
Why the Type of Fiber Matters
Fiber falls into a few categories, and they behave very differently in your gut. Coarse insoluble fiber, the kind found in whole wheat bran flakes, raw vegetables, and the skins of fruits, works by physically irritating the intestinal lining. That triggers your gut to secrete mucus and water, which softens stool and speeds things up. However, finely ground insoluble fiber (like you’d find in some processed “high-fiber” bars) can have the opposite effect. It adds bulk without adding moisture, potentially making hard stools even harder to pass.
Soluble fiber that forms a gel, found in foods like oats, flaxseeds, and psyllium husk, absorbs water and holds onto it all the way through the digestive tract. This softens stool and helps it hold its shape. It’s effective for both constipation and loose stools because it normalizes consistency in either direction.
A third type, soluble fiber that ferments quickly (like inulin, added to many “fiber-enriched” packaged foods), breaks down before it reaches the large intestine. It feeds gut bacteria but does little to move stool along. If you’ve been eating fiber-fortified snacks without results, this is likely why.
Best Foods to Get Things Moving
The most effective foods combine multiple mechanisms: fiber for bulk, water retention for softness, and in some cases natural compounds that act as mild laxatives.
- Prunes and prune juice. Prunes are one of the best-studied foods for constipation. They contain both fiber and sorbitol, a sugar alcohol that draws water into the intestine. Dried prunes have more than double the sorbitol of prune juice in the same serving size, plus more fiber (some is lost during juicing). Start with five dried prunes or a half-cup of juice in the morning. Research shows as little as 2 ounces of prune juice daily can increase bowel movements. If that works well, you can add a second half-cup serving before bed.
- Green kiwifruit. Two green kiwifruits per day (without the skin) increased weekly bowel movements significantly in clinical trials, outperforming psyllium husk. Kiwi contains both soluble fiber and an enzyme that may help with gut motility, making it a solid option if you prefer whole fruit over supplements.
- Oats and oat bran. A half-cup of dry oat bran delivers gel-forming soluble fiber that holds water through the entire digestive tract. Cooked oatmeal works too, though oat bran is more concentrated.
- Whole flaxseeds or coarsely ground flaxseeds. These provide a mix of soluble gel-forming fiber and insoluble fiber. Stir a tablespoon into yogurt or a smoothie. Drink extra water alongside them.
- Beans and legumes. Chickpeas, lentils, black beans, and lima beans are fiber powerhouses. A half-cup of cooked chickpeas or lima beans delivers meaningful fiber along with magnesium, which has its own stool-softening effect (more on that below). If beans make you gassy, start with small portions and increase gradually over a week or two as your gut adjusts.
- Pears, apples, and berries. These fruits combine soluble fiber in the flesh with insoluble fiber in the skin. Eating them whole, rather than juiced, preserves the fiber that does the work. Raspberries are particularly high in fiber per serving.
- Raw vegetables and leafy greens. Spinach, broccoli, and Swiss chard provide coarse insoluble fiber that stimulates the gut, plus magnesium. Cooking softens the fiber somewhat but doesn’t eliminate it.
Why Magnesium-Rich Foods Help
Magnesium draws water into the intestines through osmosis, the same mechanism behind over-the-counter magnesium laxatives. You can get a gentler version of this effect from food. Brazil nuts top the list at 107 mg per ounce (about 6 kernels). Cashews provide 83 mg per ounce, almonds 77 mg, and a half-cup of cooked spinach delivers 78 mg. Other good sources include Swiss chard (75 mg per half-cup), peanuts, brown rice, and avocado.
The daily target for magnesium is around 310 to 420 mg depending on age and sex. You don’t need to hit a therapeutic “laxative dose” from food alone. Simply eating more magnesium-rich foods alongside high-fiber choices creates a combined effect: fiber adds bulk and structure while magnesium keeps water in the stool.
Fermented Foods and Gut Bacteria
Yogurt, kefir, sauerkraut, and kimchi contain live bacteria that can meaningfully improve constipation. A pooled analysis of clinical trials found that probiotics increased gut transit time by an average of 12.4 hours, added about 1.3 extra bowel movements per week, and softened stool consistency. Strains of Bifidobacterium appeared to be the most effective.
You don’t need a supplement to get these benefits. A daily serving of yogurt or kefir with live active cultures provides Bifidobacterium and Lactobacillus strains naturally. Pairing fermented foods with high-fiber meals feeds the beneficial bacteria you’re introducing, which may amplify the effect over time.
How to Build a Constipation-Relieving Day of Eating
Rather than adding one “magic” food, the goal is to weave fiber and water throughout the day so your gut stays consistently stimulated. A practical approach: start the morning with oatmeal or oat bran topped with sliced kiwi and ground flaxseed. At lunch, include a cup of bean soup or a salad with chickpeas and leafy greens. For snacks, reach for a handful of almonds, an apple with the skin on, or five prunes. At dinner, include a cooked vegetable like broccoli or Swiss chard alongside brown rice.
Water matters as much as fiber. Fiber absorbs water to do its job. Without enough fluid, adding fiber can worsen constipation by creating dry, bulky stool that’s harder to pass. Aim for at least 8 cups of water daily, more if you’re significantly increasing your fiber intake.
If you currently eat very little fiber, increase gradually over one to two weeks. Jumping from 12 grams to 35 grams overnight will likely cause bloating and gas before your gut bacteria adjust.
When Diet Changes Aren’t Enough
For most people, consistent dietary changes produce results within a few days to a week. But constipation that doesn’t respond to fiber, fluids, and physical activity, or that comes on suddenly, deserves medical attention. Red flags include blood in the stool, unintentional weight loss of 10 pounds or more, a family history of colon cancer, or new-onset constipation in adults over 50. These symptoms warrant evaluation to rule out something beyond a dietary issue.

