Uncooked lentils can be stored in your pantry for up to a year without losing their quality. Once cooked, you can freeze them for up to three months or refrigerate them and use within a week.