Skip to content
Gunther Heller

How Long Does Cake Last?

Fridge, freezer, counter · opened vs unopened · last verified November 2026

  • Freezes well
  • Changes once opened
Graphic answering “how long does cake last?”: 7–10 days in the fridge; Freezer: 6 months.
Show storage times for
Per USDA FoodKeeper
Counter
Refrigerate
once opened
Fridge
7–10 days
at or below 40°F (4°C)
Freezer
6 months
at 0°F; quality, not safety
Counter
3–7 days
cool, dry place
Fridge
Not needed
shelf-stable
Freezer
6 months
at 0°F; quality, not safety
Quick answer

Opened cake lasts 7–10 days in the fridge and 6 months in the freezer. Unopened, it keeps 3–7 days in the pantry.

At a glance

Shelf life at a glance

Fridge
7–10 days
Freezer
6 months

Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.

How perishable is it?
Keeps a week or two
  1. 1
  2. 2
  3. 3
  4. 4

Based on the longest fridge or pantry time.

It's been in the fridge for…
Tap a time to check.
Still good

About 3–6 more days in the fridge.

Still good

About 2–5 more days in the fridge.

Use it today

It's inside the safe window but near the end. Eat it today or freeze it now.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Counted from the day it was cooked, opened or bought. Assumes a fridge at 4 °C (40 °F) or colder.

Meal prep

Your cake fridge countdown

Day 0 is the day it was opened.
  1. Open
    0
  2. Day
    1
  3. Day
    2
  4. Day
    3
  5. Day
    4
  6. Day
    5
  7. Day
    6
  8. Day
    7
  9. Day
    8
  10. Day
    9
  11. Day
    10
  12. Day
    11
  13. Day
    12
● Still good● Use it today● Throw it out

Based on the USDA FoodKeeper fridge window at 4°C (40°F) or colder.

Try it

Check your cake

It's been in the pantry for…
Tap a time to check.
Use it soon

Near the end of the 3–7 days pantry time. Check the smell and look before using; quality is starting to fade.

Check before using

Past the 3–7 days pantry time. Shelf-stable food usually loses quality rather than becoming unsafe: throw it out if you see mould, pests, damp clumps or an off smell.

Check before using

Past the 3–7 days pantry time. Shelf-stable food usually loses quality rather than becoming unsafe: throw it out if you see mould, pests, damp clumps or an off smell.

Assumes a cool, dry, dark cupboard with the package tightly closed.

It's been in the freezer for…
Tap a time to check.
Best quality

At -18°C (0°F), cake is still within the 6 months quality window. Thaw in the fridge and use within a day or two.

Best quality

At -18°C (0°F), cake is still within the 6 months quality window. Thaw in the fridge and use within a day or two.

Use it soon

Still safe, and at the end of its best-quality window. Use it in the next few weeks; texture and flavour fade after 6 months.

Safe, but past its best

Food kept frozen solid stays safe indefinitely, but after 9 months expect freezer burn and dull flavour. Fine for soups, sauces and baking; trim dry grey patches.

Safe, but past its best

Food kept frozen solid stays safe indefinitely, but after 12 months expect freezer burn and dull flavour. Fine for soups, sauces and baking; trim dry grey patches.

Assumes a freezer at -18°C (0°F) or colder. Frozen food stays safe; these verdicts are about quality.

The basics

About cake

Cake belongs to our bread & baking category. In the USDA FoodKeeper database it is listed as “Commercial cakes and muffins”. According to USDA FoodKeeper, it keeps 7–10 days in the fridge and 6 months in the freezer. It is not a high-risk perishable food, so the main concern is quality rather than safety. Where to keep it: ready-to-eat and cooked food goes on the upper shelves, above anything raw.

Bread and baked goods are low in moisture compared with fresh food, so they rarely become unsafe quickly, but they do go stale and eventually mouldy. Staling is a change in the starch, not spoilage, and it actually happens faster in the fridge. Mould is the real limit, and it grows faster in warm, humid kitchens.

Every method

Cake storage times by method

Bar chart showing storage times for cake: Pantry Refrigerate, Fridge 7–10 days, Freezer 6 months.
Storage times for cake
MethodDurationTemperatureContainerNotes
Refrigerator (opened)7–10 days≤ 40°F / 4°CSealed bagat or below 40°F (4°C)
Freezer (opened)6 months0°F / -18°CFreezer bag or wrapat 0°F; quality, not safety
Pantry / counter (unopened)3–7 days68–72°FSealed bagcool, dry place
Where to keep it

Where to store cake

