Classic Earthquake Cake saved my sanity on one of those nights when you want chocolate cake but you also want it to be a whole event. You know the kind of craving I mean. This fun, gooey, crackly dessert looks wild out of the oven, tastes like a mash-up of cake and cheesecake, and takes barely any skill. If you can pour, dollop, and swirl, you can nail it. I am sharing my go-to version today, plus every tip I wish I had the first time I baked it. Grab a 9×13 pan and let’s make something ridiculously good. 
The Story Behind This Recipe
I’m Alexandraa, the cook behind this Classic Earthquake Cake. After a few test runs, I dialed in the flavors so it’s weeknight-friendly and full of comfort vibes. Classic Earthquake Cake saved my sanity on one of those nights when you want chocolate cake but you also want it to be a whole event.…
Ingredient Notes and Substitutions
What you need for the magic
Earthquake cake is known for that fault-line look, but what makes it special is the texture. It is soft and tender in the middle with ribbons of sweet, melty cream cheese and a little crunch from pecans and coconut. Here is the basic lineup I use to make Classic Earthquake Cake.
- German chocolate cake mix, one standard box. You can use chocolate fudge or devil’s food if you want a deeper cocoa flavor.
- Ingredients listed on the cake mix box. Usually eggs, oil, and water. Follow the box measurements.
- 1 cup sweetened shredded coconut. Toasted or plain, both work.
- 1 cup chopped pecans. Walnuts also work, but pecans are my favorite.
- 8 ounces cream cheese, softened. Aim for room temperature so it blends smooth.
- 1/2 cup unsalted butter, melted and slightly cooled.
- 3 to 3 1/2 cups powdered sugar. Start with 3 cups, add more for thicker dollops.
- 1 teaspoon vanilla extract.
- Optional but great: 1/2 cup chocolate chips.
Substitutions are totally fine with this cake. If coconut is not your thing, leave it out and add a few more nuts or chocolate chips. No pecans on hand? Try walnuts. Want a lighter cream cheese ribbon? Swap 2 to 3 tablespoons of the butter for milk to loosen the mixture. If you are into shortcuts and cake-mix desserts, you will also love my easy 4-ingredient cake mix peanut butter soft cookies for a fast cookie fix.
If you prefer scratch cake, you can use your go-to chocolate cake batter. The method stays the same. Keep the batter slightly thicker than usual, since the cream cheese mixture melts into it. And remember: this is a stress-free recipe. You do not need perfect swirls or edges. It is supposed to look cracked and dramatic. That is the charm of Classic Earthquake Cake.
Pro tip: Make sure the cream cheese is soft. If it is cold, you will get lumps and it will not marble nicely.

How to Make an Earthquake Cake
Step-by-step that actually works
Here is the exact flow I use. It delivers a gooey center, a lightly crisp top, and those signature cracks every time.
- Preheat the oven to 350 F. Grease a 9×13 metal baking pan. A light spray works great.
- Scatter coconut and pecans evenly on the bottom of the pan. Add chocolate chips if using. This is your crunchy base layer.
- Mix the cake batter following the box instructions. Do not overmix. Just whisk until smooth.
- In a separate bowl, beat the softened cream cheese with the melted butter and vanilla. Gradually add powdered sugar until you get a thick but spreadable mixture, like frosting that slowly falls off a spoon.
- Pour the cake batter over the coconut and pecans in the pan.
- Drop spoonfuls of the cream cheese mixture all over the top. Leave space between dollops, but do not stress about spacing.
- Use a butter knife to lightly swirl, just a couple figure eights. Less swirling gives bigger creamy pockets, which I love.
- Bake for 40 to 45 minutes. The top will look cracked and shiny, and a toothpick in the cake portion should come out with a few damp crumbs. The cream cheese parts will stay soft.
- Cool at least 20 to 30 minutes. It needs a short rest so the gooey parts can set just enough to slice.
- Serve warm or at room temp. I like warm slices with vanilla ice cream.
Like poke cakes? The messy, fun spirit is similar. Try the festive cannoli poke cake on your next party table for the same easy wow factor.
Baking time check: If the top is browning too fast around minute 30, loosely tent with foil and keep baking until the center looks set around the edges.
“I brought this to a family dinner, and my brother, who claims he is not a dessert person, asked for seconds. The creamy pockets totally got him.”

