Skip to main content

How Long Ham Lasts in the Refrigerator

Cooked Ham Stays Fresh for 3 to 5 Days

Cooked ham — whether it's a leftover ham steak, sliced deli ham, or ham you've carved from a bone — will stay safe to eat for 3 to 5 days when stored in your refrigerator at 40°F or below. The exact length depends on how fresh it was when you cooked it, how quickly you refrigerated it after cooking, and how it's wrapped.

The reason the window is relatively short is that cooked ham has already lost its protective outer layer and is exposed to bacteria. Once you slice it or expose the cut surface, the clock starts ticking faster. Whole cooked ham joints last slightly longer — up to 7 days — because the uncut surface resists bacterial growth better, but once you start carving into it, treat it like sliced ham and use it within 5 days.

If you know you won't use cooked ham within that window, freeze it instead. Frozen cooked ham keeps for 1 to 2 months and thaws safely in the refrigerator overnight.

Key Takeaways

  • Cooked ham lasts 3 to 5 days in the refrigerator when wrapped tightly and stored below 40°F.
  • Sliced deli ham and pre-packaged ham products follow the same timeline once opened, regardless of the printed date.
  • Uncooked, cured ham (like country ham or prosciutto) lasts longer — up to 2 weeks — because the salt curing preserves it.
  • Freeze cooked ham in airtight containers or freezer bags if you won't use it within 5 days.
  • Discard ham that smells sour, feels slimy, or shows visible mold, even if it's within the time window.

How to Store Ham So It Lasts the Full 5 Days

Wrapping matters more than you might think. Ham dries out quickly in the refrigerator because cold air pulls moisture from the surface. Wrap leftover ham tightly in plastic wrap, aluminum foil, or store it in an airtight container. If you've sliced it, lay parchment paper between the slices so they don't stick together, then wrap the whole stack. This way you can pull out what you need without exposing the rest.

Store ham on a shelf in the main body of the refrigerator, not in the door. The door is the warmest part of your fridge because it opens and closes constantly, letting warm air in. Ham is sensitive to temperature swings, so a stable shelf — ideally the middle or lower shelves — keeps it fresher longer.

If you've bought pre-packaged sliced ham, the printed date is a guideline, not a rule. Once you open the package, that date no longer applies. Treat opened deli ham the same way you'd treat ham you cooked yourself: use it within 3 to 5 days. If the package is still sealed, you can usually go a few days past the date, but open it and check the smell and color before eating.

Uncooked, Cured Ham Lasts Much Longer

Cured ham — country ham, prosciutto, Serrano ham, or any ham that's been salt-cured but not cooked — behaves differently. The salt acts as a preservative, so these hams last 2 to 3 weeks in the refrigerator, sometimes longer. The drier the cure, the longer it lasts; prosciutto can last up to a month because it's so heavily salted and aged.

Cured ham doesn't need to be wrapped as tightly as cooked ham, but it will dry out if left exposed. Wrap it loosely in parchment or butcher paper to let it breathe slightly while still protecting it from the cold air. Store it on a shelf, not the door, just like cooked ham.

One thing to watch: cured ham can develop a white or grayish surface mold in the refrigerator. This is usually harmless — it's salt crystallization or surface mold that hasn't penetrated the meat — and you can wipe it off with a damp cloth. But if the mold is fuzzy, green, or pink, or if the ham smells off, discard it.

Signs Ham Has Gone Bad

Ham that's past its prime will show you clearly. The most reliable sign is smell: fresh ham smells mild and slightly salty. If it smells sour, vinegary, or off in any way, throw it out. Don't taste it to check — trust your nose.

Look at the color and texture too. Fresh ham is pink or light brown, depending on the type. If it's turned gray, brown, or has dark spots that weren't there before, it's aging. If it feels slimy or sticky to the touch, bacteria have colonized the surface and it's no longer safe. Discard it immediately.

Mold is a judgment call. A thin white coating on cured ham is usually just salt or harmless surface mold and can be wiped away. But if the mold is thick, fuzzy, or any color other than white, the ham has been colonized and should be thrown out. On cooked ham, any visible mold means discard — cooked ham doesn't have the salt barrier that cured ham does, so mold penetrates faster.

Freezing Ham for Longer Storage

Freezing stops the clock on ham completely. Cooked ham frozen in an airtight container or freezer bag will stay safe for 1 to 2 months. Cured ham lasts slightly longer — up to 3 months — because the salt inhibits freezer burn. Wrap it tightly to prevent ice crystals from forming on the surface, which dries it out.

Thaw frozen ham in the refrigerator, never at room temperature. Move it to a shelf and give it 24 hours to thaw completely. Once thawed, use it within 3 to 5 days — the same window as fresh cooked ham. Do not refreeze ham once it's thawed, because thawing allows bacteria to multiply, and refreezing doesn't kill them.

If you know you'll freeze ham, do it as soon as possible after cooking or opening the package. The sooner you freeze it, the better the quality when you thaw it. Ham that's been in the refrigerator for 4 days before freezing will be drier when thawed than ham frozen on day 1.

Ham in Vacuum-Sealed Packages

Vacuum-sealed ham — the kind sold in the deli section in those plastic-wrapped packages — lasts longer than loose ham because the seal keeps air out. An unopened vacuum-sealed package will last until the printed date, sometimes a few days past. The date reflects the manufacturer's confidence in the seal and the freshness of the ham when packaged.

Once you open the seal, the clock resets. Treat it like any other cooked ham: use it within 3 to 5 days. The vacuum seal bought you time, but only while it was closed. After opening, wrap the remainder tightly in plastic wrap or transfer it to an airtight container to slow drying and bacterial growth.

Frequently Asked Questions

Can I eat ham that's been in the fridge for a week?

Not safely. Cooked ham should be used within 3 to 5 days. After a week, bacteria have had time to multiply to unsafe levels, even if the ham looks and smells okay. Cured ham lasts longer — up to 3 weeks — so if it's country ham or prosciutto, a week is fine. Check the type and when you opened it.

Why does ham get slimy in the refrigerator?

Sliminess is a sign of bacterial growth on the surface. Bacteria produce a biofilm that feels slick. This happens faster in humid conditions and when ham isn't wrapped tightly. It means the ham is no longer safe to eat, even if it smells okay. Discard it.

Is it safe to eat ham that's slightly gray?

A slight color change from pink to gray can happen naturally as ham ages, especially if it's been exposed to air. If the color is uniform and the smell is normal, it's usually fine. But if the gray is patchy, dark, or accompanied by an off smell, discard it. When in doubt, throw it out.

Can I store ham in the freezer compartment of my fridge instead of the main freezer?

Freezer compartments built into refrigerators don't get cold enough to safely freeze ham long-term. They stay around 0°F to 10°F, which slows bacterial growth but doesn't stop it. Use a separate freezer set to 0°F or below. In a fridge freezer, ham will last only a few weeks instead of 1 to 2 months.

What's the difference between the date on the package and when I should actually eat it?

The printed date is the manufacturer's estimate of when the ham will start to decline in quality, assuming the seal hasn't been opened and the fridge stays at 40°F. Once you open the package, that date no longer applies. Use the 3 to 5 day rule for cooked ham or the 2 to 3 week rule for cured ham, starting from the day you opened it.