How Long Ham Stays Fresh in Your Refrigerator
Cooked ham lasts three to five days in the refrigerator; unopened deli ham lasts two weeks; whole bone-in ham lasts one week
The shelf life of ham depends entirely on what kind you have and whether it's been opened. Cooked ham — the kind you buy sliced at the deli counter or in vacuum-sealed packages — keeps for three to five days once you open it. If the package is still sealed, it can last up to two weeks, though the date on the label is your real guide. Whole ham (bone-in or boneless) that you've cooked at home lasts about one week. Canned ham stays safe unopened for up to two years in the pantry, but once opened, treat it like fresh cooked ham — three to five days in the refrigerator.
The reason for these differences is moisture and surface area. Sliced ham has more exposed surface where bacteria can grow, so it spoils faster than a whole piece. Vacuum sealing removes oxygen, which slows bacterial growth dramatically. Once you open any package or slice the ham yourself, you're introducing air and bacteria, and the clock starts ticking.
Key Takeaways
- Opened deli ham keeps for three to five days; unopened packages last up to two weeks if the seal is intact.
- Whole cooked ham (bone-in or boneless) lasts about one week in the refrigerator.
- Store ham in the coldest part of your refrigerator, usually the back of the bottom shelf, where the temperature stays closest to 40°F.
- Wrap opened ham tightly in plastic wrap or aluminum foil, or transfer it to an airtight container to slow moisture loss and bacterial growth.
- Canned ham unopened lasts two years in the pantry, but only three to five days once opened and refrigerated.
How to store opened ham so it lasts the full five days
Once you open a package of ham or slice a whole piece, wrap it tightly. Plastic wrap works, aluminum foil works, or an airtight container works — the goal is to keep air away from the surface. Ham dries out quickly when exposed to the dry air inside a refrigerator, and dried edges are where bacteria take hold first. If you're storing sliced ham, lay a piece of plastic wrap between every few slices so they don't stick together and create a wet pocket where mold grows.
Place the wrapped ham on the coldest shelf in your refrigerator. For most fridges, that's the back of the bottom shelf, where cold air settles and the temperature stays closest to 40°F. The door is the warmest part of your fridge — temperatures there fluctuate every time you open it — so never store ham there, even temporarily. If you bought a large quantity and won't use it all within five days, freeze the extra portions in airtight freezer bags or containers. Frozen ham keeps for one to two months.
Signs that ham has gone bad and should be thrown out
Smell is the most reliable test. Fresh ham has a mild, salty smell. If it smells sour, tangy, or off in any way, throw it out. Don't taste it to check — a small amount of spoiled ham can cause food poisoning. Look at the surface too: if you see any slime, stickiness, or discoloration (gray, green, or brown spots), the ham is no longer safe to eat. Mold can grow inside the package even if the outside looks fine, so if you notice any fuzz or unusual texture, discard it.
Trust the date on the package as a backup, but your senses are more reliable. A package dated three days ago might still be good if it's been sealed and stored properly. A package dated yesterday might be spoiled if it was left on a warm counter or in a warm car. When in doubt, throw it out — the cost of replacing ham is far less than the cost of treating food poisoning.
Why whole ham lasts longer than sliced ham
A whole piece of ham has a much smaller surface area relative to its volume, so bacteria have fewer places to establish themselves. The interior of the ham is protected by the outer layer, which acts as a barrier. When you slice ham, you expose the interior to air and bacteria, multiplying the surface area dramatically. A single slice might have ten times the exposed surface of a whole piece the same weight.
This is why a whole cooked ham lasts a week but sliced ham lasts only five days. If you buy a whole ham and slice it yourself as you need it, you can extend the life of the unsliced portion. Wrap the unsliced part tightly and store it on the coldest shelf. Each time you slice off what you need, you're only exposing a fresh surface, not the entire piece.
The difference between deli counter ham and packaged ham
Ham sliced at the deli counter is exposed to air the moment it's cut, so it starts spoiling immediately. Most deli counters slice ham fresh to order, which is why it tastes better — but it also means you should use it within three days. If you buy pre-packaged deli ham in the refrigerated section, the vacuum seal buys you extra time. The seal removes oxygen, which slows bacterial growth. Unopened vacuum-sealed ham can last up to two weeks, but once you open it, the clock resets to three to five days.
Check the date on packaged ham before you buy it. Some packages are dated from the day they were sealed; others are dated from the day they were packaged at the factory. The label will tell you which. If you're buying ham you won't use for several days, choose a package with the latest date, or ask the deli to slice fresh ham and wrap it for you to take home immediately.
Freezing ham to extend its life past one week
If you have ham you won't use within five days, freeze it. Wrap it tightly in plastic wrap first, then place it in a freezer bag or airtight container. Remove as much air as possible — freezer burn happens when ice crystals form on the surface, which dries out the meat and damages its texture. Frozen ham keeps for one to two months. Label the container with the date so you know how long it's been frozen.
Thaw frozen ham in the refrigerator, not on the counter. Move it to the coldest shelf and allow eight to twelve hours for a one-pound portion to thaw completely. Once thawed, use it within three to five days — the same window as fresh ham. Never refreeze ham that has been thawed, because thawing allows bacteria to multiply, and refreezing won't kill them.
How canned ham differs from fresh and cooked ham
Canned ham is shelf-stable because it's been processed at high heat and sealed in a can with no oxygen. Unopened canned ham lasts two years in the pantry at room temperature. Once you open the can, treat it exactly like fresh cooked ham: refrigerate it immediately, wrap it tightly, and use it within three to five days. The canning process makes the texture softer and the flavor milder than fresh ham, but the storage rules are the same once the seal is broken.
Some canned hams are labeled "keep refrigerated" even before opening. These are not shelf-stable and should be stored in the refrigerator from the moment you buy them. Check the label. If it says "keep refrigerated," follow that instruction. If it doesn't, the can is shelf-stable until you open it.
Frequently Asked Questions
Can I eat ham that's been in the refrigerator for a week?
If it's a whole piece of cooked ham, yes — it's still within the safe window. If it's sliced ham, it's past the three- to five-day window and should be discarded. Check it first: if it smells off or feels slimy, throw it out regardless of how many days have passed.
Does ham go bad faster if I leave it in the original package?
Not if the package is sealed. An unopened vacuum-sealed package protects the ham from air and bacteria. Once you open it, rewrap it tightly in plastic wrap or transfer it to an airtight container — the original package isn't airtight once opened.
What's the safest way to thaw frozen ham?
Thaw it in the refrigerator on the coldest shelf, allowing eight to twelve hours for a one-pound portion. Never thaw ham on the counter at room temperature, because bacteria multiply rapidly in the danger zone between 40°F and 140°F. Once thawed, use it within three to five days.
Is it safe to eat ham that smells a little sour?
No. A sour or tangy smell means bacteria have begun to produce acids as they break down the meat. Throw it out. Cooking won't make spoiled ham safe — the toxins bacteria produce can survive heat.
Can I store ham in the freezer indefinitely?
Frozen ham is safe to eat indefinitely, but quality declines after one to two months. Ice crystals form on the surface (freezer burn), which dries out the meat and makes the texture tough. For best flavor and texture, use frozen ham within two months.