Storing Cake

How long is store-bought cake good for?

How long does store-bought cake last? It depends on frosting, filling and storage. Get general timelines for bakery and packaged cakes, plus signs of spoilage.

On this page
  1. The short answer
  2. Check the label first
  3. Rough timelines by type
  4. Bakery cake vs. packaged supermarket cake
  5. Storing a store-bought cake
  6. Signs it has gone bad
  7. Freezing leftovers

The short answer

There is no single number, but as a rough guide, many store-bought cakes with stable frosting stay good for a few days at room temperature or up to about a week in the refrigerator, while cakes with whipped topping, cream cheese frosting or custard filling are best eaten within a few days and kept refrigerated. Packaged shelf-stable cakes can last much longer, up to their printed date.

Treat these as general estimates. The label, the bakery and your storage conditions all affect how long a particular cake will last.

Check the label first

Packaged cakes often carry a “best by” or “use by” date. A best-by date is about quality, while a use-by date is the maker’s suggested last day. Bakery cakes may have a sticker with storage instructions or a recommended consumption window. If a bakery gave you advice at pickup, follow that over any general rule.

Rough timelines by type

Type Counter Refrigerator
Unfrosted or lightly glazed cake A few days, covered Up to about a week
American buttercream cake 1 to 2 days, covered Several days
Whipped cream or whipped topping Not for long (about 2 hours) A few days
Cream cheese frosting Not for long (about 2 hours) A few days
Custard, mousse or fresh fruit filled Not for long (about 2 hours) A few days
Ice cream cake Keep frozen until serving Keep frozen
Packaged shelf-stable cake Until the printed date Not needed until opened

These are conservative averages and not guarantees. For a deeper look at room temperature limits, see how long cake can stay out on the counter.

Bakery cake vs. packaged supermarket cake

Bakery cakes are usually made with fewer preservatives and are meant to be eaten fresh. Packaged cakes in the snack or bakery aisle can contain preservatives and are sealed to resist drying, so they last longer unopened. Once opened, even a packaged cake begins to dry out, so reseal it well.

Storing a store-bought cake

  • Put perishable cakes in the fridge as soon as you get home, unless you are serving within a couple of hours.
  • Keep the cake in its box or an airtight container, and cover cut edges with plastic wrap.
  • Let a refrigerated cake sit for a short while before serving if it has a stable frosting. For perishable cakes, slice, serve and refrigerate leftovers promptly.
  • Avoid leaving cake in a warm car or sunny spot. If you are traveling with it, our notes on a cake on a long drive may help.

Signs it has gone bad

  • Mold, even a small spot
  • Sour, off or yeasty smell
  • Slimy or weeping filling
  • Frosting that has separated or become watery

Do not rely on the smell test alone, since some bacteria do not change how food looks or smells. If a perishable cake has been left out for hours, the safest choice is to discard it.

Freezing leftovers

Most cakes freeze well, though cakes with whipped cream or custard may change in texture. Wrap slices individually in plastic wrap, then place them in an airtight container or freezer bag. Frozen cake is usually best within a couple of months for quality. Thaw it in the refrigerator, still wrapped.

The complete guide to storing cake

Can You Leave Cake Out? How Long Cake Keeps at Room Temperature
Read the guide

Keep exploring

Guides from other topics

All topics →