4.84 from 517 votes

Easy Chocolate Cupcake Recipe

Jump to Recipe ▼

1,599 Comments

Servings: 24 cupcakes

32 mins

This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Please read my disclosure policy.

My easy chocolate cupcake recipe yields two-dozen light, fluffy, and chocolatey cupcakes that are better than a box-mix (and just as easy!). Made quickly and easily in one bowl, they can be baked and frosted in less than an hour. Recipe includes a how-to video! 

head-on view of a chocolate cupcake in a hot pink cupcake wrapper topped with piped chocolate frosting and rainbow sprinkles

The Perfect Chocolate Cupcakes

You’re going to be so happy you found this recipe. After all, who doesn’t love a perfectly balanced chocolate cupcake (preferably topped with a generous swirl of chocolate buttercream). My recipe is incredibly moist, so soft, and so perfectly fluffy. Taste wise, they’re sweet without being too sweet and have a pronounced chocolate flavor (I’ll share a few tricks to pull this off). Plus, they’re incredibly quick and easy to make in just one bowl!

I first published this recipe six years ago and it’s been a huge hit with my readers and my own faithful go-to chocolate cupcake recipe (I prefer my slightly heavier chocolate cake recipe for cakes). However, the original recipe made a large, awkward number of cupcakes, so I’ve scaled down the recipe to now make a neat 24 cupcakes with subtly domed tops.

What You Need

overhead view of cupcake ingredients including cocoa powder, milk, flour, eggs, and more

Making chocolate cupcakes from scratch is just as easy as using a box mix, but they taste so much better. Here are a few of the ingredients you’ll be using today:

  • Cocoa powder. I recommend using natural, regular cocoa powder in your chocolate cupcakes. Dutch process will change the flavor and could impact the texture (if the baking soda isn’t fully neutralized), so I’d recommend sticking with the recipe as written.
  • Hot water/coffee. It is very important that you use a hot liquid (the hotter the better, but be careful not to splash yourself with it while mixing) as this reacts with the cocoa powder, causing it to “bloom” and fully develop the rich flavor of the cocoa.
  • Oil. Don’t be tempted to replace the oil with melted butter, please! Using oil makes these chocolate cupcakes super moist without weighing them down. The cocoa powder (when bloomed by the hot liquid) provides plenty of flavor, so butter is unnecessary (never would have thought I would type those words!) and actually yields a less-desirable cupcake.
  • Cornstarch. I’ve updated this recipe to include a tablespoon of cornstarch. One of my favorite secret ingredients (you may recognize it from my best chocolate chip cookie recipe), this simple addition keeps them tender, soft, and fluffy and it also gives these formerly completely flat cupcakes a slight rounded dome.

SAM’S TIP: If you choose to use coffee, your chocolate cupcakes will not taste mocha-esque; rather the coffee helps to enhance the rich chocolate flavors of the cocoa powder. I recommend you use it!

Remember, this is just an overview of the ingredients I used and why. For the full recipe please scroll down to the bottom of the post!

How to Make My Favorite Chocolate Cupcake Recipe

Make the Batter

collage of four photos showing wet ingredients being added to dry to make a chocolate batter
  1. Whisk all of the dry ingredients and sugar together.
  2. Add the oil, egg, and vanilla and mix to combine. It’ll seem a bit stiff, dry and crumbly, but just keep mixing and go until all of the dry ingredients are moistened. Feel free to use your electric mixer for this step, but I usually just use a spatula.
  3. Slowly drizzle in the milk and continue stirring until the batter looks uniform.
  4. Gradually and carefully add the hot liquid and mix until everything is completely combined.

SAM’S TIP: While you might be able to get away with using buttermilk straight from the fridge, room temp eggs are key here! If your eggs are cold, straight from the fridge, they will not incorporate well into your dry ingredients, leaving you with a batter that’s clumpy, clunky, and not uniform. This can lead to sunken or otherwise wonky cupcakes.

Divide the Batter & Bake

collage of two photos showing cupcakes before and after baking

It’s very important to not fill your cupcake liners higher than ⅔ full. If you do, the batter will spread out over the tops and the resulting cupcakes will have flat tops that are likely to sink in on themselves. Opt for under-filling rather than over-filling, and if you do happen to have leftover batter, make extra cupcakes or discard it.

  1. Evenly divide the batter among a lined cupcake pan and bake for 17-19 minutes.
  2. Let cupcakes cool completely before frosting.

SAM’S TIP: I recommend baking one pan of chocolate cupcakes at a time, just in case your oven bakes unevenly or does something funky while baking, or even just in case you accidentally leave the first batch in too long. The batter will be fine to wait on the counter while the first batch bakes!

