What Foods to Avoid When You Have Diarrhea

When you have diarrhea, certain foods can pull extra water into your intestines, speed up gut contractions, or produce gas that makes cramping worse. Knowing which foods to skip for a day or two can shorten your misery and help your gut recover faster. Just as important: you don’t need to starve yourself or live on toast. The goal is to avoid the specific triggers that worsen loose stools while still eating enough to give your body the nutrients it needs to heal.

Dairy Products

Even if you normally digest milk just fine, a bout of diarrhea can temporarily change that. Infections from viruses or bacteria damage the lining of your small intestine, which is where the enzyme that breaks down lactose (the sugar in milk) is produced. With less of that enzyme available, lactose passes undigested into your colon, where bacteria ferment it and produce gas, bloating, and more loose stools.

This temporary lactose intolerance typically resolves once the intestinal lining heals, but that can take several days to a couple of weeks. During active diarrhea, skip milk, ice cream, soft cheeses, and cream-based sauces. Yogurt is sometimes tolerated better because its bacterial cultures have already partially broken down the lactose, but if your symptoms are severe, it’s safer to avoid all dairy until things settle.

Greasy and Fried Foods

High-fat meals trigger a stronger gastrocolic reflex, the wave of contractions that moves food through your digestive tract after you eat. Fat causes your body to release more digestive hormones, which in turn release more bile, enzymes, and gastric acid. The result is stronger contractions in both your small intestine and colon. When your gut is already irritated, those amplified contractions push things through even faster, worsening diarrhea and cramping.

This means french fries, fried chicken, fatty cuts of meat, creamy soups, and fast food in general are best avoided until your digestion normalizes. Stick to lean proteins like plain chicken breast or baked fish if you’re ready to eat solid food.

Sugary Foods and Drinks

Sugar in high concentrations has an osmotic effect, meaning it draws water into the intestines. This is the same mechanism that makes sugar alcohols (found in sugar-free gum, mints, and many “diet” products) a well-known cause of diarrhea. When these poorly absorbed sweeteners accumulate in the colon, they increase osmotic pressure and prevent water from being reabsorbed. The result is watery stools.

Regular sugar does the same thing at high enough doses. Apple juice, for example, has an osmolality of around 700 mOsm/L, nearly three times higher than a proper oral rehydration solution (245 mOsm/L). Cola and ginger ale fall in the 550 to 565 range. That high sugar concentration can actually pull more water into your gut and make diarrhea worse, which is why fruit juice and soda are poor choices for rehydration despite being commonly recommended by well-meaning relatives.

Foods to watch out for include candy, pastries, sweetened cereals, honey in large amounts, and anything containing sorbitol, mannitol, or xylitol. Check labels on protein bars, sugar-free products, and chewing gum.

Caffeine and Alcohol

Coffee, energy drinks, and tea all stimulate intestinal motility, speeding up contractions that are already overactive during diarrhea. Caffeine also contributes to dehydration, which is your biggest practical risk when you’re losing fluid through loose stools.

Alcohol is a triple threat. It draws water into the intestinal tract (acting like a laxative), speeds up digestive contractions, and irritates the intestinal lining, causing inflammation that accelerates digestion even further. Beer, wine, and mixed drinks should all be off the table until your symptoms have fully resolved. Even small amounts can restart a cycle of cramping and urgency.

Spicy Foods

Capsaicin, the compound that gives chili peppers their heat, activates pain and heat receptors throughout your digestive tract. In people with sensitive or already-irritated guts, this triggers abdominal burning, increased fecal urgency, and faster transit. Research on people with diarrhea-predominant irritable bowel syndrome found that chili ingestion induced abdominal pain, burning, and rectal hypersensitivity, with urgency increasing noticeably in the first two weeks of exposure.

When your intestinal lining is already inflamed from infection or irritation, adding capsaicin on top is like putting hot sauce on a sunburn. Skip hot sauces, curries, salsa, and heavily spiced dishes until you’re back to normal.

Gas-Producing Vegetables and Legumes

Certain carbohydrates pass through your stomach and small intestine without being fully digested. When they reach the large intestine, bacteria break them down and produce gas. During diarrhea, that extra gas amplifies bloating and cramping that are already uncomfortable.

The biggest culprits are cruciferous vegetables (broccoli, cauliflower, kale, cabbage, collard greens, Brussels sprouts) and legumes (beans, lentils, peas). Onions and garlic can also contribute. These are all nutritious foods worth eating when you’re healthy, but temporarily cutting back during active diarrhea can reduce the gas and pressure that make symptoms feel worse.

Insoluble Fiber in Large Amounts

Fiber comes in two types, and they behave very differently during diarrhea. Insoluble fiber, found in wheat bran, whole grain bread, raw vegetables, and the skins of fruits, speeds up the passage of food through your digestive system and adds bulk. When your gut is already moving too fast, insoluble fiber accelerates things further.

Soluble fiber, on the other hand, absorbs water and forms a gel that slows digestion. Foods rich in soluble fiber, like oatmeal, bananas, applesauce, and white rice, can actually help thicken loose stools. This is the principle behind the old BRAT diet (bananas, rice, applesauce, toast), though that approach has fallen out of favor because it’s too nutritionally restrictive. The American Academy of Pediatrics no longer recommends a strict BRAT diet for children, noting it lacks calcium, protein, vitamin B12, and adequate fiber, and may even slow recovery if followed for more than 24 hours.

The practical takeaway: favor soluble fiber sources for a day or two, but don’t limit yourself to just four bland foods. As soon as you can tolerate it, reintroduce a wider range of gentle, well-cooked foods to give your body the nutrients it needs to recover.

What to Drink Instead

Dehydration is the most serious short-term risk of diarrhea, especially for young children and older adults. The best rehydration fluids contain a balanced ratio of glucose and sodium at a low osmolality. The WHO’s oral rehydration solution formula sits at 245 mOsm/L with 75 mEq/L of sodium and just 13.5 grams of carbohydrate per liter. Compare that to apple juice at 700 mOsm/L with zero sodium and up to 150 grams of carbohydrate per liter. The mismatch in juice and soda can actually worsen diarrhea through osmotic water draw.

Pharmacy-bought oral rehydration solutions are your best option. If those aren’t available, clear broths provide sodium, and small sips of water keep you hydrated without overwhelming your gut. Sports drinks are better than juice or soda but still contain more sugar and less sodium than ideal. Avoid fruit juices, regular soda, and ginger ale, all of which have osmolality levels high enough to pull water into the intestine rather than help you absorb it.

Signs You Need Medical Attention

Most diarrhea resolves on its own within a couple of days. But certain symptoms signal something more serious. For adults, contact a doctor if diarrhea lasts more than two days, you develop a high fever, you’re passing six or more loose stools a day, or you see blood, pus, or black tarry stools. Severe abdominal or rectal pain, frequent vomiting, and signs of dehydration (extreme thirst, dark urine, dizziness, urinating much less than usual, or skin that stays pinched when you pull it) also warrant prompt attention.

For infants and young children, the timeline is shorter: seek care if diarrhea lasts more than one day, if there’s any fever in infants, if the child refuses to eat or drink for more than a few hours, or if there are no wet diapers for three hours or more. Crying without tears, sunken eyes, and unusual drowsiness are signs of dehydration in young children that need immediate medical evaluation.