Ultimate Marble Cupcakes

For when you can’t decide if you want a chocolate cupcake or a vanilla cupcake!

marble cupcakes topped with chocolate vanilla swirl frosting
marble cupcakes topped with chocolate vanilla swirl frosting on a white plate

I have a few kitchen-tested, reader-approved, very trusty cupcake recipes on my website. Two favorites? These vanilla funfetti cupcakes and these chocolate cupcakes. I knew I wanted to make one of them, but was having trouble deciding which.

So I decided to jazz things up. Throw a curveball and surprise everyone with an irresistible medley of both chocolate AND vanilla. Ladies and gents, I bring youโ€ฆ

Ultimate Marble Cupcakes.

marble cupcakes topped with chocolate vanilla swirl frosting

Lucky for both you and me, these cupcakes are a snap to make.

How to Make Marble Cupcakes

First, you do NOT have to make a vanilla cupcake batter and a chocolate cupcake batter. Thank goodness! Similar to how you make marble loaf cake, you’ll simply make my trusted vanilla cupcake recipe and add cocoa powder to part of its batter. Less dishes, less time, less headache!

The vanilla batter is all mixed together by hand in under 5 minutes. Once mixed, measure 3/4 cup of the batter and add to a medium mixing bowl with cocoa powder and a touch of milk. Since you’re adding more dry ingredients to this portion of the cupcake batter (the cocoa powder), you’ll need a touch of milk to thin it out.

The marbling part is not tricky at all. You’ll simply spoon some vanilla batter into your cupcake liners, then some chocolate batter, then some more vanilla batter on top. Take a toothpick and gently swirl it all together a couple times. I only swirled a few of my cupcakes because I wanted to see how each (swirling vs no swirling) turned out. The swirling looked the prettiest when baked up! Here are some visuals:

collage of 5 images showing how to make marble cupcakes topped with chocolate vanilla swirl frosting

Now, let’s talk frosting. No cupcake is complete without it. If you’re anything like me, you like a little cupcake with a lot of frosting.

You’re going to make two frostings. My favorite vanilla frosting and my favorite chocolate frosting. There are a few options for frosting these cupcakes:

  • Make both frostings and spread them each on your cupcakes however you’d like.
  • Make either the vanilla frosting or the chocolate frosting (double the frosting recipes below to make sure there is enough for all 12 cupcakes) and frost the cupcakes with a knife or piping tip.
  • Make swirled frosting using my How to Make Swirled Frosting page as a guide.

You’ll need a Wilton 1M piping tip and a piping bag if you choose the third option. All you do is spoon some vanilla frosting into one side of your piping bag and chocolate frosting into the other side. Then, pipe onto cupcakes in a swirl pattern:

filled piping bag to make swirled frosting

Again, my how to make swirled frosting post has tons of visuals to help guide you. I also include how I use the Wilton 1M swirl piping tip. If you’re ever curious about how I frost my cupcakes, that’s a handy page to read!

marble cupcakes topped with chocolate vanilla swirl frosting on a white plate

So there you have it. A simple one-batter marble cupcake with velvety rich chocolate and vanilla frostings on top. Buttery vanilla paired with swirls of chocolate throughout every super-moist bite. Does it really get any better than this? Oh yes, it does.

Top with a sparkly pink candle and celebrate your ultimate awesomeness.

marble cupcakes topped with chocolate vanilla swirl frosting with a pink candle

I can hardly wait for the birthday girls to taste their marbled treats!

*Don’t be overwhelmed by the ingredient list! A lot of the ingredients are just repeated for each part of the cupcake/frostings.

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
marble cupcakes topped with chocolate vanilla swirl frosting

Ultimate Marble Cupcakes

4.6 from 18 reviews
  • Author: Sally
  • Prep Time: 30 minutes
  • Cook Time: 20 minutes
  • Total Time: 3 hours
  • Yield: 14 cupcakes
  • Category: Cupcakes
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

Chocolate and vanilla marble cupcakes with chocolate and vanilla swirl frosting on top! These cupcakes are perfect for when you can’t decide between a chocolate or vanilla treat!


Ingredients

