Is Coconut a Nut? What Allergy Labels Say in the UK and US
Coconut is not a tree nut under UK or EU law, and the US stopped treating it as one in 2025. What that means for labels, and for a nut-free kitchen.
Updated
Short answer: no. A coconut is the fruit of a palm. Botanically it is a drupe, the same kind of fruit as a peach or an olive, and it is not related to almonds, hazelnuts or walnuts.
The longer answer is about labels, because for nearly twenty years American packaging said otherwise.
In the UK and EU
Coconut is not one of the 14 allergens that must be emphasised on labels. The law lists eight tree nuts by name: almonds, hazelnuts, walnuts, cashews, pecans, Brazil nuts, pistachios and macadamia nuts. Coconut is not among them, and neither are pine nuts or chestnuts.
Coconut still has to appear in the ingredient list when it is used. It just will not be in bold, and a product 'free from nuts' can contain it.
In the US
For years the US Food and Drug Administration included coconut in its list of tree nuts, which is why American products often say 'Contains: Tree Nuts (Coconut)'. In January 2025 the FDA published revised guidance with a shorter list of tree nuts, and coconut is no longer on it.
Packaging takes time to catch up, so you will keep seeing the old wording for a while. A 'contains tree nuts' line on an American product may mean coconut and nothing else. The specific nut has to be named, so read on to see which one it is.
Can someone with a tree nut allergy eat coconut?
Most can. Coconut allergy exists, but it is uncommon, and having a tree nut allergy does not mean you are allergic to coconut. Allergy organisations in the UK and US say that most people with tree nut allergy tolerate it.
That is a statement about most people. If coconut is new to the person you are cooking for, or they have been told to avoid it, ask them or their allergy team before using it. Do not decide on someone else's behalf.
Why it matters in the kitchen
Coconut is one of the most useful ingredients in free-from cooking. Tinned coconut milk replaces cream, coconut yoghurt replaces dairy yoghurt, and coconut oil sets like butter. For a household that avoids both dairy and nuts, it is often what makes a recipe possible.
The thing to watch is not the coconut but where it was packed. Desiccated coconut and coconut flour are often handled in factories that also process tree nuts and peanuts, so check for a 'may contain nuts' warning.
The allergen check on this site follows the UK list, so it does not flag coconut as a tree nut. If your household avoids coconut, read the ingredient lists for it by name.
Other things that are not nuts, and some that are
| Food | Tree nut for UK labelling? | What it is |
|---|---|---|
| Coconut | No | Fruit of a palm |
| Nutmeg | No | A seed, used as a spice |
| Butternut squash | No | A squash |
| Water chestnut | No | The corm of a water plant |
| Pine nuts | No | Seeds of a pine tree. Some people do react to them |
| Chestnuts | No | A true nut botanically, but not on the UK list. Some people do react to them |
| Peanuts | Listed separately | A legume. One of the 14 in its own right |
| Shea butter | No | From the nut of the shea tree. Refined shea butter contains very little protein |
| Almonds, cashews, pistachios | Yes | Named tree nuts |
For the full list, see the 14 UK allergens explained.
Nut-free recipes that use coconut
Our nut-free chicken korma is thickened with coconut in place of ground almonds, and the dairy-free butter chicken uses coconut milk in place of cream and cashews. All the nut-free recipes are checked for tree nuts and peanuts.
Quick answers
- Is coconut a tree nut?
- No. Coconut is the fruit of a palm. It is not a tree nut under UK or EU labelling law, and the US FDA removed it from its tree nut list in January 2025.
- Can you eat coconut with a nut allergy?
- Most people with a tree nut allergy can. Coconut allergy is separate and uncommon. Check with your allergy team if you have not eaten it before.
- Why do some labels say 'contains tree nuts (coconut)'?
- US rules used to count coconut as a tree nut. That changed in 2025, but older packaging is still in circulation.
- Is nutmeg a nut?
- No. Nutmeg is a seed used as a spice and is not a tree nut.
- Are pine nuts tree nuts?
- Not under UK labelling law, where they are not one of the eight named tree nuts. They are seeds, though some people are allergic to them.
This guide is general information for people who cook around food allergies. It is not medical advice. Labelling rules and product recipes change, so read the label every time and follow the advice of your doctor, allergy clinic or dietitian.