Chocolate cupcakes from scratch are easy to make and better than a box mix! Make this easy cupcake recipe for a decadent dark chocolate dessert!
While I love experimenting with creative desserts, chocolate cake is a classic recipe that I never grow tired of baking. My chocolate peanut butter cake continues to be a favorite.
The great thing about cupcakes is that they come together faster than a layer cake, and they’re an especially good option for novice bakers.
If you’re seeking a small chocolate dessert for the end of a meal, these are a perfect option. Even Jeff loves them, and he’s usually very uninterested in sweets.
Dark, bittersweet chocolate provides the perfect counterbalance to the sugar, while the meringue adds lightness to the buttercream frosting.
- All-purpose flour – For super soft cake, skip the all-purpose flour and use cake flour
- White granulated sugar
- unsalted butter – The amount of salt in butter varies a lot from brand to brand, so it’s best to use unsalted
- Large eggs – Learn why egg size matters
- Dutch-processed cocoa powderNatural Vs. Dutch-Process Cocoa PowderThis recipe uses Dutch-process cocoa powder. Do you know that different types of cocoa powder can produce different results in your recipe? If you’d like to know more about this, check out my post Natural vs. Dutch-Process Cocoa Powder.
- Half and half – Read my tutorial on how to make half-and-half so you can save time and money!
- Vanilla extract – Adding vanilla flavor to dark chocolate cupcakes may seem strange, but extract compliments the dark chocolate flavor.
- Baking powder – If your baking powder is more than 5 months old, you might want to test it to be sure that it’s still active. To test baking powder, add 1 teaspoon of baking powder to a cup of warm tap water. If it bubbles up, it’s good to use. If not, you’ll need to buy a fresh box.
- Corn syrup helps prevent the sugar syrup from crystallizing, but it’s optional.
- Unsweetened chocolate
- Brown food coloring (optional)
How to Make Chocolate Cupcakes
The printable recipe at the bottom of this post has more thorough instructions, but here’s an overview of the steps:
- Prepare 3 baking pans. Line cupcake pans with liners and spray lightly with baking spray.
- Combine dry and wet ingredients in separate bowls. Whisk together the dry ingredients in a bowl, and the wet ingredients in a separate bowl (this doesn’t include the sugar, butter and eggs).
- Cream butter and sugar, then add eggs. Place the butter and sugar in a stand mixer fitted with the paddle attachment. Cream until light and fluffy, then add the eggs, one at a time, scraping down the sides of the bowl periodically.
- Alternate between adding the wet and dry ingredients, then distribute the batter between cupcake liners.
- Bake until a toothpick comes out from the center cleanly, then cool before frosting.
- Don’t skip the baking spray or the cupcakes will stick to the liners. However, you want to use as little spray as possible so the liners don’t separate from the cupcakes. I spray directly from above in one or two short bursts, keeping my arm raised at a good distance.
- For the best chocolate flavor, I use Valhrona cocoa powder and their various chocolate in all my cakes. I just strongly recommend them for best flavor results. Since Valrhona doesn’t currently offer an unsweetened chocolate, I typically use the brand Guittard for the frosting (my second favorite).
- Don’t overfill the liners. Do not fill the liners more than halfway full or they will overflow. If this happens, the cupcakes might stick together at the tops or sink in the middle.
- For multiple batches: If baking in batches, leave the batter on the counter, but keep it away from the oven to prevent the butter from warming above room temperature.
- Make ahead instructions: The cupcakes and buttercream can be prepared up to 48 hours in advance. You can store both at room temperature.
Meringue Buttercream Tips
- Meringue buttercream is a fairly advanced frosting. For a more basic recipe, try my sour cream chocolate frosting.
- I melt small quantities of chocolate in the microwave. Coarsely chop the chocolate, then place in a small microwave-safe bowl. Microwave in 20 second increments, stirring every time, until smooth and shiny. Cool to room temperature, stirring periodically.
- To frost the cupcakes, I used a Wilton disposable 16-inch piping bag and a 1M piping tip.
- I use AmeriColor gel food coloring.
- Are you new to meringue buttercream? Read my buttercream basics tutorial for tips and troubleshooting.
Dark Chocolate Cupcakes from Scratch
For the cupcakes:
- 7 ounces all-purpose flour (approximately 1 1/2 cups)
- 2 teaspoons baking powder
- 1 teaspoon kosher salt
- 2 ounces Dutch-processed cocoa powder, sifted (2/3 cup)
- 3/4 cup half-and-half (or 50% whole milk + 50% heavy cream)
- 2 teaspoons pure vanilla extract
- 9 ounces unsalted butter, room temperature
- 15 1/2 ounces granulated sugar (approximately 2 cups)
- 4 large eggs, room temperature
For the buttercream:
- 13 ounces granulated sugar (approximately 1 1/2 cups)
- 1/4 cup + 2 tablespoons water
- Optional: 1 teaspoon corn syrup (see notes)
- 5 large egg whites
- 1 pound unsalted butter, cubed and at room temperature
- 1 tablespoon pure vanilla extract
- 4 ounces unsweetened chocolate, melted and cooled (see notes)
- Optional: a few drops of brown food coloring
Prepare the cupcakes:
- Preheat the oven to 350 degrees. Place oven shelves in the middle lower and upper racks. Line 3 standard cupcake pans with liners and spray very lightly with baking spray. I recommend spraying from above with your arm at a distance. (Note: You can bake these in batches if you don’t have enough cupcake pans)
- In a medium-sized bowl, whisk together the flour, baking powder, salt, and cocoa powder. In a small bowl or liquid measuring cup, combine the half-and-half and vanilla extract.
- In a stand mixer fitted with the paddle attachment, cream the butter and sugar together on high speed for 3-5 minutes, until light and fluffy (to avoid splatters, start with a lower speed and work up to high). Scrape down the side of the bowl, then add the eggs on low speed, one at a time, scraping down the sides all the way to the bottom of the bowl after the 2nd and 4th egg, until they’re completely incorporated.
- On medium-low speed, alternate between adding the dry and wet ingredients over the course of 30-60 seconds, starting and ending with the dry ingredients, until everything is just combined. Give the bowl one more scrape, all the way to the bottom, to make sure there are no patches of flour or butter. If the batter looks slightly broken, turn the mixer back on high speed for around 10-15 seconds, which will bring it back together.
- Evenly distribute the batter between the cupcake liners. They should each be no more than halfway full.
- Bake for 18-20 minutes, or until the center of one of the cupcakes comes out clean with a toothpick. Allow to cool completely before removing from the pan.
Prepare the buttercream:
- Place the sugar, water and corn syrup in a medium-sized saucepan (do not stir). Cover and turn the heat to high. Once the liquid begins to simmer and steam develops, remove the cover (this helps prevent crystallization). Using a digital thermometer, cook the sugar to the soft boil stage, 235-240 degrees F.
- While the sugar is cooking, whisk the eggs on high in a stand mixer with the whisk attachment until a soft peak has formed.
- Turn the mixer speed down to medium-low and very slowly pour the syrup down the side of the bowl into the egg whites (this will “cook” the egg whites, making them safe to consume. Don’t pour the hot syrup directly into the meringue or you’ll have scrambled egg whites.
- Once the syrup is completely incorporated, turn the speed to high and allow the meringue to continue to form a stiff peak while cooling down. Mix on high until the meringue has reached room temperature, approximately 15 minutes.
- Once the meringue is at room temperature, slowly begin incorporating the soft butter on medium speed. Once all of the butter has been incorporated, turn the mixer speed up to high and slowly add the vanilla, chocolate, and food coloring, if using.
- To frost the cupcakes: Fill a piping bag halfway with buttercream, (I used a Wilton 1M tip), twist to close, and pipe decoratively. Serve cupcakes at room temperature. These are best served within 72 hours.
Please read my full post for additional recipe notes, tips, and serving suggestions!
For immediate help troubleshooting a recipe, please email me using the form on my contact page. I’ll try to respond to urgent questions as quickly as possible! For all general questions, please leave a comment here :)