Leftover cooked ham and opened deli slices should generally be eaten or frozen within **3 to 5 days** when stored in a refrigerator at or below 40°F. However, unopened packaged ham and dry-cured varieties may last longer, depending on the product and its storage instructions.
To keep ham safe, refrigerate it within two hours of serving, or within one hour when temperatures are above 90°F. Store it in shallow, tightly sealed containers and mark the date to keep track of how long it has been refrigerated.
Before eating leftover ham, check for signs of spoilage. A slimy texture, sour smell, or visible mold means it should be thrown away immediately. However, ham that looks and smells normal is not necessarily safe to eat, as harmful bacteria may be present without obvious signs.
When you are unsure how long ham has been stored or whether it was kept at the correct temperature, it is always safer to throw it away rather than risk food poisoning.