What to Eat When You’re Constipated: Best Foods

When you’re constipated, the fastest dietary fix is adding more fiber and fluid to your meals. Fiber increases stool weight, softens it by absorbing water, and helps move everything through your digestive tract more efficiently. Most adults should aim for about 14 grams of fiber per 1,000 calories they eat daily, and falling short of that target is one of the most common reasons people get backed up.

But not all fiber works the same way, and some foods offer extra benefits beyond fiber alone. Here’s what to reach for when things aren’t moving.

Fruits That Get Things Moving

Prunes are the classic choice for good reason. They’re high in both soluble and insoluble fiber, and they contain sorbitol, a natural sugar alcohol that draws water into the intestines and softens stool. Five or six prunes deliver about 3 grams of fiber plus enough sorbitol to have a noticeable effect within a day or two for most people.

Pears, apples (with the skin on), and kiwifruit are also strong options. Pears are one of the highest-fiber fruits you can eat, with about 5.5 grams in a medium-sized fruit. Kiwifruit has been studied specifically for its effects on bowel regularity, and while the evidence is still mixed on exactly how it works, many people find that eating two green kiwis a day improves stool consistency. Berries, figs, and oranges round out the list. The key is eating the whole fruit rather than drinking juice, since juicing strips out most of the insoluble fiber that adds bulk to stool.

Vegetables and Leafy Greens

Cooked broccoli, Brussels sprouts, and sweet potatoes are all fiber-rich choices that can help. But dark leafy greens like spinach and Swiss chard pull double duty: they provide fiber and they’re loaded with magnesium. A half cup of cooked spinach contains 78 mg of magnesium, and Swiss chard delivers 75 mg per half cup. Magnesium helps relax the muscles in your intestinal wall and draws water into the bowel, which is why magnesium supplements are sometimes used as a gentle laxative. Getting magnesium through food gives you a milder, more sustained version of that effect.

Legumes Pack the Most Fiber

If you’re looking for the single biggest fiber boost per serving, legumes win by a wide margin. One cup of cooked lentils contains nearly 16 grams of fiber, which covers a significant chunk of most people’s daily needs in one sitting. Black beans, chickpeas, and kidney beans are all in a similar range, typically delivering 12 to 15 grams per cooked cup.

There’s a catch, though. If you don’t eat legumes regularly, adding a full cup at once will likely cause bloating and gas. Your gut bacteria need time to adjust. Research from UCLA Health found that people who gradually introduced beans into their diet returned to normal gas levels within three to four weeks. Start with a quarter cup and work your way up over a couple of weeks.

Whole Grains Over Refined Grains

Swapping white bread, white rice, and regular pasta for their whole grain versions is one of the simplest changes you can make. The difference comes down to the bran layer, which is removed during refining. Wheat bran in particular has been shown to significantly increase stool weight and reduce the time it takes for food to travel through your digestive tract. Oatmeal is another strong option because it’s rich in soluble fiber, which dissolves in water and forms a gel that softens stool and makes it easier to pass.

A bowl of oatmeal for breakfast, whole grain bread for a sandwich at lunch, and brown rice with dinner can easily add 8 to 10 grams of fiber to your day without much effort.

Seeds and Nuts Worth Adding

Chia seeds and flaxseeds are especially useful for constipation. Chia seeds absorb many times their weight in water and form a gel, which adds both bulk and moisture to stool. Stir a tablespoon into water, yogurt, or oatmeal and let them sit for 10 minutes before eating. Ground flaxseeds work similarly and add a mild, nutty flavor to smoothies or cereal.

Pumpkin seeds deserve a mention for their magnesium content. A single ounce of roasted, hulled pumpkin seeds delivers 150 mg of magnesium, more than almost any other common snack. Almonds (80 mg per ounce) and chia seeds (111 mg per ounce) are also good sources. Snacking on a handful of these throughout the day supports both fiber and magnesium intake at the same time.

What to Drink

Water is essential when you’re increasing fiber intake. Fiber absorbs water to do its job. If you eat more fiber without drinking enough fluid, you can actually make constipation worse because the fiber bulks up without enough moisture to keep things soft. There’s no magic number, but aiming for at least eight cups of water a day is a reasonable baseline, and more if you’re eating significantly more fiber than usual.

Coffee can also help. Both regular and decaf coffee stimulate contractions in the intestinal muscles, and the effect kicks in quickly. Research has shown that colonic motility increases significantly within the first 30 minutes of drinking coffee. This happens through a direct effect on the smooth muscle of the gut, not just through caffeine, which is why decaf works too. If you already drink coffee in the morning, that habit is working in your favor.

Warm liquids in general, including tea and even warm water with lemon, can stimulate the digestive tract, especially first thing in the morning when your system is waking up.

Foods That Can Make Constipation Worse

While you’re focusing on what to add, it helps to cut back on foods that slow things down. Highly processed foods like chips, frozen meals, and fast food tend to be low in fiber and high in fat, both of which slow transit through the gut. White bread, white pasta, and other refined grains have had most of their fiber stripped away. Red meat is particularly slow to digest and contains no fiber at all, so large portions can contribute to the problem.

Dairy affects some people more than others. Cheese is a common culprit, especially in large amounts. If you notice a pattern between dairy intake and constipation, try reducing it for a week to see if things improve.

How to Increase Fiber Without Side Effects

The biggest mistake people make is going from a low-fiber diet to a high-fiber one overnight. This almost always causes gas, bloating, and cramping, which makes people give up on fiber entirely. Your gut bacteria need time to adapt to the increased workload. The adjustment period typically takes three to four weeks.

A practical approach: add one new high-fiber food per week. Maybe oatmeal for breakfast the first week, a side of lentils or beans the second week, and an extra serving of vegetables the third. Drink more water with each addition. Most people can comfortably reach their fiber target within a month using this gradual approach, and the bloating and gas that come with the transition will settle down as your gut adjusts.