• 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. Shweta says

    May 01, 2020 at 4:05 am

    Hi, can I replace the oil with equivalent amount of melted butter? And, isn't the sugar in the recipe too less for that amount of flour?

    Reply
    • Amanda Powell says

      May 02, 2020 at 9:43 am

      Hi! Apologies for the late reply. Yes, you can substitute with melted butter. No one has ever complained about the level of sweetness in these cupcakes that I am aware of, but if you prefer something sweeter, you can try adding a little more! I think the sweetness of the frosting does really well with the cupcakes.

      Reply
  2. Penny Barry says

    April 30, 2020 at 7:25 pm

    This frosting is so delicious. Used all the liquid and added more of the sugar to thicken and then refrigerated. My husband doesnt drink coffee but loves this fluffy frosting. Thanks for this recipe. Will be using it often.

    Reply
    • Amanda Powell says

      April 30, 2020 at 8:38 pm

      I'm so glad you enjoyed it!!!

      Reply
  3. Evelyn says

    September 01, 2019 at 12:34 pm

    Be careful if you are using a scale to measure out your ingredients!!

    Some of the mass measurements conflict with the volume measurements. I started with massing out the oil and it seemed like too much, so I poured it into a measuring cup and it was far more than half a cup. A half cup of vegetable oil = 8 tablespoons, each at 14 g = 112 grams, not 223 grams.

    Reply
    • Amanda Powell says

      September 01, 2019 at 2:10 pm

      Thank you for pointing that out!! We had an intern who was helping to add grams, so I will be sure to fix that and have the other measurements in the other recipes double checked!

      Reply
  4. Mary says

    January 06, 2019 at 6:16 pm

    I liked these, but the cinnamon flavor overtook the coffee flavor. Next time I would leave out cinnamon and make 2 1/2 dozen as they were much too full.

    Reply
  5. Carolyn Roth says

    October 09, 2018 at 12:28 am

    In the ingredient list you have "1/4 cup tablespoons heavy cream". That's a bit confusing lol.

    Reply
    • Amanda says

      October 11, 2018 at 10:12 am

      Oh my gosh, thank you for pointing that out! How embarrassing! It should be 1/4 cup...no tablespoons!

      Reply
  6. Clara B says

    August 16, 2018 at 8:51 pm

    I thought the cupcakes were good! I liked the bake and the flavor. The icing was going very well - until I added the 1/2 cup of liquid. It completely ruined my icing, turning it into a soupy mess 🙁 I ended up reviving it by adding a LOT of additional confectioner's sugar - but by then the taste was off (far too sweet) and really was not as good. I definitely recommend giving the cupcakes a try - although, to me, they didn't taste much like coffee - and give the buttercream a try but be a LOT more sparing with the liquid.

    Reply
    • Amanda says

      August 25, 2018 at 12:07 pm

      Hi Clara, thanks for your honest review! I've not had many people note that the frosting turned soupy for them. Only one other that I can recall immediately, but I adjusted the instructions so that it advises people to add the liquid slowly and may not need all of the liquid. Hopefully that will keep others from experiencing this same issue. Also, if a frosting ever does become too sweet for whatever reason, a pinch or two of salt usually helps cut some of that sweetness down!

      Reply
  7. Jodie says

    April 29, 2018 at 12:25 pm

    Would it be possible to make this into a 2 layer cake instead of cupcakes?

    Reply
    • Amanda says

      April 29, 2018 at 1:39 pm

      Yes, you can! I've actually done this and shared it on the website as well. You can use the same frosting as these cupcakes if you'd like or the frosting I used with the cake version. https://cookienameddesire.com/coffee-flavored-cake-recipe/

      Reply
  8. Tracey says

    October 19, 2017 at 12:37 am

    How can I adjust the recipe for a 12 count yield? Sounds good but 24 is too many for my needs.

    Reply
    • Amanda says

      October 19, 2017 at 8:22 am

      You should be able to divide the recipe directly in half and have them come out great!

      Reply
      • Tracey says

        October 19, 2017 at 12:13 pm

        Thanks! Newer to baking and the recipe has such small fractions to begin with, I didn't want to mess it up!

  9. Maya Byrse says

    July 14, 2017 at 8:07 pm

    I love your recipe but with eggs it is not vegetarian. Can I substitute something else for eggs.

    Reply
    • Amanda says

      July 18, 2017 at 7:10 pm

      I usually like to use flax eggs as a substitute. I use 1 tablespoon ground flaxseed and 2 tablespoons water. Stir and leave to rest for five minutes before using.

      Reply
  10. Dollie says

    May 29, 2017 at 3:28 am

    I made these but I have my frosting in the fridge at the moment. It turned out really runny. What could I have done wrong? I followed the recipe completely. My coffee was completely cool. My butter and sugar mixed awesomely but when I added everything else it just turned to liquid ☹

    Reply
    • Amanda says

      May 29, 2017 at 10:50 am

      Oh no!! I am not sure what could have happened. I've not come across this issue from anyone before, so the only thing I can think of is that maybe the humidity level in your kitchen affected the frosting? Perhaps slowly drizzling in the cream and coffee while the frosting is beating would work to prevent that. I am sure once it's in the fridge, it will firm up. You can also try adding more powdered sugar to help thicken it. Just add a couple of pinches of salt to combat the added sweetness. Please keep me updated!!

      Reply
  11. Doris says

    February 28, 2017 at 8:44 am

    These look so yummy...before I make them I just wanted to double check the baking time...25-30 minutes is that correct? seems a little long for cupcakes

    Reply
    • Amanda says

      February 28, 2017 at 8:54 am

      Yes, that is correct. You can start checking after 15 minutes if it makes you nervous, but the batter is a little runny which is why it takes longer than normal cupcakes. When in doubt, check sooner and use a toothpick to test the batter inside!

      Reply
      • Doris says

        February 28, 2017 at 9:14 am

        Okay great...thanks for your quick response!! 🙂

  12. Madhu Anvekar says

    November 24, 2016 at 8:46 am

    Hi Amanda , Is 1 cup of coffee and brewed coffee the same or different ? If it is different please give me the recipe for the cup of coffee mentioned in the recipe .
    Thank you

    Reply
    • Amanda says

      November 27, 2016 at 5:32 pm

      It is the same!

      Reply
      • Madhu Anvekar says

        November 27, 2016 at 10:12 pm

        Thank you 🙂

  13. Coffee.addict says

    October 29, 2016 at 10:57 pm

    Tried this recipe and followed it religiously. My daughter said it tasted like carrot cake without the carrots. I agree with her. The spices ruined the coffee taste. What a disappointment.

    Reply
    • Amanda says

      October 30, 2016 at 9:16 am

      Hi Coffee Addict, I am so terribly sorry that the cupcakes did not meet your expectations. I understand how frustrating it can be to try a recipe only to have it not taste the way you want. This happens to be one of the more popular recipes on the site and while many enjoy the blend of spices and coffee, it obviously depends on your personal tastes. Hopefully you are not so discouraged by the original recipe to retry the recipe again with fewer or no spices so as to meet your particular preferences! Thank you for taking the time to give my recipe a chance and sharing your honest feedback! 🙂

      Reply
      • Coffee.addict says

        October 30, 2016 at 6:46 pm

        Hi again! Dont get me wrong, the cupcakes were not bad. I was just expecting the have the coffee taste. (after all, it called for 1 cup of brewed coffe and 2 T of espresso powder).
        If I make these again, I will have some minor adjustments. I will omit the spices, lessen the milk and add one more egg. Thanks for sharing.

  14. Keisha Ishino Prayatno says

    September 07, 2016 at 2:40 am

    by "coffee" does that mean brewed coffee or just the powder? Sorry I'm new at baking

    Reply
    • Amanda says

      September 07, 2016 at 12:59 pm

      Hi Keisha! In the cupcakes you use instant espresso powder as well as your favorite brewed coffee. You use a mix of instant and brewed coffee in the frosting as well. I hope this helps!

      Reply
  15. Cecilia says

    July 27, 2016 at 5:40 pm

    I made these and eventhought i put the quantity of nutmeg as the recipe says, i think it was too much. They taste more like nutmeg rather than coffe.

    Reply
    • Amanda says

      July 27, 2016 at 5:59 pm

      Hi Cecilia,

      First, thank you for taking the time to try the recipe! It is one of the more popular recipes on the site and a personal favorite. I am sorry that the nutmeg was too much for you! It is the first time I've had that mentioned. Is it possible that the coffee used was not strong enough? Or maybe a brand new container of nutmeg (or fresh nutmeg)? Either way, I will certainly take this into consideration with the recipe!

      Reply
      • Cecilia says

        July 27, 2016 at 7:23 pm

        Oh, I used the right amount of really good coffe but i used fresh nutmeg. If it's fresh nutmeg, how much should I use?

      • Amanda says

        July 27, 2016 at 7:30 pm

        That's it! I used pre-ground nutmeg which is not nearly as strong as fresh. If you are using fresh you need a very small amount. Just a scant 1/4 teaspoon would be plenty. Thank you for commenting, now I know to make the distinction within the recipe!!

« Older Comments
Newer 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.