Chocolate Cupcakes recipe from scratch, with rich chocolate cake and easy chocolate buttercream frosting.

Reader Review:
Made this and it turned out amazing! Highly recommend!
⭐⭐⭐⭐⭐ - Shivangi
I don't mess around when it comes to chocolate. Running a bakery for 10 years, I made it my mission to have the very best chocolate cupcake recipe out there, and this is the result!
These homemade chocolate cupcakes are a chocolate lover's dream come true. They're moist and rich without being too sweet, and I'll show you my technique for an easy chocolate buttercream that has the same glossy texture as Swiss meringue but is much easier to make. You'll be shocked by how gourmet they taste for being so simple!
This is the best chocolate cupcake recipe, and you'll feel the same way after the first bite!
Jump to:
- Why You'll Love This Chocolate Cupcake Recipe
- Ingredients for Chocolate Cupcakes
- How To Make Chocolate Cupcakes
- How To Make Chocolate Frosting For Cupcakes
- Decorate the Chocolate Cupcakes
- Easy Chocolate Cupcake Recipe Variations
- How To Store Homemade Chocolate Cupcakes
- Chocolate Cupcake Recipe FAQs
- More Cupcake Recipes
- Recipe
Why You'll Love This Chocolate Cupcake Recipe
- The ultra-moist texture lets the rich chocolate flavor truly shine
- This easy Russian buttercream is made with real melted chocolate and a secret ingredient that gives it a silky, glossy texture
- Use the easy two-bowl method for moist cupcakes every time - no fussy creaming method needed

Ingredients for Chocolate Cupcakes
Chocolate needs fat for flavor, and the sour cream and vegetable oil let that rich chocolate flavor shine while making the cupcakes super tender and moist. The ingredients below are to make the chocolate cupcakes and chocolate buttercream from scratch.

- All-purpose Flour - This is the perfect base for the chocolate cupcake batter. Since the batter is so moist on its own, there's no need to use cake flour.
- Granulated Sugar - This will add just enough sweetness to let the chocolate flavor stand out.
- Cocoa Powder (Dutch processed) - Dutch-process cocoa powder has the boldest chocolate flavor, perfect for this cake. Natural Cocoa Powder can be used instead but it may make the cupcakes a little more dense and dry.
- Whole Milk - For a tender, moist texture. You can also substitute for a dairy-free milk of your choice.
- Eggs - Use large eggs, and free-range if possible.
- Sour Cream - This is a great ingredient to make sure your cupcake batter is moist every time. You can substitute for Greek yogurt if you prefer.
- Oil - Using oil rather than butter makes for super moist chocolate cupcakes. I use vegetable oil, but you can use any flavorless oil.
- Espresso Powder - The bitterness of coffee enhances the chocolate flavor of the cupcakes. Look for instant espresso (not instant coffee granules).
- Vanilla extract - Vanilla extract or vanilla bean paste provides a balanced flavor base to build the chocolate flavor on.
- Sweetened Condensed Milk - This is the canned stuff from the store! It helps bring this chocolate frosting together really quickly without being overly sweet.
- Unsalted Butter - It's very, very important to make sure the butter is at room temperature. Try to use a high-quality butter.
- Dark Chocolate - There's no cocoa powder here! The buttercream is flavored with real chocolate. Make sure it's real chocolate and not chocolate chips or a chocolate candy bar. The higher the cocoa content, the deeper in flavor your chocolate frosting will be.
Make sure the milk, eggs, sour cream, and butter are all at room temperature before beginning.
See recipe card for quantities and full recipe.
Measuring Ingredients
I always recommend weighing your ingredients with a kitchen scale, rather than using measuring cups. It's very difficult to measure accurately with cups and this can mess up your bakes.
Recommended Equipment
To make the ultimate chocolate cupcakes at home, you'll need a few different baking tools and supplies:
- Cupcake pan with liners
- Mixing bowls (large and medium for the cake)
- Whisk
- Stand Mixer with whisk attachment or electric mixer to make the chocolate buttercream frosting
How To Make Chocolate Cupcakes
There are two components to make these chocolate cupcakes from scratch - and both of them are really simple! Just follow the step-by-step directions below for the best results.

