Dark Chocolate Cupcakes are my go-to when I want a dessert that tastes deeply cocoa and feels properly rich. They’re soft, dark, and the kind of chocolate cupcake that holds its own even before the frosting goes on.
The crumb on these is moist and tender (but not fragile), and the flavor stays bold and chocolatey thanks to cocoa plus hot coffee. I like this recipe because it’s reliable, and the buttercream is a true chocolate frosting, not just sweet butter.
I make these for birthdays, weekend baking, and anytime I want a dessert that looks a little special with very little extra effort. They’re also great when you want a classic cupcake that pairs well with ice-cold milk or a simple cup of coffee.

Why You’ll Love This Recipe
Deep chocolate flavor: Cocoa plus hot coffee gives the cupcakes that darker, bakery-case kind of chocolate taste (without making them taste like coffee).
Moist crumb: Buttermilk and oil keep these soft for days, and the texture stays tender instead of dry or bouncy.
Simple ingredients: Nothing fussy here—just good basics that are easy to find, with a couple optional upgrades if you want them.
Rich frosting: The buttercream uses cocoa and melted dark chocolate, so it actually tastes like chocolate instead of just sugar.
Great for sharing: This batch makes 12, which is just right for a party platter or a small get-together.
Ingredients You’ll Need
Cupcakes
- All-purpose flour: I use regular AP flour here. It gives the cupcakes enough structure but still keeps the crumb soft.
- Granulated sugar: Plain white sugar is what I reach for in this batter. It keeps the chocolate flavor clean and sharp.
- Unsweetened cocoa powder: Use the best cocoa you have since it’s doing a lot of the work. Natural or Dutch-process both work; Dutch-process makes them look extra dark.
- Baking soda: This helps with lift and also deepens the color, especially if you use Dutch-process cocoa.
- Baking powder: A little extra insurance so the cupcakes rise evenly.
- Fine salt: Don’t skip it. It keeps the cupcakes from tasting flat.
- Espresso powder (optional): I like adding it when I have it. It makes the chocolate taste more intense, not “mocha.”
- Eggs: Two large eggs bind everything and keep the texture cake-like instead of brownie-dense.
- Buttermilk: This gives a tender crumb and a little tang. If you don’t have it, the quick milk-and-lemon swap works just fine.
- Vegetable oil: Oil keeps these cupcakes moist even after they cool. Neutral oils work best.
- Vanilla extract: Vanilla rounds out the cocoa flavor. I use pure vanilla, but imitation is fine in cupcakes.
- Hot coffee or hot water: Hot coffee is my preference for stronger chocolate flavor. Hot water works too if you want to keep it simple.
Chocolate Buttercream
- Unsalted butter: Make sure it’s softened so it beats up creamy and smooth. If it’s still cold, the frosting can get lumpy.
- Powdered sugar: This sweetens and thickens the frosting. I like to sift it so the frosting pipes neatly.
- Unsweetened cocoa powder: More cocoa here keeps the frosting tasting like chocolate, not just sweet butter.
- Dark chocolate: Melt it, then let it cool before adding so it doesn’t melt the butter. This is what gives the frosting that richer chocolate finish.
- Heavy cream: Add it gradually. A little makes it fluffy; a touch more makes it easier to pipe.
- Vanilla extract: Just enough to round it out. It helps the chocolate taste more “finished.”
- Salt: A small pinch makes the frosting taste less one-note.

Recipe Instructions
- Preheat the oven: Heat the oven to 350°F and line a 12-cup muffin pan with cupcake liners.
- Mix the dry ingredients: In a medium bowl, whisk the flour, sugar, cocoa powder, baking soda, baking powder, salt, and espresso powder (if using) until evenly combined.
- Mix the wet ingredients: In a separate bowl, whisk the eggs, buttermilk, oil, and vanilla until smooth.
- Add the wet to the dry: Pour the wet ingredients into the dry ingredients and mix just until smooth and you don’t see dry flour.
- Add the hot coffee: Whisk in the hot coffee (or hot water) until the batter is thin and uniform.
- Fill the liners: Divide the batter evenly between the liners, filling each about 2/3 full.
- Bake: Bake for 16 to 20 minutes, until a toothpick comes out with a few moist crumbs.
- Cool the cupcakes: Cool in the pan for about 5 minutes, then transfer to a rack and cool completely before frosting.
- Beat the butter: For the frosting, beat the softened butter until creamy, about 2 minutes.
- Add the sugar and cocoa: Sift in the powdered sugar and cocoa powder, then beat on low at first and then medium until combined.
- Add chocolate and flavoring: Beat in the melted, cooled dark chocolate, vanilla, and a pinch of salt.
- Add the cream: Add heavy cream gradually until the frosting is fluffy and pipeable, then beat 1 more minute.
- Frost and garnish: Frost the cooled cupcakes and garnish with chocolate shavings or a light dusting of cocoa, if you want.

