The shelf life of asafoetida can vary depending on the quality and storage conditions. Typically, it can last for up to two years if stored in an airtight container in a cool, dark place.