Chocolate Cupcakes With Vanilla Frosting

Simple to make and quick to disappear, these moist and flavorful chocolate cupcakes with vanilla frosting will be your new favorite. For best results, use natural cocoa powder and buttermilk in the cupcake batter. Love chocolate buttercream? You can definitely make the switch!

I originally published this recipe in 2015 and have since added new photos and success tips.

white cake stand with chocolate cupcakes with vanilla buttercream on top and decorated with rainbow sprinkles.

Have you tried my triple chocolate cake before? This chocolate cupcake recipe was adapted from that super-popular recipe. Like my classic vanilla cupcakes recipe, these chocolate cupcakes hold a sacred spot in my baking repertoire. There’s no reason to find a better version—this is THE chocolate cupcake recipe I use time and time again. I use the same batter to make these cream-filled chocolate cupcakes, too. (Try those next!)

Chocolate cupcakes with vanilla frosting are a birthday party classic, so I want to make sure you have a recipe for just that. They’re the perfect party tray complement to these yellow cupcakes with chocolate frosting!

One reader, Melissa, commented:I tried this recipe and it came out perfect. This is my go-to cupcake recipe. I even made the DIY buttermilk with vinegar and milk… excellent! Thank you for this recipe. ★★★★★


These Chocolate Cupcakes With Vanilla Frosting Are:

  • Super moist and deeply chocolatey
  • Soft with a spongey, cakey texture
  • Based on the recipe for this reader-favorite chocolate cake
  • Easy to prepare
  • A delicious combination of vanilla + chocolate
  • Perfect dessert for celebrations and birthday parties
chocolate cupcakes with vanilla buttercream on marble counter with a couple cut in half.
chocolate cupcakes with vanilla buttercream, rainbow sprinkles, and a gold birthday candle.

Comparing My Chocolate Cupcake Recipes

I have another chocolate cupcake recipe in my favorites collection. The chocolate batter is similar, but it skips the hot liquid in lieu of another egg. The recipe works, but I find today’s cupcakes have a stronger chocolate flavor. The hot liquid in the recipe below encourages the cocoa powder to “bloom” or, in other words, extract its flavor. (Similar to how hot water extracts flavor from coffee or tea.)

Both recipes produce outstanding and deliciously moist chocolate cupcakes. But, when I’m looking for a stronger chocolate flavor, I choose today’s batter.

5 Key Points to Remember

  1. Cocoa powder takes the place of some flour, so that’s why there is so little flour in today’s batter.
  2. Make sure you’re using natural unsweetened cocoa powder, not dutched cocoa. Why? Here’s the difference between dutch-process vs. natural cocoa powder. And if you are interested, here’s some info on the difference between baking soda vs. baking powder and why I use both in these chocolate cupcakes.
  3. Hot liquid enhances the cocoa powder’s flavor. It also encourages it to bloom and dissolve appropriately. If you don’t drink coffee, you can use hot water. For deeper and darker flavor, though, use coffee. (Decaf coffee works!)
  4. Fill your cupcake liners only 2/3 full. Trust me, you don’t want to fill them any more than that, or they will overflow when baking, then sink in the center.
  5. This recipe makes enough batter for 14 to 16 cupcakes, so line a second muffin pan with a few liners, or bake in batches.

Grab these ingredients:

ingredients on marble counter including cocoa powder, buttermilk, flour, egg, oil, sugar, and salt.

Expect a thin batter. We don’t want a super thick batter here because that would yield dense cupcakes. That’s great for brownies, but we want spongey, cakey, and rich chocolate cupcakes.

chocolate batter in bowl and shown again in gold muffin pan.

Remember: this recipe makes enough batter for 14 to 16 cupcakes. Don’t try to fit all the batter into 12 muffin cups—you will have a disaster on your hands!

overhead of chocolate cupcakes on cooling rack.

Vanilla Buttercream + Other Options

I love sweet & creamy vanilla buttercream frosting and rainbow sprinkles on these chocolate cupcakes. If vanilla frosting isn’t your top choice, you can use any of the following:

I used a large open star tip for the pictured cupcakes: Ateco 826 piping tip. A smaller version of this, which produces a similar look, is Wilton 1M piping tip.

vanilla buttercream
chocolate cupcake cut in half.
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
chocolate cupcakes with vanilla buttercream, rainbow sprinkles, and a gold birthday candle.

