Home ยป Recipes ยป Cupcakes

5 from 1 vote

Chocolate Cupcakes

Iโ€™ve tested a lot of chocolate cupcake recipes over the years, and this is the one I come back to when I want something reliable. The crumb is soft and light, but still deeply chocolatey, and it stays that way even a day or two later. The frosting is just as important here. I wanted something rich and smooth without being overly sweet, and this chocolate fudge frosting is exactly that. If youโ€™ve ever had cupcakes turn out dry or flat, this version fixes that.

Youโ€™re going to love these becauseโ€ฆ

This recipe came out of trying to get a chocolate cupcake that actually holds moisture without feeling dense. The combination of cocoa powder and hot coffee gives you a deeper flavor, and the texture stays soft without needing anything complicated.

  • The crumb is soft and stays moist for days
  • The chocolate flavor is deep without being bitter
  • The frosting is rich and smooth, not overly sweet
  • The batter comes together quickly and is very forgiving
  • They work just as well for casual baking as they do for events

Key ingredients and why I use them

Cocoa powder: I use cocoa powder as the base for the chocolate flavor. It gives a consistent, rich result and keeps the crumb light.

This post may contain affiliate links. I earn a commission from qualified purchases. Please read our Privacy policy here.

Hot coffee: This is one of the most important parts of the recipe. I use hot coffee to bloom the cocoa and deepen the chocolate flavor. It wonโ€™t make the cupcakes taste like coffee.

Oil: I prefer oil over butter here because it keeps the cupcakes soft and moist even after refrigeration.

Milk (or buttermilk): I usually use milk, but buttermilk works really well if I want a slightly richer flavor and softer texture.

Melted chocolate (for the frosting): I combine melted chocolate with cocoa powder in the frosting so it has depth without becoming too heavy.

How to make chocolate cupcakes

Chocolate cupcakes are relatively straightforward, but Iโ€™ll take you through it step by step. The full recipe and ingredients are below!

Step 1: Mix the dry ingredients

I start by preheating the oven to 350ยบF and lining a cupcake pan with liners.

In a large bowl, I sift together the flour, sugar, cocoa powder, baking powder, baking soda, and salt. This helps avoid lumps and keeps the batter smooth.

Step 2: Mix the wet ingredients

In a separate bowl or measuring cup, whisk the egg, milk, oil, and vanilla extract until well combined. You could also use buttermilk instead of the milk to give this a rich twist!

Step 3: Mix the batter

Then I pour the wet ingredients into the dry and mix just until everything comes together. I donโ€™t overmix here. Next, I slowly add the hot coffee while mixing. The batter will look very thin at this stageโ€”thatโ€™s exactly what you want.

Step 4: Bake

I bake the cupcakes for about 18 minutes, until a toothpick inserted in the center comes out clean.

I let them cool in the pan for a few minutes, then transfer them to a rack to cool completely before frosting.

Step 5: Prep the chocolate ganache frosting

While the cupcakes are baking, you can prep the frosting. This frosting is what gives these cupcakes that bakery-style finish without being overly sweet.

I start by melting the chopped chocolate with the heavy cream in short intervals, stirring until smooth. Then let it cool slightly.

In a separate bowl, beat the butter until light and fluffy. I add half of the powdered sugar and cocoa powder and mix on low until combined. Then I pour in the melted chocolate and mix again.

Step 6: Finish the frosting

After that, I add the remaining powdered sugar and beat until smooth. I finish with vanilla and whip it for another minute until itโ€™s light and creamy.

Step 7: Chocolate curls (optional)

For an elegant touch, chocolate curls can be made using just two ingredients: chopped chocolate and shortening. Start by melting them together in a microwave-safe bowl in 15-second intervals, stirring until smooth.

Using an offset spatula, spread the melted chocolate in a thin, even layer on the back of a baking sheet. Place the sheet in the freezer for about 4 minutes, just until the chocolate firms up. Using a small scraper, hold it at a 45ยบ angle and gently push against the chocolate to form curls. If the chocolate is too brittle and breaks, let it sit at room temperature for a minute. If itโ€™s too soft, return it to the freezer briefly. Keep the curls frozen until ready to use.

Step 8: Assembling & finishing

Once the cupcakes are fully cooled, transfer the chocolate fudge frosting to a piping bag fitted with a piping tip of choice (I used a 4B for a textured swirl). Pipe the frosting onto each cupcake, creating smooth, decorative peaks. Top with chocolate curls, sprinkles, or your favorite garnish for a finished look. Barryโ€™s chocolate flakes work beautifully for an extra-special touch.

Storage & Freezing

I store these in an airtight container in the refrigerator for up to 4 days.

Before serving, I let them sit at room temperature for about 15 minutes so the texture softens again.

They also freeze well for 1โ€“2 months. I usually freeze the cupcakes unfrosted and add the frosting after thawing.

Expert tips

