Classic Marble Cake Recipe: Vanilla and Chocolate Swirl

Classic Marble Cake Recipe: Vanilla and Chocolate Swirl

This classic marble cake is soft, tender, and lightly sweet, with ribbons of vanilla and chocolate running through every slice. It is an easy homemade cake that works well for a weekend baking project or an afternoon treat with coffee. The swirl pattern looks impressive, but it only takes a few spoonfuls of batter and a gentle swirl with a knife.

Finished marble cake on a serving plate showing a clear vanilla and chocolate swirl in the crumb
A sliced marble cake showing the vanilla and chocolate swirl.

Why You’ll Love This Marble Cake

  • Simple ingredients: You likely have everything you need, including flour, sugar, butter, eggs, cocoa powder, and vanilla.
  • Soft, moist crumb: Milk and butter keep the cake tender for days when stored properly.
  • Two flavors in one cake: Each slice has both vanilla and chocolate, so it suits people who cannot choose between them.
  • Easy to customize: You can change the frosting or add a dusting of powdered sugar.

Ingredients

  • 2 cups (250 g) all-purpose flour
  • 1 1/2 tsp (6 g) baking powder
  • 1/4 tsp (1.5 g) salt
  • 1 cup (200 g) granulated sugar
  • 1/2 cup (113 g) unsalted butter, softened
  • 3 large eggs, at room temperature
  • 3/4 cup (180 ml) whole milk
  • 2 tsp (10 ml) pure vanilla extract
  • 3 tbsp (15 g) unsweetened cocoa powder
  • 2 tbsp (30 ml) hot water or hot milk

Ingredient Notes

Softened butter and room-temperature eggs blend more evenly, which helps the batter become smooth and airy. Pure vanilla extract gives the light batter its flavor. Unsweetened cocoa powder makes the chocolate portion rich without adding extra sugar. Mixing the cocoa with hot liquid helps it dissolve and spread smoothly through the batter. Whole milk adds tenderness, but 2% milk also works.

Equipment You’ll Need

  • 9-inch (23 cm) round cake pan or 9 x 5-inch loaf pan
  • Parchment paper
  • Mixing bowls
  • Electric hand mixer or stand mixer
  • Rubber spatula
  • Small bowl for the chocolate batter
  • Butter knife or skewer for swirling

How to Make Classic Marble Cake

  1. Preheat and prepare the pan. Heat the oven to 325 F (163 C). Grease the pan with butter or nonstick spray, then line the bottom with parchment paper.
  2. Mix the dry ingredients. In a medium bowl, whisk together the flour, baking powder, and salt until evenly combined.
  3. Cream the butter and sugar. Beat the softened butter and sugar on medium speed for about 2 to 3 minutes, until the mixture is pale and fluffy.
  4. Add the eggs. Beat in the eggs one at a time, mixing well after each addition. The batter should look smooth and slightly thick.
  5. Add the milk and vanilla. Mix in the vanilla. Then add the flour mixture and milk in alternating additions, starting and ending with flour. Mix only until no dry streaks remain.
  6. Divide the batter. Scoop about half of the batter into the pan. Set the rest aside.
  7. Make the chocolate batter. In a small bowl, stir the cocoa powder and hot water until smooth. Fold this into the remaining batter until evenly colored.
  8. Layer and swirl. Spoon the chocolate batter over the vanilla batter in the pan. Drag a butter knife through the batter in a figure-eight or zigzag pattern, then stop. Overmixing will blur the marble effect.
  9. Bake. Bake for about 35 to 45 minutes. This is an estimate, as ovens vary. The cake is done when a toothpick inserted into the center comes out with a few moist crumbs and the top springs back lightly when touched.
  10. Cool. Let the cake rest in the pan for 10 minutes. Then turn it out onto a wire rack and cool completely before slicing for the cleanest slices.

Pro Tips for the Best Marble Cake

  • Use a light hand when swirling. Two or three passes with the knife create a clear pattern without muddying the colors.
  • Keep the chocolate batter about the same thickness as the vanilla batter so the layers blend evenly.
  • Measure flour by weight when possible. Too much flour makes the cake dry.
  • Let the eggs and butter sit at room temperature for about an hour before starting.

Common Mistakes to Avoid

Overmixing the batter: Once the flour is added, mix only until combined. Extra mixing develops gluten and makes the cake dense.

Swirling too much: Heavy stirring turns the batter into a uniform brown color. Stop as soon as the pattern shows.

Opening the oven too early: Wait until the cake has baked for at least 25 minutes before checking it, so it can rise properly.

Variations and Substitutions

  • Brown butter version: Brown the butter, let it cool slightly, and use it in place of softened butter for a nuttier flavor.
  • Sour cream version: Replace the milk with 3/4 cup (180 g) sour cream for a richer, denser crumb.
  • Chocolate glaze: Once cooled, drizzle with a simple glaze made from powdered sugar and a little milk.

Serving Suggestions

Serve a slice warm or at room temperature with a cup of coffee, tea, or cold milk. A light dusting of powdered sugar or a spoonful of whipped cream makes it feel special for guests.

Storage and Reheating

Store the cake covered at room temperature for up to 3 days. For longer storage, wrap it tightly and refrigerate for up to 5 days, then let slices come to room temperature before serving. The cake can also be frozen, wrapped well, for up to 2 months. To warm a slice, microwave it for 10 to 15 seconds.

Frequently Asked Questions

Can I make marble cake ahead of time?

Yes. The cake keeps well for a few days when wrapped and stored properly, so it is a practical make-ahead dessert.

Why did my marble cake turn out dry?

Dryness is often caused by too much flour, overbaking, or measuring flour by volume with a packed cup. Check the cake a few minutes early next time.

How do I know when the cake is done?

Insert a toothpick into the center. It should come out with a few moist crumbs, not wet batter.

Can I use a bundt pan?

Yes. Grease and flour a bundt pan thoroughly. Baking time will change, so start checking earlier and expect a longer bake if the pan is deeper.

Can I skip the cocoa and make a plain vanilla cake?

Yes, but this would be a vanilla cake rather than a marble cake. The swirl is the signature feature of this recipe.

Would you like more classic cake recipes to try next? Share your favorite cake to enjoy with afternoon coffee in the comments.

Hands using a butter knife to swirl chocolate and vanilla cake batter in a round pan
Swirling the chocolate and vanilla batter for the classic marble pattern.

Recipe Card

Recipe Name: Classic Marble Cake

Short Description: A soft, moist cake with swirls of vanilla and chocolate batter.

Prep Time: 20 minutes

Cook Time: 35 to 45 minutes (estimate)

Total Time: About 1 hour 15 minutes, plus cooling

Servings: 10 to 12 slices

Course: Dessert

Cuisine: American

Cooking Method: Baking

Ingredients: 2 cups (250 g) all-purpose flour, 1 1/2 tsp (6 g) baking powder, 1/4 tsp (1.5 g) salt, 1 cup (200 g) granulated sugar, 1/2 cup (113 g) unsalted butter softened, 3 large eggs, 3/4 cup (180 ml) whole milk, 2 tsp (10 ml) vanilla extract, 3 tbsp (15 g) unsweetened cocoa powder, 2 tbsp (30 ml) hot water or milk.

Instructions: Bake at 325 F (163 C) using the steps above, checking for doneness at 35 minutes.

Notes: Oven times vary, so rely on the toothpick test. Measure flour by weight when possible.

Storage: Store covered at room temperature for up to 3 days, refrigerate for up to 5 days, or freeze for up to 2 months.

Nutrition: Nutrition information is an estimate and may vary depending on the ingredients and brands used.

Leave a Reply

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