I’m excited to be sharing what I consider the BEST moist chocolate cupcake recipe around and its super easy to make (move over boxed cake mix!). Don’t get me wrong. I still love my german chocolate, chocolate cherry, chocolate raspberry, and rocky road cupcakes. But nailing a classic like chocolate cupcakes? It’s foundational.
When it comes to celebrations like classroom birthdays or baby showers, few treats are as beloved as cupcakes. They’re perfectly portable, pre-portioned, and adorable to boot. What’s not to love?
Plus, they come in so many fun flavors! From tropical coconut to juicy strawberry, salty peanut butter cupcakes to cookies and cream cupcakes, there’s a cupcake for every occasion. Valentine’s? Check. Easter? Yes, yes, so much yes. Halloween. Thanksgiving. Christmas. Winter Solstice. New Year’s Eve. Toddler parties. You name it, there’s a delicious cupcake that’ll fit the vibe.
What You Need To Make This Recipe

All-Purpose Flour — Plain white flour is all you need to make this simple chocolate cupcakes recipe. You should also be able to swap in a cup-for-cup gluten-free all-purpose flour blend if needed; just make sure to rest the batter for 30 minutes before baking to allow the flour time to rehydrate.
Granulated Sugar — White sugar has a neutral flavor that allows all the chocolatey goodness of these homemade chocolate cupcakes to shine through.
Unsweetened Cocoa Powder — If possible, reach for Dutch-processed cocoa, which is less bitter-tasting than regular. That said, conventional cocoa powder, black cocoa powder, or even raw cacao powder can also be used to make this easy chocolate cupcakes recipe.
Baking Soda — For leavening. To make sure your baking soda is still fresh, mix a small amount with the acid of your choice (e.g. lemon juice or vinegar). If it foams and bubbles, it’s still active! If it doesn’t, it’s time to replace your batch.
Salt — A touch of sea salt helps to enhance the flavor of chocolate.
Buttermilk — For adding fat, moisture, and a touch of acid, which contributes to an extra tender crumb. Unless you have a plan to make buttermilk biscuits and/or a buttermilk pie in the near future, you probably don’t need a whole jug just for this chocolate cupcakes recipe. Instead, make your own buttermilk by mixing regular milk with vinegar or lemon juice! You can also thin out sour cream or plain yogurt with some milk instead.
Vegetable Oil — For a neutral-flavored fat that imparts tons of moisture. Feel free to swap in fruity or peppery olive oil for a fun, grown-up twist on this moist chocolate cupcake recipe. Other options include avocado or peanut oil.
Egg — For binding the chocolate cupcake batter together. You can easily use liquid eggs that come in a carton, but don’t swap in egg whites; they don’t have enough fat and can dry out the cupcakes.
Vanilla Extract — For warmth and depth. You can also use an equal amount of vanilla paste or vanilla powder.
How To Make Chocolate Cupcakes

1. Add the flour, sugar, cocoa powder, baking soda, and salt to a large mixing bowl.
2. Whisk the dry ingredients to combine.

3. Add the buttermilk, oil, eggs, and vanilla to a medium mixing bowl.
4. Whisk the wet ingredients to combine.

5. Pour the wet ingredients into the dry ingredients and whisk until well combined and no dry streaks of flour remain.
6. Divide the cupcake batter among the cupcake liners, filling each about ⅔ full. Bake for 20 to 25 minutes or until a toothpick inserted into the center comes out clean. Let cool in the pan for a few minutes, then remove and finish cooling on a wire rack. Frost the cupcakes as desired.

Pro Tips For Making This Recipe
- Try my favorite new YouTube trick and use high-quality olive oil in place of vegetable oil. It’ll turn classic chocolate cupcakes into fancy chocolate cupcakes in a flash, imparting the flavorful qualities of your favorite cold-pressed bottle. Try an Italian varietal for grassy undertones, Greek for spicy, or Spanish for more fruity and nutty flavors.
- For best results in baking, start with room temperature ingredients. Letting your eggs and buttermilk come to room temp means they’re easier to incorporate into the batter. This is great news, because we want to mix the batter as little as possible while still incorporating all the flour. Why? Over-mixing causes the build-up of excess gluten, which can cause the otherwise moist crumbs to be tough.
Invest in a good airtight container that will fit your cupcakes. These convenient carrying cases make it so easy to share your fresh baked goodies with co-workers, friends, and classmates! - Sometimes, I like to swap out half of the buttermilk for hot coffee, which amplifies the cocoa powder’s flavor.

Frequently Asked Questions
In my mind, chocolate muffins and chocolate cupcakes are definitely related. The biggest difference is that cupcakes are typically frosted, whereas muffins are not. Additionally, chocolate muffins are totally acceptable to eat for breakfast whereas you might witness a raised eyebrow or two if you eat homemade cupcakes for breakfast. That said, I promise not to judge you either way!
Since chocolate plays well with so many flavors, chocolate cupcakes are amazing chameleons depending on what frosting you add.
Top them with classic chocolate frosting or vanilla frosting for approachable crowd-pleasers. Lace your chocolate buttercream with some espresso powder to make a lovely mocha frosting, or top them with whipped chocolate ganache for death by chocolate cupcakes.
You can also use peanut butter buttercream for a salty-sweet treat, or cream cheese frosting to add a bit of tang!
What’s your favorite frosting to pair with chocolate cupcakes? Let me know in the comments!
If you’re looking for a short answer, then yes, not necessarily, and no. Chocolate naturally contains caffeine, so adding cocoa powder to the batter means that caffeine is part of the mix. That said, it’s not a ton! Each cupcake will have about the same amount of caffeine as a decaf cup of coffee.
As for dairy, I do use buttermilk in this super moist chocolate cupcakes recipe.
However, you can easily use non-dairy buttermilk if needed. If you’re aiming to make your cupcakes completely dairy-free, make sure your frosting is, as well.
In terms of nuts, unless you add some chopped ones to the batter or use nut-based milk to make your buttermilk, this basic chocolate cupcake recipe is totally nut-free.
If you’ve tried this Chocolate Cupcake recipe, then don’t forget to rate the recipe and let me know how you got on in the comments below, I love hearing from you!