Cupcakes

  • 1 and 2/3 cups (209g) all-purpose flour (spooned & leveled)
  • 1/2 teaspoon baking powder
  • 1/4 teaspoon baking soda
  • 1/2 teaspoon salt
  • 1/2 cup (8 Tbsp; 113g) unsalted butter, melted
  • 1 cup (200g) granulated sugar
  • 1 large egg, room temperature
  • 1/4 cup (60g) yogurt*
  • 3/4 cup + 1 Tablespoon (195ml) milk, divided*
  • 2 teaspoons pure vanilla extract
  • 2 Tablespoons (10g) unsweetened natural cocoa powder

Milk Chocolate Frosting

  • 1 and 3/4 cups (210g) confectioners’ sugar
  • 1/4 cup (21g) unsweetened natural cocoa powder
  • 1/2 cup (8 Tbsp; 113g) unsalted butter, softened to room temperature
  • 2 Tablespoons (30ml) heavy cream or half-and-half*
  • 1 teaspoon pure vanilla extract
  • salt, to taste

Vanilla Frosting

  • 1/2 cup (8 Tbsp; 113g) unsalted butter, softened to room temperature
  • 1 and 3/4 cups (210g) confectioners’ sugar
  • 2 Tablespoons (30ml) heavy cream or half-and-half*
  • 1 teaspoon pure vanilla extract
  • salt, to taste


Instructions

  1. Preheat oven to 350ยฐF (177ยฐC). Line a 12-count muffin pan with cupcake liners and an additional pan with 2 liners. This recipe makes about 14 cupcakes. Set them aside.
  2. Make the cupcakes: in a medium bowl, mix together flour, baking powder, baking soda, and salt. Set aside. In a large microwave-safe bowl, melt butter in the microwave. Whisk in sugarโ€”mixture will be gritty. Chill in the refrigerator for 1 minute. Stir in egg, yogurt, 3/4 cup milk, and vanilla extract until combined. Slowly mix in dry ingredients until no lumps remain. Batter will be thick. Transfer 3/4 cup of batter to another medium bowl. Mix in cocoa powder and 1 Tablespoon milk until combined. Chocolate batter will be thick.
  3. Spoon 1 Tablespoon of vanilla batter into each cupcake liner. Top with a spoonful of chocolate batter, then more vanilla batter on top until all batters have been used up. At this point you may swirl the batters together very lightly using a toothpick or leave them as is, as I explained in the post. Bake the cupcakes for 20-24 minutes or until a toothpick inserted in the center comes out clean. Allow cupcakes to cool completely before frosting.
  4. For the chocolate frosting: Sift together the confectioners’ sugar and cocoa powder to assure there are no lumps. Set aside. With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamyโ€”about 2 minutes. Gradually add the sifted sugar/cocoa powder alternately with the heavy cream and vanilla. Beat on low speed after each addition. Once all added, beat on high speed until creamy and combined for at least 2 minutes. Add a pinch of salt if frosting is too sweet.
  5. For the vanilla frosting:ย With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamyโ€”about 2 minutes. Add confectioners’ sugar, cream, and vanilla extract with the mixer running on low. Increase to high speed and beat for 3 full minutes. Add more confectioners’ sugar if frosting is too thin or more cream if frosting is too thick. Add a pinch of salt if frosting is too sweet.
  6. Frost cooled cupcakes with a knife or with a piping bag/tip. If you’d like to just make 1 kind of frosting and not both, make sure you double the frosting recipe of your choice to make sure there is enough for all cupcakes. To swirl the two frostings like I did, here is how to make swirled frosting. There may be leftover frosting depending how much you use on each cupcake.
  7. Store cupcakes in an airtight container at room temperature for up to 2 days and in the refrigerator up to 5. I recommend a cupcake carrier for storing and transporting decorated cupcakes.

