This post may contain affiliate links. Please read our disclosure policy.

This layered marble cake is one of those recipes I kept testing until every slice had bold, defined vanilla and chocolate swirls with a crumb so moist it practically melts. It is the kind of cake where everyone goes back for a second piece.

Slice of layered marble cake with chocolate cream cheese frosting lifted on a cake server showing vanilla and chocolate swirls

The trick to those clean swirls? Blooming the cocoa in hot coffee before folding it in. It deepens the chocolate flavor, keeps both batters the same consistency, and gives you swirls that actually stay defined instead of turning into a sad beige. And the frosting, chocolate cream cheese frosting, is fudgy, tangy, and honestly one of my favorites I have ever made. If you tried the frosting on my beet chocolate cake, you already know how incredible it is!

Let’s Chit Chat!!

I put off making a layered marble cake for a long time because every one I have had in my life was just okay. Muddy swirls, dry crumb, vanilla buttercream that did not add anything. So when I finally developed this recipe, I had a few non-negotiables: bold swirls, crazy moist crumb, and a frosting that actually elevated the cake.

That is how I landed on pairing it with chocolate cream cheese frosting. The tang cuts through the richness and keeps everything balanced. Kyle tried a slice before I even finished frosting it and immediately asked when I was making it again.

Why This Layered Marble Cake Is So Moist

This cake uses oil and butter together. Oil keeps the crumb tender even after chilling (butter-only cakes firm up in the fridge). Butter adds the rich flavor oil cannot. Sour cream adds extra fat, moisture, and a slight tang for a denser, more velvety crumb. And baking at 340°F instead of 350°F gives the cake more time to rise evenly without drying the edges. The result is a cake that stays soft for days and honestly tastes even better on day two.

How to Get Defined Marble Swirls

This is where most marble cakes go wrong. Two things matter: matching the batter consistency and not over-swirling.

Blooming the cocoa powder in 3 tablespoons of hot coffee creates a smooth paste that folds into the batter without thickening it. Both batters end up the same consistency, so the swirls hold their shape instead of bleeding together. The coffee also deepens the chocolate flavor without making the cake taste like coffee.

When you swirl, go through the batter 3 to 4 times max with a knife or skewer. Every extra pass blends the colors. You want bold ribbons, not a uniform light brown.

What You’ll Need

You make one vanilla batter, then fold a cocoa paste into about a third of it for the chocolate portion. A few things to know:

  • Dutch-process cocoa powder gives the deepest flavor and darkest color for the best swirl contrast.
  • Oil and melted butter together create a crumb that is both rich and stays tender when chilled.
  • Sour cream is the secret to the velvety, ultra-moist texture.
  • Extra sugar and oil in the chocolate batter compensates for cocoa absorbing moisture, keeping both portions equally tender.
  • The frosting uses both cocoa powder and melted dark chocolate for a fudgy, rich finish. For more detailed frosting tips, see my full Chocolate Cream Cheese Frosting recipe.
Ingredients including flour, sugar, eggs, sour cream, oil, melted butter, milk, vanilla, and cocoa powder

How to Make This Layered Marble Cake

  1. Prep. Preheat to 340°F. Grease two 8-inch pans, line with parchment, grease the parchment. I always use my cake release goop.
  2. Make the cocoa paste. Whisk the cocoa powder and hot coffee until smooth and glossy. Set aside.
  3. Mix the vanilla batter. Whisk dry ingredients together. Separately whisk eggs, sour cream, oil, melted butter, vanilla, and milk. Combine wet into dry, stir until just smooth.
  1. Create the chocolate batter. Transfer about 1/3 of the vanilla batter to a separate bowl. Fold in the cocoa paste, sugar, and oil until uniform.
  2. Swirl and fill. Divide vanilla batter between pans. Dollop chocolate on top (5-6 spoonfuls each). Swirl with a knife 3-4 times. You can also drop spoonfuls of the batter right in the center on top of each other to create a fun different design like I did.
  1. Bake. 27-32 minutes at 340°F, until a toothpick comes out with moist crumbs. Cool 10 minutes in pans, then turn out onto a wire rack.
