Earthquake Cake Recipe
This Earthquake Cake is the kind of dessert that turns a simple weeknight into a small celebration. It layers chocolate batter over a crunchy coconut-pecan base, pockets of sweetened cream cheese, and a scattering of chocolate chips — then finishes with a glossy ganache. The texture contrast is what gives it the “earthquake” name: cake that cracks open around creamy islands and melty chocolate.
Practical, forgiving, and crowd-pleasing, this recipe uses a boxed chocolate cake mix as its foundation and a few straightforward components to make a dessert that looks and tastes homemade. Timed correctly, you can have it baked, cooled, and ganache-topped in under two hours. Read on for ingredient notes, step-by-step instructions, and sensible tips for reliable results.
If you’re short on time, the structure is modular: assemble the base and batter, beat the cream cheese layer while the cake bakes, and finish with a quick warm cream-chocolate ganache. Below you’ll find the exact ingredients and clarified steps so nothing is left to guess.
What You’ll Gather

Ingredients
- 2 tablespoons vegetable shortening — for greasing the 9″x13″ pan so the cake releases cleanly.
- 1 cup pecans, chopped — provides crunch and a toasty flavor to the bottom layer.
- 1 1/2 cups sweetened coconut flakes — works with the pecans to create the chewy, coconut layer.
- 1 box chocolate cake mix — the cake base; prepare with the ingredients listed on the package.
- 8 ounces chocolate, chopped and melted — folded into the cake batter for rich chocolate flavor.
- 1/2 cup butter, melted — stirred into the cream cheese mixture to add richness and loosen texture.
- 8 ounces cream cheese, softened to room temperature — forms the creamy pockets; soften fully for a smooth mixture.
- 2 1/2 cups powdered sugar — sweetens and stabilizes the cream cheese layer.
- 1 cup semisweet chocolate chips — scattered over the batter for extra chocolate pockets.
- 1 cup white chocolate chips — optional contrasting chips to sprinkle on top before baking.
- 8 ounces chocolate, chopped (for ganache) — chopped for the topping; use the same or a different chocolate as you prefer.
- 1/2 cup heavy cream — warmed and poured over the chopped chocolate to make a quick ganache.
From Start to Finish: Earthquake Cake Recipe
Follow these steps in order. Quantities match the ingredient list above. Read through once so all components are warm, melted, and at the right temperature when needed.
- Preheat your oven to 350°F (175°C). Prepare a 9″x13″ baking pan by coating it thoroughly with 2 tablespoons vegetable shortening; set the pan aside while you prepare the layers.
- Spread 1 cup chopped pecans and 1 1/2 cups sweetened coconut flakes evenly across the bottom of the prepared pan so the cake batter will sit on a uniform bed.
- In a large bowl, prepare the 1 box chocolate cake mix according to the package directions. Follow the package for liquid and egg amounts and mix time to get a typical cake-batter consistency.
- Stir the 8 ounces chopped and melted chocolate into the prepared cake batter until incorporated and smooth. The melted chocolate will deepen flavor and loosen the batter slightly.
- Pour the chocolate cake batter over the coconut and pecans, spreading gently so the base remains evenly covered.
- Make the cream cheese layer: In a medium bowl, beat 8 ounces softened cream cheese with a hand mixer until smooth. Add 1/2 cup melted butter and beat again until combined.
- Gradually add 2 1/2 cups powdered sugar to the cream cheese mixture while beating on low speed. Continue until the mixture is smooth and free of lumps; scrape the bowl as needed for an even texture.
- Use an ice cream scoop or tablespoon to place dollops of the cream cheese mixture evenly over the cake batter. Aim for spaced mounds — they will sink slightly and create the “earthquake” pockets as the cake bakes.
- Sprinkle 1 cup semisweet chocolate chips and 1 cup white chocolate chips evenly over the top of the batter and cream cheese dollops.
- Bake in the preheated 350°F oven for 40 minutes, or until the cake has set around the cream cheese pockets. A toothpick inserted into the chocolate cake portion should come out with moist crumbs but not raw batter; the cream cheese areas remain softer.
- Remove the pan from the oven and allow the cake to cool completely on a wire rack before adding the ganache. Cooling fully helps the ganache set properly and keeps it from running off the cake.
- Make the ganache: place 8 ounces chopped chocolate in a heatproof bowl. Warm 1/2 cup heavy cream in the microwave (or on the stovetop) until just hot but not boiling. Pour the hot cream over the chopped chocolate and let it sit for 1 minute to soften the chocolate.
- Stir the cream and chocolate together until the mixture is fully melted and smooth. If desired, stir in an extra tablespoon of cream for a looser pour, but it isn’t necessary.
- Pour or spoon the ganache over the cooled cake, spreading gently to cover the surface. If you like, garnish with extra chocolate chips or sprinkles while the ganache is still wet.
- Let the cake cool until the ganache firms, then cut into squares to serve. For clean slices, refrigerate briefly to set the ganache and cream cheese pockets, then slice with a sharp knife warmed under hot water and wiped dry between cuts.
What Makes This Recipe Special

