Dinners

Do You Refrigerate Earthquake Cake After Baking?

Updated · By Stir & Share

Total timeincludes chilling, rising or resting
1 hr 40 min
Prep
20 min
hands-on
Cook
40 min
oven or stovetop
Serves
12
as written
USDA safe temp
160°F / 71°C
check the thickest part

Jump to recipe Save

Yes, refrigerate earthquake cake after it cools. This dense, moist dessert with a pudding layer and crumb topping holds best in the fridge and stays fresh for 4–5 days. For example, a standard 9×13-inch earthquake cake made with cream cheese, eggs, and milk should be covered and chilled within 2 hours of coming out of the oven.

Earthquake Cake Needs Refrigeration Due to Perishable Ingredients

Earthquake cake contains dairy and eggs, which are perishable. The filling often includes cream cheese, sour cream, or milk-based pudding—ingredients that support bacterial growth at room temperature. Any dessert with these components must be refrigerated to stay safe.

The USDA states that perishable foods should not sit out longer than 2 hours (1 hour if the room is above 90°F/32°C). Since earthquake cake includes eggs and dairy, it falls under this rule. Leaving it on the counter overnight risks spoilage.

Refrigeration Extends Shelf Life to 4–5 Days

When stored in the refrigerator, earthquake cake lasts 4–5 days. Cover it tightly with plastic wrap or place it in an airtight container to prevent drying and odor absorption. The moisture from the pudding and cream cheese layers makes the cake prone to drying out if exposed to air.

For best texture, let slices come to room temperature for 15–20 minutes before serving. Cold cake can taste dense and dull; warming it slightly improves mouthfeel without compromising safety.

Freezing Is Safe for Up to 3 Months

Earthquake cake freezes well for up to 3 months. Wrap the whole cake or individual slices tightly in plastic wrap and then in aluminum foil, or place in a freezer-safe container. Thaw overnight in the refrigerator before serving.

Freezing preserves texture better than many expect. The crumb topping may soften slightly, but the pudding and cake layers hold up well. Avoid refreezing thawed cake.

Room Temperature Storage Is Risky and Not Recommended

Some people leave earthquake cake out for a few hours after baking, especially if serving at a gathering. That’s acceptable—but only up to 2 hours. After that, it must be refrigerated.

Signs of spoilage include sour smell, slimy texture, or visible mold. If any appear, discard the entire cake. Do not taste to check safety.

Cream Cheese Filling Must Reach 160°F (71°C) When Baking

If the recipe includes a baked cream cheese layer or filling with eggs, bake it to the USDA FSIS safe minimum internal temperature of 160°F (71°C). Use a food thermometer to check the center of the cake.

Typical baking instructions call for 350°F (175°C) for 35–45 minutes, but oven accuracy varies. The cake is done when the center registers 160°F (71°C) and the top is golden brown. A toothpick inserted should come out with moist crumbs, not wet batter.

Raw Eggs and Flour in No-Bake Versions Require Extra Care

Some no-bake versions of earthquake cake use raw eggs or uncooked flour in the filling. These pose a risk of Salmonella and E. coli. To reduce risk, use pasteurized eggs and heat-treat the flour to 160°F (71°C) before mixing.

Heat-treating flour: spread it on a baking sheet and bake at 350°F (175°C) for 5 minutes, stirring once. Cool completely before using. Keep no-bake versions refrigerated at all times and consume within 3 days.

Serving Size and Storage per Pan Type

A 9×13-inch (23×33 cm) pan typically yields 12–16 slices. Cover and refrigerate the whole pan if not fully eaten. For an 8×8-inch (20×20 cm) cake, expect 9 servings; store the same way.

Individual slices can be wrapped and frozen. Label with the date. A full pan takes up about 300 cubic inches (4.9 L) of fridge space—ensure it fits without blocking airflow.

Condensation Forms When Cold Cake Warms

When you take earthquake cake from the fridge, condensation can form on the surface, especially if it’s uncovered. This makes the crumb topping soggy. To prevent this, let the cake sit in its container for 10 minutes before removing the wrap.

If serving multiple slices, remove only what you need. Keep the rest covered in the fridge.

Ingredients

  • 1 box yellow cake mix (about 15.25 oz / 432 g)
  • 1 cup (240 ml) sour cream
  • 3 large eggs
  • ½ cup (113 g) butter, melted
  • 1 (3.4 oz / 96 g) package instant vanilla pudding mix
  • 8 oz (226 g) cream cheese, softened
  • 1 cup (200 g) granulated sugar
  • 1 tsp vanilla extract
  • 1 cup (120 g) chopped pecans or walnuts (optional)

Instructions

  1. Preheat oven to 350°F (175°C). Grease a 9×13-inch (23×33 cm) baking pan.
  2. In a large bowl, mix cake mix, sour cream, eggs, and melted butter until smooth.
  3. Spread batter evenly in the pan.
  4. In another bowl, beat cream cheese, sugar, and vanilla until smooth.
  5. Drop spoonfuls of cream cheese mixture over the batter. Swirl with a knife to create a marbled effect.
  6. Sprinkle dry pudding mix evenly over the top, followed by chopped nuts if using.
  7. Bake for 35–45 minutes, until the center reaches 160°F (71°C) and a toothpick comes out with moist crumbs.
  8. Cool completely on a wire rack, about 1 hour.
  9. Cover with plastic wrap and refrigerate within 2 hours of cooling.
  10. Slice and serve cold or slightly chilled.

Substitutions That Work Without Sacrificing Safety

You can use a white or chocolate cake mix instead of yellow—flavor changes, but texture remains similar. For a denser cake, replace sour cream with Greek yogurt.

Vegetable oil can substitute for butter in the batter, but butter adds flavor. Margarine is not recommended—it can separate when melted.

For nut-free versions, omit nuts or use toasted oats. The topping will be less crunchy but still flavorful.

Cooling Time Must Be Factored Before Refrigeration

Do not refrigerate earthquake cake while warm. Trapped heat creates condensation, leading to a soggy texture and possible bacterial growth if the center is still above 40°F (4°C).

Cool the cake on a wire rack for at least 1 hour. The center should feel room temperature, not warm, before covering and chilling.

How to Tell If Earthquake Cake Has Gone Bad

Discard the cake if it has an off smell, especially sour or yeasty notes. Visible mold, even in small spots, means the entire cake is unsafe.

Texture changes—such as sliminess in the filling or extreme dryness on the surface—also signal spoilage. When in doubt, throw it out.

Transporting Refrigerated Cake Safely

If taking earthquake cake to a potluck or event, keep it cold during transit. Use an insulated cooler with ice packs.

Do not leave the cake in a hot car. If the internal temperature rises above 40°F (4°C) for more than 2 hours, it is no longer safe to eat.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).