If you’re anything like me, you know there’s nothing quite like a rich, moist chocolate cupcake to turn an ordinary day into something a little sweeter. Whether it’s a birthday, a last-minute bake sale, or just a weeknight craving, these chocolate cupcakes are always the answer. Seriously, I’ve made these more times than I can count—and not once have I seen anyone eat just one. They’re that good.
These cupcakes are soft and tender with that deep cocoa flavor we all crave. And the frosting? Oh, it’s velvety smooth, just the right amount of sweet, and easy enough for a beginner to whip up. I like to think of this recipe as my trusty go-to: no fancy ingredients, no complicated steps—just pure, homemade goodness that never fails.
Before we dive into the steps, let’s talk a little bit about why these cupcakes stand out. First, the texture: thanks to the buttermilk and hot water (or coffee, if you’re feeling bold), you get a moist, delicate crumb that’s full of flavor but not dense. And the flavor? It’s classic chocolate, but with a richness that goes beyond what you’d expect from a simple cupcake. These aren’t dry, forgettable cupcakes. These are the kind of cupcakes that make people ask for the recipe.
I’ve tested and tweaked this recipe over time, and it’s officially become one of those “write it on a recipe card and tape it to the inside of the cabinet” kinds of recipes. It just works, every time. So grab your muffin tin and let’s get baking!
Ingredients You’ll Need
For the cupcakes:
1 cup all-purpose flour
½ cup unsweetened cocoa powder
¾ teaspoon baking powder
½ teaspoon baking soda
¼ teaspoon salt
1 cup granulated sugar
2 large eggs
½ cup vegetable oil
½ cup buttermilk
1 teaspoon vanilla extract
½ cup hot water or brewed coffee
For the chocolate buttercream:
½ cup unsalted butter, softened
1¾ cups powdered sugar
½ cup unsweetened cocoa powder
¼ teaspoon salt
2 to 3 tablespoons milk or cream
1 teaspoon vanilla extract
STEP 1: Preheat and Prep
First things first—go ahead and preheat your oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners. I like to use fun, colorful liners when I’m making these for parties, but classic white works just fine too.
STEP 2: Mix the Dry Ingredients
In a large mixing bowl, sift together:
1 cup all-purpose flour
½ cup unsweetened cocoa powder
¾ teaspoon baking powder
½ teaspoon baking soda
¼ teaspoon salt
Give that a gentle stir to combine everything, then add in 1 cup granulated sugar and stir again. Sifting really helps make sure the batter stays light and lump-free, especially when working with cocoa powder.
STEP 3: Mix the Wet Ingredients Separately
In another bowl, whisk together:
2 large eggs
½ cup vegetable oil
½ cup buttermilk
1 teaspoon vanilla extract
You want this mixture to be smooth and well-blended. Buttermilk is the secret weapon here—it brings that soft, tender crumb and just the right tang to balance out the richness of the chocolate.

STEP 4: Combine Wet and Dry
Now slowly pour the wet ingredients into the dry ingredients. Stir until just combined—don’t overmix or the cupcakes can turn out tough. The batter will be thick at this point, and that’s exactly what we want before the final magic step.
STEP 5: Add Hot Water (Or Coffee)
Last step before baking: gradually stir in ½ cup of hot water (or hot brewed coffee if you really want to amp up the chocolate flavor). The batter will thin out quite a bit—don’t worry, that’s totally normal! In fact, that’s what gives these cupcakes their rich, moist texture.
STEP 6: Fill and Bake
Evenly divide the batter among the 12 cupcake liners. Aim to fill each one about two-thirds full—any more than that and you risk overflow. Pop the tray in the oven and bake for 18 to 20 minutes, or until a toothpick inserted in the center comes out clean.
Let the cupcakes cool in the pan for about 5 minutes, then transfer them to a wire rack to cool completely. Trust me—waiting is the hardest part!

How to Make the Best Chocolate Buttercream Frosting
Now that your kitchen smells like a chocolate dream and your cupcakes are cooling on the rack, it’s time to make the part everyone’s really here for: the frosting. And not just any frosting—this is a rich, smooth, chocolate buttercream that spreads like a dream and pipes beautifully. It’s that perfect balance of creamy, chocolatey, and sweet without being too much.
This chocolate buttercream comes together quickly, and it’s made with pantry staples. No need for melted chocolate or anything fancy—just good old-fashioned cocoa powder, butter, powdered sugar, and a splash of vanilla. The result? A frosting so good, you’ll be tempted to skip the cupcakes and eat it with a spoon. (No judgment if you do.)
Let’s get right into it.