Dry Ingredients
Preheat oven to 350°F / 180°C and line a muffin pan with cupcake liners.
In a large bowl, sift the dry ingredients, including the flour, sugar, cocoa powder, baking powder, baking soda, and salt.
(But not the espresso powder). Whisk everything together.

Wet Ingredients
In a separate bowl, whisk together the wet ingredients, except the hot water. This includes the eggs, milk, sour cream, vegetable oil and vanilla. Whisk together lightly until it makes a homogeneous mixture.
Pour the wet ingredients into the flour mixture and whisk until everything is combined and there are no lumps. Make sure you scrape the bottom of the bowl.

Add Coffee
In a small bowl or a glass, combine the boiling water with the espresso powder and mix until completely dissolved. Pour the hot coffee into the cake batter and mix until combined.
This helps make super moist cupcakes, and the hot liquid also blooms the cocoa powder.

Bake and Cool
Divide the chocolate batter into the cupcake liners, filling them about ⅔ full. The batter is very liquid, so it may be easiest to pour it in or use a batter dispenser.
Bake for 18-22 minutes or until the cupcakes are springy and a skewer inserted comes out with moist crumbs.
Let the cupcakes sit in the pan for 5-10 minutes before removing to a wire rack to cool completely before adding any filling or frosting.

How To Make Chocolate Frosting For Cupcakes
I cannot say enough good things about this easy chocolate buttercream frosting. Sometimes it feels a bit like cheating because it's so simple to make. You don't have to mess around with whipping egg whites or pouring hot syrup, and it's not sickly sweet like American buttercream. It's also made with real chocolate for a truly decadent flavor.
Note: Before beginning, make sure the butter is at room temperature - it's really important that it is not too cold and not too warm as this will stop the buttercream from forming properly.

Cream the Butter
Melt chocolate in the microwave in 30-second increments until totally melted. Set aside to cool.
Whip the butter on high speed for a full 5 minutes. You can use a handheld mixer for this, but your arm may get tired so I recommend a stand mixer if you have one.
I like to pause every 90 seconds or so to scrape down the sides of the bowl.

Add Condensed Milk
Turn the mixer down to medium-high speed and slowly drizzle in the sweetened condensed milk while it whips.
It's so important not to rush this step or the buttercream might split - go slowly and gradually, pausing occasionally if necessary to let it incorporate.
Once all the condensed milk is incorporated, turn the mixer up to max speed for 1 minute.

Add Melted Chocolate
Scrape down the sides of the bowl and pour in the cooled melted chocolate, vanilla and and a pinch of salt - continue to whip until incorporated.
I have a whole tutorial about making Russian buttercream that's loaded with helpful tips and suggestions, as well as a troubleshooting guide for if your buttercream has gone wrong! The secret is to make sure the butter is truly at room temperature and to follow the instructions carefully.
Decorate the Chocolate Cupcakes
- Once the cupcakes have cooled, pipe or spread the chocolate buttercream onto the tops of the cupcakes. I used a piping bag with an open star tip to get this result.
- Decorate with chocolate sprinkles and a piece of chocolate for a finishing touch. I made these mini chocolate bars with this mini chocolate bar mold - if you do this, make sure you follow my guide for tempering chocolate easily.

