Dry lentils and beans: Indefinitely
“These can last indefinitely, but after one year they may need slightly longer cooking times,” says Jennifer Kaplan, an author and an instructor at the Culinary Institute of America. “Store them in an airtight glass container in a cool, dark, dry place. Do not wash until just before use.”