Dried lentils can be stored indefinitely but for best flavor they should be used within a year.
For best results, store them in an airtight container in a cool, dry, dark place.
Cooked lentils will stay good for about a week in the refrigerator if kept in a covered container.