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 (unopened) | Refrigerate only | 7 days (USDA) | 1 to 2 months |
| Cooked ham, after opening or cutting | Refrigerate only | 3 to 5 days (USDA) | 1 to 2 months |
| Spiral-cut ham (opened) | Refrigerate only | 3 to 5 days (USDA) | 1 to 2 months |
| Deli-sliced ham (opened) | Refrigerate only | 3 to 5 days | 1 to 2 months |
| Shelf-stable canned ham (unopened) | 2 to 5 years (USDA) | 6 to 9 months | Not recommended |
| Refrigerated canned ham (“Keep Refrigerated”) | Never pantry | 6 to 9 months (USDA) | Not recommended |
| Country ham, whole uncut | Up to 1 year (USDA) | Up to 1 year | Not recommended |
| Country ham, after cutting | Refrigerate only | 1 week after soaking or cutting | Not recommended |
How to Tell If Ham Has Gone Bad
Signs of Spoilage
- Sour, rancid, or off smell: Fresh cooked ham has a mild, sweet, smoky or savory aroma. Any sour, sharp, or rotten smell means discard. Country ham has a stronger, saltier smell than cooked ham, but should not smell rancid or putrid.
- Slimy or tacky texture: Ham should feel moist but firm. Sliminess on the cut surface or on deli slices means bacterial growth. Discard immediately.
- Gray, green, or dark discoloration: Cooked ham is pink. Gray or greenish edges that spread inward, or any green patches, mean spoilage. Some slight darkening at cut edges from oxidation is normal on a large whole ham. Widespread discoloration is not.
- Mold on cooked or deli ham: Discard the entire piece. Do not cut around the mold on high-moisture ham.
- Mold on country ham: Different rule. Per USDA, surface mold is common on country ham during the long curing process. Do not discard. Wash the ham with hot water and scrub off the mold with a stiff vegetable brush. The mold is external and the salt-rich surface inhibits deep penetration. If mold has penetrated into the meat or if the ham smells rancid, discard.
The Country Ham and Canned Ham Shelf Life Surprise
The two ham types that most people do not realize are shelf-stable are country ham and shelf-stable canned ham. Both are genuinely surprising if you have only ever bought refrigerated cooked ham.
A whole, uncut country ham can be stored safely at room temperature for up to 1 year according to the USDA FSIS. The salt cure draws out moisture and lowers water activity to a level that prevents pathogen growth, exactly like dry-cured prosciutto or salami. Country hams have been hanging unrefrigerated in smokehouses and pantries in Virginia, Kentucky, and Tennessee for centuries for this reason. Once you cut into it and expose the moist interior, refrigerate immediately and use within 1 week.
Shelf-stable canned ham has been commercially sterilized and can be stored in the pantry for up to 2 years per the USDA ham and food safety guide (some USDA shelf-stable food resources cite up to 5 years for low-acid canned goods generally; follow the date on your specific product). These are generally small hams under 3 pounds that have been processed at high heat to kill all spoilage bacteria and pathogens including Clostridium botulinum, Salmonella, and Trichinella spiralis. The USDA notes one caveat: storage above 122 degrees Fahrenheit may cause harmless thermophilic bacteria to multiply and sour or swell the product. Do not store canned ham near a stove, in a hot car, or in a garage in summer.
The important distinction: not all canned hams are shelf-stable. If the label says “Keep Refrigerated,” it is not shelf-stable regardless of being in a can. Those hams must stay cold at all times and last 6 to 9 months in the refrigerator per USDA. Never store a “Keep Refrigerated” canned ham at room temperature.
Can You Freeze Ham?
Yes, for most types. Cooked whole ham, spiral ham, and deli-sliced ham all freeze reasonably well for 1 to 2 months. Wrap tightly in plastic wrap and then in aluminum foil, or place in a zip-top freezer bag with air removed. For spiral ham, consider slicing into portions before freezing for easier use. Thaw overnight in the refrigerator.
See also


Country ham is not listed in the USDA freezer storage chart, and most producers do not recommend freezing it. Freeze-thaw cycles can affect the texture and increase the risk of fat rancidity. The USDA recommends against freezing canned ham. The liquid inside can expand during freezing and potentially damage the can’s seal. If you want to freeze the ham from an opened canned ham, transfer it to a freezer-safe container first.
One practical note on cooked ham: most whole cooked hams, spiral hams, and boneless hams sold at the grocery store are fully cooked and safe to eat cold, straight from the refrigerator, without reheating. The label will confirm this. “Ready to eat” or “fully cooked” means no reheating is required, though many people prefer it warm. The USDA recommends reheating cooked hams packaged in USDA-inspected plants to 140 degrees Fahrenheit if you choose to heat them.
Recipes That Use Ham
If your cooked ham is approaching the end of its 3 to 5 day window, use it. The leftover spiral ham croque monsieur is one of the best uses for holiday ham leftovers. The ham and egg chilaquiles come together in under 20 minutes using diced ham. For a centerpiece holiday ham, the peaches, honey, and wine glazed ham works with any bone-in whole ham. For the USDA’s complete ham and food safety guidance, see the USDA FSIS hams and food safety page.
Does Ham Go Bad FAQ
FAQ: How Long Is Leftover Ham Good For?
Leftover cooked ham, whether from a holiday whole ham, a spiral cut, or a baked half ham, lasts 3 to 5 days in the refrigerator per USDA guidance. Store it tightly wrapped or in an airtight container. If you have a large amount you will not finish in that window, freeze it in portions within the first day or two while it is at peak quality.
FAQ: Does Ham Go Bad in the Freezer?
Frozen ham stored continuously at 0 degrees Fahrenheit is safe indefinitely per USDA. Quality declines over time: cooked ham is best within 1 to 2 months frozen. After that it remains safe but may develop freezer burn, off flavors, or a mealy texture. Thaw overnight in the refrigerator and use within 3 to 5 days of thawing.
FAQ: How Long Does Ham Last After the Sell-By Date?
For unopened vacuum-sealed cooked ham, a few days past the sell-by date in a properly functioning refrigerator is often fine if it passes smell and texture checks. Once opened, the sell-by date matters much less than the 3 to 5 day window from opening. For country ham and shelf-stable canned ham, the printed date is a quality guide, not a safety cutoff. Both are preserved well beyond typical use-by dates when stored correctly.
FAQ: Is Ham Safe to Eat When Pregnant?
Cooked deli ham and sliced ham carry the same Listeria risk as other ready-to-eat deli meats. The CDC and FDA advise pregnant women to avoid cold deli meats or heat them to 165 degrees Fahrenheit (steaming hot) before eating. Fully cooked whole ham that is reheated until steaming is safe. Country ham that is cooked before eating is also safe when properly heated through. Follow your healthcare provider’s guidance on deli meat consumption during pregnancy.
FAQ: How Long Does a Ham Bone Last in the Fridge?
A ham bone with some meat attached lasts 3 to 5 days in the refrigerator, the same window as leftover cooked ham. Store it in an airtight container or wrap tightly in foil. For longer storage, freeze the ham bone in a zip-top freezer bag for up to 3 months. A frozen ham bone is excellent for split pea soup, bean soup, or any dish where you want a smoky pork base. Thaw overnight in the refrigerator before using.
Further Reading
Better Living may earn commissions through affiliate links and may occasionally feature sponsored or partner content. If you make a purchase through our links, we may receive a small commission at no cost to you.