How long does ham last in the fridge?
Quick answer
- In the fridge
- Store-sliced, half, spiral-cut or leftover: 3–4 days (FSIS's ham chart allows up to 5) · Opened plant-sealed pack: 3–5 days · Whole cooked ham: 7 days · Unopened plant-sealed pack: until its use-by date; FoodKeeper suggests about 2 weeks from purchase
- In the freezer
- Cooked ham: 1–2 months for best quality · Fresh (raw) ham: 6 months · Country ham: 1 month
- In the pantry
- Unopened shelf-stable canned ham: 6–9 months from purchase per FoodKeeper, up to 2 years per FSIS · Whole uncut country ham: up to 1 year
Sources: USDA FSIS: Hams and Food Safety, USDA FoodKeeper, USDA FSIS: Freezing and Food Safety, USDA FSIS: Shelf-Stable Food Safety, USDA FSIS: Molds on Food: Are They Dangerous?, USDA FSIS: The Color of Meat and Poultry, USDA FSIS: Food Product Dating · Last reviewed October 28, 2026
Cooked ham keeps 3–4 days in the fridge once it's sliced at the store, cut in half, spiral-cut or left over, 3–5 days after you open a plant-sealed pack, and about 7 days as a whole cooked ham; frozen, it holds its quality for 1–2 months. FSIS's ham chart allows sliced and leftover ham up to 5 days, but FoodKeeper and FSIS's own leftovers advice say 3–4. A closed plant-sealed pack keeps until its "use-by" date, which FSIS says the company sets itself, or 2 weeks if it has no date. Ham marked "cook before eating" gets 5–7 days or its use-by date, and fresh (uncured) ham 3–5 days, like other raw pork.
How to store ham
Salt and nitrite in the cure hold back Clostridium botulinum, FSIS explains, but they don't make a moist cooked ham shelf-stable: it belongs in a fridge at 4°C (40°F) or below. Molds, FSIS adds, tolerate salt better than most microbes and can grow on ham even in the fridge, so keep cut surfaces covered. The pantry exceptions are sealed shelf-stable canned or retort-pouch ham, processed to kill spoilage bacteria, and whole dry-cured ham such as country ham, which holds so little water that bacteria can't multiply in it. Once sliced, dry-cured ham needs the fridge too. Canned ham labeled "Keep Refrigerated" isn't sterilized and must stay cold.
- Read the label before you put the ham away: "fully cooked" ham can be eaten cold, while "cook before eating" ham and fresh ham have to reach 63°C (145°F) and rest 3 minutes before serving.
- Slice only what you'll eat in the next few days: FSIS gives a whole cooked ham 7 days in the fridge, while FoodKeeper gives slices and half hams 3–4.
- Keep a vacuum-sealed whole or half ham closed until you need it, and if plans change, freeze it unopened in its pack. Once it's open, wrap the ham airtight or move it to a sealed container.
- Empty an opened can of ham into a clean container before it goes in the fridge. Freeze canned ham only after taking it out of the can, and never freeze an unopened "Keep Refrigerated" can.
- Reheat a cooked ham packaged at the plant to 60°C (140°F); leftovers and ham repackaged anywhere outside the plant, at the store for example, need 74°C (165°F).
- A whole, uncut country ham can stay at room temperature for up to a year. Before cooking it, scrub off any surface mold with hot water and a stiff brush, then soak the ham 4–12 hours in the fridge to draw out salt.
Signs it has gone bad
- An off odor, flavor or texture: FSIS says spoilage bacteria cause these changes, and food that shows them shouldn't be eaten.
- Mold on cooked ham, deli ham or leftovers: throw the whole piece out. FSIS notes that moist foods can be contaminated below the surface and that bacteria may grow along with the mold.
- Gray or green patches where cured ham sat uncovered: light and oxygen break down the cure's color pigments, and FSIS says the same exposure helps microbial spoilage along. Don't write it off as cosmetic; when in doubt, throw it out.
- Not a problem: a rainbow-like sheen on sliced ham. FSIS explains it as light splitting on the cut surface and says it doesn't mean lower quality or safety.
- Not a problem either: surface mold on a dry-cured country ham. FSIS calls it normal for these hams; scrub it off before cooking instead of discarding the ham.
- A bulging, leaking or deeply dented can of ham, or one that spurts liquid when you open it: discard it without tasting.
Frequently asked questions
How long does spiral ham last in the fridge?
Plan on 3–4 days in the fridge from purchase and 1–2 months in the freezer. Spiral-cut ham is fully cooked and fine to serve cold; to warm it, cover it with foil, heat it at 163°C (325°F) and bring it to 60°C (140°F), or 74°C (165°F) for leftovers.
How long does deli ham last?
Ham sliced at the deli counter: 3–4 days in the fridge. A plant-sealed package keeps until its use-by date (2 weeks if it has none, and FoodKeeper suggests about 2 weeks from purchase either way), then 3–5 days once opened. FSIS lists 1–2 months in the freezer, though FoodKeeper doesn't recommend freezing pre-packaged deli ham.
Can you freeze ham?
Yes. FSIS rates cooked ham at 1–2 months in the freezer, fresh raw ham at 6 months, and country ham or cut prosciutto at 1 month; frozen ham stays safe indefinitely, so these times are about quality. The exception is an unopened "Keep Refrigerated" canned ham, which shouldn't be frozen; thaw any other ham in the fridge.
Does canned ham need to be refrigerated?
It depends on the label. Unopened shelf-stable canned ham can stay in the pantry, while a can marked "Keep Refrigerated" keeps 6–9 months in the fridge and isn't safe at room temperature. Once opened, use shelf-stable canned ham within 3–4 days and the refrigerated kind within 3–5 days, the stricter of the FSIS and FoodKeeper figures.
How long can ham sit out?
No more than 2 hours, or 1 hour above 32°C (90°F), FSIS advises for perishable food, and that includes a cooked ham on a buffet table. The exceptions meant for room temperature are unopened shelf-stable canned or retort-pouch ham and whole, uncut dry-cured ham such as country ham.
Related foods
Beef
In the fridge: Steaks & roasts: 3–5 days · Ground: 1–2 days · Cooked: 3–4 daysChicken
In the fridge: Raw: 1–2 days · Cooked: 3–4 daysChicken Thighs
In the fridge: Raw: 1–2 days from purchase · Cooked: 3–4 daysChicken Wings
In the fridge: Raw: 1–2 days from purchase · Cooked or takeout: 3–4 daysPork
In the fridge: Chops & roasts: 3–5 days · Ground: 1–2 days · Cooked: 3–4 daysSalami
In the fridge: Sliced: 3–5 days after opening or deli purchase · Opened whole dry: up to 3 weeks · Opened whole cooked: 7 days · Unopened sliced pack: 2 weeks from purchase · Unopened whole dry: until its date · Never past the pack's date