Easy Chocolate Cupcake Recipe Variations
I use these homemade chocolate cupcakes as a base for so many other cupcake recipes. Here are a few ideas to tweak the recipe to make it your own:
Fold in some crunch - For extra texture, add some mini chocolate chips or chopped nuts to either the frosting or the cake batter.
Change the frosting - I have lots of delicious frosting recipes on the blog, and you can certainly try any you'd like! This French buttercream has a rich, custardy flavor that's perfect for chocolate.
Mocha Cupcakes - Use the espresso buttercream from my Chocolate Espresso Cake for a latte-inspired bake.
Add a filling - I often will core out the center of these cupcakes with a cupcake corer and put a filling in the middle. You could fill them with strawberry coulis, Nutella, homemade caramel sauce, or chocolate ganache for the perfect chocolate cupcake!
Black Forest Cupcakes - Fill each cupcake with a boozy, sweet cherry filling and creamy vanilla frosting for a fun twist on the classic.
S'mores Cupcakes - Top these cupcakes with my marshmallow frosting for delicious s'mores cupcakes.
Chocolate Strawberry Cupcakes - Decorate each cupcake with the Strawberry Buttercream from my Chocolate Strawberry Cake and garnish with a chocolate-covered strawberry.
Make a whole cake - If you want a whole chocolate cake recipe, you can use this same one! I use it to make my Chocolate Fudge Cake and Death by Chocolate Cake recipes.
German Chocolate Cupcakes - Add some German Chocolate Cake Frosting for a tasty coconut and pecan treat!
Seasonal Decorations - You can put whatever you like on top of these cupcakes. They are super fun to use for themed parties. I'm making them with mini eggs for Easter dessert this year!

How To Store Homemade Chocolate Cupcakes
Store any undecorated extra cupcakes in an airtight container at room temperature for 4-5 days. Once decorated, the cupcakes can be stored in an airtight container at room temperature for 3 days.
I like to add some paper towels to the bottom of the container to absorb any extra moisture. If you have extra frosting, store it in a sealed jar or container in the fridge for up to one week.

Chocolate Cupcake Recipe FAQs
This recipe only requires 18-22 minutes in the oven at this temperature, although you should always check for doneness using a toothpick or skewer.
If you want moist chocolate cupcakes, you need to use the right recipe! You're looking for a recipe that includes plenty of fat, ideally in the form of vegetable oil and sour cream or yogurt. These ingredients almost always result in the softest, moistest cakes and cupcakes without much fuss. I also recommend being careful not to overbake the cupcakes, as this can cause the cake itself to dry out and become crumbly. Otherwise, just follow the recipe precisely for the best results.
There are so many flavor combinations that taste amazing with chocolate cupcakes. If you want the perfect chocolate cupcakes, I recommend chocolate Russian buttercream. It's extremely glossy and smooth, with just enough sweetness and chocolate flavor. It's like Swiss meringue buttercream (another go-to), but is much easier to make! You can even use vanilla buttercream (or stripe it with strawberry coulis!) or classic cream cheese frosting.
More Cupcake Recipes
Here are some more cupcake recipes for you to try:
Recipe

