• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • About Me
    • Contact
    • Services
      • Contact
  • Recipes
    • Recipes Visual Index
    • How to Make Ice Cream without an Ice Cream Maker
    • Kitchen Cheat Sheet
    • Kitchen & Pantry Essentials
  • Order Cookie School!

A Cookie Named Desire

menu icon
go to homepage
subscribe
search icon
Homepage link
  • Home
  • About Me
  • Order Cookie School!
  • Recipes
  • Services
×
Home - Cupcakes

Published: Mar 10, 2014 · Modified: Nov 10, 2026 by Amanda Powell · This post may contain affiliate links.

Coffee Cupcakes With Mocha Buttercream Frosting

Jump to Recipe

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.

coffee cupcakes with mocha buttercream frosting on a board

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.
Bitten coffee cupcake showing the crumb beneath a swirl of cocoa-dusted frosting.

How to make coffee cupcakes

  1. Heat the oven to 350°F and line standard cupcake pans. Use enough liners for 24 standard cupcakes.
  2. 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.
  3. 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.
  4. 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.

coffee cupcakes with mocha buttercream frosting overhead

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

Can I use instant coffee instead of espresso powder?

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.

Why is my mocha buttercream too soft to pipe?

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.

Can I make coffee cupcakes ahead of time?

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.

Can I freeze leftover mocha buttercream?

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.

Can I make coffee cupcakes with decaf?

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.

Can I bake this as a layer cake?

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.

Can I make these cupcakes without eggs?

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.

coffee cupcakes with mocha buttercream frosting

Related Recipes

  • pie in pan and on plates on table
    Coffee Cream Pie
  • looking at collection of glasses of smoothie
    Coffee Smoothie
  • Fudgy coffee brownies studded with walnut... the last brownie recipe you will ever need #brownies #coffee
    Coffee Brownies with Walnuts
  • Stack of coffee chocolate chip cookies
    Coffee Chocolate Chip Cookies

Recipe Card

Coffee Cupcakes With Mocha Buttercream Frosting

Amanda Powell
Moist coffee cupcakes with an irresistible mocha buttercream frosting
Print Recipe Pin Recipe
Prep Time 30 minutes mins
Cook Time 25 minutes mins
Total Time 55 minutes mins
Course Dessert
Cuisine American
Servings 24 cupcakes
Calories 264 kcal

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
InstacartGet Recipe Ingredients

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.

Notes

Cool the cupcakes completely. Store unfrosted cupcakes airtight at room temperature for up to 3 days, or freeze for up to 1 month. Thaw overnight in the refrigerator and frost before serving. Refrigerate frosted cupcakes in an airtight container for up to a week, or keep at room temperature for up to 3 days.
Freeze leftover mocha buttercream in an airtight container for up to 3 months. Thaw overnight in the refrigerator, let it soften briefly, then beat until fluffy before piping.
This recipe makes extra buttercream. Nutrition is estimated per frosted cupcake, assuming about two-thirds of the frosting is used across all 24 cupcakes. Optional cocoa dusting is excluded.
Keyword buttercream, coffee, cupcakes, mocha

More Cupcake Recipes

  • cupcakes on white plae
    Gingerbread Cupcakes
  • scattered peanut butter and jelly cupcakes
    Peanut Butter and Jelly Cupcakes
  • ice cream cone filled with cupcake and topped with frosting and chocolate sauce
    Ice Cream Cone Cupcakes
  • close up strawberry cupcake with nutella frosting and chocolate heart
    Strawberry Cupcakes

About Amanda Powell

Baker, photographer, and sometimes world traveler behind A Cookie Named Desire. Obsessed with helping people live life sweetly with delicious food to share with the special people in your life and creating lasting memories.

Reader Interactions

