How Long Ham Stays Fresh in Your Refrigerator
Cooked ham lasts 3 to 5 days in the refrigerator; whole hams last longer than slices
Cooked ham keeps for 3 to 5 days when stored properly in your refrigerator at 40°F or below. A whole ham or large piece stays fresh longer than sliced ham because it has less surface area exposed to air and bacteria. Sliced ham, whether from the deli counter or a package you opened, should be eaten within 3 days. Once you open a sealed package of deli ham, the clock starts immediately—the protective atmosphere inside the package is gone.
The reason ham spoils faster than some other meats is its salt content and curing process. While salt acts as a preservative during production, it does not stop bacterial growth once the ham is cooked and exposed to your refrigerator's environment. Temperature matters more than anything else: every degree above 40°F cuts your storage time shorter. If your refrigerator runs warmer than 40°F, reduce these timelines by a day or two.
Key Takeaways
- Cooked ham lasts 3 to 5 days in the refrigerator when stored at 40°F or below, with whole pieces lasting longer than slices.
- Store ham in an airtight container or wrap it tightly in plastic wrap or foil to prevent it from drying out and absorbing odors from other foods.
- Sliced deli ham should be used within 3 days of opening the package, even if the original package says it lasts longer.
- Freezing ham extends its life to 1 to 2 months, but thaw it in the refrigerator, not on the counter, to keep it safe.
- Discard ham that smells sour, feels slimy, or shows gray or green discoloration, as these are signs of bacterial growth.
How to store ham so it lasts the full 3 to 5 days
The key to keeping ham fresh is keeping air away from it. Wrap your ham tightly in plastic wrap, aluminum foil, or place it in an airtight container. If you use plastic wrap, press it directly against the surface of the ham so no air pockets remain. Foil works well too, but make sure the seams are folded tightly. Airtight containers are the easiest option if you have them—just make sure the lid seals completely.
Store ham on a shelf in the main body of your refrigerator, not in the door. The door is the warmest part of your refrigerator because it opens and closes constantly, letting warm air in. The coldest spots are usually the back of the bottom shelf or the back of the middle shelf. If your refrigerator has a meat drawer, that works well too, as long as it maintains 40°F or below.
Keep ham away from raw meat and poultry. If raw chicken or beef drips onto ham, bacteria from the raw meat can contaminate it. Store raw meats on the lowest shelf so nothing drips onto foods above them. Ham can sit on any shelf above raw meat without risk.
Sliced ham from the deli counter versus packaged ham
Deli counter ham and packaged sliced ham follow the same 3-day rule once opened, but they start from different points. Packaged ham has a printed date on it—usually a "sell by" or "use by" date. That date assumes the package stays sealed. The moment you open it, that date no longer applies. Use the ham within 3 days of opening, regardless of what the package says.
Deli counter ham has no printed date because it was sliced fresh that day or the day before. Ask the deli worker when it was sliced if you are unsure. Treat it as day zero and use it within 3 days. If you bought it on a Friday and did not open it until Monday, you still have only 3 days from Monday to use it.
Both types can develop a slimy film or sour smell within 3 to 5 days. This happens faster in sliced ham because the cut surfaces expose more of the meat to bacteria. Whole pieces of ham have a protective outer layer that slows this process.
Signs that ham has gone bad
Throw out ham if it smells sour, musty, or off in any way. A fresh ham smells like ham—salty and slightly smoky. If the smell makes you hesitate, do not eat it. Smell is often the first sign that bacteria have begun to multiply.
Look for discoloration. Fresh cooked ham is pink or tan. Gray, green, or brown spots mean mold or bacteria are growing. Even if the discoloration is small, throw the whole piece out—bacteria spread through meat faster than you can see. Do not cut off the bad part and eat the rest.
Feel the surface. Fresh ham feels firm. If it feels slimy or sticky, bacteria have formed a film on the surface. This slime layer means the ham is no longer safe to eat. Sliminess develops faster in warm refrigerators or when ham is not wrapped tightly.
Freezing ham to extend storage time
Freezing stops bacterial growth and extends ham storage to 1 to 2 months. Wrap the ham tightly in plastic wrap, then place it in a freezer bag and squeeze out as much air as possible. Label the bag with the date so you know when you froze it. Whole pieces freeze better than slices because slices can stick together and are harder to thaw partially.
Thaw frozen ham in the refrigerator, never on the counter. Move it from the freezer to the refrigerator the night before you plan to use it. Thawing on the counter lets the outside warm up while the inside stays frozen, creating a temperature zone where bacteria multiply rapidly. A 3-pound ham takes about 24 hours to thaw in the refrigerator.
Once ham is thawed, use it within 3 to 5 days. Do not refreeze it unless you cook it first. Refreezing thawed ham without cooking it can concentrate bacteria that survived the first freeze.
How refrigerator temperature affects ham storage
Your refrigerator should run at 40°F or below. Check the temperature with a refrigerator thermometer—the dial thermostats on many older refrigerators are not accurate. If your refrigerator runs at 42°F instead of 40°F, ham will spoil 1 to 2 days faster. At 45°F or above, ham may only last 2 days.
If you notice ham spoiling faster than expected, check your refrigerator temperature first. A thermometer costs a few dollars and tells you whether the problem is your storage method or your appliance. If the temperature is correct but ham still spoils quickly, you may be storing it in a warm spot—the door or a shelf near the back wall where warm air circulates.
Canned ham and shelf-stable ham products
Canned ham and shelf-stable ham products (the kind sold at room temperature) follow different rules. An unopened can lasts for months in the pantry—check the label for the exact date. Once you open a can, transfer the ham to an airtight container and refrigerate it. Use it within 3 to 5 days, the same as fresh cooked ham.
Shelf-stable ham in plastic packages also lasts months unopened. These products are treated with preservatives and packaged in a way that keeps bacteria out. Once opened, they follow the 3-day rule. Do not rely on the package date after opening—treat it as fresh ham from that point forward.
Frequently Asked Questions
Can I eat ham that has been in the refrigerator for 6 days?
No. Ham that has been refrigerated for more than 5 days should be thrown out, even if it looks and smells normal. Bacteria can grow without obvious signs. The 3 to 5 day window is based on food safety research, not appearance.
Does ham last longer if I keep it in the coldest part of the refrigerator?
Yes, slightly. Storing ham at the back of the bottom shelf, where temperatures stay closest to 40°F, can add a day or two compared to storing it in the door. But the 3 to 5 day timeline still applies—cold storage slows spoilage but does not stop it.
What if the package says ham lasts 7 days after opening?
Follow the 3 to 5 day guideline instead. Package dates are often conservative and assume the ham will be stored in ideal conditions. Your refrigerator may run warmer, or the ham may have been stored improperly before you bought it. Three to five days is the safe window.
Can I tell if ham is bad by tasting a small piece?
No. Do not taste ham you suspect has gone bad. Harmful bacteria do not always change the taste, and tasting it puts you at risk of food poisoning. Use smell, appearance, and texture to decide—if any of those are off, throw it out.
Does vacuum-sealed ham last longer than regular wrapped ham?
Yes, vacuum-sealed ham lasts slightly longer because the seal removes air that bacteria need to grow. However, once you open the seal, the 3 to 5 day clock starts immediately. Vacuum sealing buys you a few extra days before opening, not after.