Vanilla and chocolate cake batter swirled together in two round cake pans before baking
  1. Cut off the domes of the cakes with a serrated knife to ensure your cake sits evenly.
  2. Frost. Once fully cooled, frost with chocolate cream cheese frosting. Crumb coat, chill 15-20 minutes, then apply the final layer. Decorate whoever you please. I added a bunch of little piped detailing.

Chocolate Cream Cheese Frosting

Beat softened cream cheese and butter until smooth (3-4 minutes). Sift the powdered sugar and cocoa together, then add gradually, alternating with heavy cream. Add vanilla and salt, then mix in melted and cooled dark chocolate until creamy. If it is too thick, add cream 1 tablespoon at a time. Too soft, refrigerate 15-20 minutes and re-whip.

To decorate I used the below tips. But feel free to get creative and play around with tips you already have on hand.

Piping tips lined up on the counter to show which ones were used in decorating this cake

Tips for the Best Results

  • Bloom the cocoa in hot coffee. This is the single biggest difference between bold and flat chocolate flavor.
  • Do not skip the extra sugar and oil in the chocolate batter. Cocoa absorbs moisture. Without compensating, the chocolate swirls bake up drier.
  • Swirl 3-4 times and stop. More passes will make it look muddy.
  • Room temperature ingredients incorporate more smoothly. Let eggs and sour cream sit out about an hour.
  • This cake tastes better on day two. The flavors meld and the crumb gets even more moist overnight.

Storage

Store the frosted cake covered in the refrigerator for up to 4 days. Let it sit at room temperature 20-30 minutes before serving. Unfrosted cake layers can be wrapped tightly and stored at room temperature for 2 days or frozen for up to 2 months. The frosting can be made 2 days ahead, refrigerated, then re-whipped before using.

Close-up of smooth, silky chocolate cream cheese frosting showing the creamy, fudgy texture

Frequently Asked Questions About This Layered Marble Cake

Can I use buttermilk instead of sour cream?

Yes, but the crumb will be lighter, not as velvety. Use 3/4 cup buttermilk and increase oil by 2 tablespoons.

Can I use natural cocoa powder?

It will work, but Dutch-process gives deeper flavor and darker color for more striking swirls.

Can I make this in 9-inch pans?

Yes. Layers will be thinner. Reduce bake time to 24-26 minutes.

Can I turn this into cupcakes?

Yes! Fill liners 2/3 full, alternate spoonfuls of each batter, swirl with a toothpick. Bake 18-22 minutes at 340°F.

Does the cake taste like coffee?

Not at all. Only 3 tablespoons go into the cocoa paste. The coffee enhances the chocolate the same way vanilla enhances sweetness. You can use hot water instead, but the flavor will not be as deep.

Why did my swirls turn muddy?

Over-swirling. Limit yourself to 3-4 passes. Also make sure both batters are the same consistency, which the bloomed cocoa method helps with.

My cake sank in the middle. What happened?

Usually underbaking (pull at moist crumbs, not wet batter), opening the oven too early (wait 23 minutes), or too much leavening.

No ratings yet

Layered Marble Cake with Chocolate Cream Cheese Frosting

A super moist layered marble cake with bold vanilla and chocolate swirls. Made with oil, butter, and sour cream for the most tender crumb, and topped with rich, fudgy chocolate cream cheese frosting.
Prep: 45 minutes
Cook: 30 minutes
Total: 1 hour 15 minutes
Servings: 16 servings
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 
 

For the Vanilla Batter (Base):

  • 2 1/3 cups all-purpose flour
  • 1 1/2 cups granulated sugar
  • 1 tablespoon baking powder
  • 3/4 teaspoon salt
  • 3 large eggs room temperature
  • 1 cup sour cream room temperature
  • 1/2 cup vegetable oil
  • 1/4 cup unsalted butter melted and slightly cooled
  • 2 teaspoons vanilla extract
  • 1/2 cup whole milk room temperature

For the Chocolate Swirl:

  • 1/3 cup Dutch-process cocoa powder
  • 3 tablespoons hot coffee for blooming
  • 2 tablespoons granulated sugar
  • 1 tablespoon vegetable oil

