Marble Cake Recipe with Step-by-Step Photos

The best marble cake I’ve ever had. And here’s how you can make it.

How to make the best, most buttery and rich marble cake from scratch!! Complete step-by-step photos and recipe on

It’s been a long time coming, but I finally have a marble cake recipe to share with you! This recipe is years in the making– in fact, I wanted to publish a marble cake in my first cookbook but couldn’t perfect a recipe in time. (Though there is a marble pound cake recipe in that book!) Three years, 2 cookbooks, and 23 mediocre marble cakes later, here we are.

To say I’m excited is an understatement. Like we’re talking tooth fairy excited, santa claus excited, snow day excited, omg I get to lick the brownie batter bowl excited, bottomless chips and salsa at Chili’s excited, Jude whenever I walk in the door excited, Kevin eating chicken wings excited, uhh… you get the point.

Things are about to get awesome.

How to make the best, most buttery and rich marble cake from scratch!! Complete step-by-step photos and recipe on

Here’s the gist of today’s recipe:

This Marble Cake Is

  • Simple and straightforward
  • Tender and moist
  • Soft and cakey
  • Infinitely buttery
  • Classic birthday cake status!
  • Better than a box
  • Slathered with milk chocolate frosting

This Marble Cake Is Not

  • Difficult to make
  • Dry and bland
  • From a box
  • Lacking chocolate flavor like most marble cakes do
  • Boring!

Let’s walk through the steps real quick so you know exactly what you’re doing in the kitchen. An overload of step photos in your scrolling future.

How to make the best marble cake recipe on

The first thing we’re going to do is prepare a basic yellow cake batter (photo above, right). You only need 1 batter for this marble cake recipe. The chocolate batter is made from the yellow batter. So, it all starts out the same! The yellow cake batter can also be left plain to make a traditional yellow layer cake. But since I’m on a chocolate binge with my recipes lately (sorry?), we’re adding chocolate to the batter to make it a marble cake. Like, real chocolate. More on that in a sec.

The basic yellow cake batter is super straightforward. Let’s discuss the ingredients. You need cake flour, not all-purpose flour. This recipe must be made with cake flour. No ifs ands or buts. Cake flour has a lower protein content than all-purpose, which correlates to a lighter crumbed cake. Like the light, airy cakes from box mixes. All-purpose flour will make your cake heavy, dense, and bread-like. You can make your own cake flour substitute using cornstarch and all-purpose flour, as noted in the recipe below, but I strongly suggest just buying cake flour. Baking powder gives the cake its lift. Do not use baking soda. Even though we will be using buttermilk as the liquid in the batter, we are using baking powder. Buttermilk (an acid) is usually paired with baking soda, but the purpose of buttermilk in this marble cake recipe isn’t for its acidity. Rather, it’s for flavor and moisture. Buttermilk is the secret to the super moist texture. Whole milk would be the only substitution.

Like most traditional cakes, creamed butter and sugar is the base of the entire marble cake. (Photo above, left.) And, like usual, I use a mix of granulated sugar and brown sugar in today’s recipe. You know I can’t live without my beloved brown sugar. Moisture! Flavor! You’d be silly not to use it in a giant cake like this.

Eggs. Everything! Specifically, egg yolks. Have I drilled it into your head yet? Egg yolks (fat) give baked goods their moisture, tenderness, richness, and flavor. Not to mention its color. Yellow egg yolks = yellow cake. You’ll need 2 whole eggs, plus an additional 4 egg yolks. You’ll have 4 egg whites leftover, so make yourself a super healthy egg white omelet to balance out all the slices of marble cake you’ll be eating. Is that genius or what?

How to make the best marble cake recipe on

Once the yellow cake batter is prepared, set 1 cup of it aside. Mix in 4 ounces of pure, high quality chocolate. We’re talking the real chocolate, not chocolate chips or even cocoa powder. Pure chocolate bars– the kind you find in the baking aisle, like Lindt or Ghirardelli. You can also use Trader Joe’s pound plus bar. In my recipe testing, I tried several marble cakes using cocoa powder and the results just do NOT compare to marble cake made with pure chocolate.

Pure chocolate makes the chocolate swirls taste like decadent chocolate cake.

