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!

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

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 cookies), 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

- Whisk all of the dry ingredients and sugar together.
- 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.
- Slowly drizzle in the milk and continue stirring until the batter looks uniform.
- 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

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.
- Evenly divide the batter among a lined cupcake pan and bake for 17-19 minutes.
- 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.

Frequently Asked Questions
This chocolate cupcake batter will be very, very thin–much different from the thick batter of my vanilla cake. It’ll seem almost watery/soupy. This is normal and means you’ve done everything right!
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.
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!

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

Truly the Best Chocolate Cupcake Recipe
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
Recommended Equipment
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
Nutritional information is based on third-party calculations and should be considered an estimate only. Actual nutritional content will vary based upon brands used, measuring methods, cooking method, portion sizes, and more.

Related Recipes
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.
Eliza
You will not believe how many times I have made these cupcakes they are simply delicious and have been a life saving snack I brought them into school for my birthday and everyone loved them as well as the icing ๐๐
This recipe is delicious
Sam
O, I would believe it! ๐ I am so glad you enjoyed them! ๐
lauren
i was wondering what the 2 extra tablespoons of flour was for i didn’t know if i was to put it with the other flour so i didn’t use it
Sam
Yes you add it with the other flour. I hope they still turned out for you.
lauren
Yes they did thank you
Emily
I’ve made these cupcakes already and they are A-MAZ-ING! I was wondering if this could be made as a full cake in a 13×9 glass baking dish? I saw the 2 8″ rounds but how long would you bake this size? Thanks in advance!
Sam
Hi, Emily! Yes this will work in a 9 x 13 pan. I would think it would take about 45 minutes on the same 350 degree temperature. ๐
Eliza
I did that for my brothers birthday he loved it
June
Awesomely delicious! Thanks, Samantha! I’m a hardcore chocolate lover (queen) and I take my chocolate very seriously, as well as have high expectations of it, but this is the BEST THING I’VE EVER EATEN! Thank you so much Samantha! Please make more chocolate recipes!
Sam
Thank you so much, June! I am so glad you enjoyed the cupcakes. ๐
Gemma
Hi do you have rainbow bit cupcake recipe too? Thanks
Sam
The closest thing I have is my Pinata Cupcakes. ๐
Deti
The perfect cupcake ๐
Sam
Thank you very much! ๐
Kirsten
Omg these are so amazing. I donโt even like chocolate cupcakes but I canโt stop eating these
Sam
I am so glad you enjoy them, Kirsten! ๐
Meaghan S.
This is my first time venturing out of the world of cookies and into cake/cupcake territory. I’ve always wanted to try making them because I love shows like Cupcake Wars, but they make it look so hard, lol! This recipe is absolutely AMAZING! I did have some issues trying to get my cocoa powder to break apart, but that is definitely an operator error and doesn’t seem to have affected anything. I also used extra virgin olive oil instead of canola oil. These cupcakes are very fluffy and seem to melt in the mouth. I might add a little more vanilla next time, but that’s just a personal preference. Thank you so much for providing such an easy, accessible recipe for us amateurs out there! I will definitely recommend this to my friends and family ๐
Sam
I am so glad you enjoyed them Meaghan! ๐
rg
i was looking for a jew cupcake recipe for my daughter’s special helper day in her pre school.. then i came across your recipe.. and all i can say it sooooo soooo yummy…my daughter loves it.. and so with her classmates and her teachers… thanks for this amazing recipe.. this is for keep for sure๐
Sam
I am so glad everyone enjoyed them! ๐
Lauren
Lovely recipe, they taste great. The only issue we had was that the cake was sticking to the cup cake paper so they fell apart a bit when eating. Anything to suggest to stop this happening? We ate them when they were properly cooled. Should I grease the cup cake liners? Or use silicone ones instead?
Sam
I have not heard of this issue happening before. The cupcake liners should be greased when you buy them. You could certainly try the silicone liners. I hope they work out for you. ๐
Megan F.
Love this recipe! I followed it exactly as written, and it turned out perfect! I ended up baking a double-layer (circular) cake. Even my husband, who isn’t a big cake eater, said it was moist, fluffy, and tasted good. Thanks so much – This is definitely a keeper!
Sam
I am so glad everyone enjoyed it, Megan! ๐
Pallavi
This is the ultimate cup cake recipe. The cake was super moist and airy.. Loved this one… This recipe will stay for ever with me.. Thanks a lot for sharing..
Sam
I am so glad you enjoyed it! โบ๏ธ
Rupali Gupta
Loved the recipe!! Thank you for making it so simple. I ended up with 3 bowls – to soft dry, mix wet and beat the eggs ๐
Sam
I am so glad you enjoyed them! โบ๏ธ
Alanna Paradis-Beland
What Happens if you use cake flour in
This recipe instead of all purpose?
Sam
I am not sure as I have not tried it. If you do try it, let me know how it turns out for you.
Rebecca
I tried these and was very excited. Unfortunately, while they were very moist they basically just fell apart after I pulled them out of the cups. Wonโt do again. The taste was pretty good though. Iโll probably mix with frosting and make cake balls.
Sam
Were they still warm when you pulled them out of the cups? They’re a bit delicate when still warm so I wasn’t sure if that might be it. I am glad you enjoyed the taste, though, and thank you for commenting Rebecca!
Adiba
I just tried this today and I was really disappointed in the recipe. I saw it had a lot of good reviews, but as soon the cupcakes cooled and i tried to peel off the wrapper it barely came off/
Sam
Hi, Adiba. I am so sorry you had this problem. It sounds like it could be a problem with the cupcake liners you used. What brand was it?
Ela
Hi can I store the extra batter in the ref. Then bake it the next day?
Sam
Hmm I’m not sure how it would hold over til the next day, I’m sorry..