This is where small details make a big difference.

  • The batter is supposed to be thin โ€” donโ€™t try to โ€œfixโ€ it
  • Stop mixing as soon as everything is combined to keep the cupcakes soft
  • Use hot coffee, not warm, to properly bloom the cocoa
  • Make sure the cupcakes are fully cool before frosting

Variations on Chocolate Cupcakes

  • Chocolate Peanut Butter Cupcakes: Swirl in some peanut butter into the frosting for a peanut butter twist.
  • Mint Chocolate Cupcakes: Add a few drops of peppermint extract to the frosting and top with crushed peppermint candies.
  • โ€‹Espresso Chocolate Cupcakes: Use espresso instead of coffee in the batter and top with a chocolate-covered espresso bean.
  • Chocolate Ganache Center: Fill the center of each cupcake with a spoonful of rich chocolate ganache for an extra indulgent treat.
  • Swap for Cinnamon Cream Cheese Frosting: If you want a bit of a tangy twist, try topping these cupcakes with cinnamon cream cheese frosting!

FAQ

Can I use water instead of coffee?

Yes. Coffee enhances the chocolate flavor, but hot water works fine if you prefer.

Why is my batter so thin?

Thatโ€™s normal for this recipe. A thin batter is what gives you a soft, moist cupcake.

Can I make these ahead of time?

Yes. I often bake them a day ahead and frost them the next day.

Can I use Dutch-process cocoa?

Yes. This recipe works with both natural and Dutch-process cocoa.

If you liked these, you might also enjoy

If youโ€™re into chocolate desserts like this, you might also like my Chocolate Mousse Cake, Chocolate Cheesecake, or Chocolate Macarons. They all use similar techniques but give you slightly different textures.

Tag me!

If you make these, let me know how they turn out or tag me on Instagram. I always like seeing your versions of my recipes.

Chocolate Cupcakes

Camila Hurst
These Chocolate Cupcakes with Fudge Frosting are rich, moist, and intensely chocolatey, topped with a silky, decadent frosting for the ultimate indulgence.
5 from 1 vote
Prep Time 35 minutes
Cook Time 18 minutes
Decoration 10 minutes
Total Time 1 hour 3 minutes
Course Dessert
Cuisine American
Servings 12 cupcakes
Calories 457 kcal

Ingredients
 

  • 1 cup all-purpose flour 127 grams
  • 1 cup granulated sugar 200 grams
  • โ…“ cup unsweetened cocoa powder 33 grams
  • 1 tsp baking powder
  • ยฝ tsp baking soda
  • ยผ tsp salt
  • 1 large egg
  • ยฝ cup milk 120 ml
  • โ…“ cup vegetable oil 80 ml, such as canola oil
  • 1 tsp vanilla extract
  • ยฝ cup brewed coffee or hot water 120 ml
Chocolate Curls (optional for decoration)
  • ยฝ cup chopped chocolate 85 grams
  • 2 tsp shortening
Chocolate Fudge Frosting
  • ยฝ cup chopped chocolate 85 grams
  • ยผ cup heavy cream 60 ml
  • 1 cup unsalted butter 226 grams
  • ยฝ cup unsweetened cocoa powder 64 grams
  • 2 cups powdered sugar 250 grams
  • 1 tsp vanilla extract

Instructions
 

  • Pre-heat the oven to 350ยบF.
  • Sift the flour, sugar, cocoa powder, baking powder, baking soda, and salt together in a large bowl.
  • In another medium bowl, or measuring cup, mix the egg, milk, oil, and vanilla extract.
  • Pour the wet ingredients over the sifted dry ingredients.
  • Whisk until incorporated.
  • Pour the hot coffee (or hot water) over the batter. The batter will be very liquidy.
  • Pour the batter into cupcake tins, filling up only halfway.
  • Bake in the pre-heated oven for about 18 minutes, until you can touch the surface of a cupcake with your finger and it springs right back, or an inserted toothpick comes out clean.
  • Remove from the oven and let the cupcakes cool.
Chocolate Curls
  • Place the chocolate and the shortening in a microwave-safe bowl. Microwave for 15 second intervals, stirring in between, until completely melted.
  • Using an offset spatula, spread the melted chocolate on the back of a baking sheet, forming a thin uniform layer of chocolate.
  • Place in the freezer for 4 minutes.
  • Remove the tray. Use a small scraper and position it at a 45ยบ angle on the bottom of the tray, holding the top with your other hand. Push the scraper forward to form the curl. If the curls are breaking, it means the chocolate is too cold, let it sit at room temp for a bit. If the curls are coming out in huge chunks, it means itโ€™s too soft, place the tray back in the freezer for 1 minute.
  • Keep the curls frozen until ready to use.