Chocolate Cupcake Recipe
Ingredients
- 2 cups All-purpose Flour 240g
- 2 cups Granulated Sugar 400g
- ½ cup Cocoa Powder 50g
- 1 ½ teaspoon Baking Powder
- 1 ½ teaspoon Baking Soda
- ½ cup Whole Milk 120g
- 2 Large Eggs
- ½ cup Sour Cream 128g
- ½ cup Vegetable Oil 110g / 120ml
- 1 teaspoon Espresso Powder
- 1 teaspoon Vanilla Extract
- ½ teaspoon Salt
- ¾ cup Hot Water 180ml
- 2 sticks Unsalted Butter 227g (room temperature)
- 1 can Sweetened Condensed Milk 14oz / 395ml
- 5.5 oz Dark Chocolate 155g
- 1 teaspoon Vanilla Extract
- 1 pinch Salt
Equipment
- Stand Mixer for frosting
- Whisk Attachment for frosting
Instructions
- Preheat oven to 350°F / 180°C and line a muffin pan with cupcake liners.
- In a large bowl, sift the dry ingredients, including the flour, sugar, cocoa powder, baking powder, baking soda, and salt. (But not the espresso powder). Whisk everything together.2 cups (240 g) All-purpose Flour, 2 cups (400 g) Granulated Sugar, ½ cup (50 g) Cocoa Powder, 1 ½ teaspoon (1 ½ tsp) Baking Powder, 1 ½ teaspoon (1 ½ tsp) Baking Soda, ½ teaspoon (½ tsp) Salt
- In a separate bowl, combine all the wet ingredients, except the hot water, which includes the eggs, milk, sour cream, vegetable oil and vanilla. Whisk together lightly until it makes a homogeneous mixture.½ cup (120 ml) Whole Milk, 2 Large (2) Eggs, ½ cup (128 g) Sour Cream, ½ cup (110 g) Vegetable Oil, 1 teaspoon Vanilla Extract
- Pour the wet ingredients into the flour mixture and whisk until everything is combined and there are no lumps. Make sure you scrape the bottom of the bowl.
- In a small bowl or a glass, combine the boiling water with the espresso powder and mix until completely dissolved. Pour the hot coffee into the cake batter and mix until combined.1 teaspoon Espresso Powder, ¾ cup (180 ml) Hot Water
- Divide the chocolate batter into the cupcake liners, filling them about ⅔ full. The batter is very liquid, so it may be easiest to pour it in or use a batter dispenser.
- Bake for 18-22 minutes or until the cupcakes are springy and a skewer inserted comes out with moist crumbs.
- Let the cupcakes sit in the pan for 5-10 minutes before removing to a wire rack to cool.
- Make sure the butter is completely at room temperature before beginning. It can't be too cold or too warm, or the buttercream won't form properly.
- Melt chocolate in the microwave in 30-second increments until totally melted. Set aside.5.5 oz (155 g) Dark Chocolate
- Whip the butter on medium-high speed for a full 5 minutes. I like to pause every 90 seconds or so to scrape down the sides of the bowl.2 sticks (227 g) Unsalted Butter
- Slowly add the condensed milk, drizzling in while it whips. It's important not to rush this step or the buttercream might split - go slowly and gradually.1 can (395 ml) Sweetened Condensed Milk
- Once all the condensed milk is incorporated, turn the mixer up to max speed for 1 minute.
- Scrape down the sides of the bowl and pour in the melted chocolate, vanilla, and a pinch of salt - continue to whip until incorporated.1 teaspoon Vanilla Extract, 1 pinch Salt, 5.5 oz (155 g) Dark Chocolate
- The buttercream should be thick and glossy - if it isn't, see the troubleshooting guide in my Russian Buttercream post.














Chris
Easy enough to make, and I love your idea of using mini chocolate bars to decorate them. I will have to try it next time I make these!
Danakaye Greenacre
Is there a way to make these cupcakes without eggs? My kids are allergic?
Jak
Ì don't eat eggs either, and I was happy to see your question but with my luck it's the only question with no reply
Jules Grasekamp
Hi Jak and Danakaye,
Sorry I haven't replied to this yet, it is the most recent comment and unfortunately it's just me running this site so I don't always get to them right away!
Unfortunately as it's not my area of expertise, I don't like to give advice on free-from baking as I would hate to tell you how to do it and have it not turn out perfectly! There are so many incredible eggless baking blogs out there and I would advise you to check them out rather than try to tell you about something I'm not knowledgeable in.
You could certainly use a different chocolate cupcake recipe for the base and then still add this chocolate frosting on top, as the frosting is eggless and really quite special!
I'm sorry I can't be more help but I hope you find an incredible recipe to try!
Jules
Danakaye Greenacre
Is there a way
Sharon
Can I make these as mini cupcakes? What Would the baking time be?
Jules Grasekamp
Hi Sharon,
You can definitely make them as mini cupcakes!
The bake time will vary depending on your pan. I would check them after about 10 minutes and take them out when a skewer inserted in the middle comes out clean.
Be careful not to overfill them too!
Hope they turn out great 🙂
Jules
Shivangi
Made this and it turned out amazing! highly recommend!
Jules Grasekamp
I'm so glad you enjoyed the recipe, thank you so much for taking the time to let me know! 🙂
Jules