Some of my tips!
This is the part that really makes a difference. If you only read one section, make it this one because this is where I share the little trick that helps the recipe turn out so well.
Recipe Tips & Tricks
Don’t overmix once the flour is in. Mix just until the batter comes together and looks smooth. Overmixing can make chocolate cupcakes a little tough.
Use hot coffee if you can. It deepens the cocoa flavor and makes the batter silky. The cupcakes won’t taste like coffee, it just tastes more like chocolate.
Fill the liners about 2/3 full. If you overfill, they tend to dome too much and can spill over the edges. A scoop makes this faster and more even.
Cool completely before frosting. Even slightly warm cupcakes will melt buttercream and make it slide around. I usually give them at least 45 minutes on the rack.
Let the melted chocolate cool down. If it’s still warm when you add it to the butter, the frosting can get soft and a little greasy.
Make some touches!
There are plenty of easy ways to serve this depending on the occasion. Keep it simple, or add a few small touches to make it feel a little more special.
Serving Suggestions
- Milk: A cold glass of milk is classic with rich chocolate cupcakes. Especially good if you add a tiny pinch of salt on top of the frosting.
- Coffee: Serve these with black coffee or a latte. I like coffee alongside the cupcakes even when I use coffee in the batter.
- Fresh berries: Strawberries or raspberries on the plate make the cupcakes feel a little lighter. It’s also nice if you’re serving them after a heavier meal.
- Ice cream: Vanilla or coffee ice cream on the side turns this into an easy plated dessert. One cupcake is plenty with a small scoop.
Save it for later
This section covers how to store leftovers and what parts of the recipe you can prepare ahead of time.
Storage and Make Ahead
Store frosted cupcakes airtight at cool room temperature for up to 3 days. If your kitchen runs warm, I usually refrigerate them so the buttercream stays firm.
Refrigerate for up to 5 days in an airtight container. Bring them back to room temperature before serving so the cake softens and the frosting isn’t stiff.
If you want to make this recipe ahead, bake the cupcakes a day early and frost the next day. The flavor is actually better once the cupcakes have had a little time to sit.
You can also freeze unfrosted cupcakes in a freezer bag or airtight container. Thaw at room temperature, then frost once they’re fully thawed.

A few quick answers
This section covers a few extra details that may help before you head to the recipe card.
Recipe FAQs
Can I use hot water instead of coffee?
Yes. Hot water works fine and you’ll still get a good chocolate cupcake. Coffee just boosts the cocoa flavor a bit more.
What’s the best cocoa powder for these cupcakes?
Both natural and Dutch-process work. If you want a darker color, Dutch-process is the easiest way to get it, and the baking soda in the recipe still helps the cupcakes rise.
How do I know when the cupcakes are done?
I look for a toothpick that comes out with a few moist crumbs (not wet batter). The tops should look set, and the cupcakes should spring back lightly when you touch them.
Can I substitute for buttermilk?
Yes. Mix milk with a little lemon juice and let it sit for about 5 minutes, then use it like buttermilk. It’s not identical, but it works well in this recipe.
Why is my buttercream too thick or too soft?
If it’s too thick, add a little more cream, a teaspoon at a time. If it’s too soft, chill it for 10 to 15 minutes, then beat again; this usually brings it back to a pipeable texture.
You might also like
Before you go, take a look at a few other recipes below the recipe card. They use similar ingredients in a different way and are worth saving too.

Dark Chocolate Cupcakes
INGREDIENTS
Cupcakes
- 1 cup all purpose flour
- 1 cup granulated sugar
- 1 2 cup unsweetened cocoa powder
- 1 tsp baking soda
- 1 tsp baking powder
- 1 2 tsp fine salt
- 1 tsp espresso powder optional
- 2 large eggs
- 1 2 cup buttermilk
- 1 2 cup vegetable oil
- 2 tsp vanilla extract
- 1 2 cup hot coffee or hot water.
Chocolate Buttercream
- 1 cup unsalted butter softened
- 3 1 2 cups powdered sugar
- 3 4 cup unsweetened cocoa powder
- 4 oz dark chocolate melted and cooled
- 1 4 cup heavy cream plus more as needed
- 2 tsp vanilla extract
- pinch of salt.
INSTRUCTIONS
Bake Cupcakes
- Heat oven to 350 F and line a 12 cup muffin pan with liners
- whisk flour sugar cocoa baking soda baking powder salt and espresso powder until evenly combined
- whisk eggs buttermilk oil and vanilla then pour into dry ingredients and mix just until smooth
- whisk in hot coffee until batter is thin and uniform
- divide batter evenly filling liners about 2 3 full
- bake until a toothpick comes out with a few moist crumbs 16 to 20 minutes
- cool 5 minutes in pan then transfer to a rack to cool completely.
Make Frosting And Finish
- Beat butter until creamy 2 minutes
- sift in powdered sugar and cocoa and beat on low then medium until combined
- beat in melted chocolate vanilla and salt
- add cream gradually until fluffy and pipeable then beat 1 more minute
- frost cooled cupcakes and optionally garnish with chocolate shavings or cocoa dust.
