¶ Kitchen toolsFree · No sign-up

How Long Does Cake Last in the Fridge?

USDA FoodKeeper times · Updated October 18, 2026

7 to 10 days

Store-bought cake lasts 7 to 10 days in the refrigerator once it’s been opened, according to the USDA's FoodKeeper data. In the freezer, it keeps 6 months.

These times assume your refrigerator stays at 40°F or below, the USDA's limit for safe cold storage. Above that, bacteria multiply quickly, so a fridge thermometer is worth having if yours doesn't show its temperature.

How long cake and similar foods last

FoodFridgeFreezerPantry
Store-bought cakes and muffins7–10 days after opening6 months3–7 days from purchase
Cheesecake5–7 days after opening3–6 months—
Cream pies3–4 days after openingNot recommended—
Fruit pies1 week after opening8 months1–2 days

"From purchase" times count from the day you buy it. Times for cooked food count from when it was cooked.

How long does store-bought cake last in the freezer?

Store-bought cake keeps 6 months in the freezer at 0°F. Food kept frozen at 0°F stays safe indefinitely, so that time is about quality: after it, texture and flavor start to suffer. Wrap it airtight, or vacuum seal it, to prevent freezer burn, and thaw in the refrigerator.

How to store store-bought cake

  • Refrigerate within 2 hours of cooking or buying (1 hour if it's above 90°F).
  • Keep the fridge at 40°F or below and the freezer at 0°F.
  • Store leftovers in shallow, airtight containers so they cool quickly and don't pick up odors.

Check your fridge is at 40°F

Pecula Refrigerator Thermometer (2-Pack)

Dial thermometers for the fridge and freezer, marked with safe zones. Over 32,000 Amazon ratings.

Shallow, airtight leftover storage

Pyrex Simply Store Glass Containers (12-Pack)

Glass containers from 1 to 4 cups with lids that are freezer, microwave, and dishwasher safe.

Longer freezer quality

Nesco Deluxe VS-12 Vacuum Sealer

Removes air and double-seals bags to prevent freezer burn, with dry and moist food settings.

How long can store-bought cake sit out?

No more than 2 hours at room temperature, or 1 hour when it's above 90°F. After that, throw it out.

Can you tell if store-bought cake has gone bad?

Not reliably. The bacteria that cause food poisoning generally don't change how food looks, smells, or tastes, according to the USDA. Go by how long it's been in the fridge, not the sniff test, and when in doubt, throw it out.

Frequently asked questions

How long does store-bought cake last in the fridge?

7 to 10 days once it’s been opened, according to USDA FoodKeeper data. Keep your refrigerator at 40°F or below.

Can you freeze store-bought cake?

Yes. Store-bought cake keeps 6 months in the freezer at 0°F for best quality. Frozen food stays safe indefinitely, but quality drops over time.

How long can store-bought cake sit out?

No more than 2 hours at room temperature, or 1 hour when it's above 90°F. After that, throw it out.

See the full food storage chart for more than 600 foods. Shopping for a new fridge? Our guide to the best refrigerators and the refrigerator size chart can help, and how long refrigerators last covers when to replace an old one.

Sources

Storage times are from the USDA Food Safety and Inspection Service's FoodKeeper data, version 128. Food safety rules are from FSIS guidance.