The Best Chocolate Cupcakes

99255 minutes
Tessa Arias

Author:

Tessa Arias

Modified: April 4, 2025

After tons of testing and tweaking, I've finally discovered the very BEST Chocolate Cupcake recipe! Check out all my recipe tips, Baking Science insights, and the full recipe below.

Watch Video

Tessa's Recipe Rundown

Taste: Chocolate overload in the best possible way!
Texture: Moist and tender without being too delicate or crumbly, topped with a beautifully light and creamy frosting.
Ease: The cupcakes are super simple, and although the frosting may seem complicated, I promise it’s super straightforward.
Why You’ll Love This Recipe: These are truly my favorite cupcakes EVER!

This post may contain affiliate links. Read our disclosure policy.

These cupcakes are seriously the BEST Chocolate Cupcakes you’ll ever try!

ultimate chocolate cupcake recipe with delicious buttercream, sliced in half to show how MOIST it is!

I love to utilize Baking Science to tweak and test recipes until I think they’re the ULTIMATE version of that recipe.

I’ve done it with my ultra-fudgy Ultimate Brownies, my perfectly chewy Ultimate Chocolate Chip Cookies, and my heavenly Ultimate Classic Cheesecake. What better recipe to perfect next than Chocolate Cupcakes?!

close up of chocolate frosting and chocolate sprinkles on a chocolate cupcake.

It took about 5 straight batches over a couple days, after previous casual tests over several months, to finally nail the recipe.

These cupcakes are perfectly moist and tender. They’re sturdy enough to hold up to plenty of frosting, with TONS of chocolate flavor. There are three kinds of chocolate in here in total!

Chef Tessa Arias piping chocolate frosting onto homemade chocolate cupcakes.
graphic of Tessa Arias of Handle the Heat holding a whisk.

How to Make the BEST Chocolate Cupcakes

The Chocolate

We can’t make stellar homemade Chocolate Cupcakes without first considering the chocolate! The cupcakes themselves use a whole 5 ounces of bittersweet chocolate AND Dutch-process cocoa powder, for as much chocolate flavor as possible.

Make sure to use freshly chopped baking chocolate and not chocolate chips, which don’t melt down as smoothly. Learn more about Chocolate in Baking here.

Do I Have to Use Dutch Process Cocoa Powder?

I recommend sticking with Dutch-process cocoa as it works differently on a chemical level compared to natural cocoa. You can find it at many gourmet food stores or online via Amazon.

Dutch Process Cocoa typically contains more cocoa butter (fat!) than your typical grocery store cocoa powder. This means more moisture, richness, and rich chocolate flavor! Learn more about cocoa powder’s fat content here.

Help! I Only Have Natural Cocoa Powder!

If you must use regular unsweetened cocoa powder in this recipe, then omit the vinegar – just note that your cupcakes may be a little more dry. Learn more about the differences between cocoa powders here.

comparison of dutch process vs natural cocoa powder.

The Secret to Super MOIST Chocolate Cupcakes

  1. This recipe calls for vegetable oil instead of butter. This creates an ultra-moist texture and an open, slightly spongy crumb. For more details on how these two fats work in baking, check out my Butter vs. Oil in Baking article.
  2. Since oil is liquid at room temperature, it leaves a sensation of moistness on the palate.
  3. Be sure to also use full-fat ingredients and don’t reduce the sugar in this recipe. Sugar actually helps contribute to moistness! Learn more about the role sugar plays in baking here.
  4. Be sure to measure your flour and cocoa powder correctly. Use a digital kitchen scale, or the spoon and level method if you don’t have a scale.
homemade chocolate cupcake in a white cupcake liner, before being frosted.

Hot Water and Espresso Powder in Chocolate Cupcakes

  • If you bake chocolate cakes or cupcakes a lot, you’ve probably seen quite a few recipes that utilize hot water, or even hot coffee.
  • This helps to dissolve and ‘bloom’ the cocoa powder to bring out as much flavor with as few cocoa lumps as possible.
  • The espresso simply enhances the chocolate flavor without actually being perceptible.

Do I Have to Use Espresso Powder?

Feel free to use hot coffee in place of the hot water and espresso powder. Instant coffee and water will also work. If preferred, simply omit the espresso powder – no modifications needed.

The Eggs

The more whole eggs a cake recipe has, the richer it’ll be. I used one of my favorite baking tricks and added an extra egg yolk. This works beautifully for brownies and cookies, so why not chocolate cupcakes? It adds more richness, chewiness, and structure so the cupcake can stand up to a generous or heavy frosting.

Be sure to use large eggs – about 56 grams in shell. Don’t use eggs larger or smaller than this, as this will impact your cupcakes.

Egg Substitute For Chocolate Cupcakes?