Chocolate Fudge Frosting
  • Place the chopped chocolate in a microwave safe bowl along with the heavy cream. Microwave for 15 second and stir. If the chocolate still needs to melt, microwave for a few second increments, stirring in between, just until the chocolate has melted. Let the mixture cool down for about 10 minutes.
  • Beat the butter with a mixer for a couple of minutes until fluffy and creamy.
  • Sift half of the powdered sugar and cocoa powder into the bowl with the butter.
  • Add the melted and cooled down chocolate.
  • Mix on low until the ingredients have incorporated. Raise the speed to medium high and beat for one minute. Scrape the bowl as needed.
  • Add the remaining powdered sugar and mix to combine on low speed. Raise the speed to medium high and beat for another minute.
  • Add the vanilla and mix.
  • The frosting should be creamy and smooth.
To Decorate
  • Place the frosting in a piping bag lined with the piping tip of choice. I used a 4B.
  • Pipe the frosting on top of the cupcakes. Top with a chocolate curl or sprinkles. I used Barryโ€™s chocolate flakes.
To Store
  • Store the cupcakes in the fridge for up to 4 days, in a covered container.

Notes

Cocoa Powder: You can use Dutch processed cocoa powder as well as natural in this recipe. I usually just use natural, but have used Dutch processed with success. Typically, recipes using Dutch processed cocoa will call for baking powder, since Dutch processed cocoa powder is neutral and wonโ€™t react with baking soda. However, since this recipe has both baking powder, and baking soda, plus milk, which is acidic, you are safe to use either type of cocoa powder.
Coffee: Substitute the coffee for hot water if desired.
Cupcake Batter: The cupcake batter will be very liquidy. Only fill up the cupcake tins halfway.
Here are some tips for the frosting:
  • Make sure the butter is at about 72ยบF. If the butter is too soft, the frosting might be too runny.
  • You can always add a bit more powdered sugar to make the frosting become stiffer, but you really shouldnโ€™t have to if you measure the sugar by weight instead of cups.
  • If needed, add a bit more heavy cream to the frosting.
ย 
To Freeze: To freeze the assembled cupcakes, place them in an air tight container, and then place them in the freezer. Keep them frozen for up to 1 to 2 months. To thaw, let them sit in the fridge overnight. You can also freeze the cupcakes and the frosting separately, and thaw them in the fridge overnight.
Chocolate Curls: I learned this method from Beyond the Butter chocolate curl recipe. Check out her post for many tips.ย 

Nutrition

Serving: 1 cupcakeCalories: 457kcal
Keyword chocolate cupcakes, cupcakes
Tried this recipe?Let us know how it was!

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

17 Comments

    1. For the egg, you can substitute ยผ cup yogurt or sour cream (dairy or dairy-free) for a moist, tender crumb, which works especially well because cocoa masks any tang. Unsweetened applesauce (ยผ cup) also works, giving a softer, slightly denser texture, while mashed banana (ยผ cup) adds moisture but will contribute banana flavor. For a vegan option with more structure, use a flax egg made from 1 tablespoon ground flaxseed mixed with 2ยฝ tablespoons water and rested for 5 minutes.

  1. I’ve already done this recipe twice, and it is excellent every time !!! Today, I am baking it for the 3rd time nad I’ve made 2 changes : no sugar in the frosting, and I put approximately 1 ยผ cups of granulated sugar (instead of 2 cups) in the batter. I did it because it was for a colleague who has to control her sugar; so no sugar in the frosting. Let’s hope the frosting will come out as good as I’ve made it so far.

  2. 5 stars
    I’ve made these cupcakes multiple times, and they’re always a hit. They are similar in taste to the Hershey recipe ones, a classic.
    Camila, I’ve noticed that you have been using this recipe more frequently for your newer recipes. Would you say that you prefer this chocolate cupcake recipe over your old chocolate cupcake recipe, the one with vinegar and without eggs? Would you recommend making your old recipes that have chocolate cupcakes with this new one?
    Thank you for the amazing cupcake recipes.

  3. Hey! Can you tell me what type of piping bags (reusable or not) and tips you use and what kind of brand they are ? And where to buy them from too โ˜บ๏ธ
    PS love ur recipes!

    1. Hi!! for the disposable bags I use weeties from amazon. And for the reusable, I have from several brands. I just checked and the last brand I got was called Gemlon. I use the 16″ one. But I think it came with smaller ones too.

  4. Hi! Can you tell us the type of chocolate bar for the frosting? I may have missed it but didn’t see if it was 70%, milk, semi, etc. Thank you in advance!

  5. Hi! Can I add espresso powder to the hot water to create the hot coffee? (I am not a coffee drinker so Iโ€™m not sure if this will give the illumination of coffee or not!)

    1. yes you can. To make 1/2 cup of coffee with espresso powder, mix 1 to 1.5 teaspoons of espresso powder with 1/2 cup (120 ml) of hot water. Stir until dissolved.

    1. It’s not so much the liners, it’s the pan. It’s a jumbo muffin pan. If you type on amazon: jumbo muffin pan with straight sides, you should be able to find it. For the liners I like the jumbo wilton liners.