These moist coffee cupcakes get their bold flavor from double-strength brewed coffee and instant espresso powder. I top each one with a swirl of fluffy mocha buttercream frosting. If you order your mocha with an extra shot, these are the cupcakes for you.
Why you'll love it
When I make coffee-flavored cupcakes, I want to taste the coffee even if I sneak a bite from the bottom. That’s why I use both brewed coffee and espresso powder. The cocoa goes in the buttercream, so you get a little chocolate with each swirl while the coffee still comes through in the cupcake itself.
- You can use your favorite roast. I like a dark roast here. Brewing it strong gives the cake the flavor of the coffee you picked, and the espresso powder deepens it without thinning the batter.
- You can mix the batter by hand. This is an easy coffee cupcake recipe to mix by hand because the batter uses oil. A whisk and two bowls are all you need. You can save the mixer for the frosting.
- You decide how to frost them. For tall swirls, stop adding the coffee mixture while the buttercream still holds a peak. For a softer swoop you can spread with a knife, beat in a little more.
- Bonus: bake one in a coffee mug. I baked one in an oversized, oven-safe coffee mug and finished it with a big swirl of mocha frosting. Mine took at least four cupcakes’ worth of batter. It’s a fun one to share with two forks.
Ingredient overview
- Brewed coffee. I brew mine about twice as strong as I would for drinking, then let it cool to room temperature. You can also use homemade cold brew concentrate straight from the batch, before diluting it for a glass of iced coffee.
- Instant espresso powder. You'll use it in both the batter and the frosting. Look for instant espresso that dissolves in liquid. Ground espresso beans will leave grit in your buttercream. If you have powder left in the jar, my espresso chocolate chip cookies are another way to use it.
- Milk and oil. I prefer whole milk, though 2% works here too. The ½ cup (99 g) of vegetable oil keeps the crumb tender and lets the coffee flavor come through.
- Cinnamon, nutmeg, and vanilla. A little cinnamon and a pinch of nutmeg give the coffee a hint of spice. I like a little cinnamon and nutmeg with my coffee. If you’d rather taste just the coffee and vanilla, you can leave out both spices.
- Butter, powdered sugar, cocoa, and cream. Start with softened unsalted butter and sift the powdered sugar for a smooth frosting. Cocoa gives the buttercream its chocolate flavor. The cream and coffee let you adjust how thick it is.
How to make coffee cupcakes
- Heat the oven to 350°F and line standard cupcake pans. Use enough liners for 24 standard cupcakes.
- Whisk the flour, baking powder, baking soda, salt, spices, espresso powder, and sugar in a medium bowl. Whisk the oil, milk, cooled coffee, eggs, and vanilla in a separate large bowl until combined.
- Stir the dry ingredients into the wet ingredients a little at a time. Stop when the last streak of flour disappears. Leave the batter thin enough to pour.
- Fill each standard cupcake liner two-thirds full to leave room for the cupcakes to rise. Bake the standard cupcakes for 20–25 minutes. Start checking at 20 minutes. Insert a toothpick into the center and look for a few crumbs. Bake for another 1–2 minutes if you see wet batter, then check again. Let the cupcakes cool completely before frosting.
How to make mocha buttercream frosting
Flavor the buttercream with brewed coffee, espresso powder, and cocoa for that familiar mocha flavor.
Beat the softened butter until fluffy. Beat in the sifted powdered sugar and salt a little at a time. Whisk the cooled coffee, cream, espresso powder, and cocoa in a small bowl until smooth.
Beat the coffee mixture into the buttercream one tablespoon at a time. Let each spoonful blend in before adding the next. Lift the beater to check the texture. Stop adding the coffee mixture when the frosting holds a soft curl that stays in place. Leave any remaining liquid in the bowl.
Amanda's Expert tips
- Measure the flour with a light hand. For the most accurate measurement, weigh your flour on a kitchen scale. If you're using cups, fluff the flour first, spoon it gently into the cup, and sweep the top level. Scooping straight from the bag packs in extra flour and can make the cupcakes dry.
- Use the thin batter to your advantage. A measuring jug with a spout makes it easier to fill the liners evenly. Resist the urge to add another spoonful of flour to thicken it.
- Cool the coffee before making the frosting. If it's still warm, it can soften the butter enough that your piped swirls start to slump.
Coffee Cupcake FAQs
I prefer instant espresso powder over instant coffee for a stronger coffee flavor. If you use instant coffee, dissolve the granules in a little warm milk from the recipe. Let the milk cool to room temperature before mixing the batter.
First, stop adding the coffee and cream. If the buttercream feels warm, chill it briefly, then beat it again and test a small swirl. For the next batch, let the brewed coffee cool completely and beat in only as much of the mixture as the buttercream needs.
Let the cupcakes cool completely before storing them in an airtight container. They'll keep at room temperature for up to 3 days. For longer storage, freeze the unfrosted cupcakes for up to 1 month, then thaw them overnight in the refrigerator and frost when you're ready to serve. Once frosted, they'll keep in an airtight container in the refrigerator for up to 1 week, or at room temperature for up to 3 days.
Spoon the extra buttercream into an airtight freezer container and freeze it for up to 3 months. Thaw it overnight in the refrigerator. Let it soften just until it’s easy to beat, then whip it until smooth and fluffy before piping.
If you'd like to try these with less caffeine, look for both decaf brewed coffee and decaf instant espresso. NESCAFÉ Gold Decaf Espresso is one instant option.
If you'd like to serve slices, my coffee-flavored cake with whipped mocha icing has directions for baking and frosting a layer cake. For a two-layer birthday cake, leave the two baked layers whole. I split mine because I like a little more filling in each slice.
For the two eggs in this batter, stir 2 tablespoons of ground flaxseed into 6 tablespoons of water. Let it sit for about 5 minutes to gel before adding it to the wet ingredients. The cupcakes still contain milk, and the frosting contains butter and cream.
Related Recipes
Recipe Card