While you can always stick with chocolate buttercream (shown here), my chocolate cupcake recipe tastes lovely with just about any topping. Some of my top recommendations are brown butter frosting (my husband’s favorite pairing), marshmallow frosting, cream cheese frosting, peanut butter frosting (perfect for peanut butter & chocolate lovers!), Swiss meringue buttercream, or vanilla frosting.

three chocolatey cupcakes topped with chocolate frosting and sprinkles on a white platter

Frequently Asked Questions

My cupcake batter is watery; what happened?

This chocolate cupcake batter will be very, very thin–much different from the thick batter of my vanilla cake recipe. It’ll seem almost watery/soupy. This is normal and means you’ve done everything right! 

Can I use this chocolate cupcake recipe to make chocolate cake?

While I do have a great chocolate cake recipe, you can use this recipe to make a two layer 8″ or 9″ cake. I provide instructions on how to do this in the recipe notes.

Can I leave out the cocoa powder to make vanilla cupcakes?

I don’t recommend it. This batter was carefully developed and the inclusion of the cocoa is critical for the proper texture. Even if you swapped an equal amount of flour, it’s not likely to turn out nearly as well as a recipe that was actually designed to be a vanilla cupcake. I suggest you make my easy vanilla cupcake recipe instead!

cupcakes in pink and purple cupcake wrappers topped with piped frosting and sprinkles

With only 15 minutes to prep and only one bowl to dirty, what are you waiting for!?

Enjoy!

Let’s bake together! I’ll be walking you through all the steps in my written recipe and video below! If you try this recipe, be sure to tag me on Instagram, and you can also find me on YouTube and Facebook

head-on view of a chocolate cupcake in a hot pink cupcake wrapper topped with piped chocolate frosting and rainbow sprinkles
4.84 from 517 votes

Truly the Best Chocolate Cupcake Recipe

These chocolate cupcakes are light, fluffy, and so much better than a box mix. Made quickly and easily in just one bowl, they can baked and frosted in less than an hour.
Recipe includes a how-to video! 
Prep: 15 minutes
Cook: 17 minutes
Total: 32 minutes
Servings: 24 cupcakes
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients

  • 1 ⅔ cups (333 g) granulated sugar
  • 1 ½ cups (188 g) all-purpose flour
  • cup (65 g) natural cocoa powder, see note 1
  • 1 Tablespoon cornstarch, see note 2
  • 1 ½ teaspoons baking powder
  • 1 ¼ teaspoons baking soda
  • 1 teaspoon table salt
  • ½ cup (118 ml) avocado, canola or vegetable oil
  • 1 large egg + 1 large egg yolk, room temperature preferred
  • 2 teaspoons vanilla extract
  • cup (157 ml) whole milk, room temperature preferred
  • 1 cup (236 ml) hot coffee, see note 3, may substitute hot water
  • 1 batch chocolate buttercream, or preferred frosting

Instructions 

  • Arrange rack to center of oven and preheat oven to 350F (175C). Line two 12-count muffin tins with paper liners.
  • In a large bowl, whisk together sugar, flour, cocoa powder, cornstarch, baking powder, baking soda, and salt (I make this recipe with an electric mixer but it can be done by hand using a whisk and spatula instead).
    1 ⅔ cups (333 g) granulated sugar, 1 ½ cups (188 g) all-purpose flour, ⅔ cup (65 g) natural cocoa powder, 1 Tablespoon cornstarch, 1 ½ teaspoons baking powder, 1 ¼ teaspoons baking soda, 1 teaspoon table salt
  • Add canola oil, egg, egg yolk, and vanilla extract and stir until batter is combined (it will be a bit dry and crumbly but all of the flour mixture should be moistened before proceeding).
    ½ cup (118 ml) avocado, canola or vegetable oil, 1 large egg + 1 large egg yolk, 2 teaspoons vanilla extract
  • Drizzle in milk while stirring and stir until batter is uniform and completely combined.
    ⅔ cup (157 ml) whole milk
  • Gradually add hot coffee or hot water (take care not to burn yourself!) and stir until liquid is completely incorporated into the batter and you have a smooth chocolate batter. Scrape the sides and bottom of the bowl to ensure everything is well-combined. The batter will be very thin, this is normal!
    1 cup (236 ml) hot coffee
  • Evenly divide batter into prepared muffin tin, but take care to fill liners between ½ and not more than ⅔ of the way full, this is typically about 3 Tablespoons of batter or less per cupcake liner. Over-filled liners will result in cupcakes with flat tops and they may cave in on themselves. If you have excess batter, discard it (or make extra cupcakes!).
  • Transfer one pan of cupcakes to 350F (175C) preheated oven and bake for 17-19 minutes or until a toothpick inserted in the center comes out with a few moist crumbs (or clean). Allow to cool for 10-15 minutes in baking pan before carefully removing to cooling rack to cool completely before frosting (I like to use a knife to gently pry up the cupcake from the bottom and then carefully lift it out to a cooling rack). Repeat with second pan of cupcakes
  • Once cupcakes have cooled, frost with my chocolate frosting or your favorite frosting recipe.
    1 batch chocolate buttercream