STEP 7: Cream the Butter
Start by adding ½ cup of softened unsalted butter to a large mixing bowl. Use a hand mixer or stand mixer to beat the butter on medium-high speed until it’s light, creamy, and smooth—about 2 to 3 minutes. This step is important for achieving that fluffy texture, so don’t rush it!
Tip: If your butter isn’t quite soft, cut it into small cubes and let it sit at room temp for 10-15 minutes. Avoid microwaving, as it can make it too soft or even melt it, which we don’t want.
STEP 8: Add Cocoa Powder and Powdered Sugar
Next, sift in:
1¾ cups powdered sugar
½ cup unsweetened cocoa powder
Sifting helps avoid lumps and keeps your frosting smooth. Beat the mixture on low speed at first (to avoid a sugar cloud), then gradually increase to medium-high until everything is well combined. It’ll look a little thick and dry at this stage, and that’s totally okay.
STEP 9: Add Vanilla, Salt, and Milk
Add the following to the bowl:
¼ teaspoon salt
1 teaspoon vanilla extract
2 tablespoons milk or cream, adding more as needed (up to 3 tablespoons total)
Now beat everything together until the frosting is fluffy and spreadable. You want it thick enough to hold its shape on a cupcake, but soft enough to spread or pipe easily. If it feels too stiff, just add a tiny bit more milk, a teaspoon at a time.
Tip: If you’re piping your frosting, you may want it a bit thicker. For spreading with a spatula, a slightly softer consistency works great.
Frost Your Cooled Cupcakes
Once your cupcakes are completely cooled (seriously, make sure they’re cool or the frosting will melt right off), it’s time to frost! You can go fancy with a piping bag and tip, or keep it simple and use an offset spatula or even the back of a spoon.
These cupcakes look gorgeous just as they are with a swirl of chocolate buttercream, but if you’re feeling festive, try adding:
Chocolate sprinkles
Mini chocolate chips
Shaved chocolate curls
A light dusting of cocoa powder
You can also get creative with themed liners or edible toppers for birthdays or holidays.
Tips for Perfect Chocolate Cupcakes Every Time
These cupcakes are pretty foolproof, but a few small tricks can really take them to the next level:
Use room temperature ingredients – Especially the eggs and buttermilk. They blend more easily, which helps create that soft, even texture.
Don’t overmix the batter – Once you combine the wet and dry ingredients, mix until just combined. Overmixing develops the gluten in the flour and can make your cupcakes dense or chewy.
Coffee is your secret weapon – If you haven’t tried adding hot brewed coffee to your chocolate cake batter, this might sound odd—but trust me, it doesn’t make your cupcakes taste like coffee. It just deepens the chocolate flavor and gives it that extra-rich taste.
Check your cupcakes at 18 minutes – Ovens can vary, so start checking with a toothpick a minute or two before the full baking time. You want it to come out clean or with just a few moist crumbs—no wet batter.
Cool completely before frosting – This one can’t be stressed enough. If the cupcakes are even a little warm, your buttercream will melt and slide right off.
Optional Variations to Try
Looking to mix things up? Here are a few ways you can adapt this base recipe:
Add a filling – Use a piping tip to inject chocolate ganache or raspberry jam into the center of each cupcake before frosting.
Switch up the frosting – Not in the mood for chocolate-on-chocolate? These cupcakes also pair beautifully with vanilla buttercream, cream cheese frosting, or even peanut butter frosting.
Make mini cupcakes – Perfect for parties or little hands. Just reduce the baking time to around 10–12 minutes.
Go dairy-free – Use almond milk or oat milk in the cupcake batter and frosting, and sub the butter for a plant-based alternative.
Chocolate Cupcakes FAQ + Final Thoughts
You’ve got your rich, moist chocolate cupcakes and dreamy chocolate buttercream ready to go—what’s next? Whether you’re making these for the first time or you’re a seasoned cupcake baker looking for some extra tips, this last section covers the most frequently asked questions I get about this recipe.
Let’s get into it!

