You have leftover spiral ham in the fridge from Sunday dinner, a can of ham in the pantry from who knows when, and a package of deli sliced ham for sandwiches. Same word. Very different products. Very different shelf lives. One of them might last years. Another should have been used three days ago.
Does ham go bad?
The short answer: Yes, ham goes bad, but when depends entirely on which type you have. Deli-sliced ham lasts 3 to 5 days after opening. Cooked whole ham lasts 3 to 5 days refrigerated. Spiral-cut ham lasts 3 to 5 days refrigerated. Canned ham (shelf-stable) lasts 2 to 5 years in the pantry unopened. Whole country ham lasts up to 1 year unrefrigerated. Once cut or opened, all types require refrigeration.
For more on storing deli meats and perishable foods, see the Food Storage Guide.
Key Takeaways
Cooked whole ham or spiral ham (opened): 3 to 5 days refrigerated (USDA)
Deli-sliced ham (opened): 3 to 5 days refrigerated
Canned ham, shelf-stable (unopened): 2 to 5 years at room temperature (USDA)
Canned ham, “Keep Refrigerated” label: 6 to 9 months in fridge; follow label
Whole country ham (uncut): up to 1 year at room temperature (USDA)
Country ham, after cutting: refrigerate; use within 1 week
Freezer: most ham 1 to 2 months; country ham not recommended
Ham Is Not One Product
More than any other deli meat, ham requires knowing which specific type you have before you can say anything useful about shelf life. The USDA FSIS ham and food safety guide lists five major categories, each with completely different storage rules. What is true for a can of shelf-stable ham is the opposite of true for deli-sliced ham. Getting them confused is how leftover holiday ham goes to waste or how someone gets sick from a can they assumed was still good.
The five types and what makes them different:
Cooked ham (whole, half, spiral-sliced, boneless) has been fully cooked during processing. Most holiday hams, spiral cuts, and deli counter whole hams are this type. Requires refrigeration. Reheating is optional since it is already fully cooked.
Deli-sliced ham sold in refrigerated packages or cut at the counter. Always refrigerated, always perishable, shortest shelf life of the group once opened.
Shelf-stable canned ham has been commercially sterilized. No refrigeration needed before opening. Up to 2 to 5 years shelf life in the pantry per USDA. Generally not over 3 pounds.
Refrigerated canned ham carries a “Keep Refrigerated” label. This is a different product from shelf-stable canned ham, even though both come in cans. It has not been fully sterilized. Must stay cold. Never leave at room temperature.
Country ham (Virginia ham, Smithfield uncooked country ham) is dry-cured with salt and aged for months. A whole, uncut country ham is shelf-stable at room temperature for up to 1 year per USDA. Once cut, the moist interior must be refrigerated.
How Long Does Ham Last?
Type
Pantry (Unopened)
Refrigerator
Freezer
Cooked whole or half ham (unopene