Skip to main content

How Long Cake Lasts in the Refrigerator: Storage Times by Type

Most cakes last 3 to 4 days in the refrigerator, but frosting type and filling matter more than you'd think

A frosted cake in an airtight container will stay fresh for 3 to 4 days at refrigerator temperature (35–40°F). Unfrosted cake lasts about the same time. The real variable is what's between the layers and on top: buttercream frosting, cream cheese frosting, and ganache all behave differently, and fillings like pastry cream or fruit curds have their own timelines. A cake with a mousse filling or fresh fruit will spoil faster than one with jam or pastry cream.

The reason cake dries out in the refrigerator is air exposure. Cold air pulls moisture from the crumb, which is why an uncovered slice hardens noticeably after a few hours. Wrapping matters as much as temperature. A cake sealed in plastic wrap or stored in an airtight container will stay moist for the full 3 to 4 days; the same cake left uncovered will taste stale by day 2.

Key Takeaways

  • Frosted cake in an airtight container lasts 3 to 4 days; unfrosted cake the same, but dries out faster without a seal.
  • Cream cheese frosting and fresh fruit fillings shorten shelf life to 2 to 3 days because they spoil more quickly than buttercream or ganache.
  • Wrap individual slices in plastic wrap or store the whole cake in an airtight container to prevent the crumb from drying out.
  • Cakes with mousse, whipped cream, or custard filling should be eaten within 1 to 2 days because these fillings break down in the cold.

How frosting type changes how long cake keeps

Buttercream frosting is the most stable choice for refrigerator storage. It's made from butter and powdered sugar, both shelf-stable ingredients, so a buttercream-frosted cake will last the full 3 to 4 days without any loss of quality. The frosting may firm up in the cold, but it won't spoil or separate.

Cream cheese frosting contains dairy and will keep for 3 days maximum, sometimes only 2 if the kitchen was warm when you frosted the cake. Cream cheese is more acidic than butter, which slows bacterial growth, but it's still a perishable ingredient. If the frosting looks wet or smells sour, throw the cake out.

Ganache (chocolate and cream) lasts 3 to 4 days if made with heavy cream. If it's made with condensed milk or evaporated milk instead, it lasts longer—up to 5 days. Ganache made with water or oil instead of cream is shelf-stable and doesn't shorten the cake's life at all.

Whipped cream frosting is the shortest-lived option. It breaks down and weeps in the refrigerator within 24 hours, so a whipped cream cake is best eaten the day it's made. If you must refrigerate it, eat it within 1 day.

Fillings that spoil faster than the cake itself

The filling matters as much as the frosting. A cake with a stable filling will last longer than one with a perishable one, even if the frosting is the same.

Pastry cream, custard, and curd (lemon curd, passion fruit curd) are cooked and acidic, so they're stable in the refrigerator for 3 to 4 days. A cake with pastry cream filling will keep as long as the frosting allows.

Mousse and whipped cream fillings break down in the cold and become grainy or separate within 24 to 48 hours. A mousse cake should be eaten within 1 to 2 days, even if the frosting is buttercream.

Fresh fruit fillings (berries, sliced peaches, fresh pineapple) release juice as they sit, which soaks into the cake and promotes mold growth. A cake with fresh fruit filling lasts 1 to 2 days maximum. Cooked fruit fillings (jam, compote) are shelf-stable and don't shorten the cake's life.

Cream cheese filling (not frosting, but a layer inside) behaves like cream cheese frosting and lasts 2 to 3 days. If the filling also contains whipped cream, cut that to 1 to 2 days.

The right way to wrap and store cake

How you wrap the cake matters more than you might expect. A frosted cake exposed to air will dry out noticeably in 24 hours, while the same cake sealed properly will stay moist for 3 to 4 days.

For a whole cake, place it in an airtight container if you have one large enough. If not, wrap the entire cake—plate and all—in plastic wrap, making sure the wrap touches all exposed surfaces. Press the wrap against the frosting so no air pockets form. Store it on a shelf, not on the door, where temperature fluctuates.

For individual slices, wrap each one separately in plastic wrap, then place them in an airtight container or a zip-top bag. This prevents the slice from drying out and keeps the crumb from absorbing odors from other foods in the refrigerator.

Do not store cake in the coldest part of the refrigerator (usually the back of the bottom shelf). The coldest zones can cause the frosting to crack and the crumb to become dense. A middle shelf is ideal.

When to move cake to the freezer instead

If you won't eat the cake within 3 to 4 days, freezing is a better choice than leaving it in the refrigerator, where it will dry out. Most cakes freeze well for 2 to 3 months.

Freeze an unfrosted cake wrapped tightly in plastic wrap and then aluminum foil. Freeze a frosted cake uncovered for 2 to 3 hours until the frosting is solid, then wrap it the same way. This prevents the wrap from sticking to soft frosting.

Cakes with mousse, whipped cream, or fresh fruit fillings do not freeze well—the texture breaks down when thawed. Cakes with buttercream, ganache, pastry cream, or jam freeze successfully.

Thaw a frozen cake in the refrigerator overnight, still wrapped. This allows it to thaw slowly and evenly without condensation forming on the surface.

Signs that cake has gone bad

A cake that smells sour, has visible mold, or feels slimy has spoiled and should be thrown out. Mold can grow inside the cake even if you don't see it on the surface, so if any part looks moldy, discard the whole cake.

A cake that tastes off—sour, bitter, or fermented—has begun to spoil. This is more common in cakes with cream cheese frosting or fresh fruit fillings, which spoil faster than other types.

Dryness is not a sign of spoilage; it's a sign the cake wasn't wrapped properly. A dry cake is still safe to eat, though less pleasant. You can revive it slightly by brushing the cut surface with simple syrup or milk before serving.

Frequently Asked Questions

Can I refrigerate cake the day I bake it?

Yes. Let the cake cool completely to room temperature first (at least 2 hours), then wrap and refrigerate. Putting a warm cake in the refrigerator creates condensation, which makes the frosting wet and the crumb soggy. If you frosted the cake while it was still warm, the frosting may have melted into the crumb.

Does cake last longer if I don't cut it?

An uncut cake lasts slightly longer because the interior stays sealed. Once you cut it, the exposed crumb dries out faster. An uncut frosted cake lasts 3 to 4 days; a cut cake lasts the same time if each slice is wrapped individually, but 1 to 2 days if you leave it uncovered.

What if my cake has both buttercream and fresh fruit?

The fresh fruit is the limiting factor. Eat the cake within 1 to 2 days. The buttercream will stay fresh longer, but the fruit will release juice and promote mold growth. If the fruit is on top only (not between layers), you can remove it before storing and add fresh fruit when you serve.

Can I store cake in a cake box instead of a container?

A cardboard cake box is not airtight and will allow the cake to dry out. If you use a box, wrap the cake in plastic wrap first, then place it in the box. The wrap does the work; the box just protects it from damage.

How do I know if cream cheese frosting has gone bad?

Smell it first. Sour or fermented smell means it's spoiled. Look for visible mold or a wet, separated appearance. If the frosting looks normal but tastes slightly tangy or off, it's beginning to spoil and should be discarded.