All you’ll do is melt the chocolate and stir it into 1 cup of the yellow batter. Photo above: poured in. Photo below: stirred together. The chocolate batter will be quite thick.

How to make the best marble cake recipe on

Now let’s create that marbled beauty! It’s so easy. Pour a base of yellow batter into each cake pan. Spoon chocolate batter on top. Spoon remaining yellow batter on top of that. Grab a knife and swirl it all around. Like so:

How to make the best marble cake recipe on

It doesn’t have to be neat or perfect. The haphazardness of the batters swirled together makes the cake extra charming.

Now it’s time to bake. The cake layers take anywhere from 22-27 minutes, give or take. All ovens are different, so I suggest using an oven thermometer to ensure your oven is at the correct temperature (my oven runs hot; thermometer saves the day!) and use a toothpick to test the cake’s doneness.

Once the cakes are baked and cooled, it’s time to assemble and frost. Speaking of, I’m sure you’ve tried my legendary milk chocolate frosting by now. It’s made several appearances in both cookbooks and on my blog as well. I’m completely obsessed. It’s like the old-fashioned chocolate buttercream my grandmother used to make. Smooth and creamy, rich and thick. Smothered between and all around homemade marble cake, it’s nothing short of extraordinary.

Creamy, silky, smooth milk chocolate frosting recipe on

Welcome to my happy place.

How to make the best, most buttery and rich marble cake from scratch!! Complete step-by-step photos and recipe on

As always, straying from the written recipe and instructions will yield different results. There’s a reason this cake took me so long to perfect… it’s all in the precision and ratio of specific ingredients and mixing techniques. I advise you to follow the recipe as directed first then make any adjustments you see fit next time.

Plenty of recipe notes for you in case you have questions. Enjoy this classic beauty!

Marble Cake

The best marble cake I've ever had. And here's how you can make it.


  • 2 cups (230g) cake flour (spoon & leveled)1
  • 2 teaspoons baking powder
  • 1/2 teaspoon salt
  • 1 cup (230g; 2 sticks) unsalted butter, softened to room temperature
  • 3/4 cup (150g) granulated sugar
  • 1/2 cup (100g) tightly packed light brown sugar
  • 2 large Eggland's Best eggs, at room temperature
  • 4 large Eggland's Best egg yolks, at room temperature
  • 1 Tablespoon (15ml) pure vanilla extract
  • 2/3 cup (160ml) buttermilk, at room temperature2
  • 4 ounces (113g) bittersweet or semi-sweet chocolate, coarsely chopped3

Milk Chocolate Frosting

  • 1 and 1/4 cups (284g; 2.5 sticks) unsalted butter, softened to room temperature
  • 3 and 1/2 cups (420g) confectioners' sugar
  • 3/4 cup (65g) natural unsweetened or dutch-process cocoa powder
  • 1/4 teaspoon salt
  • 1 teaspoon pure vanilla extract
  • 1/4 cup (60ml) heavy cream, half-and-half, or whole milk
  • optional: chocolate or rainbow sprinkles for decorating


  1. Preheat oven to 350°F (177°C). Spray or lightly butter two 9-inch cake pans. Set aside.
  2. Make the cake: Sift the cake flour, baking powder, and salt together in a large bowl. Set aside.
  3. With a handheld or stand mixer fitted with a paddle attachment, beat the butter on high speed in a large bowl until smooth and creamy, about 1 minute. Add the granulated and brown sugars and beat on high speed for 3-4 minutes until creamed. Scrape down the sides and up the bottom of the bowl as needed. With the mixer running on low speed, add the eggs then the egg yolks one at a time, then add the vanilla extract. Beat on medium-high speed until combined. Scrape down the sides and up the bottom of the bowl as needed. With the mixer running on low speed, add the dry ingredients in 3 additions, alternating with the buttermilk and mixing each addition just until incorporated. Do not overmix. Use a whisk to rid any large lumps, if needed. The batter will be slightly thick.
  4. Remove 1 cup of yellow batter and pour into a medium bowl. Melt 4 ounces of chocolate in the microwave, stopping and stirring every 20 seconds until completely smooth. Pour chocolate into the 1 cup of yellow batter you set aside and stir until combined.
  5. Pour an even layer of the yellow batter into each cake pan. Spoon chocolate batter on top, as shown in the photo above. Pour remaining yellow batter on top of the chocolate. Using a knife, swirl the two batters together. Don't worry if it's not perfect.
  6. Bake the layers for 22-27 minutes, or until a toothpick inserted into the center of one cake comes out clean. Mine usually take 24 minutes. During bake time, loosely cover the cakes with aluminum foil if you find the tops are browning too quickly. Remove cakes from the oven and allow to cool completely in the pans set on a wire rack.
  7. Make the frosting: With a handheld or stand mixer fitted with a whisk attachment, beat the butter on high speed in a large bowl until smooth and creamy, about 1 minute. Add confectioners' sugar, cocoa powder, salt, vanilla, and cream with the mixer running on low. Once added, increase to high speed and beat for 3 full minutes. Add 1-2 more Tablespoons confectioners' sugar if frosting is too thin or 1-2 more Tablespoons of cream if frosting is too thick. Taste the frosting and add a pinch more salt if it's too sweet.
  8. Frost and assemble cake: If needed, level cakes to create a flat surface (I usually use a knife, be careful doing this!). Place 1 cake layer on a cake stand or large serving plate. Evenly spread about 3/4 cup frosting on top. Top with 2nd cake and spread the remaining frosting all over the sides and top. Decorate with sprinkles if desired. Slice and serve.
  9. Cover any leftover cake and store at room temperature for 2-3 days or in the refrigerator for up to 5 days.
  10. Make ahead tip: To prepare 1 day in advance, keep baked cakes covered at room temperature and refrigerate prepared frosting in an airtight container. Bring frosting to room temperature before spreading. Frosted cake can be frozen up to 2 months; thaw overnight in the refrigerator and bring to room temperature before serving.

