Coming soonNotify me
SafeBelly

Nuts with IBS and nut allergies: FODMAPs, peanuts, tree nuts and coconut

Which nuts are low FODMAP, how tree nut and peanut allergies differ, what the FDA's coconut change means for labels, and how to handle cross-contact with nuts.

8 min read · Updated October 12, 2026 · 8 sources

Key points

  • Monash University lists cashews and pistachios as high FODMAP, and macadamias, peanuts and walnuts as low FODMAP choices.
  • Peanuts are legumes, not tree nuts. The two allergies are different, but they often overlap and share equipment.
  • Since the FDA's January 2025 guidance, coconut is no longer a major allergen on US labels, but it must still appear in the ingredient list.
  • Cross-contact is the big risk with nut allergies, especially in bakeries, ice cream shops and some restaurant cuisines.
  • With a nut allergy, only your allergist can tell you which nuts, if any, are OK for you.

Are nuts OK for IBS and nut allergies?

For IBS, it depends on the nut and the portion. Monash University lists cashews and pistachios as high FODMAP, and macadamias, peanuts and walnuts as low FODMAP choices, with GOS and fructans as the main FODMAPs in nuts. For a nut allergy, the answer is "No" for the nuts you are allergic to, and cross-contact means even nuts you aren’t allergic to need care.

Nuts and seeds bring fiber, protein and plenty of flavor, so it is worth knowing which ones suit you. This guide covers FODMAPs at the level Monash publishes, the difference between peanut and tree nut allergy, the FDA’s change on coconut, and how to shop and eat out with a nut allergy.

Nuts by condition

ConditionWhat to knowTypical answer in SafeBelly
IBS / low FODMAP: cashews, pistachiosMonash lists both as high FODMAP.No
IBS / low FODMAP: almondsMonash lists a small serve as low FODMAP and a full serve as high.Depends on portion
IBS / low FODMAP: macadamias, peanuts, walnutsMonash lists these as low FODMAP choices. Large handfuls add up.Depends on portion
Tree nut allergyOne of the nine major US allergens and of the 14 EU/UK allergens. Shared equipment with peanuts is common.No
Peanut allergyPeanut is a legume and a separate major allergen. Many products with tree nuts also carry peanut cross-contact.No
Celiac diseasePlain nuts are not gluten grains, but coated, seasoned or flavored nuts can contain wheat. Check the label every time.Eat with care
Eosinophilic esophagitis (EoE)Nuts are one of the foods commonly removed in EoE elimination diets; whether they matter depends on your own triggers.Eat with care

With a tree nut or peanut allergy selected, SafeBelly answers "No, avoid this." for foods that contain that nut, and it never answers "Yes" for an allergen you have told it about.

Nuts and FODMAPs: what Monash publishes

Nuts contain GOS and fructans, the oligosaccharide FODMAPs. The amount varies a lot by type, which is why some nuts are a staple during the elimination phase and others are kept for the reintroduction phase.

NutWhat Monash says (public articles)Practical takeaway
CashewsHigh FODMAPLeave out during elimination; test later if you like them
PistachiosHigh FODMAPLeave out during elimination; test later
AlmondsLow FODMAP at a half serve, high at a full serveA small handful, not a bowlful
MacadamiasLow FODMAP choiceUseful for snacks and baking
WalnutsLow FODMAP choiceEasy to add to salads and oats
PeanutsLow FODMAP choiceCheck peanut butter labels for added ingredients
Most seedsLow FODMAPPumpkin seeds (pepitas) are on Monash’s low list

The almond example comes from Monash’s list of foods that are low FODMAP at a smaller serving. Serving sizes for every nut are in the Monash FODMAP app, which is updated as foods are retested. Our guide to FODMAP portion sizes explains why a handful and a bag can get different answers.

  • Nut butters: check for added honey, which Monash lists as high FODMAP. See high-FODMAP foods and swaps.
  • Mixed nuts and trail mix: often include cashews and pistachios, plus dried fruit that may be high in fructose.
  • Nut flours and bars: a bar made mostly of cashews or with added inulin is a different food from a few walnuts.