Chocolate Cupcakes With Vanilla Buttercream Frosting

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.7 from 25 reviews
  • Author: Sally
  • Prep Time: 25 minutes
  • Cook Time: 20 minutes
  • Total Time: 3 hours, 25 minutes
  • Yield: 14-16 cupcakes
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

Made from simple everyday ingredients, these chocolate cupcakes with vanilla frosting will be your new favorite. For best results, use natural cocoa powder and buttermilk in the cupcake batter.


Ingredients

Chocolate Cupcakes

  • 1 cup (125g) all-purpose flour (spooned & leveled)
  • 1/2 cup (42g) unsweetened natural cocoa powder
  • 1 teaspoon baking soda
  • 1/2 teaspoon baking powder
  • 1/2 teaspoon salt
  • 1/3 cup (80ml) vegetable oil
  • 1 cup (200g) granulated sugar
  • 1 large egg, at room temperature
  • 1 teaspoon pure vanilla extract
  • 1/2 cup (120ml) buttermilk*, at room temperature 
  • 1/2 cup (120ml) hot water or hot coffee (decaf is fine)

Vanilla Buttercream Frosting

  • 1 cup (16 Tbsp; 226g) unsalted butter, softened to room temperature
  • 4 cups (480g) confectioners’ sugar, plus more as needed
  • 1/4 cup (60ml) heavy cream, half-and-half, or whole milk, at room temperature
  • 2 teaspoons pure vanilla extract (or vanilla bean paste)
  • salt, to taste
  • optional for garnish: sprinkles


Instructions

  1. Make the cupcakes: Preheat the oven to 350°F (177°C). Line a 12-cup muffin pan with cupcake liners. This recipe yields about 14 to 16 cupcakes, so line a second muffin pan with a few more liners or bake in batches.
  2. Whisk the flour, cocoa powder, baking soda, baking powder, and salt together in a medium bowl. Set aside. In a large bowl, preferably with a pour spout, whisk the oil, sugar, egg, vanilla, and buttermilk together until combined. Pour the dry ingredients into the wet ingredients, add the hot coffee/water, and whisk until the batter is completely combined. Batter is thin.
  3. Pour the batter into the liners, filling only 2/3 full to avoid spilling over the sides. You should have enough batter for 14 to 16 cupcakes.
  4. Bake for 20–22 minutes, or until a toothpick inserted in the center comes out clean.
  5. Allow cupcakes to cool in the pan for 10 minutes, and then transfer to a wire rack to cool completely. Cupcakes must be completely cooled before decorating.
  6. Make the frosting: With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium speed until creamy, about 2 minutes. Add the confectioners’ sugar, heavy cream/milk, and vanilla extract. Beat on low speed for 30 seconds, then increase to medium-high speed and beat for 2 full minutes. Taste. Add a pinch of salt if frosting is too sweet. I always add 1/8 teaspoon. Add up to 1/2 cup more confectioners’ sugar if frosting is too thin, or more cream/milk—a Tablespoon at a time—if frosting is too thick.
  7. Frost cooled cupcakes and top with sprinkles, if desired. You can swipe the frosting on with an icing knife or use a piping tip such as Ateco 826 or Wilton 1M.
  8. Store leftover cupcakes covered at room temperature for 1 day or in the refrigerator for 3 days.

