Yes, roasting can create small amounts of potentially harmful compounds, mainly acrylamide, but at typical home or store-bought roasting levels the evidence doesn't show a meaningful health risk for most people. Nuts are not a major source of these compounds compared with foods like fries, chips or coffee.
What forms when nuts are roasted
- Acrylamide is a chemical that forms when foods containing the amino acid asparagine and certain sugars are heated to high temperatures. Almonds are unusually high in asparagine, so roasted almonds tend to have more acrylamide than roasted walnuts, cashews or peanuts. Food-safety agencies have measured it in roasted almonds, and levels rise with higher temperatures and longer roasting times.
- Oxidized fats. Nuts are rich in fat (USDA lists 44 to 65 g per 100 g across almonds, walnuts, peanuts and cashews). Heat can speed up oxidation, which damages fats and can make them taste stale or rancid. Walnuts, which are higher in polyunsaturated fats, are the most delicate.
- Aflatoxins are toxins from molds, not from roasting. Peanuts are the nut most prone to them. Roasting and sorting can reduce them somewhat, but regulators mainly control them through crop testing and storage rules.
How worried should you be?
Acrylamide is classed as a "probable human carcinogen" based largely on animal studies using doses far higher than people get from food. Studies of people eating normal diets have not shown a clear link between dietary acrylamide and most cancers, so the evidence in humans is limited and not settled. Regulators such as the European Food Safety Authority still recommend keeping exposure as low as reasonably achievable.
By contrast, regular nut eating is consistently linked in large observational studies to better heart health. Those studies mostly include roasted nuts, so roasting doesn't appear to cancel the benefits.
Nutrient changes from roasting
Roasting causes modest changes. Some heat-sensitive vitamins and fats may drop slightly, while minerals and fiber stay essentially the same. The USDA figures above are for raw nuts (the almond and walnut entries don't specify raw, so they may differ slightly from roasted products), and oil-roasted or salted nuts can have added fat and sodium. For example, raw peanuts are 18 mg sodium per 100 g, and salted roasted versions will be much higher.
Practical tips
- Choose lightly roasted nuts. Golden is better than dark brown; heavily browned nuts generally have more acrylamide.
- Roast at home gently. A lower oven temperature (around 150 °C / 300 °F) for a shorter time limits browning.
- Eat raw nuts too. Mixing raw and roasted gives variety and reduces exposure.
- Store them well. Keep nuts in a cool, dry, airtight container, and toss any that smell musty, bitter or paint-like.
- Skip moldy or shriveled nuts, especially peanuts, as a precaution against aflatoxins.
If you have a nut allergy, note that roasting does not remove allergens, and in the case of peanuts it can actually make them more allergenic. If you have a medical condition or specific concerns, a doctor or registered dietitian can give personal advice.