According to USDA, canned foods last for years — some even past the expiration date — as long as they are in good condition and stored properly, meaning the cans have no rust, dents, or swelling, and are stored at a cool temperature in a dark place. Food from the start of the pandemic is still safe, so long as you follow these rules.