One of the nice things about canned vegetables is that they should last three to five years if properly stored and are a great pantry staple. However, you should occasionally inspect your cans to check the expiration dates and discard any that are leaking or misshapen.