4.38 from 50 votes

Earthquake Cake

If you’ve never tried Earthquake Cake before, get ready for something wildly delicious. This cake is messy in the best possible way—gooey, chocolatey, nutty, and totally irresistible. It gets its name because of the way it cracks and shifts while baking, almost like a mini dessert earthquake right in your oven!

A pan of earthquake cake.


What makes it special is the surprise layer hiding at the bottom. You’ve got a crunchy base of pecans and coconut, a rich chocolate cake on top, and swirls of sweet, creamy filling that sink and rise as it bakes. No frosting needed—it basically makes its own.

I still remember the first time I made it for a family dinner. I pulled it out of the oven, looked at the cracked top and bubbling filling, and thought I’d completely messed it up. But once it cooled and I sliced into it, everyone went back for seconds (and thirds!).

It’s the kind of dessert that looks unassuming but steals the show at potlucks and family get-togethers. One bite and you’ll see why it’s always a hit!

Why You’ll Love This Recipe

  • It’s packed with flavor and texture. From the gooey cream cheese swirls to the crunchy pecans and coconut, every bite has something a little different—and totally delicious.
  • No frosting needed. This cake creates its own creamy, sweet topping as it bakes, which means less work for you and still a showstopping result.
  • Super easy to make. You’re starting with a boxed cake mix and just jazzing it up with some simple ingredients. No fancy steps or equipment needed.
  • Perfect for sharing. It’s a crowd-pleaser at potlucks, parties, and family gatherings. Just don’t expect leftovers!
  • It’s a conversation starter. With a name like Earthquake Cake and those dramatic cracks and swirls, people will ask you about it.

Ingredients

