These are my best-ever chocolate cupcakes! This recipe makes soft and moist homemade chocolate cupcakes that are perfect for frosting and decorating. Finish them off with your favorite buttercream frosting!
When it comes to homemade cupcakes, you can’t beat the classics like these fluffy chocolate cupcakes and my favorite vanilla cupcakes. I also love these easy strawberry cupcakes. Just add a swirl of buttercream!

My chocolate cupcakes are the only excuse I need to leave the boxed cake mix in the cupboard. This recipe makes perfect chocolate cupcakes that are super moist, tender, and fluffy. I’ve tasted a lot of cupcakes over the years, and I can safely say that these chocolate cupcakes might just be the best I’ve ever had. This is the only recipe you’ll need, and after today, it’s the only one you’ll want to bake!
Why You’ll Love This Chocolate Cupcakes Recipe
- Classic. These are classic chocolate cupcakes, no funny business. Rich, chocolatey, and topped with swirl of chocolate frosting, they’ll satisfy even the most ravenous chocoholics.
- Easy to make. I’m a firm believer that everyone should be able to make a batch of perfect chocolate cupcakes, no matter their skill level in the kitchen. This recipe delivers! I’m sharing all my best cupcake-baking tips and tricks along the way.
- Quick. With simple ingredients, a little mixing, and 30 minutes, you’ll have a batch of freshly baked chocolate cupcakes on your hands.

What You’ll Need
Here’s a quick look at what you’ll need to make perfect chocolate cupcakes from scratch. Be sure to scroll down to the recipe card for a printable ingredient list.
- Cocoa Powder: I use Hershey’s Special Dark Cocoa for this recipe, but you can use any natural, unsweetened cocoa powder you prefer.
- Flour – I recommend using all-purpose flour for the most consistent results.
- Buttermilk – Buttermilk adds loads of moisture and flavor to desserts like my Texas sheet cake and buttermilk brownies. It works the same magic in these chocolate cupcakes. If you don’t have buttermilk, make a homemade buttermilk substitute by adding 1 tablespoon of lemon juice or vinegar to a scant cup of milk. Let that sit for 5 minutes, stir, and you’re ready to go.
- Vegetable Oil – Or another neutral cooking oil, like canola oil. Using oil instead of butter yields extra soft, tender cakes and cupcakes.
- Vanilla – Make sure to use real vanilla extract or vanilla paste. You can also play around with different flavoring extracts for different flavor profiles. I think peppermint extract would taste great in these chocolate cupcakes!
- Granulated Sugar – You can also use brown sugar.
- Baking Soda, Baking Powder – I use both, plus salt, to give these cupcakes the best rise. Check the expiration dates on the packages to make sure that your leavening isn’t expired.
- Eggs – For best results, bring the eggs to room temperature.

How to Make the Best Chocolate Cupcakes
The ultimate chocolate cupcake is only a few short steps away, and I’ll walk you through them below. Scroll down to the recipe card for the printable instructions.
- Combine the dry ingredients. First, combine the flour, cocoa powder, baking soda and baking powder, then mix in the sugar and salt.
- Add wet ingredients. Mix in the eggs one at a time. Then add the vanilla, water, vegetable oil and buttermilk, continuing to mix until everything is just combined.
- Bake. Divide the chocolate cupcake batter between the wells of a lined muffin pan, about 2/3 full. Bake the cupcakes in a 350°F oven for 20 minutes, until they’re set. Once the cupcakes are out of the oven, remove them from the pan immediately and leave them on a wire rack to cool.
- Frost the cupcakes. Make sure the cupcakes have cooled completely before you frost them with your favorite buttercream recipe. Check out my easy piping technique in the section below, along with some fun decorating ideas.
Can I Bake This as a Cake Instead?
Absolutely! This recipe easily translates to a chocolate cake as well. To make this a layer cake instead, use two 9″ baking pans or three 8″ pans and bake for 20-25 minutes, or until a toothpick inserted into the center of the cakes comes out clean. You can refer to my perfect chocolate layer cake post for details.

Cupcake Decorating Ideas
I love frosting these cupcakes with my creamy chocolate frosting or tangy chocolate cream cheese frosting. Another classic is this easy homemade Swiss meringue buttercream. Feel free to be as creative as you’d like! These are some more easy cupcake-decorating ideas:
- Halloween. Frost these chocolate cupcakes with my pumpkin butter frosting and top them with brown (or black), orange, and yellow sprinkles. See my witch’s broom cupcakes and cauldron cupcakes for more Halloween inspiration.
- Holidays. Top these cupcakes with crushed peppermint candy or Andes peppermint baking chips for an easy variation of Christmas cupcakes.
- S’mores. Make s’mores cupcakes by adding a thick swirl of marshmallow frosting and sprinkling over crushed Graham crackers.
- Mint chocolate. Try my mint chocolate chip frosting for that irresistible mint-chocolate combination.
- Peanut butter. Borrow the peanut butter frosting from my banana cupcakes. Go all out with a topping of chopped Reese’s peanut butter cups!
- Birthday. Turn these into the perfect birthday cupcakes with a swirl of party frosting.
How to Make a Perfect Frosting Swirl
There’s no wrong way to decorate a cupcake, but one of the BEST ways is to use a piping bag fitted with a piping tip to give your chocolate cupcakes a gorgeous piped frosting swirl. If you’ve never done it before, I have you covered with a quick tutorial below. Here’s how you can achieve perfectly swirled buttercream:
- Prepare a piping bag. First, snip the tip off a disposable piping bag. Then, fit your choice of piping tip tightly in the opening. For most of my cupcakes, I like to use a Wilton 1M tip.
- Fill the piping bag. Fill the bag about 3/4 full with frosting. Afterward, twist the bag until the frosting pokes out of the tip.
- Make a traditional swirl. Start by piping from the outside of the cupcake and work in a circle inwards.
- Or, pipe a rose swirl. Start from the inside and working outwards to create a rose swirl. Tada! Picture perfect swirled cupcakes, every time.

