Nuts are generally safe to eat during mild diarrhea, and their fiber and fat content may even help firm up loose stools in some situations. But “it depends” is the honest answer here, because the type of nut, how much you eat, how it’s prepared, and why you have diarrhea in the first place all change the picture. For someone recovering from a stomach bug, a small handful of smooth nut butter is a different proposition from a heaping bowl of raw almonds with the skins on. The nuance matters more than a blanket yes or no.
What Nuts Actually Do in Your Gut
Nuts are a dense package of fat, protein, and fiber. When your digestive system is working normally, that combination slows gastric emptying and gives your intestines more time to absorb water from the food passing through. This is actually the opposite of what triggers diarrhea. The fat in particular tells your stomach to take its time, which is why a handful of almonds keeps you full longer than a handful of pretzels.
The fiber in nuts is mostly insoluble, meaning it adds bulk to stool rather than dissolving into a gel. During a bout of diarrhea, bulking up stool can be helpful because it gives the colon something to work with. A large cross-sectional study found that people without chronic diarrhea consumed more dietary fiber overall than those with chronic diarrhea, and that women who ate more than 25 grams of fiber daily had lower rates of chronic diarrhea.1PubMed Central. Relationship between dietary fiber intake and chronic diarrhea in adults That doesn’t mean you should suddenly load up on fiber when your gut is already upset, but it does suggest that fiber-rich foods like nuts are part of a dietary pattern that protects against loose stools over time.
There’s also the microbiome angle. When fiber and other undigested compounds from nuts reach the colon, resident bacteria ferment them into short-chain fatty acids. A systematic review and meta-analysis of nut interventions found that nut consumption had positive effects on propionate, one of these short-chain fatty acids, which plays a role in maintaining the gut lining and regulating inflammation.2Advances in Nutrition. Effects of Nut Intake on Gut Microbiome Composition and Gut Function in Adults: A Systematic Review and Meta-analysis A healthier gut lining means better water absorption in the colon, which is exactly what you want when diarrhea strikes.
When Nuts Can Make Things Worse
All of that sounds encouraging, but there are clear situations where eating nuts during diarrhea backfires. The biggest risk is simply eating too many. Nuts are calorie-dense and fiber-rich, and dumping a large serving into an already irritated gut can overwhelm your digestive capacity. The fiber that would normally be helpful can draw extra water into the intestine if you eat more than your system can handle, worsening loose stools. A portion of about one ounce, roughly a small handful, is generally considered moderate. Going well beyond that when your gut is already struggling is asking for trouble.
Raw nuts with intact skins are harder to break down than roasted or blanched ones. The cell walls of raw nuts resist digestion more stubbornly, which means larger, less-processed particles reach the colon.3PubMed Central. Effect of Nuts on Gastrointestinal Health In a healthy gut, that’s fine and may even be beneficial for the microbiome. In a gut that’s already inflamed or moving things through too fast, those intact particles can act as irritants. Roasting breaks down some of this structure. A study using simulated gastric digestion found that roasted almonds disintegrated faster and lost more solids during digestion than raw almonds, because roasting decreases the rigidity of the nut tissue.4PubMed Central. Digestion of Raw and Roasted Almonds in Simulated Gastric Environment Further research on tree nuts confirmed that roasting generally increased protein digestibility, though the effect varied by nut type.5PubMed. In vitro gastroduodenal and jejunal brush border membrane digestion of raw and roasted tree nuts
The practical upshot: if you want to eat nuts during a digestive flare-up, smooth nut butters, roasted nuts, and finely ground options are gentler than whole raw nuts. Almond butter on toast is a different experience for your intestines than crunching through a bag of raw Brazil nuts.
The Cause of Your Diarrhea Matters
A brief bout of diarrhea from a viral stomach bug, food poisoning, or a stressful week is a very different situation from chronic diarrhea driven by an underlying condition. The general advice for acute, short-lived diarrhea is to start with bland, easy-to-digest foods and gradually reintroduce more complex items. Nuts aren’t typically on the “first foods back” list, but they don’t need to be strictly avoided either. Once your appetite returns and you can keep simple foods down, adding a small amount of smooth nut butter or a few roasted nuts is usually tolerated.
For people with inflammatory bowel disease, the picture is more complicated. Many patients with Crohn’s disease or ulcerative colitis avoid nuts out of fear that they’ll trigger a flare, and some gastroenterologists have historically echoed that caution. But a large prospective study tracking nut consumption and IBD risk found no statistically significant overall association between eating nuts twice a week or more and developing either Crohn’s disease or ulcerative colitis.6PubMed. Dietary Nut and Legume Intake and Risk of Crohn’s Disease and Ulcerative Colitis That study also turned up an intriguing subgroup finding: in participants with a BMI of 25 or higher, each additional daily serving of nuts was associated with a substantially lower risk of Crohn’s disease, though no similar protective effect was seen in leaner participants.6PubMed. Dietary Nut and Legume Intake and Risk of Crohn’s Disease and Ulcerative Colitis Researchers don’t fully understand why body weight might modify the relationship, and the finding is preliminary, but it’s a reminder that blanket avoidance of nuts may not be warranted for everyone with IBD.
People with irritable bowel syndrome sometimes find that high-fat foods trigger symptoms. Nuts are high-fat, and some varieties, particularly cashews and pistachios, also contain fermentable carbohydrates that can provoke gas and cramping in sensitive individuals. If you already know that specific nuts set off your IBS symptoms, that knowledge overrides any general “nuts are fine” advice.
The Diverticulitis Myth
For decades, doctors told patients with diverticulosis, the condition where small pouches form in the colon wall, to avoid nuts, seeds, and popcorn. The reasoning sounded intuitive: small, hard particles could lodge in one of those pouches and trigger a painful infection called diverticulitis, which often comes with diarrhea. This advice was passed down so confidently that many people still follow it.
It turns out there was never strong evidence behind the recommendation, and the data that have accumulated since point in the other direction. A systematic review examining the relationship between nut consumption and diverticular disease found no significant increase in diverticulitis risk among nut eaters, with a hazard ratio of 0.89 and a confidence interval that comfortably crossed one. The review concluded that moderate nut consumption appears safe and may even be protective against diverticulosis.7PubMed Central. Are Nuts Safe in Diverticulosis? A Mixed-Methods Systematic Review of Available Evidence A separate large prospective cohort study in women found essentially the same thing: intake of peanuts, nuts, and seeds was not associated with incident diverticulitis.8PubMed Central. Diet and Risk for Incident Diverticulitis in Women: A Prospective Cohort Study
If you’ve been avoiding nuts because of diverticular disease and dealing with diarrhea as a symptom, the evidence suggests that nuts themselves aren’t making it worse. Reintroducing them gradually, starting with nut butters or finely chopped options, is reasonable and lets you gauge your own tolerance.
Nut Allergies and GI Symptoms
There is one situation where nuts absolutely cause diarrhea, and that’s a true food allergy. Tree nut and peanut allergies are among the most common food allergies, and gastrointestinal symptoms including cramping, vomiting, and diarrhea are a well-recognized part of allergic reactions to these foods. Research in children with confirmed peanut allergy found that gastrointestinal symptoms during a reaction were significantly associated with worse health-related quality of life, alongside lower airway symptoms and anaphylaxis.9PubMed. Association of Reaction Symptoms and Eliciting Dose With Health-Related Quality of Life in Children With Peanut Allergy
The point here isn’t just that allergies exist. It’s that some people experience mild, chronic GI symptoms from a nut sensitivity they haven’t formally identified. If you consistently get loose stools after eating tree nuts or peanuts but don’t have an obvious reason for diarrhea, an allergy or intolerance evaluation could be worth pursuing. This is different from the “nuts irritate my gut when it’s already upset” scenario, because an allergic reaction will happen whether your gut is healthy or not.
Food Safety and Contaminated Nuts
Sometimes the problem isn’t the nut itself but what’s growing on it. Nuts can harbor Salmonella, and because many people eat them raw or lightly processed, contaminated batches occasionally cause outbreaks. A survey of more than 3,300 raw tree nut samples at U.S. retail found an overall Salmonella prevalence of about 0.44%, with some nut types testing much higher. Macadamia nuts and pistachios had prevalence rates of roughly 2.5% each, compared to lower rates in other varieties.10PubMed Central. Survey of Salmonella in raw tree nuts at retail in the United States In 2008-2009, contaminated peanut products from one corporation caused an outbreak that killed nine people, hospitalized hundreds, and led to the recall of around 4,000 products.11A Handbook of Food Crime. Mass Salmonella poisoning by the Peanut Corporation of America: Lessons in state-corporate food crime
If you’ve developed sudden diarrhea after eating nuts and it came on with nausea, fever, and cramping, foodborne illness is worth considering, especially if the nuts were raw. Roasting kills Salmonella, so roasted nuts carry much less food-safety risk. For immunocompromised people or anyone already weakened by illness, this distinction is more than academic.
Choosing the Right Form
Not all nut products behave the same way in your gut, and the form you choose during a diarrhea episode can make a meaningful difference.
- Smooth nut butters: Easiest to digest. The grinding process destroys the cell wall structure that makes whole nuts harder to break down. Peanut butter and almond butter are both reasonable options, though avoid varieties loaded with added sugar or sugar alcohols, which can worsen diarrhea on their own.
- Roasted nuts: Easier to digest than raw, as roasting softens the nut matrix and improves protein breakdown during digestion. Choose lightly salted if you’ve been losing electrolytes from diarrhea, since a bit of sodium can actually help with rehydration.
- Raw nuts with skins: The toughest option. Almond skins contain tannins that can irritate a sensitive gut. Hazelnuts and walnuts also retain their skins when sold raw. If your digestive system is already struggling, save these for when you’re feeling better.
- Candied or honey-roasted nuts: The added sugars can draw water into the intestine by osmosis, which is the last thing you want during diarrhea. Avoid these until your symptoms resolve.
- Trail mixes: Often contain dried fruit alongside nuts. Dried fruit is high in fructose and sorbitol, both of which can trigger or worsen loose stools. Read the ingredients and consider picking out just the nuts if you’re mid-episode.
The cell wall structure of different nut species also varies. Almonds and macadamias have thicker cell walls that resist digestion more than, say, cashews or pine nuts. How thoroughly you chew matters too: larger nut particles that reach the colon intact deliver more undigested material to gut bacteria, which increases fermentation and gas production. During a diarrhea episode, chewing nuts thoroughly or choosing pre-ground forms reduces the load on your lower gut.3PubMed Central. Effect of Nuts on Gastrointestinal Health
What About the BRAT Diet?
You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s been the go-to recommendation for decades when diarrhea strikes. Nuts aren’t on that list, and for good reason. The BRAT foods are extremely low in fat and fiber, designed to give your gut as little work as possible. Nuts are the opposite: high fat, moderate fiber, and relatively hard to break down.
But the BRAT diet itself has fallen out of favor with many dietitians and gastroenterologists. The concern is that it’s so nutritionally limited that following it for more than a day or two leaves you short on calories, protein, and essential fats, precisely the things you need to recover. Most current guidance suggests returning to a normal, balanced diet as soon as you can tolerate it, rather than restricting yourself to four bland foods. Nuts fit into that “normal, balanced” category. You wouldn’t make them the centerpiece of your first meal after 24 hours of vomiting, but working them back in within a day or two as a protein and fat source is more in line with modern dietary thinking than prolonged avoidance.
Electrolytes and the Rehydration Angle
The most dangerous thing about diarrhea isn’t the loose stools themselves but the loss of water and electrolytes. Oral rehydration, meaning fluids with some salt and sugar, is the cornerstone of treatment. Nuts don’t help with rehydration directly, since they contain almost no water. But they do provide magnesium, potassium, and a modest amount of sodium, all electrolytes you lose during diarrhea. An ounce of almonds delivers about 75 milligrams of magnesium, and cashews are a decent source of both magnesium and potassium.
This doesn’t mean you should rely on nuts instead of fluids. It means that once you’re drinking enough, including nuts as part of your recovery meals helps replenish some of what you’ve lost. Pairing a small serving of salted roasted nuts with an oral rehydration drink or broth is a reasonable strategy once the worst of the diarrhea has passed.
Practical Timing and Tolerance Testing
If you’re dealing with active, watery diarrhea, especially with nausea, the honest advice is to focus on fluids first and hold off on solid foods until your appetite returns. Nuts shouldn’t be the first thing you reach for when you start eating again, but they don’t need to be the last either.
A sensible progression looks something like this: start with easy-to-digest carbohydrates and clear broths. Once those are sitting well, add a tablespoon of smooth nut butter with toast or crackers. If that goes fine, you can move to a small portion of roasted nuts. If at any point the diarrhea worsens, step back to simpler foods for another meal or two. Most people find that nuts are well tolerated within 24 to 48 hours of their symptoms starting to improve.
For chronic diarrhea that isn’t tied to an acute illness, the long-term dietary evidence actually favors including nuts regularly rather than avoiding them. The fiber, healthy fats, and microbiome-friendly compounds in nuts support the kind of gut environment that resists chronic loose stools. Cutting them out removes a beneficial food group without clear evidence that doing so helps. If specific nuts consistently cause you problems, by all means avoid those varieties, but eliminating the entire category is probably doing your gut more harm than good.