The shelf life of nuts can vary depending on factors such as the type of nut, the humidity and temperature of the storage environment, and whether or not the nuts have been opened. If the nuts have an off smell or taste or become rancid or stale, they should be discarded.
For the best shelf life, store in an airtight container in a cool, dry place. They can also be stored in the refrigerator or freezer to help them stay fresher longer.
Here is a general guide to the shelf life of different types of nuts:
Raw nuts: Up to a year.
Roasted/Dried/Salted nuts: Up to six months.