Notes

Cocoa powder

I recommend using natural unsweetened cocoa powder for best results. However, in a pinch Dutch process cocoa powder can be used instead, but note that the flavor will be slightly different and the cupcakes will be darker.

Cornstarch

Cornstarch is my secret ingredient, it makes the cupcakes tender and fluffy and gives them the perfect, slight domed tops. However, if you do not have it on hand you may omit it, note that your cupcakes will likely be flatter though.

Hot coffee/hot water

A hot liquid is essential to properly blooming the cocoa powder (which gives the cake a pronounced, rich chocolate flavor). I like to use hot coffee because the coffee flavor enhances the chocolate, making the flavor even richer and deeper. However, you can just use hot water instead. The hotter the liquid the better; boiling is fine, just be careful! Please note I don’t recommend using other hot liquids such as hot chocolate which often have other additives and sugar added and could adversely affect the final outcome.

Frosting

I used my Ateco 848 tip to pipe the frosting on the cupcakes in the photos above and in the video. If you wish to frost all of your cupcakes this generously you will want to double the frosting called for in the recipe that I linked to, but honestly you don’t need to and a more modest amount (half the amount shown) works great and allows the cupcake flavor to really shine, it just didn’t look quite as nice in the pictures!

Baking chocolate cupcake batter in different sized pans

You may bake these cupcakes in two 8” pans for 35-37 minutes or until a toothpick inserted in the center comes out clean with a few moist crumbs.
In two 9” pans the cakes will take a bit less time, start checking at 30-32 minutes.
This recipe should also work just fine in a 13×9” pan, but I would keep an eye on it as I haven’t tested it in this size pan yet.

Original recipe

I’ve received a lot of requests for the original recipe. As I mentioned in my post, this current recipe is the one I recommend, it’s simply scaled down from that one to make an even 24 cupcakes, to prevent the overflowing issue many people were having, and a bit of cornstarch has been added to improve structure. It’s a slightly better cupcake recipe for the changes and I recommend using the recipe as seen here. However, since so many of you have asked, here is the original recipe. Please note that I am not accepting comments or questions on the original and recommend you use the recipe I have published here currently. 

Nutrition

Serving: 1cupcake | Calories: 96kcal | Carbohydrates: 22g | Protein: 2g | Fat: 1g | Saturated Fat: 1g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 1g | Cholesterol: 9mg | Sodium: 178mg | Potassium: 61mg | Fiber: 1g | Sugar: 14g | Vitamin A: 22IU | Calcium: 32mg | Iron: 1mg

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

Like this? Leave a comment below!

cupcake topped with lots of chocolate frosting missing a big bite

My chocolate cupcake recipe was originally published in March of 2016. A few small modifications were made to scale the recipe down to 24 even cupcakes without changing the texture, and the post has been updated to be more informative and a how-to video has been added.

Cover photo of my gourmet cookie ebook.

Now Available!

Get my most popular bakery-style cookie recipes in one beautiful ebook. Foolproof recipes and bakery-worthy cookies you can make at home.

You May Also Like:

4.84 from 517 votes (80 ratings without comment)

Leave a comment

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

Recipe Rating