How to Store
- On the counter. Cupcakes are always best when enjoyed the day they’re baked. However, these will keep fresh at room temperature for up to 2 days. Allow the cupcakes to cool completely before placing them in an airtight container for storage. Resist putting cupcakes in the refrigerator, as this will dry them out!
- Freeze. You can freeze unfrosted cupcakes for up to 3 months. Wrap each cupcake in saran wrap, then place them in an airtight, freezer-safe container. Thaw on the counter for a few hours before topping with frosting.
More Cupcake Recipes
Chocolate Cupcakes
- Prep Time: 10 minutes
- Cook Time: 20 minutes
- Total Time: 30 minutes
- Yield: 36 1x
- Category: Dessert
- Method: Oven
- Cuisine: American
Description
My best-ever chocolate cupcakes recipe! These moist and fluffy homemade chocolate cupcakes are the only recipe you’ll need, perfect for any occasion. Just add a swirl of your favorite buttercream frosting.
Ingredients
- 1 1/2 cups Hershey’s Special Dark Cocoa Powder (you can also use regular cocoa powder)
- 3 cups all purpose flour
- 3 cups granulated sugar
- 1 Tbsp baking soda
- 1 1/2 tsp baking powder
- 1 tsp salt
- 3 eggs
- 1 1/2 cups buttermilk
- 1 1/2 cups warm water
- 3/4 cup vegetable oil
- 2 tsp vanilla extract
Instructions
- Preheat oven to 350°F.
- Line muffin pan with cupcake liners.
- In your stand mixer sift flour, cocoa powder, baking soda and baking powder together. Add in the sugar and salt.
- With your mixer on low speed add eggs, one at a time and then the vanilla, water, vegetable oil and buttermilk.
- Mix on medium for 2 minutes until combined.
- Fill liners 2/3 full and bake for 20 minutes until set.
- Remove from pan immediately and cool on wire rack.
Notes
- Makes approximately 36 cupcakes.
- I prefer the dark chocolate cocoa powder as it gives a deeper chocolate flavor; you can certainly use regular or Dutch processed cocoa powder!
- If you would like to make this recipe into a layer cake: Use two round 9″ baking pans or three round 8″ pans. Bake for 20-25 minutes, or until a toothpick inserted in the center comes out clean.
Want To Save This Recipe?
Find more recipes like this:













Just made the frosting- WOW. Tastes like the store bought kind of stuff. Totally going to make this again when I next need chocolate frosting!
Would Ghirardeli sweetened cocoa powder be okay or would the regular unsweetened be better? I have both but I normally use the sweetened for everything. I’m super excited to make these!
Use unsweetened cocoa powder…the sweetened would just be added sugar and might not be as chocolatey 🙂
This recipe called for 1 1/2 cups water in addition to the buttermilk. Made it very runny. Anyone else have that problem? Found almost the exact recipe at marthastewart.com and it didn’t have the water, so I will try that one. The cupcakes did taste good, even though they were flat.
This recipe is actually an adaptation of a Martha Stewart recipe, I did list that at the end of the recipe…and also, Martha doesn’t list water in her ingredients list, but she includes it in the step by step process. So I bet that there is water in her recipe too! That way of writing recipes is slightly deceiving to me 🙂
Hi Shelly,
I got afraid when i read that the frosting has a boiling water. I tried it anyways, mine got soupy. 🙁 Help please, what could have gone wrong? 🙁
Yes, it is thin when you add the hot water, but this is to help the cocoa powder mix with all the ingredients evenly. As the frosting cools, if you added all 8 cups of the powdered sugar it will firm up. I promise!!
I found your recipe on Pinterest and decided to give it a shot. I must say this is the simplest and most delicious cupcake I’ve ever had!!! My family and friends were crazy over them! I made a different frosting though without the butter..but the cupcake itself was jus amazing!! Thank you for sharing 🙂
hi. is it ok to use unsweetened cocoa powder?
Yes, you should!
I really love this recipe, it looks so amazing. I will make it for my BFF’s birthday party. But can i make it with the hand mixture, right?
p/s: I love your nail ^^
Yep, no problem!
I love, love chocolate cupcakes and your look spectacular! I am going to make them for my daughter’s birthday. Thanks for the decorating tips.
Wow cup cakes looks super tasty and tempting. Will try this soon.
Hey Shelly. I made the frosting to go with the Skillet Chocolate Cake and please let me tell you that this frosting is delicious. I did half the recipe because there would be too much for just the Skillet Chocolate Cake and now I’m wishing I would have made the whole recipe! I could eat this straight from the bowl…..and I did! My daughter has asked for this frosting on the Skillet Chocolate Cake for her birthday. We just love your recipes. They always make our tummy’s happy and leave a smile on our faces. Thanks Shelly for all of your recipes. The Martin Family in Germantown, TN
So glad to hear that you liked it!!