Opened cake lasts 7–10 days in the fridge and 6 months in the freezer. Unopened, it keeps 3–7 days in the pantry.
Shelf life at a glance
Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.
- 1Use within days
- 2Keeps a week or two
- 3Keeps for months
- 4Keeps a long time
Based on the longest fridge or pantry time.
About 3–6 more days in the fridge.
About 2–5 more days in the fridge.
It's inside the safe window but near the end. Eat it today or freeze it now.
Past the recommended fridge time. Even if it looks and smells fine, 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.
Your cake fridge countdown
- Open0
- Day1
- Day2
- Day3
- Day4
- Day5
- Day6
- Day7
- Day8
- Day9
- Day10
- Day11
- Day12
Based on the USDA FoodKeeper fridge window at 4°C (40°F) or colder.
Check your cake
Near the end of the 3–7 days pantry time. Check the smell and look before using; quality is starting to fade.
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.
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.
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.
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.
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.
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.
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.
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.
Cake storage times by method
| Method | Duration | Temperature | Container | Notes |
|---|---|---|---|---|
| Refrigerator (opened) | 7–10 days | ≤ 40°F / 4°C | Sealed bag | at or below 40°F (4°C) |
| Freezer (opened) | 6 months | 0°F / -18°C | Freezer bag or wrap | at 0°F; quality, not safety |
| Pantry / counter (unopened) | 3–7 days | 68–72°F | Sealed bag | cool, dry place |
Times assume a fridge at 4°C (40°F) or colder and a freezer at -18°C (0°F).
Where to store cake
Ready-to-eat and cooked food goes on the upper shelves, above anything raw.
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.
Signs 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.
Mould
Any visible mould — discard the whole item; roots spread unseen.
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.
Can you freeze cake?
- 1Step 1
Freeze on the day you buy or bake it, once fully cool.
- 2Step 2
Wrap tightly in plastic, then a freezer bag; slice bread first so you can take what you need.
- 3Step 3
Thaw at room temperature in the wrap, or toast or warm from frozen.
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.
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.
Best-by and use-by dates on 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.
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 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).
- Bread 2–3 weeks
- Cake 7–10 days
- Muffins 3–7 days
- Cheesecake 5–7 days
- Fruit pie 1 week
- Pumpkin pie 3–4 days
- Bagels 1–2 days
Same scale as the timeline above: 1 hour to 2 years.
Check any food in seconds: when your leftovers expire, and whether something left out is still safe.
Similar foods
All bread & bakery → Can you freeze… hub → Leftover calculator →Freezer time calculator →Left-out checker →
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.