Dry lentils last for 2 to 3 years at room temperature, stored in a sealed container. Cooked lentils last in the refrigerator for up to 1 week.