What to Eat When Constipated: Best and Worst Foods

The single most effective dietary change for constipation is eating more fiber-rich foods, particularly legumes, fruits, and whole grains. Most people need 25 to 38 grams of fiber per day, but the average American gets only about 15. Closing that gap, while drinking enough water, can make a noticeable difference in stool frequency and comfort within a few days to a week.

Why Fiber Works

Fiber relieves constipation through two complementary mechanisms, depending on which type you eat. Insoluble fiber is the classic “roughage,” material your body can’t break down, so it passes through your digestive tract largely intact and adds physical bulk to stool. Soluble fiber dissolves in water and forms a gel that softens stool, making it easier and more comfortable to pass. Both types also stimulate gut motility, the coordinated muscle contractions that push food through your intestines.

You don’t need to obsess over which type you’re getting. Most whole plant foods contain both. The priority is simply eating more of them.

Best Foods to Eat

Legumes

Beans and lentils are the single highest-fiber foods you can eat, and nothing else comes close per serving. A cup of cooked split peas delivers 16 grams of fiber. Lentils provide 15.5 grams per cup, black beans 15 grams, and white beans (cannellini, navy, or Great Northern) about 13 grams. One cup of lentil soup or a black bean burrito bowl can cover nearly half your daily fiber needs in a single meal. If beans aren’t a regular part of your diet, start with smaller portions to let your gut adjust and minimize gas.

Fruits, Especially Prunes

Prunes deserve their reputation. They contain sorbitol, a naturally occurring sugar alcohol that pulls water into the bowel and softens stool. Research shows that eating about two-thirds of a cup (100 grams) of prunes daily improves stool frequency and consistency more effectively than psyllium husk, one of the most common fiber supplements. If you prefer liquid, as little as 2 ounces of prune juice daily has been shown to relieve constipation symptoms over several weeks. Start small, since sorbitol can cause gas, and work up to 4 ounces if needed.

Raspberries are another standout, with 8 grams of fiber per cup. Strawberries offer 3 grams per cup. Pears, apples (with skin), and kiwifruit are also reliably helpful choices.

Whole Grains

Switching from refined grains to whole grains is one of the simplest swaps you can make. A cup of whole-wheat pasta has 6 grams of fiber compared to roughly 2.5 for regular pasta. Cooked barley and quinoa each provide 5 to 6 grams per cup. Bran flakes give you 5.5 grams in a three-quarter cup serving, and a bowl of instant oatmeal provides about 4 grams. Even air-popped popcorn contributes 3.5 grams per three-cup serving, making it a surprisingly useful snack. Brown rice, whole-wheat bread, and rye bread are solid everyday options too.

Fermented Foods

Kefir, a tangy fermented milk drink, has shown real promise for constipation. In a clinical trial, people with chronic constipation who drank 500 mL (about two cups) of kefir daily for four weeks had significantly more frequent bowel movements, improved stool consistency, and reduced their use of laxatives. Colonic transit time, how quickly waste moves through the large intestine, also sped up. Yogurt with live active cultures, sauerkraut, kimchi, and miso are other fermented options that support a healthy gut environment.

Magnesium-Rich Foods

Magnesium draws water into your intestines, which softens stool and helps trigger bowel contractions. You can get meaningful amounts from dark leafy greens (spinach, Swiss chard), almonds, cashews, pumpkin seeds, and whole grains. While supplements and products like milk of magnesia deliver higher concentrated doses, regularly eating magnesium-rich foods provides a gentler, sustained benefit alongside the fiber those same foods contain.

How to Build a Constipation-Friendly Day

A practical approach looks something like this: oatmeal with raspberries and a small glass of prune juice at breakfast, a lentil or black bean dish at lunch, popcorn or nuts as a snack, and whole-wheat pasta or barley with vegetables at dinner. That combination easily reaches 30 or more grams of fiber without supplements or specialty products.

If your current fiber intake is low, increase it gradually over one to two weeks rather than all at once. A sudden jump in fiber can cause bloating, cramping, and gas, which might feel worse than the constipation itself. Adding a few grams per day gives your gut bacteria time to adapt.

Water Matters More Than You Think

Fiber needs water to do its job. Without enough fluid, adding fiber can actually make constipation worse by creating dry, hard bulk in your intestines. Aim for at least 48 to 64 ounces of water per day, which works out to roughly six to eight glasses. If you’re significantly increasing your fiber intake, err toward the higher end. Coffee, tea, and broth count toward your fluid total, though plain water is the simplest option.

Foods That Can Make Constipation Worse

The foods that contribute to constipation tend to share one trait: they’re low in fiber. White bread, white rice, and regular pasta have had most of their fiber stripped during processing. Cheese and other dairy products contain no fiber at all and can slow digestion for some people, particularly those with sensitivity to dairy. Fast food, frozen meals, chips, and packaged snacks typically combine low fiber with high fat, which slows gut transit time.

Red meat is another common culprit, not because it’s inherently constipating, but because it often displaces fiber-rich foods from your plate. A steak dinner with a baked potato (no skin) and buttered white roll gives you almost no fiber. The same meal with a sweet potato (skin on), a side of black beans, and whole-grain bread changes the picture entirely. You don’t need to eliminate any food group. Just make sure low-fiber foods aren’t dominating every meal.