Temperature gauges for cake: Fridge 40°F (4°C), 7–10 days; Freezer 0°F (-18°C), 6 months.
How cold to keep cake. The fridge and freezer temperatures behind these storage times
Freezer Top shelf Middle shelf Bottom shelf Crisper drawer Door
Best spot
Top shelf

Ready-to-eat and cooked food goes on the upper shelves, above anything raw.

Question by question

Cake shelf life, answered

How long does cake last in the fridge?

7–10 days at 4°C (40°F) or colder (opened). Keep it sealed so it does not pick up moisture or odours.

How long does cake last in the freezer?

6 months for best quality at -18°C (0°F). Frozen food stays safe indefinitely; after that, texture and flavour fade.

How long does cake last at room temperature?

It is not meant to be kept at room temperature. Refrigerate it.

How long does cake last after opening?

7–10 days in the fridge once opened. The printed date stops applying the moment you break the seal.

How long does unopened cake last?

3–7 days in the pantry, if the seal is intact and it is stored as the label says.

How long is cake good for past the expiration date?

FoodKeeper gives unopened cake 3–7 days in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

How can you tell if cake is bad?

Musty, sour or alcoholic smell. Hard and dry is stale but safe; damp or sticky is not. Discoloured spots on the crust or crumb.

Check before you eat

Signs cake has gone bad

Checklist of signs that cake should be thrown out: Smell: Musty, sour or alcoholic smell; Texture: Hard and dry is stale but safe; damp or sticky is not; Colour: Discoloured spots on the crust or crumb; Mould: Any visible mould — discard the whole item; roots spread unseen.
Check before you eat. Cake

Smell

Musty, sour or alcoholic smell.

Texture

Hard and dry is stale but safe; damp or sticky is not.

Colour

Discoloured spots on the crust or crumb.

Mould

Any visible mould — discard the whole item; roots spread unseen.

Check your cake: tick anything you notice

Nothing ticked? Good sign. Still check how long it has been stored: the bacteria that cause food poisoning are invisible.

Any of these means it has gone bad. Throw it out — don't taste it to check.

Does cake go bad? Full guide →

The science

Why cake goes bad

Mould spores land on bread from the air and grow into fuzzy patches within days in warm, humid conditions. The visible patch is only part of it: thread-like roots spread through soft bread, so the whole loaf should be thrown away once mould appears. Cream- or custard-filled pastries are different and must be refrigerated like dairy.

Avoid these

Common cake storage mistakes

  • Keeping bread in the fridge, which makes it stale faster.
  • Cutting off a mouldy patch and eating the rest of a soft loaf.
  • Storing bread in a sealed bag while still warm, which traps moisture.
  • Leaving cream-filled pastries at room temperature.
Freezing

Can you freeze cake?

Numbered steps: How to freeze cake. 1. Freeze on the day you buy or bake it, once fully cool. 2. Wrap tightly in plastic, then a freezer bag; slice bread first so you can take what you need. 3. Thaw at room temperature in the wrap, or toast or warm from frozen.
How to freeze cake
Yes — freezes wellQuality holds for about 6 months at 0°F / -18°C. Frozen food stays safe indefinitely; only quality declines.
  1. 1Step 1

    Freeze on the day you buy or bake it, once fully cool.

  2. 2Step 2

    Wrap tightly in plastic, then a freezer bag; slice bread first so you can take what you need.

  3. 3Step 3

    Thaw at room temperature in the wrap, or toast or warm from frozen.

How to freeze and thaw cake →

Thawing

How to thaw cake

In the fridge

Move it to the fridge the night before; texture holds best.

At room temperature

Bread and baked goods thaw well on the counter, still wrapped, in 1–3 hours.

From frozen

Many foods go straight into soups, sauces, smoothies or the oven.

The 2-hour rule

Cake left out overnight

Opened cake belongs in the fridge. Overnight at room temperature speeds spoilage; if it smells, looks or tastes off, discard it.

Date labels

Best-by and use-by dates on cake

Side-by-side comparison for cake, Opened vs Unopened: Opened: Pantry Refrigerate, Fridge 7–10 days, Freezer 6 months; Unopened: Pantry 3–7 days, Freezer 6 months.
Opened vs Unopened. Cake

Unopened

FoodKeeper gives unopened cake 3–7 days in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

Opened

Once opened, the printed date no longer applies. Count 7–10 days in the fridge from the day you open it.

Storage tips

How to store cake