I have yet to find an amazing egg substitute for this recipe. I recently experimented with egg substitutes in cookies, but I haven’t found any great substitutes in cupcakes yet. Let me know in the comments below if you experiment with that!

The Leavener

After much experimentation, I chose to use baking soda, so I had to add vinegar to the recipe. Why? Because without it, there wasn’t enough acid for the baking soda to react with. Dutch-process cocoa powder has been neutralized of its acid, so it was only the sour cream and the small amount of brown sugar.

For tall, tender, light cupcakes, we need the right amount of leavening, so baking soda + vinegar does the trick. This is why you omit the vinegar if you’re using natural cocoa powder.

The Flour

After testing all-purpose vs. bread flour, I found that all-purpose worked just as well. Since AP flour is more readily available, I stuck with that to make this recipe as simple as possible.

Sour Cream in Chocolate Cupcakes?

I find that sour cream adds such a lovely richness and balance of flavor to Chocolate Cupcakes. Full-fat plain yogurt makes a good alternative if needed.

two photos, one of melted chocolate, cocoa powder and espresso powder, ready to be combined; and the other photo after mixing til smooth, and now ready to be used in the batter.

The Chocolate Buttercream Frosting

When I originally published this recipe, it used a more complicated Chocolate Swiss Meringue Buttercream as the frosting. Although delicious, it’s more advanced and requires more time and special equipment.

In the interest of making this recipe simpler but still delicious, I swapped in a special version of American-style chocolate buttercream.

The frosting contains cooled chocolate ganache for pure chocolate flavor and fudgy richness. I like to use semisweet chocolate, but feel free to use milk or bittersweet chocolate instead.

For an extra smooth, flavorful, rich frosting, opt for organic powdered sugar and high-fat cocoa powder.

My Favorite Cupcake Tools:

  • Cupcake liners: These cupcake liners are my favorite for cupcakes that don’t stick to the liner.
  • Piping tip: I used the Ateco #828 piping tip for swirling the chocolate frosting on these cupcakes – but any large open star tip will work.
  • Piping bags: I love these disposable piping bags.

Can I Make a Layer Cake with This Recipe?

Check out my Best Chocolate Cake recipe for that! It’s very similar to this recipe. You can also check out my guide for How to Convert Cupcakes Into Cake (and vice versa!).

How to Store Chocolate Cupcakes

Complately cooled Chocolate Cupcakes can be stored inside an airtight container at room temperature for up to 1 day.

Can You Freeze Chocolate Cupcakes?

  • If storing for longer than a week, wrap unfrosted cupcakes individually in plastic wrap, to prevent freezer burn and taste transference.
  • Place cupcakes inside a freezer bag on a shelf in your freezer where they won’t get smashed.
  • Freeze for up to 3 months.
  • Unwrap the cupcakes and allow them to defrost at room temperature for about 1 to 2 hours.
best ever chocolate cupcakes with chocolate frosting on a white background
moist chocolate cupcake with chocolate frosting and chocolate sprinkles

How To Make

Best Chocolate Cupcakes

Yields: 12 to 15 cupcakes
Prep Time 30 minutes
Cook Time 25 minutes
Total Time 55 minutes
Review Recipe Print Recipe
Yields: 12 to 15 cupcakes
Prep Time 30 minutes
Cook Time 25 minutes
Total Time 55 minutes
Review Recipe Print Recipe
After tons of testing and tweaking, I've finally discovered the very BEST Chocolate Cupcake recipe! Check out all my recipe tips, Baking Science insights, and the full recipe below.

Email This Recipe

Enter your email, and we’ll send it to your inbox.

GDPR Consent

Ingredients

For the cupcakes:

  • 5 ounces (142 grams) bittersweet baking chocolate, finely chopped
  • 1/3 cup (28 grams) Dutch-process cocoa
  • 1 teaspoon instant espresso powder
  • 1/2 cup (118 grams) boiling water
  • 3/4 cup (95 grams) all-purpose flour
  • 1/2 cup (100 grams) granulated sugar
  • 1/2 cup (100 grams) packed light brown sugar
  • 1/2 teaspoon fine sea salt
  • 1/2 teaspoon baking soda
  • 1/2 cup (113 grams) sour cream (or plain full-fat yogurt), at room temperature
  • 1/4 cup (56 grams) vegetable oil
  • 2 large eggs plus one egg yolk, at room temperature
  • 2 teaspoons white vinegar
  • 1 teaspoon vanilla extract

