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.

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

Times assume a fridge at 4°C (40°F) or colder and a freezer at -18°C (0°F).

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 →

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.
How it compares

How long does cake last compared with similar foods?

At up to 10 days in the fridge, cake keeps longer than the typical food in bread & bakery (median 7 days across the 34 we track). Cake outlasts 62% of them.

In this group, danish pastries keep longest (1.2 years) and lemon chiffon pie the shortest (2 days). If you need a little more time, bread lasts 3 weeks.

Frozen, cake keeps best quality for up to 6 months, longer than 55% of the 31 bread & bakery foods with a freezer time (median 5 months).

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 →

People also ask

More questions about cake

Does cake need to be refrigerated?

Plain cakes and buttercream-frosted cakes can stay at room temperature for a couple of days; cream, custard and fresh-fruit cakes need the fridge.

Can you freeze cake?

Yes. Freeze unfrosted layers wrapped tightly.

How do you keep cake moist?

Store it airtight and cover cut sides with plastic wrap.

How can you tell if cake has gone bad?

Mould, a sour smell, or a slimy filling.

Can cake sit out overnight?

Plain cake yes; cream-filled no.

How long does cake with cream cheese frosting last?

Refrigerate it and eat within a few days.

Questions people ask

Cake FAQ

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 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.
Numbers on this page come from USDA FoodKeeper and FSIS guidance. Last verified November 2026. How we verify our data · Report a wrong number