Talk to a doctor or registered dietitian ahead of a full elimination phase. Nuts are a valuable source of nourishment, and the goal is to find your own tolerance, not to avoid them all.

Tree nuts vs peanuts: two different allergies

Peanuts grow underground and are legumes, related to beans and peas. Tree nuts grow on trees. FARE explains that the allergies are separate, but overlap is common: about 40 percent of children with a tree nut allergy are also allergic to peanut.

  • One tree nut often means others. FARE reports that about 50 percent of children allergic to one tree nut are allergic to another, and that cashew and pistachio, and walnut and pecan, are closely linked.
  • Tree nut allergy tends to be lifelong. FARE notes that about 9 percent of children with tree nut allergy eventually outgrow it.
  • Peanut and other legumes. FARE says peanut allergy doesn’t mean you are more likely to be allergic to other legumes, with lupin as the exception to ask about. See our beans, lentils and chickpeas guide.
  • Refined peanut oil. FARE notes that highly refined peanut oil is exempt from allergen labeling and that studies suggest most people with peanut allergy tolerate it, but cold-pressed, expelled or extruded peanut oils may contain peanut protein. Ask your allergist.

Which nuts you avoid is a decision for your allergist, who may recommend avoiding all nuts or testing specific ones. Don’t try a new nut on your own to see what happens.

Coconut and the FDA’s 2025 tree nut change

In January 2025, the FDA published the fifth edition of its food allergen guidance. Its FAQ confirms that coconut is no longer on the FDA’s tree nut list, along with beech nut, butternut, chestnut, chinquapin, cola/kola nut, ginkgo nut, hickory nut, palm nut, pili nut, shea nut and lichee nut.

  • Coconut must still be in the ingredient list. It just isn’t treated as a major allergen, so it shouldn’t appear in the "Contains" statement.
  • One gap: the FDA notes that a natural coconut flavor may be listed simply as "natural flavor".
  • Labels are in transition. The FDA says some packaged foods may still show coconut in a "Contains" statement for a few years.
  • The 12 tree nuts still listed include almond, Brazil nut, cashew, hazelnut, macadamia, pecan, pine nut, pistachio and walnut varieties.

FARE notes that coconut has typically not been restricted for people with tree nut allergy, but that coconut allergy does exist. If you react to coconut, read the full ingredient list rather than relying on the "Contains" line, and ask your allergist about natural flavors.

In the UK and EU, the 14 allergens include "nuts", defined as almonds, hazelnuts, walnuts, cashews, pecans, Brazil nuts, pistachios and macadamia nuts, with peanuts listed separately.

Cross-contact and hidden nuts

With nut allergies, the nut you can see is often less of a worry than the one you can’t. FARE lists tree nut protein in cereals, crackers, cookies, candy, energy bars, flavored coffee, frozen desserts, marinades, barbecue sauces and some cold cuts, and peanut in chili, egg rolls, pesto, salad dressings, granola, ice cream and vegetarian meat substitutes.

  • High-risk places: FARE names ice cream parlors, bakeries and coffee shops for tree nuts, and notes high cross-contact risk with peanut in many African, Asian and Mexican restaurant dishes.
  • Seeds and seed butters: FARE notes sunflower seeds are often processed on shared equipment with peanuts. Sesame is its own major allergen in the US.
  • "May contain" statements are voluntary in the US. The FDA says they are meant only for unavoidable cross-contact, so a missing warning isn’t a guarantee. Contact the manufacturer if you need to know.
  • Beyond food: FARE notes nut oils can turn up in lotions, hair products and soaps, and nut flavoring in some alcoholic drinks.