For the frosting:

  • 1/2 cup (119 grams) cold heavy whipping cream
  • 4 ounces (113 grams) finely chopped semisweet chocolate (don't use chocolate chips)
  • 3 sticks (340 grams) unsalted butter, at a cool room temperature
  • 2 cups (250 grams) powdered sugar, sifted (preferably organic*)
  • 1 cup (85 grams) Dutch-process cocoa powder, sifted
  • 2 teaspoons vanilla extract
  • 1/4 teaspoon fine sea salt

Instructions

Make the cupcakes:

  • In a medium heatproof bowl, combine the chocolate, cocoa powder, and espresso powder. Pour hot water over mixture. Cover and let stand for 5 minutes. Whisk mixture gently until smooth, then set aside to cool.
  • Meanwhile, preheat oven to 350°F. Line a standard 12-cup muffin tin with paper liners.
  • In a small bowl, whisk together the flour, sugars, salt, and baking soda.
  • Whisk sour cream, oil, eggs, egg yolk, vinegar, and vanilla into the cooled chocolate mixture until smooth, scraping down the sides and bottom of the bowl as you mix. Stir in the flour mixture until smooth, being careful not to overmix.
  • Using a spring-loaded scoop, divide the batter evenly among prepared muffin cups until 3/4 full. Bake until cupcakes are set and firm to the touch, about 17 to 18 minutes.
  • Let cupcakes cool in pan on a wire rack for 10 minutes before removing from pan to cool completely, about 1 hour. Cupcakes can be stored in an airtight container at room temperature for up to 1 day.

Make the frosting:

  • In a small saucepan, bring the cream to a simmer. Remove from heat and add the chopped chocolate. Let stand for a few minutes before stirring until smooth. Set aside and cool to approximately 75°F or until thickened but still pourable.
  • In the bowl of a stand mixer fitted with the paddle attachment, add the butter, powdered sugar, cocoa, vanilla, and salt. Mix on low speed until well blended and then increase the speed to medium and beat for another 3 minutes, or until very well blended, scraping down the bowl as needed.
  • Reduce speed to medium-low and add the cooled chocolate cream mixture. Continue beating until the frosting has lightened in color and texture, about 2 minutes more, scraping down the bowl as needed.
  • Frosting can be made 1 day ahead of time and stored in an airtight container in the refrigerator. Warm frosting in the microwave for 5 to 10 seconds and stir until creamy again before frosting cupcakes.
  • Frosting can also be transferred to a ziptop bag and frozen for up to 1 month. Defrost in the fridge overnight then rewhip in the stand mixer until light and smooth.

Notes

Cupcake yield will depend on the size of your muffin tin cavities. If they’re smaller, you may need two pans to make 15 total cupcakes.
You can use 1/2 cup hot strongly brewed coffee in place of the espresso powder + hot water.
If using natural cocoa powder, omit the vinegar.
For the frosting, opt for organic powdered sugar made with tapioca starch, such as Wholesome, instead of cornstarch, for a smoother, silkier texture.

This recipe was originally published in 2016 and updated to make the cupcakes more moist and tender, with an easier frosting. New photos by Ashley McLaughlin.

0 0 votes
Recipe Rating
guest
Recipe Rating




992 Comments
Inline Feedbacks
View all comments
kinga
kinga
3 years ago

What bittersweet chocolate did you use? I can’t seem to see that anywhere. Making for a grad party.

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  kinga
3 years ago

Hi there! Tessa uses Ghirardelli Bittersweet chocolate! Most supermarkets should carry it, and Target typically sells it, too 🙂

kinga
kinga
Reply to  Kiersten @ Handle the Heat
3 years ago

Thank you. I don’t live in the US so I used 55%Lindt and they turned out and were very good. Thank you for the reply.

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  kinga
3 years ago

Wonderful!! So happy to hear that!!

Mandy
Mandy
3 years ago

This recipe is so amazing! Unfortunately, I’ve recently developed a wheat allergy, but I love this recipe so much, so I tried making the recipe again using Bobs Red Mill 1:1 GF Baking flour and they turned out so great and were super delicious. Thank you!

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Mandy
3 years ago

I’m glad that substitute worked for you, Mandy! 🙂

Bobbie N
Bobbie N
3 years ago

My goodness this recipe is perfection! The batter tasted great straight out of the oven, was incredible after it was topped with icing, and it was still amazing 3 days later! Both kids and adults loved them!!! Thank you for this amazing recipe it made me look like a pro baker!

Kiersten @ Handle the Heat
Kiersten @ Handle the Heat
Reply to  Bobbie N
3 years ago

Hi Bobbie! SO thrilled that you loved this recipe so much! We love that it made you feel like a pro baker!! Happy baking 🙂

Ailyn
Ailyn
3 years ago

Emily hi
If I don’t have Dutch process cocoa how can I substitute?
Ailyn

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Ailyn
3 years ago

Hi Ailyn! Tessa actually explains what to do if you don’t have Dutch process cocoa in the pink box above the recipe 🙂 Enjoy your cupcakes!

Jennifer
Jennifer
3 years ago

Do you happen to know how much batter is best to put in a standard sized tin? Oftentimes with chocolate cupcakes they rise excessively and I have overflow. I use 1/4 c batter with cupcake recipes but your recommendation is to fill them higher than I typically would.

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Jennifer
3 years ago

Hi Jennifer! 3/4 full rose up beautifully for us, but when you’re not sure about how much batter is best, we recommend testing it out. Bake two cupcakes prior to baking the entire batch, one filled 2/3 full, the other 3/4 full, for the designated time, and see which you prefer. Then you’re not “messing” up an entire batch and can continue with baking. I hope that helps!

rina
rina
3 years ago

How would I make these as mini cupcakes? do I have to change the baking time or temp?

rina
rina
3 years ago

can I make mini cupcakes instead? how would I convert the temp/time for mini cupcakes?

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  rina
3 years ago

Hi Rina! Sure! Follow the instructions in our article about converting recipes HERE. Let us know what you think of this recipe when you give it a try 🙂

Mary
Mary
3 years ago

Do you think I could use these as the base for Black Forest Cupcakes? I’ve been looking for a good recipe but I’m picky about chocolate cake and want it to be dark, moist, and delicious. I’m just worried these won’t handle the moistness of a black forest filling. (I’ve never made filled cupcakes or Black Forest cake but my friend requested them for his birthday so I’m trying to figure it out!). Thanks.

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Mary
3 years ago

Hi Mary! While we haven’t tried that specifically, these cupcakes hold up well to a good amount of buttercream, I’m sure adding a filling will be completely fine 🙂 If you’ve not made filled cupcakes before, just a helpful hint to use an apple corer to remove the center of the cupcakes. It makes the process go so smoothly and quickly! Please let me know if you have any other questions, and let me know how your cupcakes turn out!

Petya
Petya
3 years ago

Best chocolate cupcakes i have ever made! I tried dozens of recipes over the years, most of them have common ingredients, technics and taste, but these are unique to me. Very delicate crumb, fudgy, but not wet and the taste is an irresistible chocolate flavor. Thank you for the recipe!

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Petya
3 years ago

So happy to hear how much you love this recipe, Petya!

Nadia
Nadia
4 years ago

Hi! I was wondering if it’s possible to make this recipe as a CAKE please? Thank you! 🙂

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Nadia
4 years ago

Hi Nadia! Check out the bottom of the pink tip box that’s listed above this recipe, Tessa links her favorite Best Chocolate Cake recipe as well as a guide on how to convert cupcakes into cake 🙂

Chan Bell
Chan Bell
4 years ago

Can you use cake flour? Also if you use brewed coffee do you omit any of the boiling water?

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Chan Bell
4 years ago

We have only tested bread flour and AP flour, so I can’t say for sure! Yes, if you use hot coffee in place of the espresso powder and hot water, you’ll use the exact amount (omiting the hot water). I hope that helps!

diane
diane
4 years ago

should unsweetened chopped chocolate be 4 ounces? recipe ingredient lists as 5ounces. The chocolate cocoa coffee and water mixture was fudgy.

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  diane
4 years ago

Hi Diane! No, the chocolate amount is correct as written. The mixture will be a bit fudgy and thicken as the ingredients are mixed together and cooled. How did your cupcakes turn out?

Diane
Diane
Reply to  Emily @ Handle the Heat
4 years ago

I added more boiling water at the end to loosen up the batter because it was like cookie dough! They did turn out! Only thing I can think of that may have been the problem was that I did not let the chocolate mixture stand for 5 minutes before mixing it until smooth. It may have seized.
I thought that it was the amount of chocolate that I used because in your intro you mentioned 4ounces.. and the actual recipe state 5 ounces. Regardless.. they were fine! I will attempt again ! Thankyou!

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Diane
4 years ago

Gotcha! So sorry about that, I see the error. The recipe is correct at 5 ounces, but I updated the intro text (we must have been daydreaming about the frosting haha!). Thanks for your feedback!

Jessica
Jessica
Reply to  Emily @ Handle the Heat
3 years ago

Hi! Just confirming if you can use unsweetened baking chocolate instead of bittersweet (as written above) 🙂 Would like to try these and i have some unsweetened baking chocolate in my pantry.

Emily @ Handle the Heat
Emily @ Handle the Heat
Admin
Reply to  Jessica
3 years ago

Hi Jessica! I’m sorry, that was an error written on my part in response to the reader’s comment about the measurement of the chopped chocolate used. We’ve only used bittersweet chocolate with these cupcakes; however you’re welcome to try unsweetened! Just know that your cupcakes will be less sweet. Let us know how it goes if you give it a try 🙂

1 41 42 43 44 45 53