Comments

  1. Connie McKee says

    May 21, 2025 at 6:35 pm

    I've made this recipe 2 times and luved them. My question is.... can you make this as a double layer cake?5 stars

    Reply
    • Amanda Powell says

      June 04, 2025 at 2:42 pm

      I actually have it as a cake recipe on the website! You can make it just two thicker layers by not cutting the two cakes you initially bake in half again. I did it because I wanted more opportunities to add the filling 🙂

      Reply
  2. Sydney Everett says

    August 22, 2023 at 5:26 am

    I’ve tried making this buttercream twice and both times it has curdled on me. My butter was room temperature. I used heavy cream and cold brew. The same cold brew I used in the cupcakes.

    Reply
    • Amanda Powell says

      August 23, 2023 at 11:16 pm

      Does the consistency get liquidy? Try adding in less the cold brew and cream at a time. It might be good to add in a tablespoon or two at a time and beat it in well before adding in more.

      Reply
      • Sydney Everett says

        October 20, 2023 at 7:16 pm

        Yes it did get really liquidy. I will try that

  3. Em says

    February 01, 2023 at 10:11 pm

    These were delicious! I made them as mini cupcakes and added a chocolate ganache filling to make them a little more chocolatey and it paired really well. As others noted, I also left out the cinnamon and nutmeg and they had a really nice coffee-forward flavor.5 stars

    Reply
  4. Markie says

    January 07, 2023 at 9:34 pm

    Don't want to leave a bad review. Just need help. Made the recipe exactly as followed at 350 and the cupcakes were burnt black on the bottom, has never happened before so I'm not sure what went wrong. Any ideas? The tops looked the same as the picture and the buttercream is delicious5 stars

    Reply
    • Amanda Powell says

      January 10, 2023 at 4:28 pm

      Hi Markie, Apologies for the late reply. I have never had this happen, so I am not sure. Was there anything different? A different pan you were using, or perhaps the rack you were using was at a lower level? I don't think there is anything specific to the recipe that could cause it from what I am seeing. I wish I could be more help.

      Reply
  5. Sophia says

    April 09, 2022 at 10:26 am

    Hey I wanted to make this recipe but I don’t have any instant coffee powder, but I do have usual brewed coffee would it still taste good without the powder?

    Reply
  6. Ana says

    March 06, 2022 at 11:10 am

    For the vegetable oil, it says to use 1/2 cup or 223 grams. 1/2 is 113 grams, so which one is correct?

    Reply
    • Erik says

      May 06, 2022 at 8:51 pm

      Tried this recipe today for my wife's birthday and they turned out great. A couple things I noticed with the recipe was that a few weight measurements didn't match up with their cup/Tbls measurements. For example the vegetable oil was closer to 1 cup when weighed and for the frosting the cocoa powder was 10 grams for 2 Tbls and the instant espresso was 5 grams for 1 Tbls.

      Reply
  7. JoAnn says

    March 03, 2022 at 12:24 pm

    I made these cupcakes back in October 2021, for my daughter's birthday and she loved them. Not only did she love them but so did the rest of the family. I will be making these again on Saturday for her uncle's birthday party!5 stars

    Reply
  8. sheetal patel says

    January 21, 2021 at 11:53 pm

    For the milk in the recipe so I use whole
    Milk or 2%?

    Thank you!

    Reply
    • Amanda Powell says

      January 22, 2021 at 12:24 am

      Either one will work. I prefer using whole milk though 🙂

      Reply
  9. Jenny says

    September 21, 2020 at 6:04 pm

    Hello! First off, thank you so much for this recipe! I work in kitchens and was assigned the task of making a coffee cupcake for an event this weekend. I used today for recipe testing and am utilizing your recipe as a jumping off point. I am commenting because perhaps my experience can help a fellow baker.

    A few notes:
    1) I made a half batch *VEGAN* version of *JUST* the cupcake, not the frosting. I made two substitutions: flax egg for the egg (as per your suggestion), almond milk, and instant coffee in place of the instant espresso.
    2) As noted above, I would definitely omit the cinnamon and nutmeg in my next batch in order to achieve a more *pure* coffee flavor.
    3) As also noted above, the cupcake tin was definitely too full of batter prior to baking. I filled a dozen batch muffin tin thinking it was a little too full but decided to follow the recipe. The cupcakes overflowed and resulted in muffin tops (not a good look when you're trying to make cupcakes). The way to avoid this is to only fill the cupcake tin paper liners 2/3rds full.
    4) I can't speak for the instant espresso powder (I've never used it), but with the instant coffee in my next batch I would definitely dissolve the granules in hot milk - the milk from the recipe (then obviously cool it to room temp before proceeding). You could still see the granules on the tops of the cupcakes after baking (i.e. they did not dissolve properly). This is an easy fix.
    5) The crumb's end result was a little dry; I baked them for 25 minutes before testing. I think this may be due to the long bake time (as someone also noted in a prior comment). Next time I would check the cupcakes with a toothpick at 20 minutes (at 15 when I rotated the pan they still looked wet in the middle).
    6) To combat the dryness I would also substitute the flax egg with 1/4 cup (1/2 cup for a full batch) plain nondairy yogurt, such as Forager or Kite Hill brand. I believe this would aid in a more moist crumb. If the crumb is still dry, I would simply brush the tops with coffee simple syrup (1 part hot coffee combined with 1 part dissolved sugar; 1/4-1/2 cup of each would probably be enough).

    Again, thank you for your work! I am not here to criticize, only to provide my [vegan] experience. I will update you on Friday after baking another batch with the above adjustments.

    Reply
  10. RR says

    June 28, 2020 at 10:11 am

    This was so good! I made these while still at home social distancing. I used instant coffee instead of freshly brewed coffee, and I didn't have espresso powder but I just added a ton of extra instant coffee powder to the mix (until the batter tasted good ;)). It turned out amazing. Also topped it with cream cheese frosting and the pairing was phenomenal. Thanks for this recipe - SO quick and easy and turned out great. The only thing I guess I wasn't clear about was how much to fill the cupcake pan (I'm an amateur baker), but 2/3 seemed just right!

    Reply
    • Amanda Powell says

      June 28, 2020 at 11:26 am

      I am so glad you enjoyed it!!! Cream cheese frosting actually sounds amazing with this!!

      Reply
« Older Comments

Leave a Reply Cancel 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.

Primary Sidebar

Hey, I'm Amanda!

I am the baker and photographer behind A Cookie Named Desire. I'm a cookbook author, food science nerd, world traveler (sometimes) with a major weakness for cookies and cheese.

Read More

Reader Favorites

  • S'mores Stuffed Cookies
    S'mores Cookies Recipe
  • homemade cookies scattered out on baking sheet
    Milano Cookies Recipe
  • cookies piled together on rack
    Brown Butter Chocolate Chip Cookies
  • avocado chocolate peanut butter smoothie in a glass
    Avocado Chocolate Peanut Butter Smoothie
  • Making salt water taffy at home is actually easier than you think
    How to Make Salt Water Taffy
  • finished jelly donut shots on a tray
    Jelly Donut Shot

Autumnal Favorites

  • overhead of sliced galette
    Apple Galette
  • muffins drizzled in icing on plate
    Coffee Cake Muffins
  • close up of finished scones on baking sheet
    Cranberry Orange Scones
  • Maple Pecan Pie

Footer

^ back to top

About

  • Privacy Policy
  • Terms & Conditions
  • Accessibility

Newsletter

  • Sign Up! for emails and updates

Contact

  • Contact
  • Services
  • About Me

Copyright © 2024 A Cookie Named Desire

As an Amazon Associate I earn from qualifying purchases.