Chocolate Cupcake Recipe
Video
Equipment
- Muffin pan
- Cupcake liners
- Mixing Bowls
- Whisk
- Wire cooling rack
Ingredients
- 1½ cups all-purpose flour (180g)
- 1¼ cups granulated sugar (250g)
- ¼ cup unsweetened cocoa powder (25g)
- ¾ teaspoon baking soda
- ¼ teaspoon salt
- 1 cup buttermilk room temperature (240ml)
- ½ cup vegetable oil (80ml)
- 1 large egg
- 2 teaspoons vanilla extract
Instructions
- Preheat the oven to 350°F. Line a 12-cup muffin pan with paper cupcake liners.
- Whisk together the flour, sugar, cocoa powder, baking soda, and salt in a large mixing bowl. In a medium mixing bowl, whisk the buttermilk, oil, eggs, and vanilla until well combined. Pour the wet ingredients into the dry ingredients and whisk until well combined and no dry streaks of flour remain. Divide the cupcake batter among the paper liners, filling each about ⅔ full.
- Bake for 20 to 25 minutes or until a toothpick inserted into the center comes out clean. Let cool in the pan for a few minutes, then remove and finish cooling on a wire rack. Frost the cupcakes as desired.
Notes
- Try my favorite new YouTube trick and use high-quality olive oil in place of vegetable oil. It’ll turn classic chocolate cupcakes into fancy chocolate cupcakes in a flash, imparting the flavorful qualities of your favorite cold-pressed bottle. Try an Italian varietal for grassy undertones, Greek for spicy, or Spanish for more fruity and nutty flavors.
- For best results in baking, start with room temperature ingredients. Letting your eggs and buttermilk come to room temp means they’re easier to incorporate into the batter. This is great news, because we want to mix the batter as little as possible while still incorporating all the flour. Why? Over-mixing causes the build-up of excess gluten, which can cause the otherwise moist crumbs to be tough.
Invest in a good airtight container that will fit your cupcakes. These convenient carrying cases make it so easy to share your fresh baked goodies with co-workers, friends, and classmates! - Sometimes, I like to swap out half of the buttermilk for hot coffee, which amplifies the cocoa powder’s flavor.















Samantha says
How long can the finished iced cupcakes be left out?
jkanell says
Overnight if covered is totally fine 🙂
Sajna says
Your video are super cool John! It’s so yummylicious chocolate cupcakes. I baked them for my son’s birthday. They loved it. Thank you so much for a lovely a recipe.
Cristina says
Hi, I left a comment but apparently it has been deleted.
I wanted to know please how much chocolate is 1/2 cup of chocolate for the cream.
Thank you!
Brian R. says
The frosting takes some time but I got rave reviews at work. Also, in the video you call for 10oz. of chocolate but the recipe only calls for 8oz for the frosting. I only used 8oz. and it turned out great. Thanks!!!!
Courtney says
Mae these last night spur of the moment after watching you make them on YouTube. They are a hit! my husband loves that they are perfectly sweet but not to sweet. he said he can easily eat 3-4 if he wanted to and then told me to take them to work so he doesn’t do that! Although standing over that double boiler to get that sugar and egg whites to 160 degrees is no joke! I swear I whisked for a half hour and doubted myself since it started to look like marshmallow fluff. thank you so much for sharing this recipe
Thrudy says
My first time baking your recipes and these cupcakes were delicious. I’m thinking what recipe will be next. Thanks John!
Heather Scott says
Best chocolate cupcakes EVER..according to my neighbour’s daughter. Went down a storm at our Village Fete Cake stall on Sunday.
Pat Dancz says
I have attempted chocolate Swiss buttercream 4 times now. EVERY time the buttercream is great…until I add the chocolate. It always makes the buttercream very soft…too soft to pipe. I have let it cool to room temp, I have cooled it in the fridge until it just starts setting. I have decreased the amount of chocolate…what am I doing wrong???
Help!!
Pat
jkanell says
If you’re adding melted chocolate if will definitely set up. Mix it in and if it’s a bit runny let it chill in the fridge for 5 min then whip again 🙂
Christi Allen says
Love watching your videos. Between you & Gemma I’ve learned so much about baking.
Mayra says
Soooo deliciously good !!!! And very easy first time making Swiss meringue buttercream I will never do anything else but this from now on. Best frosting ever silky and smooth Thank you once again John
Sheeba says
Hi John, I baked almost all your recipes. Even without cake strips. They come out perfect. I do a lot of fondant cakes and your recipes are perfect for stacking. Thanka a ton for troubleshooting as well.
jkanell says
Thank you!
Jenny Olbrich says
Hi John!
I love these cupcakes! They’re perfectly balanced with the sweetness! How do they hold up baking the day before or even 2 days? Could I refrigerate them then bring them out to get to room temp? Thank you soo much! Jenny