Earthquake Cake stands out because of its layered textures: a crunchy, chewy base of pecans and coconut, a moist chocolate cake body, creamy pockets of sweetened cream cheese, and pockets of melted chips. The visual effect — cracked cake revealing islands of cream cheese and chocolate — is impressive without extra effort. Using boxed cake mix keeps the method accessible while the added melted chocolate deepens flavor so it doesn’t taste “boxed.”
Low-Carb/Keto Alternatives

- Replace the chocolate cake mix with a keto-friendly chocolate cake mix, but be mindful that binding and moisture levels differ; you may need to adjust liquid per the keto mix directions.
- Substitute powdered erythritol or a powdered erythritol/monk fruit blend 1:1 for powdered sugar in the cream cheese layer, and taste to adjust sweetness.
- Swap sweetened coconut flakes for unsweetened coconut flakes to reduce sugar; the texture and coconut flavor remain similar.
- Use chopped sugar-free chocolate or keto chocolate chips for the chips and ganache. For ganache, warm heavy cream and pour over keto chocolate, stirring until smooth.
Tools & Equipment Needed
- 9″x13″ baking pan
- Large mixing bowl and medium mixing bowl
- Hand mixer (or stand mixer)
- Heatproof bowl for ganache
- Measuring cups and spoons
- Ice cream scoop or tablespoon for dolloping cream cheese mixture
- Wire cooling rack
- Rubber spatula and wooden spoon
Mistakes Even Pros Make
- Not softening the cream cheese fully — this leads to lumps in the cream layer.
- Adding the ganache while the cake is still warm — it will run and not set evenly.
- Using cold melted chocolate in the batter — let it cool slightly so it doesn’t shock the cake mix or curdle any egg added per package directions.
- Overcrowding the cream cheese dollops — too many or too-large dollops can prevent the cake from setting properly around them.
Spring–Summer–Fall–Winter Ideas
Spring
Top with a light dusting of toasted coconut and fresh berries for contrast. Serve slightly chilled so the cream cheese pockets are firm and refreshing.
Summer
Garnish with chopped toasted nuts and a few scoops of cold vanilla ice cream. The cool ice cream and warm ganache create a pleasing temperature contrast.
Fall
Add a teaspoon of cinnamon or pumpkin spice to the cream cheese mixture for warmth, and sprinkle extra pecans on top before baking.
Winter
Stir a pinch of espresso powder into the ganache for depth, and finish with a dusting of cocoa powder or holiday sprinkles for festive presentation.
Insider Tips
- Softened, not warm, cream cheese is essential. Leave it at room temperature for 30–60 minutes depending on your kitchen.
- Chop the chocolate for melting into the batter and for ganache so it melts evenly and predicts consistency better than chips.
- Distribute the cream cheese dollops evenly — visual symmetry yields even baking and wins on presentation.
- Let the cake cool completely before ganache. If you’re short on time, chill it briefly in the refrigerator until firm, then pour the ganache.
- Warm your knife under hot water and dry between cuts for cleaner slices when serving.
Best Ways to Store
Cover the cake tightly and store it in the refrigerator for up to 4–5 days. The cream cheese pockets and ganache keep best chilled. For longer storage, freeze individual slices wrapped well in plastic wrap and foil; thaw in the refrigerator overnight before serving.
Quick Questions
- Can I make this ahead? Yes—bake and cool, then refrigerate. Add ganache the day of serving if you want the freshest shine, or do ganache the day you bake and chill; both work.
- Can I use dark chocolate instead of semisweet? Yes. Dark chocolate will deepen flavor and reduce sweetness.
- Do I have to use coconut? The coconut contributes to the signature texture, but you can omit it and increase pecans if you prefer a nut-only base.
- Why does it crack around the cream cheese? The cake rises and bakes around firmer cream cheese dollops, creating fissures and pockets — the “earthquake” effect.
Serve & Enjoy
Cut the cooled, ganache-topped Earthquake Cake into squares and serve chilled or at room temperature. It pairs beautifully with coffee, milk, or a scoop of vanilla ice cream. Bring it to potlucks, bake sales, or family dinners — it’s reliably one of the first desserts to disappear. Enjoy the contrast of textures and the chocolatey richness; it’s a simple showstopper.

