These simple Chocolate Cupcakes are perfect in flavor and texture, paired with chocolate buttercream frosting and a short video tutorial on how to frost cupcakes like a pro!
Cakes and cupcakes are some of the most popular recipes on TBFS. Don’t miss our German Chocolate Cake (or cupcakes) or our classic Yellow Cake with Chocolate Frosting.

Chocolate cupcakes are a classic treat that everybody loves, and this homemade recipe is killer! And although I love a great moist and delicious homemade chocolate cupcake, the frosting is my favorite part, and this chocolate buttercream does not disappoint! I think perfect cupcakes require a 2:1 frosting/cupcakes ratio.
How to Make Chocolate Cupcakes:
1. Whisk together: In large mixing bowl whisk together cocoa powder and baking soda. Carefully pour in boiling water and whisk until well blended; allow to cool for 5 minutes.
2. Cream: in another large mixing bowl add the melted butter, vegetable oil, sugar, vanilla and salt and beat until well combined. Add eggs and eggs yolks, mixing after each addition, just until combined.
3. Add cocoa and flour. Stir in cocoa mixture and then milk. Slowly mix in flour and stir until combined.

4. Pour into cupcake tins: Divide batter evenly among the 24 muffin cups, filling each cup about 2/3 full.
5. Bake for 18-20 minutes or until toothpick inserted into center comes out clean.
To ensure cupcakes rise properly:
Use room temperature ingredients, particularly eggs.
Eggs at room temperature (as opposed to cold from the fridge) are fluffier and will emulsify in the batter better, which will help the cupcakes bake and rise properly. A trick for bringing eggs to room temperature quickly is to run hot water over them for one minute, or let them sit in a bowl of warm water for 5 minutes.
Pro Tips for Frosting Cupcakes:
If you want to get that perfect swirl on the top of a cupcake, use a piping bag and frosting tip. My favorite tip is a Wilton 1M.
And since I really love ya’ll I’ll share this very amateur video I made yeas ago for how to frost cupcakes. I made it when I was 9 months pregnant and while it’s embarrassing and not the best quality, I do talk about my three favorite decorating tips and show how to frost cupcakes with them!

Make Ahead And Freezing Instructions:
To make ahead: The cupcakes and the chocolate buttercream frosting can both be made ahead of time. Allow the cupcakes to cool completely, and then store them in a ziplock freezer bag. Freeze for up to one month. I like to frost the cupcakes when they are frozen because they’re easier to frost.
To freeze: Freeze your cupcakes before frosting them. Frosting cupcakes is so much easier when they are frozen. Cupcakes thaw quickly so even if you want to serve them an hour or two after frosting, it shouldn’t be an issue. You could also freeze frosted cupcakes, but I suggest flash-freezing them on a tray for 30 minutes (to help the frosting keep its shape) before placing them in a freezer safe container.

Consider trying these popular cupcake recipes:
- German Chocolate Cupcakes
- Chocolate Cupcakes with Oreo Cream Frosting
- Homemade Funfetti Cupcakes
- Caramel Filled Chocolate Cupcakes
- Reese’s Peanut Butter Cupcakes
- Pumpkin Cupcakes with Cinnamon Cream Frosting
You can also FOLLOW ME on FACEBOOK, TWITTER, INSTAGRAM and PINTEREST for more great recipes!
Recipe