1,599 Comments

  1. Jeff says:

    Hey, I was wondering, if I only have a 12-muffin tray, can I put half of the batter aside and use it later, once the other half is ready? And if I can, should I keep it in the fridge until I use it?

    1. Sam says:

      Hi Jeff! I would just leave the batter at room temperature. You will want to bake the second batch as soon as you can but it should be fine at room temperature for a little while. 🙂

  2. Laura says:

    3 stars
    I made this recipe exactly as the instructions and the video. Although flavor was good, the batter over expanded in the oven and made a huge mess. I filled them as per instructions 3/4 full. The cupcakes consistency was too soft and some didn’t stay up when frosted. They were moist and flavor was good but not sure why this happened.

    1. Sam says:

      I am so sorry this happened, Laura! I’m really confused as to why this happened. What is your altitude? This seems very odd.

  3. Erin says:

    Is it possible to use Dutch-processed cocoa instead of natural? Thanks in advance!

    1. Sam says:

      Hi Erin! In this recipe I’m not sure how it would turn out. 🙁

  4. Emily says:

    How many calories would it be without the frosting

    1. Sam says:

      Hi Emily! I don’t have that calculation, but My Fitness Pal has a good free calculator you can use. 🙂

  5. Monica says:

    Hi, I would love to make this cup cake but I would love to just make one (special occasion). Is there a recipe you can share for a single cupcake that looks as delicious as these?! Thanks

    1. Sam says:

      Hi Monica! Since this recipe makes 24 cupcakes it may be a little difficult to cut it down to be a single cupcake. You can bake all of them and freeze the ones you don’t use for later use.

  6. keeks says:

    5 stars
    The best cupcakes!! Would highly recommend!

    1. Sam says:

      I’m so happy you enjoyed! 🙂

  7. angel says:

    hi what kind of milk should i use? Is it fresh milk? Or evaporated milk?

    Thanks

    1. Sugar Spun Run says:

      Hi, Angel! You want to use fresh whole milk for this recipe. I hope that you enjoy it! 🙂

      1. Kate says:

        This is my new favorite chocolate cupcake recipe! I’m not a big cake person but after making these I’m hooked! They are so light and airy which compliments a thick frosting. I’ve made these with peanut butter frosting and Oreo frosting and I’m obsessed. Follow the recipe and you won’t be disappointed (even when you think something goes wrong because the batter is basically a liquid 🤪).

      2. Sam says:

        I am so glad you enjoyed them so much, Kate! 🙂

  8. Maia Spencer says:

    Hi!
    I was wondering can I use cake flour instead of all purpose flour?
    I usually use cake flour when I bake cakes. I notice that with cupcakes I always see all purpose flour in the ingredients.

    1. Sugar Spun Run says:

      Hi, Maia! I have not tried it personally, however it should be fine. To substitute cake flour for all-purpose flour use 1 cup plus 2 tablespoons cake flour for every cup of all-purpose flour. Keep me posted on how your cupcakes turn out. 🙂

    2. Joy says:

      5 stars
      I’m not usually fond of cupcakes but these are the best cupcakes I’ve ever had. I’ve made these twice already for my children’s birthdays and we have really enjoyed the cupcakes. Thank you for sharing!

      Didn’t make the frosting though. Maybe next time.

      1. Sam says:

        I am so glad you enjoyed the cupcakes so much, Joy! 🙂

  9. Hima says:

    Love this recipe! My family really enjoyed it and now I don’t have to go looking for a new recipe for either chocolate cake or cupcakes, since this recipe can be used for both. I reduced the sugar (1.5 cups) since my family is not a huge fan of sweetness.
    Quick questions regarding stacking a cake: If I am making a two layer cake, should I use simple syrup for this cake or will it be fine as is?

    1. Sam says:

      Hi Hima! I would recommend using my chocolate cake recipe if you want to make a cake. There is no need for simple syrup with that recipe. 🙂

    2. Maica says:

      Hi, can i use coconut oil instead of canola? Thanks.

      1. Sugar Spun Run says:

        Hi, Maica! The coconut oil has a strong flavor therefore I do not recommend it. You want to use a neutral flavor oil; vegetable or grapeseed will work as a substitute. 🙂

  10. Beenzu says:

    I am yet to make these cupcakes but I don’t have baking soda, Will it strongly affect the mixture if I don’t add it?

    1. Sam says:

      You need the baking soda here to get any type of rise on the cupcakes. 🙂

  11. Ore says:

    5 stars
    These were so delicious . I recently started baking again this season and let me just say your recipes never fail to disappoint me . deeelicious

    1. Sam says:

      I’m so happy to hear you enjoyed! Thank you so much for commenting, I appreciate it!

  12. Khristine borromeo says:

    5 stars
    I always go to your website for recipes. All your recipes are great! I just did this chocolate cupcake and it is super moist and taste great!

    1. Sam says:

      Thank you so much, Khristine! I am so glad you have enjoyed everything so much! 🙂

  13. Anonymous says:

    Awesome! The best cupcakes I’ve ever made. The frosting was a bit sweet but the cupcakes were super moist and tasted great! Keep up the good work and please post new recipes for cake frostings!

    1. Sam says:

      Thank you so much! I have a pretty extensive list of frostings on the blog already, but you can be sure I will always be adding more. 🙂

  14. Elizabeth says:

    These were probably the BEST chocolate cupcake I have ever made! Super moist, nice chocolate flavor and not too sweet! Absolutely delicious!
    I used pre-made icing so I can’t speak for that but the cupcake itself was great! We made this back in May and I will be making them today and again next week for my daughters birthday and her party!

    1. Sam says:

      I am so glad you enjoyed them so much, Elizabeth! 🙂

  15. Amber says:

    5 stars
    Super moist cupcakes! Better than any box recipe or other recipe in general. The icing was perfect! Not too sugary like many icing recipes. Love love this recipe.
    Happy baking everyone!

    1. Sugar Spun Run says:

      I am so glad that you enjoyed them, Amber! Thanks for commenting. 🙂