Why the Nut in Baklava Is Not Chosen at Random
However much the nut layer softens as syrup is spooned over a slice of baklava, it largely keeps its crunch; if the same syrup were poured over a piece of cashew, the texture would soften far more quickly. This difference is not a coincidence; it stems from the nut's fat content, texture firmness, level of natural sweetness and the aroma profile revealed by roasting.
Although walnuts, hazelnuts, almonds, pistachios, cashews and pine nuts may seem interchangeable in the kitchen, when compared on four criteria each gives better results in a different category of dessert. The comparison below takes these four criteria in turn and in the end makes clear which nut stands out in which dessert.
Fat Content: The Most Marked Difference Between Nuts
The biggest difference between the six nuts is in fat content, and this ratio determines both the texture and the interaction with the dough. According to USDA FoodData Central data, the highest fat content per 100 grams is seen in pine nuts (about 68 grams) and walnuts (about 65 grams); hazelnuts (about 61 grams) follow these two closely.
While almonds (about 51 grams) stay at a middle level, pistachios (45 grams) and cashews (39 grams) are the two members of the list with the lowest fat content. As the fat content rises, the nut both goes rancid sooner and releases more oil when ground; both of these consequences play a direct role in the choice of dessert.
How Texture Firmness and Sweetness Level Differ
In terms of texture firmness, pistachios and almonds have a firmer and crunchier structure than the other four; this firmness is largely kept during cooking too. Walnuts show a more fragile texture that breaks crisply, owing to the slightly tannic structure given by the inner skin, while hazelnuts gain a softer crunch together with the oil that concentrates when they are roasted.
Cashews, even when raw, are softer than the others and have a slightly spongy structure; this softness makes them easy to turn into cream but also causes them to fall apart quickly in damp environments such as syrup. In sweetness level, pistachios and cashews are naturally perceived as sweeter, while walnuts stand apart with their own mildly astringent note; almonds and pine nuts offer a profile somewhere between neutral and slightly resinous.
The Effect of Roasting and Skinning on Aroma
Roasting releases new aroma compounds through the heat reaction that takes place between the sugars and proteins in the nut; for this reason hazelnuts and almonds, which stay muted when raw, smell markedly more intense after being roasted. The same heat also lowers the nut's moisture content and firms up the texture, which increases crunch in baked goods such as biscuits and cake.
Skinning affects bitterness more than aroma; because the thin brown skin of the hazelnut and the brown skin of the almond contain tannin, they leave a slightly astringent taste, and when the skin is removed this astringent note is largely lost. The thin purple skin of the pistachio, however, is generally kept, because both the colour contrast and the mildly astringent-sweet balance are visually preferred.
Size and thickness are a critical variable during roasting; large pieces heat much more slowly than thin slices, so nuts of different sizes on the same tray are not roasted in the same time. For this reason, watching the smell and the change in colour instead of the time makes it easier to catch the nut's aroma peak just before it burns.
Which Nut Stands Out in Which Type of Dessert
In pastries that take syrup (such as baklava and kadayıf), nuts with a firm texture and a medium-to-high fat content are preferred; walnuts, hazelnuts and pistachios stand out in this group because they largely keep their form while absorbing the syrup. Nuts with a softer texture such as cashews and almonds are less preferred for this use, as they soften faster in the same damp environment.
In the production of creams and praline, a high fat content turns into an advantage; hazelnut forms the classic praline base, while almond, together with cashew, gives a texture that melts easily in smooth creams. Pistachio, because of both its colour and its characteristic aroma, adds a distinct identity to creams even in small amounts.
In biscuits and cakes, firm-textured nuts are preferred because they keep their crunch after baking; almonds and pistachios stand out in this category, while walnuts, scattered in pieces through a cake, add both texture and a mildly astringent taste. In raw garnish, appearance matters; the vivid green of the pistachio and the whiteness of the sliced almond are often preferred because they create colour contrast on top of the dessert.
How Ground Nuts Change the Dough
When a nut is ground, its cell walls break and the oil inside is released; when walnuts, hazelnuts and pine nuts, which have a high fat content, are ground, they form a markedly moist, oily texture. When this oil mixes into the dough it softens the gluten, which is why in recipes using almond flour or hazelnut flour the amounts of liquid and flour are generally balanced separately.
Nuts with a lower fat content, such as pistachios and cashews, stay relatively drier when ground and add less moisture to the dough. This difference is the main reason one nut cannot be swapped for another one for one in the same recipe; a substitution made without changing the proportions can upset the consistency of the dough.
Almond flour and hazelnut flour are a concrete example of this difference: while hazelnut flour, with its higher fat content, adds more moisture and density to the dough, almond flour gives a relatively drier and lighter result. In gluten-free recipes this difference is especially marked, because without the binding effect of gluten the consistency of the dough is determined largely by the nut's own oil.
The Problem of Rancidity and Correct Storage
The unsaturated fats in nuts slowly oxidise when they come into contact with oxygen; the compounds that emerge from this process give the nut a characteristic bitter, mould-like smell. Nuts with a high fat content are more prone to this process, so pine nuts, walnuts and hazelnuts can go rancid in a shorter time than pistachios and cashews.
An almond study published in the PMC archive of the National Institutes of Health shows that samples dried at low heat after moistening reached an oxidation value about three and a half times higher than the control group in twelve months of storage, whereas samples kept below 10°C and below 65 per cent relative humidity could stay stable for up to two years. The same logic applies to other nuts: storing them in a cool, dry and airtight container delays rancidity.
What to Watch for Regarding Nut Allergy
According to Food Allergy Research & Education (FARE), walnuts, almonds, hazelnuts, cashews and pistachios are counted among the most common tree nut allergens; this allergy is described as one of the most common food allergies in children and adults. A person allergic to one nut does not necessarily react to the others, but because of the risk of cross-reaction, caution is recommended.
The pine nut is botanically a seed, not a tree nut like the walnut or almond; even so, because it is processed in the same kitchens as other nuts in dessert production, the risk of cross-contamination should not be overlooked. It is important, both for consumer safety and as a legal requirement, that every nut used in commercial production is clearly stated in the packaging and ingredient information.
Conclusion: Which Nut Is Preferred in Which Dessert
In pastries that take syrup (baklava, kadayıf), walnuts, hazelnuts and pistachios stand out; in cream and praline production, hazelnuts, almonds and cashews; in biscuits and cakes, almonds and pistachios; and in raw garnish, pistachios and sliced almonds. These preferences take shape by taking into account the nut's fat content, texture firmness and interaction with the syrup or dough.
Considering these four criteria before changing the type of nut suggested in a recipe helps preserve both the texture and the shelf life of the dessert.
A Note for Readers
Note to the Reader People who have, or suspect they have, a nut allergy should always consult their doctor before swapping the nut specified in a recipe for another type; there is a risk of cross-reaction between different types of nuts.