Read the label every time, ask staff about ingredients and shared equipment, and carry your prescribed epinephrine. Our guides to reading food labels for allergens and talking to restaurant staff go deeper. For a severe reaction, use your epinephrine as directed and call emergency services.

Swaps and when to talk to a clinician

If some nuts don’t suit your gut, the low-FODMAP options in Monash’s list (macadamias, walnuts, peanuts and most seeds) usually cover snacks, salads and baking. If you have a nut allergy, swaps depend on what your allergist has cleared: seeds such as pumpkin seeds are a common choice, but check for shared-equipment warnings and for sesame if that is also one of your allergens.

Talk to a doctor or allergist if you notice itching, hives, swelling or vomiting when you eat nuts, if you want to know whether you can eat other nuts, or if you wonder whether a childhood nut allergy has changed. Talk to a dietitian if nuts seem to cause digestive symptoms, so you can test them in a structured way rather than cutting them all out.

How SafeBelly helps

Know before you eat.

SafeBelly checks every food, barcode or photographed plate against tree nuts, peanuts and the rest of the 14 major allergens, so pesto with pine nuts or a granola bar with cashews is flagged with the reason. For FODMAP-based conditions it shows nuts at small, typical and large portions, because a few almonds and a handful can get different answers. It’s a food information app, not a medical device, and your allergist’s advice always comes first.

SafeBelly is in final testing on iPhone and Android. Leave your email and we'll send one note the day it's in the App Store and on Google Play.

Which phone do you use?

We only use your email to tell you about the SafeBelly launch. No health data, no spam, and you can ask us to remove it at any time. Privacy Policy

Frequently asked questions

Which nuts are low FODMAP?+

Monash University lists macadamias, peanuts and walnuts as low FODMAP choices, and almonds as low FODMAP in a small serving only. Cashews and pistachios are high FODMAP. Check the Monash app for current serving sizes.

Is a peanut a tree nut?+

No. Peanuts grow underground and are legumes, related to beans and peas. But FARE reports that about 40 percent of children with a tree nut allergy are also allergic to peanut, and the two are often processed on the same equipment.

Is coconut a tree nut?+

Not for US labeling any more. The FDA removed coconut from its tree nut list in its January 2025 guidance, so it no longer appears in "Contains" statements. It must still be named in the ingredient list, unless it is part of a natural flavor.

If I'm allergic to one tree nut, should I avoid all of them?+

Ask your allergist. FARE reports that about half of children allergic to one tree nut are allergic to another, and your doctor may recommend avoiding all nuts or testing specific ones.

Are cashews high FODMAP?+

Yes. Monash lists cashews as high FODMAP, so they are a common trigger for people with IBS. You can test your own tolerance in the reintroduction phase with a dietitian.

Is peanut oil safe for a peanut allergy?+

FARE notes that highly refined peanut oil is exempt from allergen labeling and that studies suggest most people with peanut allergy tolerate it. Cold-pressed, expelled or extruded peanut oils may contain peanut protein. Ask your allergist whether any peanut oil is right for you.

Sources

  1. Where FODMAPs are found in foods · Monash University FODMAP
  2. 10 foods you didn’t know you could eat on a low FODMAP diet · Monash University FODMAP
  3. Tree nut allergy · Food Allergy Research & Education (FARE)
  4. Peanut allergy · Food Allergy Research & Education (FARE)
  5. Frequently asked questions: food allergen labeling guidance for industry · US Food and Drug Administration
  6. Food allergies · US Food and Drug Administration
  7. Regulation (EU) No 1169/2011, Annex II: substances or products causing allergies or intolerances · legislation.gov.uk
  8. Eosinophilic esophagitis · American College of Gastroenterology

SafeBelly is a food information app, not a medical device, and no substitute for professional medical advice. Talk to your doctor or a registered dietitian before making changes to how you eat, and seek urgent care for severe or sudden symptoms.

Keep reading

Can I eat this? Ask SafeBelly.

Coming soon to iPhone and Android

Notify me