Recipe Notes:

Cupcakes: This recipe can be made into about 30 cupcakes. Simply layer a spoonful of each batter into the cupcake wrappers, filling each only halfway. Swirl with a toothpick. Bake the cupcakes for 20 minutes.

9x13 cake: This cake can be baked into one 9x13 pan for about 35 minutes, give or take. Layer the batters, use a knife to swirl.

Vanilla frosting: Instead of chocolate, you can use this vanilla frosting if vanilla is your preference. It is the perfect amount for thick layers of frosting.

Room temperature ingredients: Here is why the ingredients must be at room temperature.

  1. You need cake flour for this cake. No substitutions. You can make 2 cups of DIY cake flour by sifting together 1 and 3/4 cups (219g) all-purpose flour with 1/4 cup (27g) cornstarch. Once sifted (imperative to sift), you can use in the recipe.
  2. I highly advise you use buttermilk in this marble cake recipe, low fat buttermilk or full fat buttermilk works. The only substitution would be whole milk, no other milks. Trust me on this one.
  3. I recommend Lindt or Ghirardelli chocolates, or Trader Joe's pound plus bar. Do not use low quality chocolate or chocolate chips.

Adapted from The Great Milky Way Cake in Sally's Candy Addiction

Did you make a recipe?

Tag @sallysbakeblog on Instagram and hashtag it #sallysbakingaddiction.

© Sally’s Baking Addiction. All images & content are copyright protected. Please do not use my images without prior permission. If you want to republish this recipe, please re-write the recipe in your own words, or link back to this post for the recipe.

You should try my triple chocolate layer cake next. Just sayin’.

Triple Chocolate Layer Cake

Eggland’s Best provided me with eggs to bring you this recipe.