Numbered steps: How to store cake. 1. Keep at room temperature in a bread box or sealed bag for the best texture. 2. Refrigeration slows mould but makes bread stale faster. 3. Freeze what you will not eat in time.
How to store cake
  • Keep at room temperature in a bread box or sealed bag for the best texture.
  • Refrigeration slows mould but makes bread stale faster.
  • Freeze what you will not eat in time.
At the store

How to pick fresh cake

  • Check the bag for condensation or mould spots.
  • Buy loaf sizes you will finish within a few days, or plan to freeze half.
  • Pick bakery items with the latest baked-on date.
Less waste

Cake: use it up in time

  • Freeze sliced bread and toast it straight from frozen.
  • Turn stale bread into croutons, breadcrumbs or bread pudding.
  • Use soft fruit breads for French toast.
How it compares

Cake vs similar foods

Longest recommended storage time (fridge, or pantry for shelf-stable foods)

Same scale as the timeline above: 1 hour to 2 years.

Got something else in the fridge?

Check any food in seconds: when your leftovers expire, and whether something left out is still safe.

Keep exploring

Similar foods

All bread & bakery → Can you freeze… hub → Leftover calculator →Freezer time calculator →Left-out checker →

Quick quiz

True or false? Cake myths

  1. 1.Cake is safe to eat after more than 7–10 days in the fridge, as long as it smells fine.
    Correct!
    Not quite.

    Partly true. Cake is not high-risk, so a little past 7–10 days usually means lower quality, not danger. Check for mould and off smells first.

  2. 2.Freezing cake kills the bacteria on it.
    Correct!
    Not quite.

    False. Freezing pauses bacteria; it does not kill them. They become active again as the food thaws, so thaw in the fridge and cook or reheat properly.

  3. 3.Cake freezes well.
    Correct!
    Not quite.

    True. Quality holds for about 6 months at 0°F / -18°C. Frozen food stays safe indefinitely; only quality declines.

  4. 4.The fridge door is a good place for cake.
    Correct!
    Not quite.

    False. The door warms up every time it opens. Ready-to-eat and cooked food goes on the upper shelves, above anything raw.

  5. 5.Cake needs to be refrigerated to stay safe.
    Correct!
    Not quite.

    Not for safety, but it keeps it at best quality longer. Follow the storage times on this page.

Questions people ask

Cake FAQ

How long does cake last in the fridge?
Cake lasts 7–10 days in the fridge at 40°F (4°C) or below once opened, according to USDA FoodKeeper.
Can you freeze cake?
Yes. Quality holds for about 6 months at 0°F / -18°C. Frozen food stays safe indefinitely; only quality declines.
How long does unopened cake last?
3–7 days in the pantry. Opened, the clock is shorter: 7–10 days in the fridge.
How can you tell if cake has gone bad?
Smell: musty, sour or alcoholic smell; Texture: hard and dry is stale but safe; damp or sticky is not; Colour: discoloured spots on the crust or crumb.
Does cake go bad past the date?
FoodKeeper gives unopened cake 3–7 days in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.
Where do these numbers come from?
USDA FoodKeeper, the storage database maintained by the Food Safety and Inspection Service. We last checked this page in the current release.
What temperature should I keep cake at?
Keep your fridge at 4°C (40°F) or colder and your freezer at -18°C (0°F). Many fridges run warmer than their dial suggests, so an inexpensive appliance thermometer is worth having. Every few degrees above 4°C noticeably shortens the 7–10 days fridge window for cake.
What is the best container for cake?
Use a bread box or sealed bag at room temperature, or the freezer. The goal is to keep out air and moisture, stop odours spreading, and make it easy to see how old the food is. Write the date on a label or the lid so you are never guessing how long it has been stored.
Can I keep cake in the fridge door?
It is better not to. The door is the warmest part of the fridge and warms up every time it opens. Ready-to-eat and cooked food goes on the upper shelves, above anything raw.
Can you refreeze cake?
Only if it thawed in the fridge and has not been left out. Food thawed in cold water or the microwave should be cooked before freezing again. Each freeze-thaw cycle lowers quality, so freeze in portions you will use at once.
Does freezing kill bacteria in cake?
No. Freezing at -18°C (0°F) stops bacteria from multiplying but does not kill them. When cake thaws, any bacteria present become active again, so thaw in the fridge and cook or reheat to a safe temperature where appropriate.
Is cake safe if it smells fine but is past the storage time?
For a low-risk food like cake, past the storage time usually means lower quality rather than danger. Check for mould, off smells or an unusual taste, and throw it out if anything seems wrong.
Numbers on this page come from USDA FoodKeeper and FSIS guidance. Last verified November 2026. How we verify our data · Report a wrong number