Frequently Asked Questions
1. Can I make these cupcakes ahead of time?
Yes! These cupcakes are perfect for making ahead. You can bake the cupcakes a day in advance and store them in an airtight container at room temperature. If you’re making them more than a day ahead, I recommend refrigerating them (unfrosted or frosted). Just bring them to room temperature before serving so the texture and flavor are at their best.
2. Can I freeze chocolate cupcakes?
Absolutely. Once baked and completely cooled (and preferably unfrosted), place the cupcakes in a freezer-safe container or zip-top bag. They’ll keep well in the freezer for up to 2 months. When you’re ready to use them, thaw them overnight in the fridge, then bring to room temp and frost as usual.
3. What’s the best way to store frosted cupcakes?
If you’ve already frosted the cupcakes, they can be stored in an airtight container at room temperature for up to 2 days. If your kitchen is warm or humid, keep them in the fridge instead and bring them back to room temperature before serving for the best texture.
4. Can I use Dutch-process cocoa powder instead of natural?
This recipe is designed for natural unsweetened cocoa powder, which reacts properly with the baking soda. If you only have Dutch-process, your cupcakes might not rise the same way. You can still try it, but just know the texture and flavor may vary slightly.
5. How can I make this recipe dairy-free?
It’s simple to swap the dairy ingredients if needed. Use a dairy-free buttermilk substitute (like unsweetened almond milk mixed with 1 teaspoon of vinegar), and choose a plant-based butter and non-dairy milk for the frosting. The flavor will still be rich and delicious.
6. Can I make this recipe into a cake instead of cupcakes?
Yes! This batter works great as a cake, too. Pour it into a greased 8-inch or 9-inch round cake pan and bake at 350°F for 30–35 minutes, or until a toothpick comes out clean. You can also double the recipe for a two-layer cake.
7. My frosting is too thick/thin—how do I fix it?
If your buttercream is too thick, add a tiny bit of milk—just one teaspoon at a time—until it reaches the right consistency. If it’s too thin, add more powdered sugar a few tablespoons at a time until it firms up. Be sure to mix thoroughly after each addition.
Final Thoughts
And there you have it—your go-to recipe for the best ever chocolate cupcakes, made completely from scratch. Whether you’re baking for a celebration or just because you’re in the mood for something sweet, these cupcakes always deliver.
What I love most about this recipe is how easy it is to customize. You can keep it classic, go fancy with fillings and sprinkles, or swap in different frostings to suit your mood. But no matter how you spin it, the foundation is solid: a rich, chocolatey base with a soft, moist crumb and that luscious buttercream on top.
If you try this recipe, I’d love to hear how it went! Did you stick with the chocolate-on-chocolate combo, or put your own spin on it? Leave a comment and let me know—especially if you discovered a fun twist. And don’t forget to share this recipe with your fellow cupcake lovers. Because honestly, life’s too short not to have a little chocolate.
Print
Chocolate Cupcakes
- Author: Andrew Recipes
Description
These classic chocolate cupcakes are rich, moist, and deeply chocolatey with a soft, tender crumb. Made from scratch using simple ingredients, they’re perfect for any celebration or a casual sweet craving. Topped with a smooth and creamy chocolate buttercream, these cupcakes are an irresistible treat for both kids and adults.
Ingredients
For the cupcakes
1 cup all-purpose flour
½ cup unsweetened cocoa powder
¾ teaspoon baking powder
½ teaspoon baking soda
¼ teaspoon salt
1 cup granulated sugar
2 large eggs
½ cup vegetable oil
½ cup buttermilk
1 teaspoon vanilla extract
½ cup hot water or brewed coffee
For the chocolate buttercream
½ cup unsalted butter, softened
1¾ cups powdered sugar
½ cup unsweetened cocoa powder
¼ teaspoon salt
2 to 3 tablespoons milk or cream
1 teaspoon vanilla extract
Instructions
Preheat the oven to 350°F and line a 12-cup muffin tin with cupcake liners.
In a large bowl, sift together the flour, cocoa powder, baking powder, baking soda, and salt. Stir in the sugar until combined.
In another bowl, whisk the eggs, oil, buttermilk, and vanilla until smooth. Gradually add the wet ingredients to the dry ingredients, mixing until just combined. Slowly stir in the hot water or coffee until the batter is smooth and slightly thin.
Divide the batter evenly among the cupcake liners, filling each about two-thirds full. Bake for 18 to 20 minutes, or until a toothpick inserted into the center comes out clean. Let the cupcakes cool in the pan for 5 minutes, then transfer them to a wire rack to cool completely.
To make the frosting, beat the butter in a large bowl until creamy. Sift in the powdered sugar and cocoa powder, then mix until combined. Add the salt, vanilla extract, and milk one tablespoon at a time, beating until the frosting reaches a smooth and fluffy consistency.
Once the cupcakes are completely cool, frost them using a piping bag or spatula. Optionally, decorate with sprinkles, chocolate shavings, or a dusting of cocoa powder.
Notes
Using coffee instead of hot water enhances the chocolate flavor without making the cupcakes taste like coffee. For best results, use room temperature ingredients. These cupcakes can be stored in an airtight container at room temperature for up to two days, or refrigerated for longer freshness. Bring them to room temperature before serving if chilled.



