Best Vegetables to Eat When You Have Diarrhea

Cooked, peeled, low-fiber vegetables are your best options during a bout of diarrhea. Boiled potatoes, summer squash (including zucchini), green beans, asparagus, and well-cooked spinach top the list because they’re easy to digest and won’t irritate an already sensitive gut. The key is how you prepare them, not just which ones you pick.

Why Cooked Vegetables Help Firm Up Stool

Soluble fiber, the kind that dissolves in water, actually works in your favor during diarrhea. It absorbs excess fluid in your intestines and forms a gel-like material that slows digestion and adds bulk to loose stool. Several vegetables contain meaningful amounts of soluble fiber, which is why they can help rather than hurt.

Cooking changes the fiber profile of vegetables in a useful way. Heat breaks down the rigid, insoluble fiber that your body struggles to digest and converts some of it into soluble fiber. That’s why a boiled potato settles your stomach while a raw salad doesn’t. Peeling and removing seeds takes this a step further by stripping away the toughest, most indigestible parts. The University of Pennsylvania’s dietary guidelines for diarrhea put it simply: peel, seed, and cook vegetables until they are soft.

The Best Vegetables to Eat

These vegetables are consistently recommended across clinical nutrition guidelines for people dealing with diarrhea:

  • Potatoes: Boiled or mashed potatoes are one of the most reliable choices. They’re high in soluble fiber, bland, and packed with potassium, a mineral you lose rapidly during diarrhea. A single large baked russet potato provides about 1,644 mg of potassium, more than three bananas. Peel them before cooking. Potato skins concentrate compounds called glycoalkaloids, which can cause nausea, cramping, and even more diarrhea in sensitive individuals. Peeling removes 30 to 80% of these compounds.
  • Summer squash and zucchini: These are among the best-tolerated vegetables during digestive distress. They’re naturally low in fiber, mild in flavor, and soft when cooked. Scoop out the seeds before cooking for the gentlest result.
  • Green beans: Another well-tolerated option that provides some potassium without much insoluble fiber. Cook them until very tender.
  • Asparagus: Recommended on low-residue diets, cooked asparagus is gentle on the gut and provides about 310 mg of potassium per cup.
  • Spinach: Cooked spinach is easy to digest and nutrient-dense. Stick with cooked rather than raw, and avoid adding rich sauces or butter.
  • Carrots: Boiled carrots become soft and low in irritating fiber. A cup of carrots provides around 410 mg of potassium, helping replace what you’re losing.

Sweet potatoes are also a solid option when peeled and baked, offering about 542 mg of potassium per medium potato. Butternut squash is another good winter squash choice at 582 mg of potassium per cup.

Why Potassium Matters

Diarrhea flushes electrolytes out of your body, and potassium is one of the biggest losses. Low potassium can cause muscle weakness, fatigue, and cramping, which makes recovery feel even worse. Choosing potassium-rich vegetables like potatoes, squash, and spinach does double duty: you’re eating something gentle on your digestive system while also replenishing what your body needs. Pair these vegetables with plenty of fluids to stay hydrated.

Vegetables to Avoid Until You Recover

Not all vegetables are safe during active diarrhea. Some are high in insoluble fiber, which speeds up movement through your intestines and can make loose stools worse. Others produce significant gas, adding cramping and bloating to an already uncomfortable situation.

Cruciferous vegetables are the biggest category to skip. Broccoli, cauliflower, cabbage, Brussels sprouts, kale, and radishes are all fiber-rich and notorious for producing gas. When their nondigestible carbohydrates reach your intestines, gut bacteria break them down and release gas as a byproduct. That process is manageable on a normal day but genuinely painful during diarrhea.

Also avoid:

  • Raw vegetables of any kind: Even normally gentle vegetables are harder to digest raw. Their fiber is intact and rigid, which forces your gut to work harder.
  • Corn: The outer hull of corn kernels is nearly indigestible.
  • Dried beans and peas: High in fiber and gas-producing compounds.
  • Onions and garlic: Both can irritate the gut lining during a flare.
  • Any vegetable with tough seeds: Tomatoes with seeds, peppers, and similar vegetables add residue your gut doesn’t need right now.

How to Prepare Vegetables for Easy Digestion

Preparation matters as much as which vegetable you choose. Start by peeling everything. Skins contain the highest concentration of insoluble fiber and, in the case of potatoes, potentially irritating compounds. Remove all seeds, especially from squash and zucchini.

Boiling and steaming are the best cooking methods. Both soften the vegetable’s cell structure and shift its fiber balance toward the soluble type that helps firm stool. Cook until the vegetable is very soft, not crisp-tender. You want it to break apart easily with a fork. Aim for foods with no more than 1 to 2 grams of fiber per serving to keep your total intake low while your gut heals.

For seasoning, keep it simple. Cooking oils and mild pepper are fine. Avoid large amounts of sugar, artificial sweeteners (especially sorbitol, mannitol, and xylitol, which actively draw water into the intestines and worsen diarrhea), pickled condiments, and anything with seeds like flax or sunflower seeds. Salt is acceptable and can actually help with electrolyte replacement in small amounts.

When to Start Eating Raw Vegetables Again

Most clinical guidelines suggest sticking with cooked, peeled, low-fiber vegetables for at least two to three days. By day three, if your stools have started to firm up and cramping has subsided, you can begin reintroducing a more normal diet. Start by adding slightly less-cooked vegetables and small portions of raw options that are naturally low in fiber, like peeled cucumber. If symptoms return, go back to the bland, well-cooked approach for another day or two.

People with ongoing conditions like Crohn’s disease or ulcerative colitis may need to stay on a lower-fiber vegetable plan for longer during flare-ups. The same applies during and after radiation therapy, which can cause persistent diarrhea. In those cases, the timeline depends on how your symptoms respond rather than a fixed number of days.