Earthquake cake is a moist, chocolate-studded dessert with a name that hints at its appearance—cracks in the chocolate layer resemble fault lines after a tremor. This easy, one-bowl cake bakes in a 9×13-inch pan and is often served at potlucks, church suppers and family gatherings across the American Midwest. The chocolatey filling swirls into the vanilla base during baking, creating a marbled effect and a rich, fudgy texture in every bite.
The Swirl Technique Sets the Cracks
Pressing chocolate bars into the batter halfway through baking creates the signature cracked surface. After the cake begins to set, you lay chocolate bars over the top, then return it to the oven. As the chocolate melts, you use a knife or offset spatula to gently drag it into the cake, forming deep fissures. This method ensures the chocolate stays on top instead of sinking, and the slow melt keeps the swirls smooth and rich.
Ingredients for Earthquake Cake
- 1 cup (2 sticks / 226 g) unsalted butter, softened
- 2 cups (400 g) granulated sugar
- 4 large eggs
- 2 teaspoons pure vanilla extract
- 2 cups (250 g) all-purpose flour
- 2 teaspoons baking powder
- 1/2 teaspoon salt
- 1 cup (240 ml) whole milk
- 3 standard milk chocolate bars (1.5 oz / 43 g each), such as Hershey’s
- 1 cup (110 g) chopped walnuts or pecans (optional)
Step-by-Step Baking Instructions
- Preheat oven to 350°F (175°C). Grease a 9×13-inch baking pan with butter or nonstick spray.
- In a large mixing bowl, beat butter and sugar with an electric mixer on medium speed for 3–4 minutes, until light and fluffy.
- Add eggs one at a time, beating well after each addition. Stir in vanilla.
- In a separate bowl, whisk together flour, baking powder and salt.
- Add dry ingredients to the butter mixture in three parts, alternating with milk, beginning and ending with dry ingredients. Mix on low speed just until combined; do not overmix.
- Pour batter into the prepared pan and smooth the top with a spatula.
- Bake at 350°F (175°C) for 20 minutes.
- Remove pan from oven. Place chocolate bars on top of the cake, spacing them evenly. Let sit for 2–3 minutes so chocolate softens.
- Using a knife or offset spatula, gently press and swirl the chocolate into the cake, creating deep cracks. Sprinkle nuts over the top if using.
- Return cake to oven and bake for another 15–18 minutes, until a toothpick inserted in the center comes out with moist crumbs (not wet batter).
- Let cake cool completely in the pan on a wire rack before slicing. Cooling takes about 1 hour.
Mistakes That Sink the Swirl
Adding chocolate too early causes it to sink and vanish into the batter. The cake must bake for 20 minutes first so the base sets enough to support the chocolate layer. Using chocolate chips instead of solid bars results in uneven melting and patchy swirls—solid bars melt slowly and evenly. Overmixing the batter introduces too much air, leading to cracks that close during baking instead of staying open for chocolate. Finally, cutting the cake while warm causes it to collapse; wait until it is fully cooled.
Storage Keeps It Moist for Days
Cover the cooled cake with plastic wrap or store it in an airtight container at room temperature for up to 2 days. For longer storage, refrigerate for up to 4 days. Let refrigerated slices sit at room temperature for 20 minutes before serving to soften the texture. This cake also freezes well: wrap tightly in plastic and then foil, or place in a freezer-safe container. Freeze for up to 3 months. Thaw in the refrigerator overnight, then bring to room temperature before serving.
Equipment and Substitutions
A 9×13-Inch Pan Is Essential
This size ensures even baking and the right thickness for proper chocolate swirls. Using an 8×8-inch or 9×9-inch pan makes the batter too deep, leading to undercooked centers. A larger pan spreads the batter too thin, causing dry edges. If you only have a round pan, use two 9-inch rounds and reduce baking time by 5–7 minutes.
Butter Type and Dairy Swaps
Unsalted butter lets you control salt levels. If using salted butter, omit the added salt in the recipe. Margarine can replace butter, but the cake may be less rich and slightly greasy. For milk, whole milk gives the best texture; reduced-fat milk (2%) works but yields a slightly drier crumb. Buttermilk can replace regular milk in equal measure, adding tang and tenderness—adjust by reducing baking powder to 1 1/2 teaspoons and adding 1/2 teaspoon baking soda.
Chocolate and Nut Options
Milk chocolate bars are traditional, but semisweet or dark chocolate bars can be used. Each changes the flavor: semisweet adds bitterness, dark chocolate intensifies richness. Do not use white chocolate bars—they melt too quickly and do not swirl well. Nuts are optional; omit them or swap with chopped peanuts, sunflower seeds or omit completely for nut-free. For a chocolate chip shortcut, press 1 cup (175 g) chocolate chips evenly over the cake at the 20-minute mark, then swirl. Chips melt faster than bars, so work quickly.
Flour and Leavener Notes
All-purpose flour works best. Cake flour makes the cake too tender and prone to collapsing under chocolate. Self-rising flour can replace all-purpose if you omit baking powder and salt. Gluten-free all-purpose flour blends (like those with xanthan gum) work in a 1:1 swap, but texture may be slightly grainier. If batter seems too thick after mixing, add 1–2 tablespoons extra milk.
Equipment Alternatives
An electric mixer ensures even, fluffy batter. If mixing by hand, beat butter and sugar for at least 5 minutes with a wooden spoon to incorporate enough air. A silicone spatula works for swirling chocolate, but a metal knife gives cleaner control. A wire rack ensures even cooling; placing the pan directly on the counter may trap steam and soften the bottom.
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).