Notes

  1. Make Ahead Instructions: You can bake the cupcakes 1 day in advance. Keep cupcakes covered tightly at room temperature and frost the day of serving. Unfrosted cupcakes can be frozen for up to 2 months. Thaw overnight in the refrigerator and bring to room temperature before frosting and serving. 
  2. Special Tools (affiliate links): 12-cup Muffin Pan | Cupcake Liners | Glass Mixing Bowls or Mixing Bowl with Pour Spout | Whisk | Cooling Rack | Electric Mixer (Handheld or Stand) | Piping Bag (Reusable or Disposable) | Ateco 826 Piping Tip or Wilton 1M Piping Tip | Cupcake Carrier 
  3. Buttermilk: Buttermilk is required for this recipe. You can make your own DIY buttermilk substitute if needed. Add 1 teaspoon of white vinegar or lemon juice to a liquid measuring cup. Then add enough whole milk to the same measuring cup until it reaches 1/2 cup. (In a pinch, lower-fat or nondairy milks can work for this soured milk, but the cupcakes won’t taste as moist or rich.) Stir it around and let sit for 5 minutes. The homemade “buttermilk” will be somewhat curdled and ready to use in the recipe. You could also substitute sour cream.
  4. Hot CoffeeHot liquid enhances the cocoa powder’s flavor. It also encourages it to bloom and dissolve appropriately. I promise these cupcakes don’t taste like coffee at all! If you don’t drink coffee, you can use hot water. For deeper and richer flavor, though, use coffee (regular or decaf, but make sure it’s black with no sugar or cream). You can either brew it in a coffee maker or make instant coffee.
  5. Mini Cupcakes: Fill mini liners only halfway and bake for 10–12 minutes at 350°F (177°C). Yields about 3 dozen.
  6. Cake: Here’s a chocolate cake that is just as moist and chocolate-y. To make enough vanilla frosting for that 2-layer cake, use the frosting ratios from this white cake recipe. 
  7. Why Room Temperature? All refrigerated items should be at room temperature so the batter mixes together easily and evenly.
  8. More Success Tips: Be sure to check out my How to Use Piping Tips post for instructions on how to fill a piping bag, and you can also read my 10 Tips for Baking the BEST Cupcakes.
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

Leave a Comment

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

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