Coffee Cupcakes With Mocha Buttercream Frosting
Ingredients
Cupcakes
- 3 cups all-purpose flour 360 g
- 1 teaspoon baking powder 4 g
- 2 teaspoons baking soda 12 g
- 1 teaspoon table salt 6 g
- ¼ teaspoon ground cinnamon
- 1 pinch ground nutmeg
- 3 tablespoons instant espresso powder 21 g
- 2 cups granulated sugar 396 g
- ½ cup vegetable oil 99 g
- ¾ cup whole milk 170 g, room temperature
- 1 cup strong brewed coffee 236 g, double-strength or cold brew concentrate, room temperature
- 2 large eggs room temperature
- 2 teaspoons pure vanilla extract 9 g
Mocha Buttercream
- 1 cup unsalted butter 226 g, softened
- 3 ½ cups powdered sugar 396 g, measured before sifting
- ¼ teaspoon table salt 1.5 g
- ¼ cup heavy cream 57 g
- ¼ cup brewed coffee 59 g, cooled to room temperature
- 1 tablespoon instant espresso powder 7 g
- 2 tablespoons unsweetened cocoa powder 10.5 g, plus more for garnish
Instructions
- Heat the oven to 350°F and line standard cupcake pans. Have 1¼ cups of cooled brewed coffee ready. You’ll use 1 cup for the cupcakes and ¼ cup for the mocha buttercream
- Whisk the flour, baking powder, baking soda, salt, cinnamon, nutmeg, espresso powder, and sugar in a medium bowl.
- Whisk the oil, milk, cooled coffee, eggs, and vanilla in a separate large bowl until combined.
- Stir the dry ingredients into the wet ingredients a little at a time. Stop when the last streak of flour disappears. Leave the batter thin enough to pour.
- Fill each of the 24 standard cupcake liners two-thirds full to leave room for the cupcakes to rise.
- Bake for 20–25 minutes. Start checking at 20 minutes. Insert a toothpick into the center and look for a few crumbs. Bake for another 1–2 minutes if you see wet batter, then check again.
- Let the cupcakes cool completely before frosting.
- Beat the softened butter until light and fluffy.
- Beat in the sifted powdered sugar and salt a little at a time.
- Whisk the cream, cooled coffee, instant espresso powder, and cocoa until smooth. Beat the mixture into the buttercream one tablespoon at a time. Stop when the frosting holds a piped swirl. Leave any remaining liquid in the bowl.
- Frost the cooled cupcakes and dust with cocoa powder if desired.

















