Mocha Cupcakes
Today we’re combining two of my favorite things, coffee and chocolate!! These mocha cupcakes are brimming with a perfect balance of these two flavors.
They’re made with a chocolate espresso cupcake base, an espresso chocolate ganache filling, and an espresso buttercream frosting.

What more could you want in a mocha cupcake, right?!
The Chocolate Espresso Cupcake Base
This cupcake recipe is based on my classic chocolate cupcake recipe. The original recipe uses a hint of instant coffee, but I upped the ante to include 1 tablespoon of instant coffee or espresso powder.
I prefer using instant espresso powder because I think it gives the cupcakes a stronger coffee flavor. However, instant coffee will get the job done too.

My biggest tip when making these mocha cupcakes is to be sure not to over-mix the batter! Over-mixed batter can lead to dense, chewy cupcakes.
By mixing the batter just until the ingredients are combined you are guaranteed tender, soft cupcakes.
The Espresso Ganache Filling
Now onto my favorite part of these cupcakes, the filling!! The espresso ganache in this recipe is on double duty. It’s used to fill the cupcakes and garnish them.
Ganache is made by heating heavy cream and mixing it with chocolate. Despite its fancy sounding name, it is incredibly easy to make.

Once the mixture cools to room temperature the ganache is thicker and makes the perfect filling. It’s decadent and has a smooth consistency almost like fudge!
After the cupcakes are frosted, we heat the ganache up a bit to allow us to drizzle it over the frosting. This gives the cupcakes a beautiful, finished look without requiring any extra work!
The Espresso Buttercream
Since we already have loads of chocolate in the cupcakes, filling, and garnish, I figured we should highlight the coffee flavor in the buttercream frosting.
The key to incorporating a strong flavor is to mix the instant espresso or coffee with the vanilla extract. This dissolves the instant espresso and evenly flavors the frosting.

If you try to add instant coffee or espresso straight into the frosting it won’t dissolve, and you’ll end up with little chunks of coffee in your frosting. The fat from the butter prevents it from properly dissolving.
If you have an espresso machine you can also add in 1 Tbsp of cooled espresso in place of the instant espresso and heavy cream. Just be sure that it’s cooled so that it doesn’t melt the frosting!
Substitutions and Swaps – Chocolate Espresso Cupcakes
This mocha cupcake recipe use quite a few ingredients and I know you might not have them all on hand. Or if you have food allergies or restrictions, I’ve got you covered.

Below are some swaps and substitutions that can be made:
- Chocolate Chips – You can use milk, dark or semi-sweet chocolate to make these chocolate cupcakes! Just be sure it’s a good quality chocolate so it will melt down smoothly.
- Whole Milk – You can also use full fat yogurt, sour cream, buttermilk, or an alternative yogurt or milk (almond, soy, oat) if you’re dairy free.
- Instant Espresso or Coffee – You can also use 3/4 cup of strong brewed coffee in place of the whole milk and instant espresso to make the cupcake batter.
- All Purpose Flour – This recipe turns out best with AP flour, but you can use a gluten free flour blend if needed.
- Vegetable Oil – You can use any flavorless oil in this recipe. Canola or sunflower oil would work great!
- Eggs – If you have an egg allergy you can try using 2 flaxseed eggs or 1/2 cup of unsweetened applesauce instead.
- Vinegar – This recipe needs a bit of vinegar because it uses baking soda as a leavening agent. The vinegar activates the baking soda and helps the cupcakes rise. You can use white or apple cider vinegar.
Substitutions and Swaps – Espresso Buttercream Frosting
- Unsalted Butter – If you only have salted butter on hand, you can use it in place of the unsalted butter. Just be sure to omit the salt that this frosting recipe calls for. You can also use vegan butter in its place!
- Heavy Cream – Whole milk or alternative milk (soy, almond, oat) will work fine in this frosting recipe if that’s what you have on hand.
- Instant Espresso or Coffee – You can also use 1 Tbsp of strong, cooled espresso in place of the instant espresso or coffee & heavy cream in this frosting recipe.

Tips for Making the Best Mocha Cupcakes:
- Properly measure your flour (spoon into the cup measure, then level) or use a kitchen scale to measure your dry ingredients.
- Ingredients at room temp mix together better. Set out any cold ingredients ahead of time.
- Mix your cupcake batter just until the ingredients are incorporated. This will ensure your cupcakes are tender and fluffy.
- One batch of batter can also be used to make one 8×8-inch mocha sheet cake. Bake it at 325 F for 33-38 minutes.
- Make these mocha cupcakes vegan or dairy free! Use your favorite type of dairy free milk to replace the milk and heavy cream and use vegan butter sticks in place of the butter.