Get our FREE
e-cookbook

    We respect your privacy. Unsubscribe at anytime.

    The full printable recipe card with measurements and instructions is found at the bottom of the post.

    • Cream cheese: Make sure it’s softened to room temperature so it blends smoothly into the batter without lumps.
    • Salted butter: Melted butter mixes easily with the cream cheese and sugar.
    • Powdered sugar: Helps create that gooey, sweet swirl throughout the cake.
    • Chopped pecans: Toast them first for even more flavor.
    • Shredded sweetened coconut: Gives a chewy texture and tropical twist.
    • Chocolate cake mix: Use your favorite brand or go extra decadent with a triple chocolate version.
    • Water: Stick with room temperature for best results.
    • Eggs: Helps the cake rise and hold its structure.
    • Vegetable oil: Sub with canola oil if that’s what you have.
    • Sweetened condensed milk: Adds richness and a caramel-like sweetness to the cake batter.
    Ingredients on a white marble background.

    How to Make the Best Earthquake Cake Recipe

    • Step One: Preheat the oven to 350℉. Grease a 9×13-inch baking pan with cooking spray and set aside.
    • Step Two: Beat the cream cheese, butter, and icing sugar together with a mixer until smooth and creamy. Set aside.
    • Step Three: Spread pecans and coconut on the bottom of the baking pan.
    Collage of mixing ingredients in a bowl and spreading into a baking pan.
    • Step Four: In a large bowl, stir together cake mix, water, eggs, oil, and sweetened condensed milk. Pour into the baking dish.
    Collage of making the cake batter in a bowl and adding to the pan.
    • Step Five: Spoon the cream cheese mixture over the cake. Don’t mix.
    • Step Six: Bake for 40 minutes. Let cool before serving. Serve warm or at room temperature.
    Collage of adding the cream cheese to the pan and baking the cake.

    What to Serve With It

    • A scoop of vanilla ice cream: The cold, creamy contrast is chef’s kiss with the warm, gooey cake.
    • Fresh berries: A handful of raspberries or strawberries adds a pop of freshness and color.
    • Coffee or espresso: The bold flavor pairs perfectly with the sweet, chocolatey richness of the cake.
    • A dollop of whipped cream: Totally optional, but a little swirl on top never hurts!
    A slice of cake on a spatula.

    Variations and Substitutions

    • Swap the cake mix. Not a chocolate lover? Try a German chocolate, devil’s food, or even red velvet cake mix for a different twist.
    • Change up the nuts. Pecans are classic, but walnuts or chopped almonds work just as well—or leave them out if you’re nut-free.
    • Leave out the shredded coconut. Not a fan of coconut? Just skip it! The cake will still be rich and delicious.
    • Add chocolate chips. Stir in a handful of dark or milk chocolate chips or white chocolate chips to the cake batter or sprinkle some on top before baking for extra gooeyness.
    • Try a peanut butter swirl. Add a few spoonfuls of peanut butter into the cream cheese mixture before swirling it into the cake—it’s dreamy.
    • Make it gluten-free. Use a gluten-free chocolate cake mix to make this recipe friendly for gluten-sensitive guests.
    A pan with cake with pieces cut and one piece on a spatula.

    Storage Instructions

    • Room Temperature: You can leave it covered on the counter for up to 2 days. Just make sure it’s in an airtight container to keep it from drying out.
    • Refrigerator: For longer storage, pop it in the fridge. It’ll stay fresh for up to 5 days. The cream cheese layer actually tastes even better chilled!
    • Freezer: Want to save some for later? Cut the cake into squares, wrap them tightly in plastic wrap, and place them in a freezer-safe bag or container. Freeze for up to 2 months. Just thaw in the fridge overnight before enjoying.

    It reheats nicely in the microwave for a few seconds if you like your cake warm and melty!

    A piece of cake on a plate.

    Recipe Tips and Tricks

    • Soften that cream cheese. Let it sit out for about 30 minutes before mixing—it’ll blend so much smoother and give you that perfect cream cheese swirl.
    • Don’t overmix the cake batter. Just stir until everything’s combined. Overmixing can make the cake dense instead of fluffy.
    • Use a 9×13-inch pan. This cake rises and spreads, so using a smaller pan might cause it to overflow. Stick with the standard size for best results.
    • Grease the pan well. Even though there’s a gooey base layer, you’ll want to prevent sticking. A little cooking spray goes a long way.
    • Spoon the cream cheese mixture, don’t spread it. Dollop it over the top of the cake batter and let the oven do the work. Spreading can mess with the “earthquake” effect.
    • Check for doneness. The top should look set with a few cracks, and the edges should pull slightly away from the pan. Don’t worry if the center jiggles a bit—it firms up as it cools.
    • Let the cake cool before slicing. It’s tempting to dig in right away, but giving it time to rest helps the layers set and makes cutting much easier.

    Cake Recipes

    Follow me on Instagram @simplystacieblog, Facebook at Simply Stacie, TikTok @simplystacierecipes or Pinterest at @simplystacie and let me know how you liked this recipe and my other recipes.

    4.38 from 50 votes

    Earthquake Cake

    Created by Stacie Vaughan
    Servings 12
    Prep Time 10 minutes
    Cook Time 40 minutes
    Total Time 50 minutes
    This rich and gooey Earthquake Cake is loaded with chocolate, cream cheese, coconut, and pecans—an easy, crowd-pleasing dessert that’s full of flavor and texture.

    SAVE THIS RECIPE!

    Enter your email and we’ll send this recipe to your inbox.

    Video

    Ingredients
     
     

    • 1 package cream cheese 8oz/250g package, softened
    • ½ cup salted butter melted
    • 3 cups powdered sugar
    • 1 cup pecans chopped
    • 1 cup shredded sweetened coconut
    • 1 box chocolate cake mix
    • 1 cup water
    • 3 large eggs
    • ½ cup vegetable oil
    • ½ cup sweetened condensed milk

    Instructions

    • Preheat oven to 350℉. Grease a 9×13 inch baking pan and set aside.
    • Beat cream cheese, butter and icing sugar together with a mixer until smooth. Set aside.
    • Spread pecans and coconut on the bottom of the baking pan.
    • In a large bowl, stir together cake mix, water, eggs, oil and sweetened condensed milk. Pour into baking pan.
    • Spoon cream cheese mixture over cake.
    • Bake for 40 minutes.

    Notes

    • Let the cream cheese soften before mixing for a smooth, creamy texture.
    • Toast the pecans for extra flavor, if desired.
    • Don’t worry if the cake looks cracked on top—it’s supposed to!
    • Let the cake cool completely before slicing to help the layers set.
    • Store leftovers in the fridge for up to 5 days, or freeze for longer storage.

    Nutrition

    Serving: 1piece | Calories: 589kcal | Carbohydrates: 70g | Protein: 6.9g | Fat: 33.8g | Saturated Fat: 15.6g | Polyunsaturated Fat: 15.6g | Cholesterol: 95mg | Sodium: 478mg | Fiber: 2.4g | Sugar: 49.8g

    The information shown is an estimate provided by an online nutrition calculator. It should not be considered a substitute for a professional nutritionist’s advice.

    Course Desserts
    Cuisine American
    Keyword cake, chocolate, chocolate cake

    Did you make this recipe?

    I’d love to see it! Make sure to share it on your favorite social platform.

    Want Even More Recipes?

    Join Moms Best Recipes to find more delicious family recipes.


    The Best of Simply Stacie ebook cover.

    free ebook!

    The Best of Simply Stacie

    When you subscribe to the newsletter for the latest updates!

    4.38 from 50 votes (50 ratings without comment)

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Recipe Rating




    21 Comments

    1. I used coconut oil, omitted pecans, and made an interesting pattern on top. Sprinkled chocolate chips over the top, and I cut the sugar down to half. It’s beautiful and baking in the oven as I write this. The top looks like a marble cake.

    2. Rosa parks says:

      can you leave the coconut out of the earthquake cake?

    3. Lady Michigan (Blanche) says:

      1250g Is that correct that is how many oz please my conversion chart says 3 lbs that cannot be right

    4. Followed recipe to the letter and baked in preheated oven that I am very confident holds the correct temperature. At 40 minutes it was only firm at the edges, absolute soup in the middle. I left it another 5-10 minutes and took it out when a toothpick came out clean. It was very good and very moist, but I’m wondering if I should have taken it out at 40 minutes regardless. Is it supposed to set while it cools?
      Also, it’s really hard to know what to do with 1/2 cup of condensed milk without baking another recipe. Has anyone tried using the whole can?

      1. Same!!! Edges are firm. Middle looks liquidish. I don’t think it would would ever set if I allow it to cool. Goin back in for 12 more minutes. So you aren’t the only one!

    5. Elizabeth Matthiesen says:

      I’ve never heard of Earthquake cake until now. My son once made a volcano cake for his son’s birthday and there was even smoke billowing out of the volcano – huge success with the kids at the party.

    6. Pingback: Busy Monday 304
    7. Congratulations!
      Your post is on The Top Ten for Full Plate Thursday! Thanks so much for sharing with us and hope you enjoy your new Red Plate, I am pinning your post to our Features Board!
      Miz Helen

    8. I have never heard of Earthquake cake but I can’t pass up chocolate. Pinning. I hope you stop by Thursday Favorite Things tomorrow, since you are one of my features.
      Have a blessed day.
      Hugs,
      Bev

    9. I don’t think I’ve ever heard of Earthquake cake Stacie, but what an apt name. It sounds scrumptiolicious and it’s got sweetened condensed milk inside. Mmmmmmm yummy what could be better than that.

    10. Your Earthquake Cake looks so moist and delicious! Thanks so much for sharing your awesome post with us at Full Plate Thursday. Have a great week and come back soon!
      Miz Helen

    11. I try not to click on too many recipes…but I couldn’t help it. This looks so yummy. I have all of the ingredients in my cupboards, so I am going to try it today! Thanks!

    12. Mother of 3 says:

      That sounds so tasty! I have never heard of an earthquake cake before. Pinned.

    13. Earthquakes are something we are taught here in southern illinois to be ready for due to the fracking and other practices I believe I would rather have a slice of your cake rather than the real thing
      come see us at http://shopannies.blogspot.com

    Similar Posts

    • Pig Pickin Cake

    • Cheesecake Cookie Cups

    • Tornado Cake

    • Nutella Banana Bread

    • Banana Split Brownies

    • Homemade Fig Newtons