Earthquake Cake Recipe
Ingredients
- 2 tablespoons vegetable shortening for the pan
- 1 cup pecans chopped
- 1 1/2 cups sweetened coconut flakes
- 1 box chocolate cake mix plus ingredients listed on the box
- 8 ounces chocolate chopped and melted (stirred into cake batter)
- 1/2 cup butter melted
- 8 ounces cream cheese softened to room temperature
- 2 1/2 cups powdered sugar
- 1 cup semisweet chocolate chips
- 1 cup white chocolate chips
- 8 ounces chopped chocolate for ganache
- 1/2 cup heavy cream for ganache
Instructions
- Preheat the oven to 350°F (175°C). Grease a 9x13-inch baking pan with 2 tablespoons vegetable shortening and set aside.
- Spread the chopped pecans and sweetened coconut flakes in an even layer across the bottom of the prepared pan.
- Prepare the chocolate cake mix according to the package instructions in a large bowl, then stir in the 8 ounces melted chocolate until combined.
- Pour the cake batter evenly over the coconut and pecans in the pan.
- In a medium bowl, beat the softened cream cheese with a hand mixer until smooth. Add the 1/2 cup melted butter and beat until combined.
- Gradually add the 2 1/2 cups powdered sugar to the cream cheese mixture and beat on low until smooth and lump-free.
- Use an ice cream scoop or spoon to drop dollops of the cream cheese mixture evenly over the cake batter.
- Sprinkle the semisweet and white chocolate chips evenly over the top of the cake.
- Bake at 350°F for about 40 minutes, or until the cake has set and the edges are firm.
- Allow the cake to cool completely in the pan before adding the ganache.
- To make the ganache, place 8 ounces chopped chocolate in a bowl. Heat the 1/2 cup heavy cream until just hot, pour over the chopped chocolate, let stand 1 minute, then stir until smooth.
- Pour or spread the ganache over the cooled cake. If desired, garnish with extra chocolate chips or sprinkles. Let the ganache set before cutting into squares to serve.
Equipment
- 9x13 inch Baking Pan
- Mixing bowls
- Hand Mixer
- Measuring cups and spoons
- Spatula
- Microwave-safe Bowl
- ice cream scoop or spoon
Notes
- Use a 9x13-inch pan as specified for best results.
- Be sure cream cheese is fully softened for a smooth filling.
- Let the cake cool completely before adding ganache to prevent it from running.
- Microwave cream in short bursts to avoid boiling.