Let Me Know What You Think!
If you make these mocha cupcakes, I’d love to hear what you think of them! Please leave a rating and comment below.
Don’t forget to tag me @chelsweets and use #chelsweets so that I can see your amazing creations on social media.
Other Recipes You Might Like:




Mocha Cupcakes
Ingredients
Mocha Cupcakes
- 3/4 cup whole milk 180g
- 1/3 cup milk or dark chocolate chips, melted 60g
- 1 Tbsp instant espresso or coffee 6g
- 3/4 cup all purpose flour 98g
- 3/4 cup granulated sugar 150g
- 1/3 cup unsweetened cocoa powder, sifted 30g
- 1/2 tsp baking soda 3g
- 1/2 tsp fine salt 2g
- 2 large eggs, room temperature 112g
- 1/3 cup vegetable or canola oil 70g
- 1 tsp white vinegar 4g
- 1 tsp vanilla extract or vanilla bean paste 4g
Espresso Ganache Filling & Drizzle
- 1/2 cup dark chocolate 90g
- 1/3 cup heavy whipping cream, room temperature 80g
- 2 tsp instant espresso or coffee 4g
Espresso Buttercream Frosting
- 1/2 cup (1 stick) unsalted butter, room temperature 113g
- 1 tsp vanilla extract or vanilla bean paste 4g
- 2 tsp instant espresso or coffee 4g
- 1/4 tsp fine salt 1g
- 1 1/2 cup powdered sugar 190g
- 1 Tbsp heavy whipping cream, room temperature 15g
Optional Decorations
- 12 chocolate covered espresso beans
- 1 small chocolate bar to make chocolate shavings
Instructions
Mocha Cupcake Recipe
- Begin by preheating oven to 350°F / 175°C. Place 12 cupcake liners in cupcake pan.
- Add 3/4 cup milk, 1/3 cup chocolate chips and 1 Tbsp instant espresso powder into a heat proof bowl. Heat in the microwave at power level 8 for 1 minute or over a double boiler until the chocolate has melted.
- Whisk together until the ingredients are combined. Make sure all the chocolate is melted.
- Sift 3/4 cup all purpose flour, 3/4 cup granulated sugar, 1/3 cup cocoa powder, 1/2 tsp baking soda and 1/2 tsp salt into chocolate espresso mixture and stir until combined.
- Scrape the sides and bottom of the bowl as needed with a spatula.
- Add 2 large eggs, 1/3 cup vegetable oil, 1 tsp vinegar and 1 tsp vanilla. Mix just until the batter is smooth.
- Fill cupcake liners 2/3 full and bake for about 18-20 minutes or until a toothpick comes out with a few moist crumbs.
- Let the cupcakes cool for 10 minutes in the pan before moving them to a cooling rack to finish cooling.
Espresso Ganache Filling & Drizzle
- Next, make the espresso ganache! Place 1/2 cup dark chocolate chips in a heatproof bowl and set aside.
- Stir together 1/3 cup of heavy cream and 2 tsp of instant espresso in a heatproof bowl. Heat in the microwave for 45 seconds to 1 minute, until it's gently bubbling.
- If you don’t have a microwave or prefer to use the stove top, you can heat the espresso cream over a medium heat in a pan until it begins to simmer. Remove from heat.
- Carefully pour the espresso cream over the chocolate chips. Make sure they are fully covered with cream. Let mixture sit for 1-2 minutes.
- Stir the mixture until the cream and chocolate are fully combined and ganache is silky smooth.
- Set aside to cool for about 20 minutes (or place in fridge for about 10 minutes) until the mixture has thickened and is scoopable.
Espresso Buttercream
- While the cupcakes bake and cool, make the espresso buttercream. Beat 1/2 cup of unsalted butter on a medium speed for 30 seconds with a hand mixer until smooth.
- In a small container, mix together 1 tsp vanilla extract and 2 tsp of instant espresso until the instant espresso is fully dissolved.
- Add the vanilla espresso mixture and 1/4 tsp of salt into the butter. Mix on a low speed until combined.
- Slowly mix in 1 1/2 cups of powdered sugar and 1 Tbsp of heavy cream on a low speed. Scrape the sides and bottom of the bowl as need with a rubber spatula.
- Beat on low until the ingredients are fully incorporated and the desired consistency is reached.
- If the frosting seems too thick, add an extra Tbsp of heavy cream. If it's too thin, add in another 1/4 cup of powdered sugar. To know if your frosting is the right consistency, check out my post on buttercream consistency.
- Stir by hand with a rubber spatula to get the frosting SUPER smooth. Place into a large piping bag fit with an Ateco 869 or large French piping tip.
Decorating These Mocha Cupcakes
- Use a small knife or 1 inch circle cutter to remove the center from each cooled cupcake.
- Fill each cupcake with a small spoonful of espresso ganache.
- Pipe a swirl on top of each cupcake with the espresso buttercream using an Ateco 869 or large french piping tip. Chill the cupcakes in the fridge for 10 minutes or the freezer for 5 minutes to help the frosting firm up.
- While the cupcakes chill, heat up the remaining ganache in 10 second intervals until it is thinner and fluid enough to be drizzled.
- Remove the cupcakes from the fridge or freezer and drizzle them with the warm ganache.
- If desired, top with a chocolate covered espresso bean and some chocolate shavings and enjoy!
Video
Notes
Making Mini Mocha Cupcakes
If you want to make mini mocha cupcakes, this recipe can be baked in mini muffin tins! It makes about 40 mini cupcakes, and they only need to bake for 10-12 minutes at 350 F / 175 C.Tips for Making the Best Mocha Cupcakes
- Ingredients at room temp mix together better. Set out any cold ingredients ahead of time.
- Properly measure your flour (spoon into the cup measure and then level) or use a kitchen scale to measure your dry ingredients.
- Once you add the flour, mix your cupcake batter just until the ingredients are incorporated. This will ensure your cupcakes are tender and fluffy.
- Use a large cookie scoop to easily fill your cupcake liners. It also makes sure your cupcakes end up being the same height.
- Bang your cupcake pan on the counter before putting it in the oven. This brings any air bubbles that are trapped in the batter to the surface.
- Seal off the top of your piping bag with a rubber band to prevent any frosting from seeping out the top of the bag and make the piping bags easier to use.