Chocolate Cupcakes with Chocolate Buttercream Frosting
Equipment
Ingredients
For the cupcakes
- 2/3 cup unsweetened cocoa powder
- 1 teaspoon baking soda
- 1 cup boiling water
- 1/2 cup butter , melted
- 1/3 cup oil (vegetable or canola oil)
- 1 3/4 cups granulated sugar
- 1 1/2 teaspoons vanilla extract
- 3/4 teaspoon salt
- 2 large eggs
- 2 large egg yolks
- 1/2 cup evaporated milk or half & half or heavy cream
- 1 3/4 cups all-purpose flour
For the Buttercream Frosting:
- 1 cup butter , softened
- 2 teaspoons vanilla extract
- 1/2 cup unsweetened cocoa powder
- 1 Tablespoon milk
- 2-3 cups powdered sugar
Instructions
- Preheat oven to 350 degrees F. Prepare muffin tins with 24 paper liners.
- In large mixing bowl whisk together cocoa powder and baking soda. Carefully pour in boiling water and whisk until well blended; allow to cool for 5 minutes.
- Meanwhile, in another large mixing bowl add the melted butter, vegetable oil, sugar, vanilla and salt and beat until well combined. Add eggs and eggs yolks, mixing after each addition, just until combined.
- Stir in cocoa mixture and then milk. Slowly mix in flour and stir until combined.
- Divide batter evenly among the 24 muffin cups, filling each cup about 2/3 full.
- Bake for 18-20 minutes or until toothpick inserted into center comes out clean. Remove from oven and let cool for a few minutes before transferring to wire rack to cool.
For the Frosting:
- Beat butter for two minutes. Add vanilla extract, cocoa powder and milk and beat again until smooth. Slowly add powdered sugar until you reach your desired frosting consistency.
- Pipe frosting onto cooled cupcakes and top with sprinkles!
Notes
Nutrition
Create a FREE Account to save your favorite recipes and create meal plans
Cupcake recipe adapted from Cooking Classy.
I originally shared this recipe February 2015. Updated May 2020 with process photos and additional tips.
Have you tried this recipe?!
RATE and COMMENT below! I would love to hear your experience.
This post contains affiliate links.
Hello! How early can I make this frosting? I have 2 cakes plus 30 cupcakes to make I wold like to be ahead of the game as possible. Any help would be greatly appreciated!
Hi Sarah, you could make the frosting at least 1 week in advance! Store it in an airtight container in the fridge. Let it come down to room temperature before frosting the cupcakes! Good luck 🙂
Loved this recipe, and I want to make it again but as mini cupcakes. How would the baking time differ if I were to bake these in a mini muffin tray?
Hi Kim, happy you liked them! For mini cupcakes I would bake them at the same temperature. Check them around 10-12 minutes.
Sorry, just saw this comment! Please ignore my earlier comment this morning 🙂
These cupcakes were AMAZING! My 13 year old daughter and her friend made them at a sleepover and loved them! They were gobbled up in an instant! Thanks for the great recipe, will definitely use again!
Thanks so much for the feedback! So happy you all like them!
These are delicious! I didn’t have heavy cream, so I used half n half, but they were just as yummy. 🙂
These cupcakes are delicious! So moist and pretty much no crumble! 🙂
This cupcake recipe is the best!!! They seriously came out soft, moist, and rich chocolate flavor. The best chocolate cupcake recipe I have tried, thank you to whoever posted this, I will definitely be using again:)
Thanks Blaire–I’m happy you liked them so much!
I didn’t try the frosting, but the cakes were DELICIOUS! Absolutely ZERO complaints! They had a wonderful dark chocolate flavor, and they had a great texture: substantial, but not too dense, and moist without getting fudgy (if I want fudgy I’ll eat a brownie.) They stayed good sitting in a loose container for several days. And best of all, they paired perfectly with a peanut butter buttercream. I about died. So yummy.
10/10. Am planning my second batch.
In the beginning you mention mixing the cocoa powder, baking powder, and boiling water at what point are you supposed to mix the two large bowls together?
Sorry, I just needed to look better at the instruction! Can’t wait to try out this recipe!
Would I just omit the cocoa if I want a white frosting?
You’ve specified “cocoa powder” for the cake and “unsweetened cocoa powder” for the frosting. Can I assume that the cocoa powder for the cake should also be unsweetened? I want to use this to make your peanut butter cup cupcakes; they look perfect for my boyfriend’s birthday!
Hi Mallory, I will update that. Yes, both are unsweetened cocoa powder.
Can I assume unsalted butter? Hoping to make these for my son’s 3rd birthday party this weekend!
Yes, unsalted butter. Happy birthday to your son! Hope everyone loves the cupcakes 🙂
They were a huge hit, thank you! One year later, hoping to make these in mini-cupcake form for his 4th birthday to bring to his preschool class. Any tips on how long to bake them or whether I can divide them evenly into 48 mini muffin cups? Thank you in advance!
Why unsalted butter??????
You can use either type of butter. This recipe calls for 3/4 teaspoon of salt, since unsalted butter is used. If you use salted butter, than only add about 1/4 teaspoon of salt.