For the Chocolate Cream Cheese Frosting:

  • 8 oz cream cheese softened
  • 1/2 cup unsalted butter softened
  • 2 2/3 cups powdered sugar
  • 1/2 cup Dutch-process cocoa powder
  • 1/3 cup heavy cream added gradually
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon salt
  • 3.5 oz dark chocolate (60-70% cacao) melted and cooled

Instructions 

Make the Cake:

  • Preheat the oven to 340°F (170°C). Grease two 8-inch round cake pans and line the bottoms with parchment paper.
  • In a small bowl, whisk together the Dutch-process cocoa powder and 3 tablespoons of hot coffee until completely smooth. Set aside.
    1/3 cup Dutch-process cocoa powder, 3 tablespoons hot coffee
  • In a large bowl, whisk together the flour, granulated sugar, baking powder, and salt.
    2 1/3 cups all-purpose flour, 1 1/2 cups granulated sugar, 1 tablespoon baking powder, 3/4 teaspoon salt
  • In a separate bowl, whisk the eggs, sour cream, vegetable oil, melted butter, vanilla extract, and whole milk until smooth.
    3 large eggs, 1 cup sour cream, 1/2 cup vegetable oil, 1/4 cup unsalted butter, 2 teaspoons vanilla extract, 1/2 cup whole milk
  • Pour the wet ingredients into the dry ingredients and stir until just combined.
  • Transfer about 1/3 of the batter (roughly 1 1/2 cups) to a separate bowl. Add the bloomed cocoa paste, 2 tablespoons of granulated sugar, and 1 tablespoon of vegetable oil. Fold until uniform.
    2 tablespoons granulated sugar, 1 tablespoon vegetable oil
  • Divide the vanilla batter between the two pans. Dollop the chocolate batter on top (5-6 spoonfuls per pan). Swirl with a knife 3-4 times.
  • Bake for 27-32 minutes, until a toothpick comes out with moist crumbs. Cool in pans 10 minutes, then turn out onto a wire rack to cool completely.

Make the Chocolate Cream Cheese Frosting:

  • Beat the softened cream cheese, butter, and salt together until light and smooth, about 3-4 minutes.
    8 oz cream cheese, 1/2 cup unsalted butter, 1/4 teaspoon salt
  • Sift together the powdered sugar and cocoa powder. Add gradually to the cream cheese mixture, alternating with the heavy cream.
    2 2/3 cups powdered sugar, 1/2 cup Dutch-process cocoa powder, 1/3 cup heavy cream
  • Add the vanilla extract and mix then mix in the melted and cooled dark chocolate until smooth and creamy.
    2 teaspoons vanilla extract, 3.5 oz dark chocolate (60-70% cacao)
  • Adjust consistency: add more cream if too thick, or refrigerate 15-20 minutes if too soft.

Assemble:

  • Cut off the domes of each cake using a serrated knife to make sure the layers sit evenly.
  • Place the first cake layer on a cake stand, flat side up. Spread about 3/4 cup of frosting on top.
  • Place the second layer on top, flat side up. Apply a thin crumb coat over the entire cake. Refrigerate 15-20 minutes.
  • Apply the remaining frosting, smoothing or swirling as desired. pipe swirls on top of garnish with chocolate shavings or cocoa powder.

Nutrition

Calories: 528Calories | Carbohydrates: 62g | Protein: 6g | Fat: 30g | Saturated Fat: 14g | Polyunsaturated Fat: 5g | Monounsaturated Fat: 8g | Trans Fat: 0.4g | Cholesterol: 83mg | Sodium: 294mg | Potassium: 201mg | Fiber: 3g | Sugar: 43g | Vitamin A: 678IU | Vitamin C: 0.2mg | Calcium: 106mg | Iron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

About Chahinez Tabet Aoul

Chahinez Tabet Aoul is the recipe developer, photographer, and writer behind Lifestyle of a Foodie and Simple Copycat Recipes. Based in Las Vegas, Nevada, Chahinez is known for creating approachable, high-reward recipes that feel like they came straight from your favorite restaurant. Only easier, more fun, and made right a thome!

You May Also Like:

Leave a comment

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

Recipe Rating