What brand of instant espresso did you use?? I’ve never had it so im in the dark about what brand!
Hey Chelsey! Longtime follower, first time baker! Do you have a guide for how to convert this to a cake recipe? I’m planning on making three 8″ layers.
Hello. Do you always use the black cocoa for your chocolate cakes and cupcakes? Is this your preferred cocoa powder?
Would the ganache pair well with white cake as a filling? Sounds yummy!
Hi! How would you proportion the buttercream recipe to use with your red velvet layer cake (2-8in layers). Do you think doubling or tripling would be better? Thanks!
Live these as cupcakes. Seriously to die for. I would love to turn it into a 3 layer 6 inch cake. Would this recipe work for that? I did read that you said it would work in a sheet cake.
My cupcakes domed. What could I have done wrong?
@Carrie, too much batter per cupcake liner
The cake is sooo good! I may or may not have eaten all the trimmings and I’m not mad about it. The buttercream however didn’t come out as I hoped. I wish it was more espresso flavored. I did use the conversion for strong coffee instead so maybe I’ll try the instant espresso next time. I doubled the recipe and made 3 layer 6” cake, worked out perfect.
Would a whipped cream frosting work with these cupcakes? We have a few ppl who aren’t in love with coffee so I thought I’d try a different frosting on top. Thank you in advance!
Loved the vanilla cupcakes and I’m about to try out these – can I also use buttermilk instead of the whole milk? Do I still need to put the vinegar if I’m using the buttermilk?
Thank you!!
Hi Violetta,
Great questions! You can totally use buttermilk instead of whole milk, and if you use buttermilk you can omit the vinegar. I hope they turn out great, happy baking!
Hi! Do you have a guide for how to convert this to a 3 layer 8” cake recipe?
Hi Toni,
Sadly I don’t have a guide like that :/ But the texture of these cupcakes is super similar to my moist chocolate cake recipe. You could try making that, adding some espresso powder into the buttercream, and doubling the filling? That’d probably be the easiest route! Here’s the link: https://chelsweets.com/the-best-chocolate-cake-recipe/
Hope that helps, happy baking!
I have made these gluten free 100 times! But, I moved to a higher elevation and can’t get them to rise the same – online it suggests using less rising agent, or increasing the heat – any suggestions?
Hi Ana,
So happy to hear that you love this recipe and make it gluten free!! Sadly I’ve never baked at a high altitude before, so I’m not quite an expert in that area, but here is an excellent guide written by King Arthur: https://www.kingarthurbaking.com/learn/resources/high-altitude-baking
Hope that helps, happy baking!
I made these today using spelt flour. Delicious ?