What Foods Give You Diarrhea? Triggers and Causes

Several common foods and food groups can trigger diarrhea, even when they’re perfectly fresh and safe to eat. The culprits range from dairy and high-fat meals to fruit, sugar-free gum, and coffee. In most cases, the mechanism is straightforward: something in the food either pulls extra water into your intestines, speeds up muscle contractions in your gut, or both.

Dairy and Lactose

Milk, ice cream, soft cheese, and other dairy products are among the most common dietary causes of diarrhea worldwide. About 68 percent of the global population has some degree of lactose malabsorption, meaning their small intestine doesn’t produce enough of the enzyme needed to break down lactose, the sugar in milk. In the United States, roughly 36 percent of people are affected. Rates are highest in Africa and Asia, and lowest in northern Europe, where a genetic adaptation allows many people to digest lactose throughout adulthood.

When undigested lactose reaches the large intestine, gut bacteria ferment it, producing gas and short-chain fatty acids. The lactose molecules also draw water into the intestine through osmosis, creating the watery stool that defines osmotic diarrhea. Many people with lactose intolerance can handle up to about 12 grams of lactose in one sitting, roughly equivalent to a cup of milk or a scoop of ice cream, without symptoms. Go beyond that threshold and bloating, cramps, and diarrhea become likely.

Fatty and Greasy Foods

A large greasy meal, whether it’s fried chicken, pizza, or a fast-food burger, can overwhelm your digestive system in a specific way. When fat reaches your upper intestine, free fatty acids (particularly longer-chain ones found in animal fat, coconut oil, and butter) trigger the release of a hormone called cholecystokinin. This hormone tells your gallbladder to release bile, which is necessary for breaking fat into smaller droplets your body can absorb.

The problem comes when there’s more fat than your system can process efficiently. Excess bile acids that aren’t reabsorbed in the small intestine spill into the colon, where they stimulate water secretion and speed up contractions. The result is loose, urgent stools, sometimes within an hour or two of the meal. People who’ve had their gallbladder removed are especially prone to this because bile drips continuously into the intestine rather than being released in controlled amounts.

Spicy Foods

Capsaicin, the compound that makes chili peppers hot, doesn’t just burn your mouth. It activates the same heat-sensing receptors throughout your entire digestive tract. When capsaicin binds to these receptors in the intestinal lining, it triggers a cascade of signals: smooth muscle in the colon contracts more forcefully, the gut releases compounds that accelerate motility, and the intestine becomes more sensitive to stretching and pressure. Food moves through faster than normal, leaving less time for water to be absorbed. That’s why spicy meals can cause both diarrhea and a burning sensation during bowel movements.

Tolerance varies widely. People who eat spicy food regularly tend to develop some desensitization over time, while those unaccustomed to it are more likely to react.

Fruit, Juice, and Fructose

Fruit is healthy, but large servings can cause diarrhea because of fructose, the natural sugar in fruit. Your small intestine can only absorb a limited amount of fructose at once, roughly 15 to 25 grams per sitting. Beyond that, the excess fructose passes unabsorbed into the colon, where it draws in water and gets fermented by bacteria, producing gas, bloating, and loose stools.

Some fruits pack more fructose per serving than others. Apples, pears, mangoes, and watermelon are particularly high. Fruit juice concentrates the sugar while removing the fiber that slows absorption, making it an even more common trigger. A large glass of apple juice can easily exceed 25 grams of fructose. Dried fruit is similarly concentrated. Honey is another potent source, sometimes containing more fructose than glucose, which makes it harder to absorb.

Sugar-Free and “Diet” Products

Sugar-free gum, candy, protein bars, and diet drinks often contain sugar alcohols like sorbitol, xylitol, and mannitol. These sweeteners are poorly absorbed in the small intestine by design, which is why they’re low in calories. But the trade-off is that they behave a lot like lactose in someone who’s intolerant: they pull water into the intestine and get fermented by bacteria in the colon.

Sorbitol is the best-studied offender. Research shows the laxative threshold can be surprisingly low, as little as 0.17 grams per kilogram of body weight in some men. For a 175-pound person, that’s roughly 13 grams, an amount you could easily get from a handful of sugar-free candies or a couple of protein bars. The “excess consumption may cause a laxative effect” warning on sugar-free gum packaging exists for exactly this reason. Sorbitol also occurs naturally in some fruits, including prunes, cherries, and peaches, which partly explains their reputation for loosening stools.

Coffee and Caffeine

Coffee stimulates colonic contractions within 30 minutes of drinking it. This effect is partly due to caffeine, which increases gut motility, but coffee also triggers it independently. Studies using decaffeinated coffee still show increased colon activity, suggesting that other compounds in coffee, including certain acids and oils, play a role. For most people this just means a predictable morning bathroom trip, but on an empty stomach or in large amounts, it can tip into diarrhea.

Energy drinks and pre-workout supplements combine high caffeine doses with sugar alcohols or large amounts of fructose, doubling up on diarrhea triggers.

High-FODMAP Foods

FODMAPs are a group of short-chain carbohydrates that share a common trait: they’re poorly absorbed and highly fermentable. The acronym covers fermentable oligosaccharides, disaccharides, monosaccharides, and polyols, but what matters practically is which foods contain them. Garlic, onions, wheat, beans, lentils, certain vegetables (like cauliflower and mushrooms), and some fruits all qualify.

These molecules have a high osmotic pull, meaning they attract water into the intestinal lumen. In the colon, bacteria rapidly ferment them, producing hydrogen and methane gas. The combination of extra fluid, gas production, and intestinal wall stretching accelerates motility and triggers diarrhea, especially in people with irritable bowel syndrome. A low-FODMAP diet is one of the most evidence-backed dietary interventions for chronic diarrhea-predominant IBS, though it’s meant to be guided by a dietitian and used temporarily to identify personal triggers rather than followed indefinitely.

Contaminated or Undercooked Food

Sometimes the issue isn’t the type of food but what’s growing in it. Foodborne pathogens cause acute diarrhea with a timeline that depends on the specific organism. Norovirus, the most common cause of food poisoning outbreaks, typically hits 12 to 48 hours after exposure, with a median onset of about 33 hours. Salmonella usually causes symptoms within 6 to 48 hours, though it can take up to 10 days. E. coli O157:H7, often linked to undercooked ground beef and contaminated produce, takes longer, with most cases developing in 3 to 4 days.

The key distinction is that food poisoning usually comes on suddenly, often with vomiting, fever, or both. If your diarrhea is a recurring pattern tied to certain foods rather than a one-time event, a food sensitivity or intolerance is far more likely than an infection.

How to Identify Your Triggers

If you’re dealing with frequent loose stools, a food diary is the simplest starting point. Write down what you eat, how much, and when symptoms appear. Patterns tend to emerge within two to three weeks. Pay attention to portion size, not just the food itself. Many of the triggers above are dose-dependent: a splash of milk in your coffee might be fine, while a bowl of cereal with milk is not.

Elimination diets work by removing a suspected category (dairy, high-fructose fruits, or high-FODMAP foods) for two to four weeks, then reintroducing items one at a time. This approach is more reliable than guessing, because many people blame the wrong food. A meal’s most memorable ingredient, like the hot sauce, may not be the actual cause when the real trigger is the onion or garlic in the dish.