The time it takes to roast nuts in the oven can vary depending on the type of nut and the desired level of roasting. Generally, most nuts can be roasted in the oven at 350°F (175°C) for 10-15 minutes, stirring them every 5 minutes, until they are lightly browned and fragrant. However, larger nuts such as pecans or walnuts may require a longer roasting time of up to 20-25 minutes.
It's important to keep an eye on the nuts while they are roasting, as they can quickly go from perfectly roasted to burnt. To ensure even roasting, spread the nuts out in a single layer on a baking sheet and avoid overcrowding. Allow the nuts to cool completely before storing in an airtight container.