Can You Eat Chocolate When You Have Diarrhea?

Having diarrhea is miserable, but treating it doesn’t always have to be. Surprisingly, eating dark chocolate may ease your diarrhea symptoms.
Is Eating Chocolate Good for Diarrhea?
“Dark chocolate has been found to help with diarrhea,” says Elena Ivanina, DO, a gastroenterologist with a private practice in New York City. In fact, she says, the use of cocoa as a diarrhea treatment dates back to ancient European and South American cultures.
“Cocoa contains flavonoids, natural plant-based compounds that have been found to have antioxidant properties,” Dr. Ivanina says. “They have also been found to block a protein that regulates fluid secretion in the gut,” which can improve diarrhea.
“Dark chocolate is especially effective, as it is highest in flavonoids,” she says.
Other Foods to Eat When You Have Diarrhea
Chocolate isn’t the only food that can help, Ivanina says.
If your diarrhea comes on suddenly and is likely due to food poisoning, “it’s best to scale back to broth and crackers,” she says. “When you reintroduce foods, start with the BRAT diet — bananas, rice, applesauce, and toast.”
The BRAT diet slows down your digestive system, which reduces the frequency of bowel movements, according to the International Foundation for Gastrointestinal Disorders (IFFGD).
The IFFGD lists other foods and drinks that might help calm your digestive tract or replace lost sodium and potassium, such as:
- Sports drinks or rehydration drinks
- Potatoes (boiled or mashed)
- Yogurt (if you can tolerate lactose)
- Rice
- Noodles
- Smooth peanut butter (in small amounts)
- White bread
Foods to Avoid
There are plenty of foods that can contribute to diarrhea, too. The IFFGD recommends trying to figure out what foods or fluids cause your digestive symptoms. Some common culprits include:
- Lactose For a lot of people, consuming milk or products made with it can be a problem because of lactose, a sugar found in milk. “Around 65 percent of the world’s population has a decreased ability to digest lactose after infancy,” Ivanina says. If you’re one of the many people with lactose intolerance, you may be able to keep your diarrhea symptoms at bay by following a lactose-free diet. “This includes staying away from cheese, milk, and ice cream,” Ivanina says.
- Gluten Eating foods that contain this protein found in wheat is another possible cause of chronic diarrhea in people who have celiac disease or a non-celiac gluten sensitivity. Ivanina says that removing gluten from the diet can improve diarrhea in people with those conditions.
- Fatty Foods If your snacks and meals contain a lot of fat or you love fried foods, your bowels may have to kick into overdrive and secrete more fluids to digest these foods, according to Harvard Health Publishing.
- Sugar Consuming natural sugars such as fructose, found in fruit and fruit juices, can make diarrhea symptoms worse. The same is also true of eating dried fruits like raisins, dates, and prunes, according to the IFFGD.
- Fake Sugars Some artificial sweeteners found in sugar-free gum, candy, and medications don’t get absorbed properly in the gut, and consuming them can lead to diarrhea, Ivanina says. The most-likely offenders are sweeteners that end in “ol.” These include sorbitol, mannitol, and xylitol, which can have a laxative effect, according to the IFFGD.
- Caffeine Drinking your morning cup of java may be giving your digestive system a bit too much of a jolt, according to Harvard Health Publishing.
The foods that can affect the gut vary from person to person, according to the IFFGD. So, you may need to experiment with some foods by taking them out of your diet, waiting for your symptoms to ease, and then gradually bringing them back to see if they’re behind your symptoms.
The same goes for foods that might help ease your diarrhea, too. And if you decide to try chocolate, remember to pick a plain dark chocolate and check the label for other ingredients.

Waseem Ahmed, MD
Medical Reviewer
Waseem Ahmed, MD, is an assistant professor of medicine in the Karsh Division of Gastroenterology and Hepatology at Cedars-Sinai Medical Center in Los Angeles and serves as Director, Advanced Inflammatory Bowel Disease Fellowship and Education within the F. Widjaja Inflammatory Bowel Disease Institute.
He received his undergraduate degree from the University of Michigan and attended medical school at Indiana University. He then completed an internal medicine residency at New York University, followed by a fellowship in gastroenterology and hepatology at Indiana University, and an advanced fellowship in inflammatory bowel disease at the Jill Roberts Center for Inflammatory Bowel Disease at New York-Presbyterian Hospital/Weill Cornell Medicine. Prior to his current role, Dr. Ahmed served as an assistant professor of medicine within the Crohn’s and Colitis Center at the University of Colorado from 2021-2024.
Dr. Ahmed is passionate about providing innovative, comprehensive, and compassionate care for all patients with inflammatory bowel disease (IBD). His research interests include IBD medical education for patients, providers, and trainees; clinical trials; acute severe ulcerative colitis; and the use of combined advanced targeted therapy in high-risk IBD.
He enjoys spending time with his wife and dog, is an avid follower of professional tennis, and enjoys fine dining.
Serena Gordon
Author
Serena Gordon is a health journalist with over 15 years of experience in the field. Based in New York, Gordon covers health topics including pregnancy and women’s issues.