Reader Comments and Reviews

  1. Sally says:
    January 9, 2025

    OMG!I made the cake with the frosting,we all loved it.we are especially picky about frosting,we find most frosting too heavy and sweet.this was perfect!thank you

    Reply
  2. Nicole Lasasso says:
    December 12, 2024

    I made this cupcakes today! They were really good! However, the top came out a little hard and they are a little dry. Should I cover the top half way through or from the beginning to avoid this? Like in the Lemon Pound Cake recipe? Or would opening the oven make these sink? Any recommendations? Thank you!

    Reply
    1. Trina @ Sally's Baking says:
      December 12, 2024

      Hi Nicole! Sounds like they were simply over-baked. An easy fix for next time!

      Reply
  3. Lisa D says:
    December 10, 2024

    Hi!! I have used this recipe so often and love it! My question is while the taste and moistness is out of this world, I find the cupcake doesn’t support frosting. It’s almost fragile. I am not sure what I could be doing wrong? Thank you!!

    Reply
    1. Beth @ Sally's Baking says:
      December 14, 2024

      Hi Lisa, we recommend storing these in the refrigerator to firm up the cupcake base a bit. Hope this helps!

      Reply
  4. EM says:
    November 24, 2024

    Hi! I love your chocolate cupcake recipes. But I was wondering if you have a recipe that will give the cupcakes a dome and not come out flat.

    Reply
    1. Trina @ Sally's Baking says:
      November 25, 2024

      Hi EM! These moist chocolate cupcakes do not dome like a vanilla cupcake would. We don’t have a recipe for a chocolate cupcake that would dome.

      Reply
  5. Mickey says:
    October 24, 2024

    Is it best to pipe the frosting right after it’s made or is it easier if it’s chilled for a little while first

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

      Hi Mickey, you can pipe right away or let it chill just slightly if it seems a bit thin. The colder it is, though, the more difficult it will be to pipe.

      Reply
  6. CH says:
    October 8, 2024

    Hi. If I were to double this recipe, would I need to use the ratios from the chocolate layer cake recipe, or do I simply double all the ingredients in this recipe?

    Also, out of curiosity, why is the sugar mixed in with the dry ingredients in the layer cake recipe, but mixed in with the wet ingredients in this recipe?

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

      Hi CH, for more than a dozen cupcakes, we recommend using the batter from our triple chocolate cake. We’ve made that cake both ways, with the sugar in the dry ingredients and in the wet ingredients, and either works just fine!

      Reply
  7. Zarine says:
    October 6, 2024

    This recipe was pure perfection! I just made it for a friend’s birthday and it was a big hit. The cake was soft and spongy and the coffee really enhanced the chocolate flavor. But the real star was the vanilla buttercream frosting. Everyone couldn’t get over how smooth and tasty the frosting was and how well it paired with the chocolate cake. I will be making this again and again!

    Reply
  8. Donna says:
    September 25, 2024

    I followed the recipe for the frosting, even used 1/2 cup icing sugar more, but it’s still thin

    Reply
  9. Paige Ray says:
    September 9, 2024

    I made it was so good Sally!

    Reply
  10. Cassy A. says:
    September 5, 2024

    I would like to make these in advance would it be possible to do 2 days ahead? How should I store them if so?

    Reply
    1. Lexi @ Sally's Baking says:
      September 5, 2024

      Hi Cassy, for that length of time, we’d recommend covering tightly and storing in the refrigerator.

      Reply
  11. Sherene says:
    August 5, 2024

    Is the amount of frosting enough to cover a 2 layer 9 inch cake? Can’t wait to try this recipe!

    Reply
    1. Lexi @ Sally's Baking says:
      August 6, 2024

      Hi Sherene, you can follow the frosting ratios written in this white cake for a two layer cake.

      Reply
  12. Catherine Silver says:
    August 5, 2024

    I am going to make these in a few days for a child’s birthday party. I usually bloom cocoa with the hot coffee or boiling water in chocolate recipes. Should I do this with this recipe?
    I’m willing to try this recipe for the first time for an event, because I have used many of your recipes with great success – thanks!!

    Reply
    1. Lexi @ Sally's Baking says:
      August 5, 2024

      Hi Catherine, the hot water or hot coffee in this recipe does serve the purpose of helping the cocoa to bloom, so you should be all set! Hope the cupcakes are a hit!

      Reply
  13. Linda Emme says:
    July 31, 2024

    Can you tell me the guide on cupcakes to get the good hi-top while baking. Thank you

    Reply
    1. Lexi @ Sally's Baking says:
      July 31, 2024

      Hi Linda, filling your cupcake liners the correct amount is key. Although we don’t want super high tops like when baking muffins, filling it the proper amount prevents overflowing or sinking, giving just a slight dome that is still easy to pipe on. You can learn more about properly filling your liners and other cupcake baking tips in this post. Hope this helps!

      Reply
  14. Mallory says:
    July 14, 2024

    Such an amazing recipe! I made mini cupcakes and they were truly a HIT at a baby shower.

    Reply
  15. Delilah says:
    July 14, 2024

    Not sure what I did wrong. They came out ugly and with a very strong coffee taste. I halved the recipe and measured mostly in grams. I didn’t have buttermilk so I followed the substitution method. Disappointed, it seemed like a great recipe.

    Reply
  16. Ophelia L. says:
    June 23, 2024

    Hi, can I use this recipe to make a chocolate bundt cake instead of cupcakes?

    Reply
    1. Beth @ Sally's Baking says:
      June 23, 2024

      Hi Ophelia, we recommend you use this chocolate Bundt cake recipe instead, but without the cream cheese filling. Reduce buttermilk in that recipe to 1/4 cup and increase sour cream to 1 cup.

      Reply
      1. Ophelia L. says:
        June 24, 2024

        I will try this. Thank you!

  17. Sue says:
    June 3, 2024

    Me again. They didn’t completely collapse; they have a dimple in the middle. Just wanted to be clear!

    Reply
  18. Sue says:
    June 3, 2024

    I got 16 cupcakes, doing my best to eyeball 2/3 full, but some of my cupcakes still fell. Do you have any advice on how to portion out batter more precisely than just my (obviously) imperfect eyeball method?

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

      Hi Sue! Could they have been slightly under-baked? That will also cause cupcakes to full. For very even filling, some bakers use a larger cookie scoop or ice cream scoop to measure.

      Reply
  19. Tracy says:
    June 2, 2024

    These were amazing! I always bake your chocolate cupcakes for my kid’s parties and was curious to see the difference between your older chocolate cupcake recipe and these. The others are great, but I like these even more – so light with a deep chocolate flavor! Yum! And I frosted with your chocolate buttercream – a chocolate cake delight!

    Reply
  20. Karen Tima says:
    May 31, 2024

    I was wondering what kind of cocoa powder you recommend, and where do you get it?..

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

      Hi Karen, this recipe calls for unsweetened natural cocoa powder. We typically use Hershey’s or Ghirardelli brands, but any unsweetened natural cocoa powder will work. We find it in the baking aisle of our grocery stores, or you can order it online.

      Reply
  21. Liz S says:
    May 30, 2024

    This recipe is perfect! I used 1/4 cup buttermilk and 1/4 sour cream. I put 1/4 cocoa in my hot coffee and rest into the dry ingredients. The cupcakes are so moist and light. I had enough batter for 12 regular and 12 mini size cupcakes and a mini loaf.

    Reply
  22. Jeff says:
    May 30, 2024

    I would like to make larger cupcakes; can I double recipe to make this happen?

    Reply
    1. Sally @ Sally's Baking says:
      May 31, 2024

      Hi Jeff, for a jumbo muffin pan you mean? Doubling will promise more cupcakes if you’re increasing their size, but I fear this batter won’t bake up evenly for such large cupcakes; it may sink in the center with a cupcake that large. But I have not tested it to be certain.

      Reply
  23. Amelia says:
    May 28, 2024

    I found that my cupcakes were flat and over risen. Is 1 tsp soda and 1/2 tsp baking powder really correct? Most recipies normally have less soda to powder or at least equal. If I try this again I will definitely reduce the soda.

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

      Hi Amelia, the measurements are correct as written, but perhaps your batter was overfilled a bit? That can cause the cupcakes to over flow and then bake up a bit flat. Be sure to only fill the liners 2/3 way full. Thank you for giving these a try!

      Reply
  24. Mm says:
    May 3, 2024

    Hi can we use the dry buttermilk blend to mix with water! Will it work too?

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

      Absolutely. Follow the instructions on the buttermilk container to yield the 1/2 cup needed for this recipe.

      Reply
  25. Mia says:
    April 20, 2024

    I substituted the vanilla extract and cocoa powder with some Filipino ingredients, mostly ube. It’s my friend’s birthday tomorrow, and I’m just making some ube cupcakes for her. Love this recipe, I’m going to fill in the cupcake with frosting!

    Reply
  26. AB says:
    March 27, 2024

    Can I make the frosting ahead of time as well and refrigerate and just pipe until next day ?

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

      Hi AB! Frosting can be made and refrigerated a few days ahead of time. After refrigerating, beating in a splash of heavy cream or milk will help thin the frosting out again, if needed.

      Reply
  27. AB says:
    March 27, 2024

    What oil would be best in this recipe as substitute for veg oil?

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

      Hi AB, canola or another neutral-tasting oil is best.

      Reply
    2. Madelaine says:
      June 17, 2024

      Hello! I would like to decorate my cupcakes the day before. Can be storage in a plastic container without put them in the fridge?

      Reply
      1. Lexi @ Sally's Baking says:
        June 18, 2024

        Hi Madelaine, we’ve left these frosted cupcakes at room temperature for up to 24 hours without issue. Any longer than that and we’d recommend storing in the refrigerator. Enjoy!

  28. MM says:
    March 12, 2024

    Hi Sally, what brand of buttermilk can we use? Can we get low fat buttermilk for this recipes because it’s hard to find whole buttermilk!
    How much teaspoon coffee do we add to mix for 1/2cup ?
    Can you help me out please and thank you.

    Reply
    1. Lexi @ Sally's Baking says:
      March 12, 2024

      Hi MM, you can use low fat buttermilk in a pinch, but the cupcakes may not be as moist and rich. You can follow the directions on your instant coffee to make the 1/2 cup required for this recipe. Hope you enjoy it!

      Reply
      1. MM says:
        March 12, 2024

        Do you mean it’s best to use whole buttermilk?

      2. MM says:
        March 12, 2024

        Do you have any chocolate cupcakes that I don’t use buttermilk. Or we could substitute to use sour cream and milk together! How much should we add if it say 1/2cup? Thank you!

      3. Trina @ Sally's Baking says:
        March 12, 2024

        See recipe Notes for details on making your own DIY buttermilk if it is unavailable!

  29. Beatriz says:
    February 28, 2024

    Hello,

    My cupcakes came out flat. Any idea why? Nothing was expired. The taste was amazing but I usually prefer a dome on my cupcakes.

    Reply
    1. Trina @ Sally's Baking says:
      February 28, 2024

      Hi Beatriz! These moist chocolate cupcakes do not dome like a vanilla cupcake would.

      Reply
  30. Lindsey says:
    February 24, 2024

    These were so good! Simple to make but absolutely delicious. great recipe! Everyone couldn’t believe they were homemade.

    Reply