Guide

Hidden sources of tree nuts, and is coconut a tree nut?

Updated 2026-08-05

Tree nut allergy is the fourth most common food allergy in the United States, affecting around 3.9 million people, and it is one of the least likely to be outgrown: only about 9% of children with a tree nut allergy grow out of it. This guide covers which nuts count, where they hide, and the two questions people ask most, coconut and whether one nut allergy means avoiding all of them.

This is general information, not medical advice. Which nuts you avoid is a decision for your allergist, not a website.

Which nuts are tree nuts on a US label

The FDA requires twelve tree nuts to be declared in plain language on packaged food:

The six that cause the most reported reactions are walnut, almond, hazelnut, pecan, cashew and pistachio.

Is coconut a tree nut?

Not any more, for labelling purposes. Coconut is botanically the seed of a drupaceous fruit, not a nut, and it has historically not been restricted in the diets of people with tree nut allergy. The FDA did classify it as a tree nut requiring declaration from October 2006, but that designation ended in December 2024, so newer packaging may not flag it.

In practice, most people with a tree nut allergy can eat coconut safely. Coconut allergy exists but is separate and uncommon. As always, confirm with your own allergist before adding it back.

Shea gets asked about for the same reason. There are no documented cases of food allergic reactions to shea nut oil or butter, so a reaction to it would be extremely rare.

If I react to one nut, must I avoid them all?

Two separate things get tangled here.

Biologically, one nut allergy does not automatically mean all of them. About half of children allergic to one tree nut are allergic to another, and some pairs travel together more than others: roughly two thirds of people who react to cashew also react to pistachio, and the same holds for walnut and pecan. Peanut is a legume rather than a tree nut, but the overlap is real there too, with 25 to 40% of peanut-allergic people reacting to at least one tree nut.

Practically, allergists usually advise avoiding all nuts anyway. Not because the biology says so, but because nuts are processed, stored, scooped and baked together, so a "cashew-free" product is very often not free of the nut next to it on the line. That advice is about cross-contact, not cross-reactivity, which is why your allergist may still tell you a specific nut is fine at home while off-limits from a bakery.

Where tree nuts turn up unexpectedly

Some of these are obvious once you know, and invisible until then:

High cross-contact venues are worth naming too: ice cream parlours, bakeries and coffee shops handle open nuts all day, and an order that contains no nuts can still be assembled with equipment that just did.

How AllergyLens helps

AllergyLens checks an ingredient list against a tree nut profile using the declarable names above, so a "pistachio" in a cold cut or "pine nuts" in a pesto is flagged even when the front of the pack says nothing about nuts. It cannot see cross-contact that the label does not declare, so a "may contain" warning and a bakery counter both still need your own judgement, see our explainer on what "may contain" means.

Check a product in seconds

AllergyLens reads the whole ingredient list against your family's allergy profiles, free, no account, works offline.

Check a product

Sources

  • Food Allergy Research & Education (FARE), Tree Nut Allergy (the twelve declarable nuts; coconut's delisting in December 2024; shea; roughly half of children allergic to one tree nut react to another, and the cashew and pistachio, walnut and pecan pairs; about 9% outgrow; cross-contact venues and hidden sources)
  • American College of Allergy, Asthma & Immunology (ACAAI), Tree Nut Allergy (why allergists advise avoiding all nuts; 25 to 40% peanut and tree nut overlap)
  • US Food & Drug Administration, Food Allergen Labeling and Consumer Protection Act of 2004 (FALCPA)