If you’re wondering how long ham can safely remain in the refrigerator before it spoils, you’re in the right place.
In this guide you’ll learn:
- How long ham lasts in the fridge, whether raw or cooked
- How to recognize spoilage
- Best storage practices to extend freshness
NOTE: This article was reviewed by Melissa Macher, Registered Dietician and Food Scientist, for safety and accuracy.
Jump to Section
How Long Does Ham Last in the Fridge?
Ham will generally keep for about 4–5 days in the refrigerator, though the exact time depends on whether it’s raw or cooked and whether it’s whole, half, or sliced. The most important rule: if the ham smells sour or off, discard it.
Read on for details about raw and cooked ham, spoilage signs, and storage tips to maximize safety and quality.
How Long Does Raw, Fresh Ham Last in the Fridge?
When refrigerated at 40°F (4°C) or below, raw ham will typically last up to 5 days. Some raw hams may still seem safe for a few days past the printed date, but that’s not a guarantee.
Keep raw ham in its original packaging until you’re ready to cook it to reduce the risk of contamination. Open only when you plan to prepare and eat it.
Signs That Raw Ham Has Gone Bad
If you’re uncertain how long ham has been stored, check for these clear signs of spoilage and discard the ham if you notice any of them.
A Change in Color
Pink tones are normal in both cured and cooked ham because curing agents such as sodium nitrate preserve color and moisture. However, if the ham develops green, black, gray, or brown patches, that color shift indicates spoilage—throw it away.
The Smell of Rotting
A sour, putrid, or otherwise off odor is a reliable sign that raw ham has spoiled. If the scent is unpleasant or unusual, discard the ham immediately.
The Presence of Mold
Mold on meat is dangerous because it can produce mycotoxins and often indicates bacterial contamination as well. Do not sniff moldy ham; place it in a sealed bag and discard it to prevent airborne spores.

How Long Does Cooked Ham Last in the Fridge?
Stored properly, cooked sliced ham will keep for about 3–4 days in the refrigerator. An unsliced half ham will usually remain good for 3–5 days, while a whole cooked ham can last up to 7 days.
Use airtight containers or wrap tightly with plastic wrap or aluminum foil to protect quality and slow bacterial growth.
Signs That Your Cooked Ham Has Gone Bad
Cooked ham can spoil if left at improper temperatures. Look for these red flags before consuming leftovers.
A Foul Odor
Some hams naturally smell smoky or salty, but a sour, sulfur-like, or otherwise unpleasant odor signals spoilage—do not eat it.
A Different Texture
Fresh ham feels moist but not slimy. A sticky or slimy surface is a sign of bacterial growth; discard any ham with this texture.
The Presence of Mold
Mold on cooked ham is a clear indicator that it is unsafe. Seal and discard moldy ham to prevent mold spores from spreading and causing respiratory or other health issues.
The Best Ways to Store Ham in the Fridge
To slow bacterial growth and keep ham safe, always refrigerate at 40°F (4°C) or below. Do not leave cooked ham at room temperature for more than two hours after serving.
Store ham in the coldest part of the fridge, ideally in its original packaging until use. Once opened, rewrap tightly with plastic wrap and aluminum foil or place in airtight containers.
If you won’t use ham within the recommended fridge window, freeze it to extend its shelf life. Storage time depends on ham type, packaging, and how it was handled before refrigeration.
How Long Does Frozen Ham Last in the Freezer?
Freezer life varies by ham type and preparation. Typical guidelines when stored at 0°F (-18°C) or below:
- Uncooked, fresh, uncured: Fridge 3–5 days; freezer 5–6 months.
- Cooked, fresh, uncured: Fridge up to 4 days; freezer 3–4 months.
- Cook-before-you-eat, uncooked, cured: Fridge 5–7 days (or until best-before date); freezer 3–4 months.
- Cooked-at-plant, vacuum-sealed, unopened: Fridge up to 2 weeks; freezer 1–2 months.
- Cooked, store-wrapped, whole: Fridge up to 1 week; freezer 1–2 months.
- Cooked, store-wrapped, cut: Fridge 3–5 days; freezer 1–2 months.
- Dry-cured (country ham), cooked: Fridge about 1 week; freezer about 1 month.
- “Keep refrigerated” labeled, unopened: Fridge 6–9 months; generally not recommended for freezing.
- Canned, opened, shelf-stable: Fridge 3–4 days; freezer 1–2 months.
- Parma, Serrano, Prosciutto, dry Italian: Fridge 3–5 days; freezer 5–6 months.
What Happens if You Eat Spoiled Ham?
Eating spoiled ham can cause foodborne illness. Symptoms may include:
- Fever
- Stomach cramps
- Nausea
- Vomiting
- Chills
If you experience these symptoms and suspect they’re from spoiled ham, seek medical advice. Inform others who ate the same food so they can watch for symptoms too.
What Should You Do if You Eat Bad Ham?
If you suspect food poisoning, contact a healthcare professional for guidance. While awaiting care, avoid solid foods if you’re vomiting; choose bland, easy-to-digest items like toast, rice, bananas, or crackers when you can tolerate food. Stay hydrated and monitor symptoms closely.
Final Thoughts on Ham Safety
If your ham smells off or shows changes in color, texture, or mold, it’s safer to discard it. Proper storage, attention to fridge temperature, and checking appearance and smell before eating will help you enjoy ham safely. Follow the storage windows above to minimize risk and waste.