Cake may look harmless after several days in the refrigerator, but its frosting, filling, and fruit can spoil sooner than the baked layers. If you are wondering how long does cake last in the fridge, there is no single storage window that applies to every recipe.
A plain sponge cake behaves differently from cheesecake or a cake filled with whipped cream. This guide explains realistic refrigerator timelines, proper storage, spoilage signs, and when freezing is the better choice.
1. How Long Does Cake Last in the Fridge?
Most cakes last about 2–7 days in the fridge, depending on the frosting, filling, and other perishable ingredients. Cakes with whipped cream, custard, cream cheese, or fresh fruit generally have a shorter refrigerator life than plain cakes.
| Type of cake | Recommended refrigerator time | Main consideration |
| Plain cake without frosting | 5–7 days | May become dry before it spoils |
| Buttercream cake | 3–5 days | Shorter if the recipe contains eggs or cream |
| Cream cheese frosted cake | 3–4 days | Requires continuous refrigeration |
| Whipped cream cake | 2–3 days | Cream can separate or spoil quickly |
| Cheesecake | 3–4 days | High dairy and moisture content |
| Fresh fruit-filled cake | 2–3 days | Cut fruit releases moisture |
| Custard-filled cake | 2–3 days | Egg-and-dairy filling is highly perishable |
| Packaged store-bought cake | Follow the label | Preservatives and packaging vary |
When determining how long does cake last in the fridge, consider the most perishable ingredient. Dairy-based frostings, custard, eggs, and cut fruit can shorten storage time.
Keep refrigerated cakes tightly covered at 40°F (4°C) or below. These timeframes are general guidelines, so follow the manufacturer’s storage instructions when a packaged cake provides a specific date or recommendation.
2. What Affects How Long Cake Stays Fresh?
Several variables explain why how long does cake last in the fridge cannot be answered from the cake layer alone. In many recipes, the filling or topping determines the appropriate storage method.
Type of Frosting
Traditional buttercream is generally more stable than whipped cream or cream cheese frosting. Nevertheless, recipes differ. Frosting containing raw or lightly cooked eggs, heavy cream, mascarpone, or cream cheese requires careful refrigeration.
Fresh Fruit or Dairy Fillings
Fresh berries, sliced fruit, mousse, custard, and pastry cream add moisture and perishable ingredients. They may make a cake soggy while also reducing its storage time to approximately two or three days.
Homemade vs. Store-Bought Cakes
Commercial cakes may contain preservatives or use specialized packaging that extends quality. Conversely, bakery cakes may include fresh cream even when they look similar to shelf-stable products. Always check the label or ask the bakery about storage.
Refrigerator Temperature and Humidity
A refrigerator warmer than 40°F allows harmful bacteria to multiply more quickly. Excess humidity can make frosting wet, while uncovered storage exposes the cake to drying and odors.

3. How to Store Cake Properly in the Fridge?
Proper packaging makes the answer to how long does cake last in the fridge more predictable and helps preserve flavor. Use this checklist after serving:
- Refrigerate cakes with dairy, egg, custard, mousse, or fresh-fruit components promptly.
- Place the cake in a covered carrier or wrap it tightly without crushing the frosting.
- Transfer individual slices to shallow, airtight containers.
- Keep cake away from onions, seafood, and other strong-smelling foods.
- Never place an uncovered cake directly on a refrigerator shelf.
- Maintain the refrigerator at 40°F (4°C) or below.
- Use a clean knife and serving utensils to reduce contamination.
- Label homemade cake with its preparation date.
For more practical refrigeration habits, see our internal leftover food storage guide.
>>> Read More: How Long Do Grapes Last in the Fridge? Ultimate Storage Guide
4. How Long Can Cake Sit Out?
Cake can usually sit out for up to 2 hours if it contains perishable ingredients such as cream cheese, whipped cream, custard, or mousse. If the temperature is above 90°F (32°C), that limit drops to 1 hour.
Plain, unfrosted cakes and cakes with shelf-stable frosting may be kept at room temperature longer when stored in a cool, dry place, depending on the recipe.
For how long can cake sit out, the most perishable ingredient determines the safe limit. Cakes with dairy- or egg-based fillings and frostings should be refrigerated promptly. A cream-filled or cream-frosted cake left out overnight should be discarded rather than refrigerated again.
5. How to Tell If Cake Has Gone Bad?
Storage time should be evaluated together with the cake’s condition and handling history. When estimating how long does cake last in the fridge, check for these warning signs:
- Visible mold or discoloration: Discard the entire cake; removing one moldy area is not sufficient.
- Sour or unpleasant smell: An unusual fermented, rancid, or dairy-like odor suggests deterioration.
- Slimy frosting or filling: Excessive separation, bubbling, or a slippery surface may indicate spoilage.
- Unexpected flavor: Do not keep tasting a questionable cake to assess its safety.
- Dry texture: Staleness alone is mainly a quality problem, but dryness does not prove that an older cake is safe.
Appearance and smell cannot detect every harmful microorganism. If the storage history is unknown, discarding the cake is the safer decision.
6. Can You Freeze Cake for Longer Storage?
Yes, freezing is helpful when the cake will not be eaten within its refrigerator window. It slows deterioration, although texture can change after thawing.
Plain sponge, pound cake, butter cake, and unfrosted layers generally freeze well. Buttercream cakes also freeze reasonably well, whereas whipped cream, custard, and fresh-fruit fillings may become watery or separate.
Wrap individual slices or cake layers in plastic wrap, add foil or a freezer-safe container, and label the package. For best quality, use frozen cake within two to three months.
Thaw it overnight in the refrigerator while wrapped, then bring it to serving temperature if appropriate. The USDA FoodKeeper resource can also support general storage planning.
7. FAQs
Does cake last longer in the fridge or at room temperature?
Refrigeration usually extends the life of cakes containing cream, custard, cream cheese, mousse, or fruit. Plain cakes may maintain a better texture at room temperature for a few days, provided they are tightly covered and the recipe does not require refrigeration.
Should cake be refrigerated after cutting?
Refrigeration is necessary if the cake contains perishable toppings or fillings. A plain cut cake can sometimes stay at room temperature, but its exposed surfaces should be covered to prevent drying and contamination.
Can you eat cake after the expiration date?
A printed date often relates to peak quality rather than an automatic safety deadline. Check the label wording, storage instructions, package condition, ingredients, and handling history. Do not eat the cake if it shows spoilage or has been stored improperly.
Can a cake last for 10 days in the fridge?
Some plain or commercially packaged cakes may retain acceptable quality for 10 days, but this is too long for most homemade cakes containing dairy, custard, whipped cream, cheesecake filling, or fresh fruit. Follow the product label when available.
Can I eat cake after 15 days?
Eating refrigerated homemade cake after 15 days is generally not recommended, especially when it contains perishable frosting or filling. Freezing the cake earlier is a better option if it cannot be finished within its normal refrigerator window.
Conclusion
Knowing how long does cake last in the fridge starts with identifying the most perishable part of the recipe.
Plain cake may keep for five to seven days, while cakes containing whipped cream, custard, cream cheese, cheesecake filling, or fresh fruit are generally best used within two to four days.
Cover every slice, maintain a refrigerator temperature of 40°F or below, and freeze surplus cake early. When its history or condition is uncertain, do not risk serving it.