How Long Cooked Ham Stays Fresh in Your Refrigerator
Cooked ham lasts three to five days in the refrigerator
Cooked ham—whether it's a whole ham, ham steaks, or sliced deli ham—keeps safely in your refrigerator for three to five days from the day you cook it or bring it home. The exact length depends on how the ham was handled before you got it, how cold your refrigerator runs, and how it's stored once you open or slice it.
The reason for this window is bacterial growth. Ham is a cured meat, which means salt and smoke slow spoilage, but cooking doesn't sterilize it completely. Once cooked ham sits at room temperature or in a warm kitchen, bacteria begin multiplying. Your refrigerator slows this process dramatically—keeping the temperature at 40°F or below stops most harmful bacteria from growing fast enough to make you sick—but it doesn't stop it entirely.
If you need ham to last longer than five days, freezing is your best option. Frozen cooked ham keeps for one to two months and thaws safely in the refrigerator overnight.
Key Takeaways
- Cooked ham stored in an airtight container or wrapped tightly keeps for three to five days at 40°F or colder.
- Sliced ham spoils faster than a whole ham or thick steaks because cutting exposes more surface area to air and bacteria.
- Ham that smells sour, feels slimy, or shows gray or greenish patches should be thrown out immediately.
- Freezing cooked ham extends its life to one to two months, and thawing it in the refrigerator is the safest method.
- Store ham on a shelf, not on the door, because door temperatures fluctuate when you open and close it.
Why storage method matters more than you might think
How you wrap or contain your ham changes how fast it spoils. Airtight storage—a sealed container, a ziplock bag with air pressed out, or plastic wrap pulled tight—keeps oxygen away from the meat's surface. Oxygen feeds the bacteria and molds that cause spoilage, so removing it buys you time. A ham left uncovered on a plate will start to dry out and develop surface mold within two days, even in a cold refrigerator.
Sliced ham deteriorates faster than a whole ham or thick steaks. Each cut exposes new surface area, and the thinner the slice, the more surface you've created. A package of deli ham opened and resealed might last only two to three days, while a whole ham you've cooked and wrapped tightly can go the full five days. If you buy sliced ham and won't use it all at once, freeze half of it on the day you bring it home.
The temperature of your refrigerator also matters. If your fridge runs at 45°F instead of 40°F, bacterial growth accelerates noticeably. Check your refrigerator's temperature with a simple thermometer—they cost a few dollars and sit on a shelf. If it's running warmer than 40°F, adjust the dial and wait 24 hours before checking again.
Where to place ham so it stays coldest
Store ham on a shelf in the main body of your refrigerator, not on the door. The door is the warmest part of your fridge because it's exposed to room air every time you open it. Shelves in the back, especially the lower shelves, stay coldest and most stable. If your refrigerator has a dedicated meat drawer or coldest zone, use it.
Keep ham away from raw meat and raw poultry. Even though ham is already cooked, cross-contamination can happen if raw juices drip onto it. Store cooked ham on a shelf above any raw meat, or in a separate drawer if your fridge has one.
Signs that cooked ham has gone bad
Throw out ham immediately if it shows any of these signs: a sour or off smell (not the normal salty ham smell, but something sharp or rotten), a slimy or sticky surface, or visible mold or discoloration (gray, greenish, or brown patches that weren't there before). If you're uncertain about the smell, trust your nose—it's usually right. A small taste to check is not worth the risk of food poisoning.
Ham that has been left out at room temperature for more than two hours should be discarded, even if it looks and smells fine. Bacteria can multiply to unsafe levels without any visible or olfactory sign. If you're unsure how long ham sat on the counter, throw it out.
Freezing cooked ham for longer storage
Freezing stops bacterial growth almost completely and extends cooked ham's life to one to two months. Wrap the ham tightly in plastic wrap or aluminum foil, then place it in a freezer bag and press out as much air as possible. Label it with the date so you know when you froze it. Whole hams and thick steaks freeze better than thin slices because they're less likely to develop freezer burn (the grayish-brown patches that form when air reaches the meat).
Thaw frozen ham in the refrigerator, never at room temperature. Move it from the freezer to a shelf in the fridge and allow 24 hours for a whole ham or thick steaks to thaw, and 8 to 12 hours for sliced ham. Once thawed, treat it as freshly cooked ham—it will keep for three to five more days. Do not refreeze ham that has been thawed.
Leftover ham from holiday meals
If you've cooked a whole ham for a holiday and have a large amount left over, don't try to keep it all in the refrigerator. Divide it into portions on the day you cook it. Wrap what you'll eat in the next three to five days in airtight containers, and freeze the rest immediately. This approach prevents waste and gives you ham ready to use for weeks.
Cooked ham also freezes well in broth or its own juices. If you've made ham stock or have pan drippings, freeze the ham submerged in the liquid in a freezer container. This protects it from freezer burn and gives you ready-made broth for soups or beans.
Deli ham versus home-cooked ham
Store-bought deli ham and home-cooked ham follow the same three- to five-day rule once opened or sliced, but they start from different points. Deli ham is often pre-packaged and has been sitting in the store's case, so its clock started before you bought it. Check the "sell by" date on the package—this tells you the store's deadline, not yours. Once you open the package, count three to five days from that opening date, not from the sell-by date.
Home-cooked ham you've made yourself starts its clock the moment you finish cooking and cool it. If you cook ham on a Sunday and refrigerate it immediately, it will keep until Wednesday or Thursday. The key is cooling it quickly—don't leave it on the counter for hours. Slice it while it's still warm if you plan to use it in portions, then wrap and refrigerate.
Frequently Asked Questions
Can I eat cooked ham that's been in the refrigerator for a week?
No. After five days, the risk of harmful bacteria is too high, even if it looks and smells fine. Bacteria can grow to unsafe levels without visible signs. If you need ham to last longer, freeze it before day five.
What's the difference between "sell by" and "use by" dates on deli ham?
A "sell by" date tells the store when to remove it from the shelf; it's not a safety deadline for you. A "use by" date is closer to a safety guideline. Once you open deli ham, follow the three- to five-day rule from the opening date, regardless of what the package says.
Is it safe to eat ham that was left out overnight?
No. Bacteria multiply rapidly between 40°F and 140°F. Ham left out for more than two hours (or one hour if the room is above 90°F) should be thrown out. Don't taste it to check—discard it.
Can I refreeze ham that I thawed in the refrigerator?
No. Once thawed, ham should be treated as freshly cooked and kept in the refrigerator for three to five days. Refreezing allows bacteria that grew during thawing to survive and multiply again when you thaw it a second time.
Does vacuum-sealed ham last longer than regular wrapped ham?
Yes, slightly. Vacuum sealing removes air more completely than hand wrapping, which slows oxidation and mold growth. Vacuum-sealed ham may last an extra day or two, but still follow the three- to five-day guideline as a safety baseline.