Chantel says
I just made these for my twin boys 16th birthday and I must say they are ABSOLUTELY stunning! The icing is to die for. Taste like coffee crisp.
Amanda says
Yay! I am so glad it was a hit! And happy birthday to your boys!
Becky says
I made these and the frosting separated on me so I added a bit more powdered sugar and it was fine for a second and it separated again. What did I do wrong?
Amanda says
The only thing I can think is that the coffee was too warm and melted the butter. Perhaps try using cold coffee. Please let me know if you make it again and how it works out for you!
Muz Andi says
Do I have to use nutmeg? Or can opt it out? If no, is there any substitute I can use instead? I can't seem to find it around here. Thanks!
Amanda says
No nutmeg isn't absolutely necessary!!
Mary says
Oh my goodness! I made these a couple of weeks ago for coworker's birthday. Everyone loved it! The frosting! The most magical thing ever! Where has it been all my life?! I didn't have espresso powder, but I did have a dark roast coffee K-cup, which worked perfectly! It was just the right amount for the cupcake and frosting. I just want to make a bowl of the frosting and eat it! I am soo glad I found this on Pinterest! thank you so much for posting it!!
Amanda says
You just made my week, Mary!! I'm so happy that you and your coworkers loves the cupcakes (they're a personal favorite of mine). I completely agree with you on the frosting. It is worthy of being eaten as a dip or even with just a spoon! 😀
Sandy says
Hi I creamed the butter and then added the sugar and the coffee Mix but because my coffee was hot it melted my butter and made it yucky. Am I supposed to mix with a beater the espresso and cocoa mix into the sugar and butter?
So do I slowly add the powdered sugar and Beat it into the butter? And then add the espresso mix and beat it in or just mix with a spoon? Thanks
Amanda says
Because the coffee was hot, it curdled the mixture. It's best to used room temperature ingredients. It might be possible to save everything by putting it in the fridge for the butter to re-solidify and trying to re-beat it, but no guarantees. I used a beater to mix in the ingredient one right after another as they are listed in the list. As for the powdered sugar, I beat that in slowly by simply adding one cup at time and turning the speed to low.
Michelle says
I am planning on making these tonight and accidentally bought table cream (18%) instead of heavy cream. I don't have time now to go back to the store. Can I use table cream in the icing instead and have it still turn out the same?
Amanda says
Yes, you should be fine! In a pinch, most things can work, including regular milk - it just won't be as creamy in flavor.
Lynda says
Can you use instant coffee instead of making the coffee fresh?
Amanda says
Do you mean for the one cup of coffee? You can use any kind you like, as long as the volume of coffee is one cup!
Amanda says
To clarify, I mean you can use instant coffee, as long as it is mixed with water to make the 1 cup of coffee
Kerry says
Made these today, followed the recipe as it is - they were delicious! Cupcakes were moist & the perfect level of coffee flavour in the cake & frosting! Yum!
Anjelina says
Thanks for the post. It is really nice recipe, coffee-cupcakes-mocha-buttercream-frosting. After seeing this post, I become more hungry. I wants to eat this coffee-cupcakes-mocha-buttercream-frosting. It also has coffee flavor. it's really good. I love the coffee smell.
amy says
Is there a way to give the cupcakes a mocha flavor as well, without changing the recipe too much?
Amanda says
Yes! You can add up to 1/4 cup cocoa powder without it affecting the final cupcake. You may need a bit more - maybe up to 1/2 cup, at which point I'd just replace some of the flour with the cocoa powder. If you have it available to you, a teaspoon of chocolate extract will also help bring out the chocolate flavor when paired with the cocoa powder
Kristen @ A Mind Full Mom says
Now that is a way I want to get my caffeine fix!!
Shinee says
What a lovely cupcakes! Love the mocha flavors! Yum.
Amanda says
Thank you! These were one of my favorites!
Nicole- Champagne and Chips says
These look beautiful. I adore coffee!
Andrea Ortega says
The Instant Espresso Powder is the one that you put on the coffee maker or is a different one?
Amanda says
It is one you would simply mix with hot water - no coffee maker needed. It's also known as freeze dried espresso. Usually you can find some in boxes already ore measured out along with the other coffee products.
Julia says
If I can't find Instant Espresso Powder in time can I just use instant coffee?
Amanda says
Yes, that would work, it just won't be as strong of a flavor, but still present and really delicious!
Linda says
you can find espresso powder at Williams & Sanoma
coffee says
Also, see to it that you follow the correct coffee beans and water proportion. Putting too much water and little coffee beans in the coffee maker will certainly yield a poor and "weak" brew. A general rule when brewing is to put 2 tablespoons of grounded coffee beans for every 6 ounces of water.