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:













Mm, all of this looks so delicious! I love to get creative with pumpkin recipes; the flavor is perfect for fall! Thanks so much for sharing so many neat recipes!
Your readers will appreciate the Dutch powder tip. Most chocolate lover would desire a richer flavor.
Your readers will appreciate the tip about the Dutch powder. Most chocolate lovers will appreciate a richer flavor.
8 cups of powdered sugar? Seems Ike too much. Is that correct?
yep! It makes a big batch!
For the frosting..is it regular butter? Salted? Unsalted?
I used salted, but please use whatever you prefer most!
Ive made this twice. First batch was very good! Second time im not sure what i did different but the frosting was not stiff! ?It wouldnt pipe and ran off the cupcake. i even added more sugar and that didnt help.
How can I store the icing and how long will it last
store it airtight in the fridge for up to 5 days or airtight in the freezer for up to a month!
nice recipe! Thankyou Shelly! keep blogging!
why does the wilton 1M tip say korea on it?
I’M korean so i was just wondering.
I’m sort of a curious person:)
P.S the cupcakes look super good!
I prepared these cupcakes for a birthday party last week and everyone absolutely loved them! Thanks for sharing.
Have you ever refrigerated the frosting to use for piping the next week? I’m making a lot of cupcakes and trying to work ahead by pre-making my frosting. Sounds like a delicious recipe!
Yes, you could absolutely refrigerate the frosting, just let it come up to room temp and then you might need to whip it a bit, but it will be fine!