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.

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.
Table of Contents
- Why This Layered Marble Cake Is So Moist
- How to Get Defined Marble Swirls
- What You’ll Need
- How to Make This Layered Marble Cake
- Chocolate Cream Cheese Frosting
- Tips for the Best Results
- Storage
- Frequently Asked Questions About This Layered Marble Cake
- Layered Marble Cake with Chocolate Cream Cheese Frosting Recipe
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.

How to Make This Layered Marble Cake
- Prep. Preheat to 340°F. Grease two 8-inch pans, line with parchment, grease the parchment. I always use my cake release goop.
- Make the cocoa paste. Whisk the cocoa powder and hot coffee until smooth and glossy. Set aside.
- 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.


- 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.
- 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.


- 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.

- Cut off the domes of the cakes with a serrated knife to ensure your cake sits evenly.
- 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.

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.

Frequently Asked Questions About This Layered Marble Cake
Yes, but the crumb will be lighter, not as velvety. Use 3/4 cup buttermilk and increase oil by 2 tablespoons.
It will work, but Dutch-process gives deeper flavor and darker color for more striking swirls.
Yes. Layers will be thinner. Reduce bake time to 24-26 minutes.
Yes! Fill liners 2/3 full, alternate spoonfuls of each batter, swirl with a toothpick. Bake 18-22 minutes at 340°F.
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.
Over-swirling. Limit yourself to 3-4 passes. Also make sure both batters are the same consistency, which the bloomed cocoa method helps with.
Usually underbaking (pull at moist crumbs, not wet batter), opening the oven too early (wait 23 minutes), or too much leavening.

Layered Marble Cake with Chocolate Cream Cheese Frosting
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
Nutrition information is automatically calculated, so should only be used as an approximation.