Notes

  1. Make Ahead & Freezing Instructions: Prepare cupcakes and frostings 1 day in advance. Keep cupcakes covered tightly at room temperature and the frosting covered tightly in the refrigerator. Unfrosted cupcakes can be frozen up to 2 months. Thaw overnight in the refrigerator and bring to room temperature before frosting and serving.
  2. Special Tools (affiliate links): 12-count Muffin Pan | Cupcake Liners | Glass Mixing Bowls | Whisk | Electric Mixer (Handheld or Stand) | Fine Mesh Sieve | Piping Bags (Disposable or Reusable) | Wilton 1M Piping Tip (or another favorite piping tip) | Cupcake Carrier (for storage)
  3. Yogurt & Milk: Use any kind of yogurt you likeโ€”Greek, regular, vanilla, plain, nonfat or low fat. You can use any milk you like, tooโ€”buttermilk, skim, 1%, 2%, almond, soy, etc.
  4. Cream: For the frosting, heavy cream or half-and-half will give your frostings the creamiest texture. You can use milk instead, keeping in mind the frostings won’t be as creamy.
  5. Single Layer Cake: Simply layer the chocolate and vanilla batters into a 9-inch round cake pan or 9-inch springform pan. Fill the pan 2/3 of the way full. There will be leftover batter for an additional cupcake or two. Bake the cake for 30-35 minutes.
  6. Mini Cupcakes: For 28 mini cupcakes, bake at 350ยฐF (177ยฐC) for 9-10 minutes or until a toothpick inserted in the center comes out clean.
  7. Be sure to check out myย 10 tips for baking the BEST cupcakesย before you begin!

Still can’t decide? Here are a few more chocolate and vanilla cupcake recipes you’ll love:

sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Reader Comments and Reviews

  1. Gwen says:
    June 30, 2025

    This recipe is actually amazing. It’s quick to make, comes out moist and fluffy, and is very versatile. I multiplied it by 10 and it still came out perfectly. We made a strawberry buttercream and strawberry puree drizzle for the top, creating the ultimate Neapolitan cupcake! So good. Thank you!


  2. Kim says:
    May 30, 2025

    Hi!

    Can I sub sour cream for yogurt? Same ratio? Thank you! Will it change it much?

    1. Beth @ Sally's Baking says:
      May 31, 2025

      Hi Kim, yes, you can! Same amount.

  3. Aida says:
    May 4, 2025

    Came out awesome and so soft. Needed something quick and easy for guests who were coming after dinner. Thay had most of it and took home the left over. Will make m

  4. Chelsea says:
    October 20, 2024

    Hi! I regularly make SO many of your recipes that have become family favorites. My sonโ€™s favorite birthday cake is your strawberry cake, and this year he asked if I could swirl strawberry and vanilla- so I came looking for your marble recipe. Any words of advice if I try to just make a batch of vanilla and a batch of strawberry batter and swirl the two? I could I sub the ground freeze dried strawberry powder like in your strawberry frosting for the cocoa powder the way you make a portion of this batter chocolate? Thanks!!

    1. Lexi @ Sally's Baking says:
      October 21, 2024

      Hi Chelsea, sounds delicious! We haven’t tried swirling our strawberry and vanilla recipes, but we would recommend using our separate recipes for vanilla cupcakes and strawberry cupcakes and swirling those batters. We actually tested freeze dried strawberries with our strawberry cake, and the results were lacking. So we don’t recommend swapping for the cocoa powder here. Please do let us know how they turn out for you!

      1. Chelsea says:
        November 10, 2024

        Thank you so much!! They tasted awesome and he loved them! He wanted them to be like piรฑata cupcakes, but to โ€œexplodeโ€ m&ms – so we combined that recipe in too and they met his big 7 year old cupcake dreams!!

        One improvement I couldโ€™ve made would have been to add some food coloring to the strawberry to increase the contrast in the two batters for a more intense swirl appearance.

        Thank you so much for the quick feedback to the original ask, and for continued awesome recipes!

  5. Sarah Booth says:
    May 25, 2024

    I donโ€™t usually write reviews but I had to drop one here. Just made these tonight and they were outstanding. I substituted buttermilk for the milk and added coffee grounds and Nutella to the chocolate batter and I used raspberry yogurt. They came out perfect, very flavorful and moist. Thanks for another outstanding recipe!

  6. Aria says:
    May 14, 2024

    What type of yogurt would be best before baking

    1. Lexi @ Sally's Baking says:
      May 15, 2024

      Hi Aria, you can use any kind of yogurt you likeโ€”Greek, regular, vanilla, plain, nonfat or low fat.

  7. Lucie pare says:
    March 29, 2024

    Is one batch enough for 24 mini cupcakes and how long do I cook it?

    1. Trina @ Sally's Baking says:
      March 29, 2024

      See recipe Notes! Mini Cupcakes: For 28 mini cupcakes, bake at 350ยฐF (177ยฐC) for 9-10 minutes or until a toothpick inserted in the center comes out clean.

  8. Susie says:
    January 16, 2024

    Can I double this for a 9×13 pan.

    1. Lexi @ Sally's Baking says:
      January 16, 2024

      Hi Susie, here’s everything you need to know about cake pan sizes and conversions. This cupcake batter makes about 3-4 cups of batter.

    2. Danielle Shelton says:
      July 3, 2024

      Hi! I did make two batches of the cupcakes. Would you recommend also making two batches of the frosting?

      1. Trina @ Sally's Baking says:
        July 3, 2024

        Hi Danielle! You can double the frosting recipe.

  9. Alyanna Delos Reyes says:
    December 19, 2023

    Hello!! I’ve tried this recipe for my sister’s birthday and it was so good so I wabted to make them again but I dont have sour cream and/or yogurt so I’m wondering if it will still work without them or is there any other substitute.

    1. Trina @ Sally's Baking says:
      December 19, 2023

      Hi Alyanna, if you have buttermilk, you could try swapping that for both the milk and the sour cream/yogurt. Otherwise, we would wait to make them until you have the needed ingredients. So glad you love these cupcakes!

  10. Jane Doe says:
    August 10, 2023

    Made these and they were delicious. Added in two tbsp of oil to the butter & sugar mixture in the beginning for extra moisture. And put the 3/4 cup & 1 tbsp milk into the sugar, oil, & butter mixture instead of adding the 1 tbsp milk into the chocolate part of batter. Great recipe!

  11. Vivian e says:
    July 7, 2023

    Can I use sour cream instead of yogurt?

    1. Trina @ Sally's Baking says:
      July 7, 2023

      Yes you can!

  12. Bree Langley says:
    July 5, 2023

    Hi Sally and her team! I’m making this carrot cake for my mom’s 60th (surprise party)- carrot cake is her favorite – your recipes NEVER disappoint . I will be using 8 inch pans. What do I need to adjust, if anything? Or can I pour less batter into each pan? Also, can I adjust to be a four layer cake? Finally, I am making your marble cupcakes as well. Naturally, there’s alot of baking to do and decorating with fondant, can I make these recipes 2 days in advance? Thank you for your time in advance. Any insight is appreciated.

  13. Kiki says:
    January 21, 2023

    Can you double this recipe to make 28 cupcakes?

    1. Trina @ Sally's Baking says:
      January 21, 2023

      Hi Kiki! For absolute best results, we do recommend making two batches of cupcakes.

  14. Kiki says:
    January 21, 2023

    I made these cupcakes for my granddaughter, second birthday party They were a huge hit. Thank you.

  15. Kylie K says:
    November 27, 2022

    Hi, can i use this receipe to make marble muffins? What amendments would i need to make? Btw, i tried your double chocolate muffins receipe and it was fantastic!!

    1. Trina @ Sally's Baking says:
      December 1, 2022

      Hi Kylie! You could leave off the frosting for a marble cupcake/muffin. If you want something less cakey, we would try making two muffin batters (our chocolate muffins and plain muffins) and marbling them – let us know. what you try!

  16. Clare H says:
    November 17, 2022

    Loved this recipe they are very tasty and I kept going back for more. I think I need some work on my end to perfect them though. They were moist which is lovely but they were also quite dense. I suspect I’m doing something wrong there. Also some had risen on there bottom, lifted off from the cupcake liner creating a dome under the cupcake. Not sure why that happened either. Going to try again over next few days and see if I can figure out my mistake with this recipe

  17. Gabie says:
    September 25, 2022

    Hi Sally, I made these cupcakes many times, but I want to make this into a 9×13 and a layered cake. What should I do?

    1. Michelle @ Sally's Baking says:
      September 25, 2022

      Hi Gabie, see recipe notes for making these into a single layer cake!

  18. Allison says:
    September 17, 2022

    Could this be poured in a 13×9 for a sheet cake? How would I adjust the bake time, if so?

    1. Trina @ Sally's Baking says:
      September 17, 2022

      Hi Allison! We would use the batter form our marble cake instead – see recipe notes for 9×13 cake instructions.

  19. Kat says:
    September 13, 2022

    I made the 6″ Zebra cake before and it was delicious! I want to do another marble cake for my son’s birthday next month. How does this Marble cupcake recipe compare with the Zebra cake in terms of texture and taste? I will be making the 6″ cake version and prefer light and fluffy. Thank you for all your recipes!

    1. Sally @ Sally's Baking says:
      September 25, 2022

      Hi Kat, I don’t think you can go wrong with either. The zebra cake is a 9-inch cake though, but I’ve scaled it down before to be a 6-inch 3 layer cake and you can see that recipe here. I would say the zebra cake is a bit fluffier.

  20. Erin says:
    September 6, 2022

    Hi Sally! I love your recipes, they are so good! One quick question. Is there a significant difference, in your opinion, to using yogurt as opposed to sour cream? I tend to use sour cream is most recipes that call for yogurt but I’ve never really thought about the difference.

    1. Sally @ Sally's Baking says:
      September 6, 2022

      Hi Erin, unless a recipe calls for a lot of either (such as 1 cup or more), subbing one for the other won’t really make a huge difference. I do it all the time.

  21. Sarah says:
    September 5, 2022

    Can these be made GF by swapping the flour with a GF flour, such as Bob’s 1-1? Thanks!

  22. Zoe H says:
    June 26, 2022

    I never comment or review recipes but I just had to for these amazing cupcakes. Took them into work as a treat for my co-workers, and I swear my ego grew 10x as I received so many compliments on my baking and how good they were! They were soooo moist, so perfectly swirled, nice and sweet, easy to make and clean and just delicious. Still getting compliments 2 weeks after I brought them into work. Says it all really. Thanks so much for the recipe.

  23. Jake says:
    June 24, 2022

    I had a question as a beginner who has never baked before is this a easy recipe to make or do you not recommend it to beginners?

    1. Lexi @ Sally's Baking says:
      June 24, 2022

      Hi Jake, beginners could certainly tackle these cupcakes! However, this marble loaf cake would be similar and even easier, if you’d like to start there. Here are all of our beginner recipes, too, if you’re interested.

  24. Alicia Binger says:
    June 21, 2022

    Thank you!

  25. Alicia Binger says:
    June 21, 2022

    Can I get the measurements for 3 doz instead of just 14?

    1. Trina @ Sally's Baking says:
      June 21, 2022

      Hi Alicia! Our marble cake recipe would make about 30 cupcakes – much closer to the amount you need. Otherwise we recommend making separate batches of the cupcake batter to avoid over or under-mixing large quantities.

  26. Melodie M. says:
    June 10, 2022

    I donโ€™t typically comment on a recipe but this was too good not to. I am an avid baker and bake as a side job for fun and a little extra cash. A coworker ordered 3 dozen marbled cupcakes with buttercream frosting. So while this frosting looked amazing I used my traditional buttercream recipe but used this marble cupcake recipe. I weighed all of the ingredients rather than measuring and they were so moist and delicious!!!! I also used sour cream instead of yogurt since thatโ€™s what I had on hand. I hope theyโ€™re a big hit at the baby shower I made them for. I thought they were the best marbled cake Iโ€™ve had yet! Thank you, Sally for always having a recipe I can count on!

    1. Trina @ Sally's Baking says:
      June 10, 2022

      We’re so glad you loved this cupcake recipe, Melodie!

  27. Shirley says:
    June 9, 2022

    Hi Sally, sorry to check if the cocoa powder is added to the 3/4 batter or 1/4 batter? And also can I replace the butter with oil? Thanks.

    1. Lexi @ Sally's Baking says:
      June 10, 2022

      Hi Shirley, you’ll want to transfer 3/4 cup (not 3/4 of the total batter) to another bowl and add the cocoa powder to that. For best taste and texture, we recommend sticking with butter in this recipe.