Cooked ham is generally safe in the fridge for about 3–5 days when stored properly in a shallow airtight container or tightly wrapped. After that, it should be frozen or thrown away to avoid foodborne illness.

Basic safety timelines

  • Refrigerated cooked ham: Typically 3–5 days in the fridge if cooled quickly (within about 2 hours of cooking) and kept below standard refrigerator temperature (around 4 °C / 40 °F).
  • Frozen cooked ham: For best quality, aim to use it within about 1–2 months; it may last longer from a safety perspective, but texture and flavor decline over time.
  • Left out at room temperature: If cooked ham has been sitting out for more than about 2 hours at normal room temperature, it is safest to discard it rather than refrigerate and eat later.

Quick signs it’s no longer good

Check your cooked ham before eating, especially if you are near or past the 3–5 day mark:

  • Unusual sour or sulfur-like smell.
  • Slimy, sticky, or tacky surface instead of a clean, slightly moist feel.
  • Grey, green, or iridescent patches, or visible mold.

If any of these show up—or if you are simply unsure—throw it out rather than risk getting sick.