How to make the best, most buttery and rich marble cake from scratch!! Complete step-by-step photos and recipe on
How to make the best, most buttery and rich marble cake from scratch!! Complete step-by-step photos and recipe on
Posted in , ,



  1. Noemi on August 29, 2016 at 9:17 am

    Sally, I am a hobby baker and just came across your website! OMG! Can’t wait to read all your recipes…. Can I use this cake to make a carved cake? Have a friend who wants me to make a 1940 Ford Coupe with marble cake and I would love to use your recipe as it sounds yummy but I have no time to “test” to see if it will hold. I need to start baking tomorrow so hopefully you will see this and respond…. Thank you so much in advance!

    • Sally on August 29, 2016 at 2:19 pm

      This cake would absolutely work for it! Thanks Noemi, what a fun cake.

  2. Paula on September 1, 2016 at 8:33 pm

    I made this cake for my husbands birthday. He loves marble cake! The batter definitely was thick, more than I thought. It also didn’t seem to rise much. I followed the recipe exactly except I did use half and half instead of buttermilk. I also loved the frosting. I will definitely make again. Maybe the second time around, it will turn out better. Practice makes Perfect I always say…

  3. Andrea on September 3, 2016 at 10:41 am

    Hi Sally
    Your recipe looks delicious, I just have one question.  I only have 8″ cake tins so do you think I could make up the batter and make small cupcakes with the excess?  Really want to cover the cake with Swiss meringue buttercream and then the famous mirror glaze, have certainly got my work cut out LOL!

  4. nids on September 7, 2016 at 2:09 am

    tried your carrot cake.. it came out awesome.. thnx.. in marble cake, can i substitute oil for butter?

    • Sally on September 7, 2016 at 8:09 am

      Butter is key for flavor, I wouldn’t. Thanks for letting me know about the carrot cake!

  5. Elle on September 9, 2016 at 12:41 pm

    Hi Sally, I plan to double the recipe to make a 3-layer cake but I only have two 9″ cake pans. Is it ok if half the cake batter sits out while the other half bakes? Should it be refrigerated during the wait? 

    • Sally on September 14, 2016 at 10:35 am

      Hi Elle, I would make two batches of this cake batter, instead of doubling. You’ll have a little more batter than you need for a 3 layer cake, so use any extra to make cupcakes. (About 20 minutes for cupcakes.) You can leave the cake batter, covered, at room temperature while you wait. 🙂

      • Elle on September 14, 2016 at 7:52 pm

        I baked the two batches and unfortunately they completely flattened and hardened the next day 🙁 Perhaps I over mixed? Despite that, the flavor is there so I may throw it in a trifle with liqueur to moisten it!

  6. Millie on September 10, 2016 at 2:41 pm

    I’ve just pulled this out of the oven. It’s incredibly dry and has collapsed in sections. Yes, I followed the directions precisely, including sifting the cake flour and making sure the baking powder was fresh. I will now be buying my spouse a birthday cake.

  7. Lauren on September 14, 2016 at 9:05 am

    Sally, can you make this into a 3 layer cake with 8 inch cake pans?

    • Sally on September 14, 2016 at 10:35 am

      Hi Lauren, I would make two batches of this cake batter, instead of doubling. You’ll have a little more batter than you need for a 3 layer cake in 8 inch cake pans, so use any extra to make cupcakes. (About 20 minutes for cupcakes.)

  8. Isha on September 25, 2016 at 3:21 am

    Hey Sally! Please help 🙁 

    I was making this cake for a friend’s birthday. It was my second attempt at getting this right. But every time my cake batter splits. I don’t know why. I used room temperature ingredients and followed the recipe perfectly. But right after I added the last egg yolk, the batter just split. Please tell me where am I going wrong. Really want to get this right 🙁 


    • Sally on September 25, 2016 at 9:02 am

      Hi Isha, can you tell me more about what you meaning by splitting? Do you mean it’s curdling? If it’s curdling, just beat it on high speed until it comes together.

  9. Sara on October 6, 2016 at 1:46 pm

    Hi Sally, I was just wandering about the gram measurements for the cake flour, the unsalted butter and the granulated sugar, I checked by measuring those three ingredients and it did not match what is on your recipe. the cake flour was 110g per cup, unsalted butter was 113g per stick and 1/4 cup of sugar is 55g. I am somewhat confused, can you please clarify.

    • Sally on October 6, 2016 at 7:18 pm

      They’re all pretty close to what I measure for mine! 115g per 1/2 cup butter, 50g per 1/4 cup sugar. A couple grams will not make any difference 🙂

  10. Amber on October 7, 2016 at 4:05 am

    Hello.  How would you make this cake in “reverse”?  I mean by having the chocolate batter as the majority of the cake. How much chocolate would you need to add after you took out a cup of the yellow batter?  Would this work?

  11. kateb on October 14, 2016 at 11:44 pm

    i made this for my sons 12th bday party. I used a 9×13 pan and it turned out very thin- i followed the recipe as written…I sifted the cake flour, i let all ingredients come to room temp as instructed but i didnt use egglands best ( i usually do but i had a new carton of another kind). I dont think i overmixed. When i tasted the batter before baking it tasted light & airy and i was so excited. I am not sure where i went wrong. Im wondering if my baking powder is older than 3 mos ( i cannot remember) I am making a vanilla buttercream tomorrow to decorate because thats his favorite..and theyre 11 and 12 year old boys, they will eat anything. I am just so disappointed and wondering where i went wrong..any suggestions. I am considering making another one early tomorrow to make it a double layer 9×13..

  12. Kristie Mercer on October 16, 2016 at 10:16 am

    I am looking at your marble cake, it sounds wonderful. I am making my daughters wedding cake and she wants marble for the bottom layer. My question is will this cake recipe stand up to being a 14 inch bottom layer of a wedding cake?

    • Sally on October 17, 2016 at 5:16 pm

      I would hate for it to not be sturdy enough. It’s moist and soft and while it would hold up well under fondant and underneath more layers of *this* cake, I fear that a heavier cake on top would be too much. As long as the layers on top are light, it should be OK.

  13. Erica on November 18, 2016 at 7:04 pm

    Do you think I could make this as a bundt cake? 

    • Sally on December 27, 2016 at 11:06 am

      Absolutely! I’m unsure of the bake time.

  14. Jane on December 4, 2016 at 3:07 am

    Beautiful! How do you convert this recipe into a sheet cake??? Would love to make this into a birthday cake!

    • Sally on December 4, 2016 at 8:49 am

      Hi Jane! The recipe as written should fit quite nicely into a sheet pan. I’m unsure of the exact bake time though.

      • Andrea on February 7, 2017 at 9:50 am

        Hi Sally–very excited to make this cake! I’ve loved every recipe I’ve tried of yours, and this will no doubt follow suit. I came here wondering the same thing–will this work in a sheet pan–I see you said yes, but did you mean a half sheet or quarter sheet? Surely not a full-sized sheet pan? I would like to make it as a half sheet, then cut in half as a two layer quarter sheet sized cake. Do you think this is enough batter for that, or should I double? I also see you’ve reccommend not doubling, so, any advice is much appreciated. Thank you!!

  15. Bankston on December 4, 2016 at 3:31 pm

    How might you need to adjust the recipe if you intended to use it in a 12 x 3 inch cake pan (planning on using it as the cake in a pie in cake recipe I want to try).

  16. Missy on December 4, 2016 at 5:45 pm

    It was my 26th birthday & I really wanted a marble cake! It is my favorite cake of all time & reminds me of childhood as my mom & I used to bake it frequently. I don’t understand why marble isn’t more popular. You can do so many combinations with it! I can never find this damn cake ANYWHERE! UGH! This recipe was delicious! I sifted the dry ingredients & didn’t overmix the batter. The cake was moist, light, fluffy & had wonderful flavor. I had some vanilla beans left over so I put them to good use in this recipe. I also used a Trader Joe’s pound plus bar! I tasted the batter of both the vanilla & chocolate & knew it was going to be rock star status! The frosting was good, but tbh, next time I would omit the frosting because I didn’t even think the cake needed it. Next time, I would just sprinkle the top with a generous layer of powdered sugar. That is just my personal preference. I will definitely keep this recipe!LOVE LOVE LOVE! Thanks!

  17. musonda chomba on December 19, 2016 at 8:33 am

    I will surely try this

  18. Tasha Scott on December 26, 2016 at 11:19 pm

    Hi Sally,

    Will this recipe work for a Bundt cake and how long to bake? I want to use this recipe for a Rum Cake will the additional liquid from the Rum alter the cake? Thanks.

    • Sally on December 27, 2016 at 11:07 am

      Absolutely as a bundt! I’m unsure of the bake time. I wouldn’t add any additional liquid. A rum glaze might be a nice touch though.

  19. Mia on January 4, 2017 at 11:08 am

    I saw a note that to make a yellow layer cake with chocolate frosting, you can use this recipe and take out the chocolate and marbling part. I wanted to also ask, do you still suggest buttermilk? I have made your yellow sheet cake recipe before and that one called for sour cream instead. Are they interchangeable? I plan on making it for my boyfriend’s birthday and need it to be perfect 🙂 Thank you so much!

  20. Cayla on January 11, 2017 at 1:55 pm

    Thank you for this awesome recipe! I have to make my kid’s birthday cakes because we stay away from artificial colors. My son loved his birthday cake! It was so good that I think I will suggest people to try it on my blog!!

  21. Molly on January 24, 2017 at 12:34 am

    Hi Sally,

    I would love to make this cake for a friend’s going away party, but I live at an altitude above 5,000 ft. I was wondering if you had any high altitude baking recommendations. I’ve found some general ones but I thought I would ask the source first before making any mistakes. Thanks!

  22. Jean on February 4, 2017 at 3:31 am

    May I know if a recipe calls for 2 8inch pans or 2 9inch pans. Am I able to use the same recipe and quantity but use just 1 9inch tin instead?? 

  23. Corinne Coniglio on February 5, 2017 at 5:01 pm

    Hi Sally, I made the 9″ cakes following directions exactly room temp ingredients and all and my layers are very flat. Any suggestions as to what went wrong? I have not frosted it yet because I may try it again tomorrow to see if it is any better.

  24. Shannon on February 13, 2017 at 7:01 am

    Hi Sally! Made this fabulous cake in a bundt pan and was one of the best cakes ever! Everyone loved it and not a crumb left. Your instructions for diy cake flour were perfect. Thanks again for all of your hard work perfecting your recipes and sharing the fruits of your labor! I don’t bother looking to anyone else for recipes- seriously. Never had a fail with any of your recipes.

  25. Jennifer on March 1, 2017 at 12:39 pm

    Is there any reason this cake can’t be made a couple of weeks ahead of time and frozen? I got asked to make a camoflouage cake for a birthday party the same week as my midterm exams and would like to bake ahead.
    On a separate note I’m a hobby baker and am obsessed with your blog! My husband, kids and friends are very thankful for all of your recipes. Haha 

    • Sally on March 2, 2017 at 12:17 pm

      Jennifer, I’m so glad you enjoy my blog! Thank you! You can freeze this cake. Check out the last sentence in my make ahead tip.

  26. Rohaya Zain on March 21, 2017 at 9:43 am

    Hi Sally, 

    I love marble cake and want to have it for my birthday. So, I search for a recipe and found yours. I baked and Oh, Lord!  Crunch on the outside and buttery inside. I LOVE IT! Highly recommended for uol to try. Thank you Sally for sharing. 

  27. Devon on March 26, 2017 at 5:24 pm

    Hey Sally, I wanna try your recipe for a half sheet cake I need to make next weekend. How much of this do you think I would need? Double, triple the recipe? 

  28. Rochelle on March 26, 2017 at 10:53 pm

    Hi Sally,
    I baked this yesterday. the taste was very good..but the cake turned out quite heavy. Should I beat it more to try to get a fluffy consistency?
    With kind regards,

  29. Leah on April 3, 2017 at 9:03 pm

    Oh yeah baby….it’s as awesome as advertised. I was searching for a 2 layer marble cake recipe and stumbled upon yours. I was a little nervous about all those egg yolks but know that if I’m gonna make the effort to bake a cake from scratch I’m not gonna scrimp to try to be healthy! The eggs + yolks indeed made a super rich, moist, buttery yellow cake. This is incredible! 

  30. Sabrina on April 25, 2017 at 9:06 pm

    Hi Sally, 

    I am a home baker, and I wanted to bake this cake for my friend. The only this I that I want to cover it in fondant, but I don’t want the combination to be overly sweet. Will the fondant make this cake super sweet? Also…how many days in advanced can I bake the cake and have it still maintain its moisture? 

    Thank you in advanced,


    • Sally on April 26, 2017 at 8:27 am

      I find fondant to be overly sweet as is, so yes… the cake will be very sweet.
      I suggest baking the day before. See make ahead tip 🙂



Leave a Comment


This site uses Akismet to reduce spam. Learn how your comment data is processed.

With kitchen-tested quality recipes and step-by-step tutorials, my goal is to give you the confidence to bake and cook from scratch.

Top 5 Recipes


Recipes You'll Love




Cookie Palooza

A tradition since 2013, every December we countdown to Christmas with 10 new cookie recipes in a row!

View More...


Baking Challenge

Join the community on the 1st of every month as we tackle a new challenge recipe.

View More...


Pie Week

The first week of every November is all about Thanksgiving Pies.

View More...

My Cookbooks