The quick answer: are coconut and pine nuts tree nuts?
| Food | What is it? | One of the UK's eight regulated tree nuts? | Can it cause allergy? |
|---|---|---|---|
| Coconut | Botanically a fibrous drupe | No | Yes |
| Pine nut | Seed from certain pine trees | No | Yes |
| Peanut | Legume | No, regulated separately | Yes |
| Almond | Seed of a drupe | Yes | Yes |
| Cashew | Seed | Yes | Yes |
| Pistachio | Seed | Yes | Yes |
| Walnut | Nut (botanically, a drupe-like fruit) | Yes | Yes |
| Hazelnut | Nut | Yes | Yes |
| Pecan | Nut (botanically, a drupe-like fruit) | Yes | Yes |
| Brazil nut | Seed | Yes | Yes |
| Macadamia | Seed | Yes | Yes |
The important point: Botanical classification and UK allergen labelling categories are not the same thing.
A food can cause an allergic reaction even if it is not one of the UK's 14 regulated allergen categories.
Coconut
Fibrous drupe. Not a regulated UK tree nut.
Pine nut
Pine seed. Not a regulated UK tree nut.
Peanut
Legume. A separately regulated allergen.
Almond
Seed. Included in the eight regulated nuts.
Regulatory classification does not determine whether an individual can have an allergic reaction.
1. What counts as a tree nut in UK food labelling?
Under UK food allergen information rules, the regulated nuts category identifies eight specific types.
These are:
| # | Regulated nut | Name in the legislation (Annex II) |
|---|---|---|
| 1 | Almonds | Almonds (Amygdalus communis L.) |
| 2 | Hazelnuts | Hazelnuts (Corylus avellana) |
| 3 | Walnuts | Walnuts (Juglans regia) |
| 4 | Cashews | Cashews (Anacardium occidentale) |
| 5 | Pecans | Pecan nuts (Carya illinoinensis) |
| 6 | Brazil nuts | Brazil nuts (Bertholletia excelsa) |
| 7 | Pistachios | Pistachio nuts (Pistacia vera) |
| 8 | Macadamia nuts | Macadamia or Queensland nuts (Macadamia ternifolia) |
The legislation also refers to Queensland nuts, another name associated with macadamia nuts.
Why does the UK specify these nuts?
The regulations identify particular allergen sources for mandatory declaration in applicable foods.
The category is not intended to include every food whose everyday name contains the word nut.
Are peanuts included?
Peanuts are regulated separately.
They are legumes, not botanical tree nuts.
Are coconut and pine nuts included?
No.
Neither coconut nor pine nuts are among the eight specified nuts.
Does that mean they cannot cause serious allergies?
No.
The absence of an ingredient from the regulated list does not mean allergic reactions are impossible or necessarily mild.
Read our guide to the UK's 14 major food allergens.
2. Is coconut a tree nut?
Botanically, coconut is a fibrous, one-seeded drupe.
A drupe is a type of fruit with a hard inner layer surrounding the seed.
Peaches and olives are other examples of drupes, although their structures and edible parts differ.
Why is coconut called a nut?
The everyday name comes from its appearance and historical usage.
Common food names do not always match botanical classifications.
Is coconut one of the UK's regulated tree nuts?
No.
Does coconut allergy exist?
Yes.
Allergic reactions to coconut have been reported, although coconut allergy is relatively uncommon.
Does having a tree nut allergy mean you are automatically allergic to coconut?
No.
Coconut allergy and allergy to regulated tree nuts are not interchangeable.
Can someone have both?
Yes.
A person may be allergic to coconut and one or more tree nuts.
The relevant question is which specific foods have been identified as allergens for that individual.
3. Is coconut safe for someone with a tree nut allergy?
There is no universal answer.
Many people with tree nut allergies can tolerate coconut.
However, some individuals may have coconut allergy as well.
Is coconut automatically unsafe because it grows on a tree?
No.
Growing on a tree does not make a food part of the regulated tree nut category.
Is coconut automatically safe because it isn't one of the eight nuts?
Also no.
Individual allergy history matters.
Should someone with a severe tree nut allergy try coconut?
Do not introduce a suspected allergen through an unsupervised food challenge.
If coconut has not previously been eaten or its suitability is uncertain, seek advice from an allergy specialist.
Can allergy testing help?
An allergy specialist may consider the clinical history and, where appropriate, relevant tests.
A positive test result alone does not always establish clinical allergy.
4. Is coconut milk safe for nut allergy?
Coconut milk is made from coconut.
It is not the same as dairy milk or a drink made from one of the eight regulated tree nuts.
Does coconut milk contain almonds or cashews?
Not inherently.
However, prepared products can contain additional ingredients.
What about coconut milk in a carton?
Some coconut drinks are blended with other plant ingredients.
For example, a product may contain coconut and almond.
Does coconut milk contain dairy?
Plain coconut milk is generally dairy-free.
However, coconut-based desserts, drinks and prepared foods may contain milk ingredients.
What should you check?
Read the full ingredients list, not just the product name.
A coconut product can contain other allergens.
5. Is coconut oil safe for tree nut allergy?
Coconut oil is derived from coconut.
It is not one of the eight specified tree nut ingredients under UK allergen labelling rules.
However, someone with a diagnosed coconut allergy may need to consider coconut-derived oils.
Does coconut oil contain coconut protein?
Protein content depends on the product and processing.
Oils are primarily fat, but residual proteins may be relevant to allergy.
Is refined coconut oil the same as virgin coconut oil?
No.
They undergo different processing.
Does that mean refined coconut oil is always safe for coconut allergy?
No.
Individual suitability should not be assumed.
What about coconut oil in skincare?
Coconut oil is widely used in personal care products.
It may appear under the name:
Cocos Nucifera Oil
The botanical name identifies the coconut source.
It does not establish individual clinical safety.
6. Is coconut flour suitable for tree nut allergy?
Coconut flour is made from coconut material, often after oil extraction.
It is not almond flour or another regulated tree nut flour.
Can coconut flour cause an allergic reaction?
Yes, in someone with coconut allergy.
Does coconut flour contain gluten?
Pure coconut flour is naturally gluten-free.
However, the finished product may be affected by additional ingredients or cross-contact.
Can coconut flour be used instead of almond flour?
In some recipes, yes, although the baking properties differ considerably.
From an allergy perspective, suitability depends on the individual's diagnosed allergies and the specific product.
7. Are pine nuts tree nuts?
Pine nuts are edible seeds from certain species of pine trees.
They are not among the eight specified nuts covered by the UK's regulated tree nut allergen category.
Why are they called nuts?
The name reflects common culinary usage.
Botanically, they are seeds.
Can pine nuts cause an allergy?
Yes.
Pine nut allergy can cause significant reactions, including anaphylaxis.
Does having a tree nut allergy mean you are allergic to pine nuts?
Not automatically.
Can someone be allergic to pine nuts but tolerate almonds and cashews?
Yes.
Allergy to pine nuts can occur independently of allergy to the eight regulated tree nuts.
Are pine nuts always safe for people with peanut allergy?
No such guarantee can be made.
Peanut, pine nut and tree nut allergies are distinct, but an individual may have more than one allergy.
8. Is pesto safe for nut allergy?
Not automatically.
Traditional pesto often contains pine nuts.
However, commercial pesto recipes vary. For a full guide, read is pesto nut-free?
Some products use:
- Pine nuts
- Cashews
- Walnuts
- Almonds
- Other seeds
- Blends of ingredients
Why do manufacturers use different ingredients?
Reasons may include cost, availability, texture and flavour.
Does 'traditional pesto' guarantee pine nuts?
No.
Does 'pine nut pesto' guarantee there are no cashews?
No.
A product may contain multiple ingredients.
What should you check?
The complete ingredients list and allergen information.
For someone with a diagnosed pine nut allergy, the absence of bold nut allergen text does not prove that pine nuts are absent.
9. Why pine nuts may not be highlighted in bold
UK prepacked food labels generally emphasise ingredients belonging to the 14 regulated allergen categories.
Pine nuts are not one of the eight specified nuts in the regulated nuts category.
Example
Pesto
Ingredients: Basil, olive oil, pine nuts, Parmesan cheese (milk), salt.
The milk ingredient is emphasised.
The pine nuts may appear in ordinary text.
Does that mean pine nuts are not an allergen?
No.
It means they are not within that particular mandatory allergen-emphasis category.
What if someone has pine nut allergy?
They need to check for pine nuts specifically, rather than relying only on bold allergen names.
This is an important limitation of checking labels solely by looking for highlighted ingredients.
10. Why coconut may not be highlighted in bold
The same principle applies to coconut.
Coconut is not one of the UK's eight specified tree nuts.
Example
Coconut chocolate
Ingredients: Coconut, sugar, milk powder, cocoa.
The milk is emphasised.
The coconut may not be.
Does that mean the product is safe for coconut allergy?
No.
The ingredient is still present.
Can coconut appear under other names?
Yes, particularly in cosmetics.
Food and cosmetic labels use different naming conventions.
11. What is cross-reactivity?
Cross-reactivity occurs when the immune system recognises similar structures in proteins from different sources.
Does cross-reactivity mean everyone allergic to one nut reacts to all nuts?
No.
Allergic responses vary.
Are cashew and pistachio related?
Yes.
Cashew and pistachio are botanically related, and clinically relevant cross-reactivity is recognised. Read cashew and pistachio allergy: are they related?
Are walnut and pecan related?
Yes.
Walnut and pecan are also closely related.
Does the same relationship apply to coconut and every tree nut?
No.
Coconut is not automatically equivalent to the regulated tree nuts.
What about pine nuts?
Pine nut allergy may occur independently.
Clinical assessment is needed to determine individual patterns of allergy and tolerance.
12. Peanut allergy versus tree nut allergy
Peanuts and tree nuts are different food groups.
| Food | What it is |
|---|---|
| Peanut | A legume. |
| Almond | A seed from a drupe, but included in the regulated tree nut category. |
| Cashew | A seed, also included in the regulated tree nut category. |
| Coconut | A fibrous drupe, not included in the regulated tree nut category. |
| Pine nut | A seed from a pine tree, not included in the regulated tree nut category. |
Can someone be allergic to peanuts and tree nuts?
Yes.
Coexisting allergies are possible.
Does peanut allergy automatically require avoiding every tree nut?
Not necessarily.
Individual advice is important because the risk of coexisting allergy and cross-contact differs between people.
13. What does 'nut-free' mean on packaging?
The phrase nut-free can be confusing because consumers may interpret it differently.
Does nut-free always mean peanut-free?
Not necessarily.
Peanuts and regulated tree nuts are separate allergen categories.
Does nut-free always mean coconut-free?
No.
Does nut-free always mean pine nut-free?
No.
Does nut-free mean the product contains none of the eight regulated tree nuts?
A nut-free claim should be appropriately substantiated and not misleading, but consumers should still check exactly what the manufacturer means by the claim.
What should you do?
Read the ingredients list and, if necessary, ask the manufacturer which ingredients and cross-contact risks its claim covers.
Do not assume a broad marketing phrase addresses every individual allergy.
14. What about 'may contain nuts'?
A precautionary statement such as:
May contain nuts
generally refers to possible unintended presence through cross-contact.
Does it include peanuts?
The wording needs careful interpretation.
Peanuts and tree nuts are separate regulated allergen categories.
Does it include coconut?
Not automatically.
Does it include pine nuts?
Not automatically.
What if you have pine nut or coconut allergy?
Check the actual ingredients and contact the manufacturer if cross-contact information is important.
Does the absence of a warning guarantee safety?
No.
Precautionary allergen statements are generally voluntary.
Read our guide to 'may contain' warnings.
15. Coconut in skincare and cosmetics
Coconut-derived ingredients are widely used in skincare, haircare and cosmetics.
You may encounter names such as:
- Cocos Nucifera Oil
- Cocos Nucifera Fruit Extract
- Cocos Nucifera Fruit Juice
- Cocos Nucifera Water
These identify coconut-derived ingredients.
Does every ingredient beginning with 'coco' mean coconut?
No.
Some cosmetic ingredient names refer to substances that can be manufactured using different raw material sources.
For example, certain fatty acid derivatives may be produced from coconut or other oils.
The ingredient name alone may not establish the exact source.
What about cocamidopropyl betaine?
Cocamidopropyl betaine is a surfactant commonly used in cleansers and shampoos.
It can be manufactured using fatty acids from coconut-derived materials.
However, its presence does not automatically establish that the product contains intact coconut proteins.
Can cocamidopropyl betaine cause contact dermatitis?
Yes.
Contact allergy to cocamidopropyl betaine or manufacturing-related impurities is a recognised issue.
This is not the same as proving coconut food allergy.
What should someone with coconut allergy do?
Follow individual medical guidance and seek product-specific clarification when necessary.
16. Pine nuts in skincare
Pine-derived ingredients may appear in some cosmetic formulations.
However, not every ingredient with pine in its name is pine nut oil.
What about pine needle oil?
Pine needle oil is derived from needles or other parts of pine trees.
It is not automatically the same as pine nut oil.
Does pine fragrance mean pine nuts?
No.
A fragrance ingredient associated with pine does not necessarily contain edible pine nuts.
Can someone react to pine-derived cosmetic ingredients?
Yes, depending on the substance and individual sensitivity.
However, food allergy and cosmetic contact allergy are different conditions.
Do not automatically equate all pine-derived ingredients with pine nut allergy.
17. Five practical ingredient-label examples
These fictional examples illustrate the differences.
Example 1: Coconut biscuits
Coconut biscuits
Ingredients: Wheat flour (wheat), sugar, coconut, sunflower oil.
What matters: Coconut is present but may not be highlighted as a regulated allergen. Wheat is separately relevant.
Example 2: Traditional-style pesto
Traditional-style pesto
Ingredients: Basil, olive oil, pine nuts, Parmesan (milk), garlic.
What matters: Pine nuts are present even though they may not be emphasised in bold.
Example 3: Pesto made with cashews
Pesto made with cashews
Ingredients: Basil, olive oil, cashews, Parmesan (milk), garlic.
What matters: Cashews are one of the eight regulated tree nuts and require appropriate allergen emphasis.
Example 4: Coconut moisturiser
Coconut moisturiser (excerpt)
Ingredients: Aqua, Glycerin, Cocos Nucifera Oil, Cetearyl Alcohol.
What matters: Cocos Nucifera Oil identifies coconut oil.
Example 5: Mixed plant-based drink
Mixed plant-based drink
Ingredients: Water, coconut, almonds, stabiliser, salt.
What matters: Coconut and almonds are different ingredients. Almonds belong to the regulated tree nut category.
18. How to check coconut and pine nuts on labels
Step 1: Identify the exact allergy
Is the person allergic to peanuts, a particular tree nut, coconut, pine nuts or more than one?
Step 2: Read the entire ingredients list
Do not look only at bold allergen names.
Step 3: Recognise the names
Coconut, pine nuts and their relevant botanical or ingredient names may appear.
Step 4: Check prepared foods carefully
Pesto, sauces, desserts, plant-based drinks and baked goods can contain several different nuts or seeds.
Step 5: Don't rely solely on 'nut-free'
Clarify what the claim covers if necessary.
Step 6: Read precautionary information
Understand that it describes possible cross-contact rather than deliberately added ingredients.
Step 7: Check the current packaging
Recipes and suppliers can change.
Step 8: Follow individual medical advice
Do not assume that botanical classification determines clinical safety.
Read our guide to checking food labels for allergies.
19. Why the actual label matters
Manufacturers can change ingredients.
For example, a pesto manufacturer may change from pine nuts to cashews, or use a mixture of both.
A plant-based drink may be reformulated to include almonds.
Depending on the change and applicable product identification rules, the barcode may not always change.
This is why checking the current ingredients list is important.
Read our barcode versus label scanning guide.
20. How ClearaScan helps with coconut and pine nut ingredient checking
ClearaScan reads photographs of ingredient labels and checks recognised text against personalised Ingredient Guard rules.
Go beyond the UK's 14 allergen categories
Some people need to avoid ingredients that are not among the 14 regulated categories.
Examples include coconut and pine nuts.
The user's own Ingredient Guard rules are therefore important.
Recognise alternative names
Relevant terms may include:
- Coconut
- Cocos Nucifera Oil
- Cocos Nucifera Fruit Extract
- Pine nuts
- Pignoli
- Pinoli
Here is what ClearaScan recognises today:
- Coconut is its own Ingredient Guard entry, separate from peanut and the tree nuts. It looks for coconut, including coconut milk, coconut oil, coconut flour, desiccated coconut, creamed coconut and copra.
- The cosmetic name Cocos Nucifera is not yet recognised on its own. If you need to avoid coconut in skincare, add Cocos Nucifera to your Ingredient Guard as a custom ingredient.
- Pine nut is its own entry too. It looks for pine nuts, pignoli and pinon. Pinoli is not yet recognised, so add it as a custom ingredient if you need it.
- ClearaScan's general Tree nuts entry is broader than the UK's eight. It also looks for pine nuts and chestnuts, because some people avoid them. That doesn't mean they are regulated UK tree nuts.
- Cocamidopropyl betaine is a separate skincare entry. It is not treated as coconut.
- Pine needle oil and pine fragrance are not treated as pine nuts.
- An ingredient that isn't flagged is not confirmed as safe. It may simply not be on your Ingredient Guard.
Check multiple family profiles
One family member may need to avoid cashews.
Another may have coconut allergy.
A third may need to avoid pine nuts.
One captured label can be checked against multiple Ingredient Guards.
Important limitations
ClearaScan cannot:
- Diagnose an allergy
- Determine clinical cross-reactivity
- Establish whether coconut is safe for a particular person
- Determine whether pine nuts are safe for someone with tree nut allergy
- Detect undeclared cross-contact
- Establish the source of an ambiguous cosmetic derivative
- Guarantee that every ingredient has been recognised
A recognised ingredient match helps identify something to review. It does not determine whether a person will experience an allergic reaction.
Always verify the original label and follow individual medical guidance.

