Baked Goods

How long do store-bought cakes and muffins last on the counter?

3–7 days
Pantry, from purchase — USDA FoodKeeper guidance for commercial cakes and muffins

A bakery cake or a box of muffins keeps 3–7 days on the counter and 7–10 days in the fridge — but anything with a cream or cream-cheese filling goes straight to the fridge from the start.

How long does it keep?

Pantry, from purchase 3–7 days
Fridge, opened 7–10 days
Freezer, from purchase 6 months

Can you freeze cake? YES, FREEZE IT

Can it sit out?

A store-bought cake or muffin is shelf-stable, so sitting out at room temperature isn’t the safety question — storage time is.

The 2-hour rule, in full →

How to tell if a store-bought cake or muffin has gone bad

  • Mold in the crumb crevices or on the paper liner
  • A sour, fermented smell from under the dome
  • Sticky wet patches where the frosting meets the cake
  • Edges gone dry and crumbling away from the fork

When in doubt, throw it out.

Keep muffins in a container lined with a paper towel — it takes up the steam that would otherwise turn the tops sticky overnight.

Quick answers

How long do store-bought cakes and muffins last on the counter?

A bakery cake or a box of muffins keeps 3–7 days on the counter and 7–10 days in the fridge — but anything with a cream or cream-cheese filling goes straight to the fridge from the start.

Can you freeze a store-bought cake or muffin?

Cake freezes for 6 months and thaws almost undetectably — freeze the layers bare and frost them afterward.

How long can a store-bought cake or muffin sit out?

Sitting out at room temperature isn’t the safety question for a store-bought cake or muffin — storage time is.