Preparation Tips
Baker notes that make a difference
Here are the simple habits that keep this cake reliable and extra delicious.
Use room temperature cream cheese. It blends smooth and melts into the cake instead of clumping. If you forgot to set it out, microwave on 20 percent power in 10-second bursts until soft.
Do not overmix the cake batter. Overmixing adds air and makes the crumb tough. Whisk only until you do not see dry streaks.
Thickness of cream cheese mixture matters. If it is too runny, it sinks and disappears. If it is very thick, it sits on top. I aim for a slow-dropping frosting texture so it marbles nicely.
Keep the coconut and nuts underneath. That bottom layer adds a surprise texture and helps prevent soggy spots.
Rest before cutting. Warm is great, but give it a little time to settle so the creamy rivers do not flood the plate.
Looking for a fruity twist? Swirl a few spoonfuls of canned fruit filling on top with the cream cheese layer. I have even done a small swirl of apple filling inspired by this cozy apple pie filling coffee cake, and it tasted like fall in a bite.
Once you make Classic Earthquake Cake a couple of times, you will see how forgiving it is. A light hand, a short rest, and you are golden.
Store and Freeze
Because of the cream cheese layer, I treat this as a refrigerated dessert after the first day. Let it cool completely, then cover the pan or transfer slices to an airtight container.
Fridge: Keeps 3 to 4 days. Warm slices in the microwave for 10 to 15 seconds for that just-baked feel.
Freezer: Slice and wrap each piece in plastic, then place wrapped slices in a freezer bag. Freeze up to 2 months. Thaw overnight in the fridge or at room temp for 1 to 2 hours. A quick 10-second warm-up brings back the gooey magic.
If you prefer to keep it on the counter for serving, you can leave it out up to 6 hours on the first day, covered lightly. After that, move it to the fridge. This keeps the cream cheese layer safe and tasty. Classic Earthquake Cake holds up well and does not dry out quickly, which is another reason I love it for gatherings.
More Chocolate Recipes
In the mood for more chocolate-forward desserts with big payoff for the effort? Add these to your list next time you are baking for friends or a potluck. My personal pick when I want something rich and impressive is the layered brownie bottom cheesecake. It slices beautifully and checks every chocolate lover box.
On a lighter weekend bake, I go for a simple chocolate loaf with mini chips, or I make cupcakes and let everyone swirl on their own frosting. If you want a fancy look without a lot of work, dust the top with cocoa powder and add a handful of fresh berries. Chocolate loves a little red and pink drama, always.
Common Questions
Can I make it without coconut or nuts?
Yes. Leave them out and use a handful of chocolate chips on the bottom layer instead. The texture changes slightly, but it still tastes great.
What cake mix is best?
German chocolate is the classic choice for balance and sweetness. Devil’s food gives a deeper chocolate vibe if that is your style.
How do I know when it is done?
Look for a cracked top and set edges. A toothpick in a cakey section should have a few moist crumbs but not wet batter.
Can I halve the recipe?
Yes. Use an 8-inch square pan and start checking for doneness around 28 to 32 minutes.
Is it supposed to sink in spots?
A little sinking is normal because of the cream cheese pockets. That is part of the Classic Earthquake Cake look and texture.
Sweet Wrap-Up
There is a reason Classic Earthquake Cake keeps showing up at potlucks. It is easy, dramatic, and honestly just fun to eat. If you want to see other spins before you bake, check out the friendly guide at Classic Earthquake Cake – 12 Tomatoes, or compare techniques with the tried-and-true Earthquake Cake Recipe – Allrecipes. However you make it, give the cream cheese dollops a light swirl and let those cracks do their thing. Save this one for when you want a dessert that basically bakes applause right into the pan.


Classic Earthquake Cake
Ingredients
Method
- Preheat the oven to 350 F and grease a 9×13 metal baking pan.
- Scatter coconut and pecans evenly on the bottom of the pan. Add chocolate chips if using.
- Mix the cake batter according to the box instructions. Do not overmix; just whisk until smooth.
- In a separate bowl, beat the softened cream cheese with the melted butter and vanilla. Gradually add powdered sugar until you get a thick but spreadable mixture.
- Pour the cake batter over the coconut and pecans in the pan.
- Drop spoonfuls of the cream cheese mixture over the top, leaving space between dollops.
- Use a butter knife to lightly swirl the cream cheese mixture into the batter.
- Bake for 40 to 45 minutes until the top is cracked and shiny. A toothpick in the cake portion should come out with a few damp crumbs.
- Cool for at least 20 to 30 minutes before slicing.
- Serve warm or at room temperature. Best enjoyed with vanilla ice cream.

