Over the top rich and easy to make, Perfect Chocolate Espresso Cupcakes (mocha cupcakes) are for any occasion. Tender chocolate cake is infused with espresso or strong coffee and topped with a rich and chocolatey easy buttercream. This recipe is vegetarian and easily dairy free. 

Chocolate Coffee Cupcakes on a sheet pan.

For Any Occasion: Chocolate Coffee Cupcakes

Espresso takes these little cakes to a new level of richness while creating a bolder tasting cupcake. It’s the best chocolate cupcake recipe I have in my repertoire and one I return to again and again for birthdays, celebrations or just to say I love you. If you love chocolate and coffee, you’re going to love these mocha cupcakes! 

This Recipe Is

  • rich and chocolatey
  • fun and easy to make
  • freezer friendly
Ingredients for chocolate espresso cupcakes.

About the Key Ingredients 

  • Cane Sugar: less refined than granulated sugar and made from 100% sugar cane, this can be purchased in the bulk bins or in big bags at Costco. 
  • Unbleached All Purpose Flour OR Whole Wheat White Flour: both produce a light and tender crumb in this recipe. 
  • Unsweetened Dutch Process Cocoa: this is an ultra rich and dark cocoa to bake with. Its notes are smoother and a little less bitter than regular cocoa powder.
  • Vegetable Oil: use coconut oil, refined or unrefined here, melted and lightly warm to the touch. If you prefer, you can use canola oil. 
  • Milk of Choice: you can use whole dairy milk or plant milk. I use unsweetened Homemade Cashew Milk, at room temperature.
  • Espresso or Strong Coffee: you need one cup of espresso, strong brewed coffee or instant coffee. If you prefer a little less coffee flavored cupcakes, you can sub 1/2 cup or hot water.
Mixing dry ingredients for mocha cupcakes.
Mixing wet ingredients then mixing the wet into the dry ingredients for chocolate coffee cupcakes.

At a Glance: How to Make Chocolate Espresso Cupcakes

While the mocha cupcakes can be made with a bowl and spoon, I use a Kitchen Aid stand mixer because the bowl is deep, and mixing is a snap.

  • First, add sugar to a large mixing bowl of a stand mixer. Sift the flour, cocoa powder, baking soda, baking powder, salt into the sugar. Whisk, and set aside.
  • Second, in a medium bowl, beat the eggs, oil, milk and vanilla. Add this mixture to the sugar/flour mixture. Mix the ingredients just until incorporated.
  • Third, with mixer off, pour in the hot espresso. Mix by hand until ingredients are incorporated.
  • Next, portion into cupcake liners and bake.
  • Last, make the buttercream using a whisk attachment, mix the icing ingredients, adjusting the consistency with a touch of vanilla and milk. 

Once the cupcakes are cool, have fun with the icing! Or at this point, the cupcakes can be frozen for up to two weeks, iced or uniced.

Adding coffee to mocha cupcakes, mixing hthe batter, filling the cupcake liners, and baked cupcakes in a pan.
Mixing the dark chocolate buttercream icing.

How to Decorate Cupcakes

This is the joy of cupcakes including these coffee cupcakes! I use a large open star tip (affiliate) to make rosettes. Or, for a more rustic cupcake, dollop and spread the icing over each cupcake.

Cupcakes can be garnished with many different things. For this recipe, I like to add cocoa nibs which offer a nice crunch and interest. But I’ve also used, mini chocolate chips, chocolate covered espresso beans, shaved chocolate, chocolate jimmies, sprinkles, edible wafer paper or nothing at all! Whatever you top your mocha cupcakes with, have fun!

Three images of individual mocha cupcakes decorated differently. One with wafer paper hearts, another with sprinkles and the last with cocoa nibs.

Mocha Cake Variation!

If a two layer cake is more of what you’re after, you can bake the cupcake batter in two 9″ cake pans, filling the cake pans 3/4 full each. Simply bake the cake for 30-35 minutes instead of the 25 minutes the cupcakes require. Be sure to spray your pan, line with parchment and spray with oil again. This will ensure an easy release.

Dark Chocolate Cupcakes with dark chocolate butter cream on a marble table.

Traci’s Tips

  • Yield: This recipes makes 27 cupcakes. If needed, the batter can rest while one or two pans of cupcakes are baking. Once the first or second batch is out of the oven, the remaining batter can be baked, in a cooled cupcake pan.
  • Flour Options: For this recipe, I use unbleached all purpose flour or whole wheat unbleached white flour. The texture of the cake is similar!
  • About the Coffee: This recipe calls for 1 cup of espresso or strong brewed coffee. You can use decaf or regular. For a lighter coffee flavor, use 1/2 cup boiling water and 1/2 cup espresso.
  • Espresso Buttercream Frosting: For over the top chocolate espresso cupcakes, add a little espresso powder to the icing by dissolving 1/2 – 1 teaspoon of instant espresso powder into the milk. 

Maker’s Notes

  • Isa said: “For the icing, I dissolved 2 teaspoons of instant coffee into the milk, which made the icing deliciously coffee-ish, and it tastes almost more like a ganache than a sweet icing.”
  • Lyndsey said: “I made the icing into chocolate coffee buttercream by subbing the 2 tablespoons of milk for iced coffee.”
  • Hayu said: “Made half recipe for my kiddos today just before my lunch break. I reduced the sugar to 3/4c for half recipe since I used regular cocoa powder.”

Perfect Chocolate Espresso Cupcakes Recipe

4.70 stars (from 13 ratings)
Prep: 45 minutes
Cook: 25 minutes
Total: 1 hour 10 minutes
Servings: 27 Cupcakes
Over the top rich and easy to make, Perfect Chocolate Espresso Cupcakes (mocha cupcakes) are for any occasion. Tender chocolate cake is infused with espresso or strong coffee and topped with a rich and chocolatey easy buttercream. This recipe is vegetarian and easily dairy free.
Save this recipe!
Enter your email & we’ll send the recipe link straight to your inbox. Plus you’ll get delicious recipes from us every week!
You will receive recipes and kitchen tips, along with information about our partners and offerings. For more details, review the Vanilla And Bean privacy policy.

Ingredients

For The Cake:

For The Icing:

  • 2 sticks (226 grams) Unsalted Butter , at room temperature, dairy or plant*
  • 2/3 cup (70 grams) Unsweetened Dutch Process Cocoa
  • 2 1/2 cups (285 grams) Powdered Sugar
  • 1 tablespoon Vanilla Extract
  • 1/4 cup + 2 tablespoons (75 grams) Milk , dairy or plant milk

Instructions 

For The Cake

  • Preheat oven to 350 degrees. Arrange an oven rack in the center of the oven.
  • Add sugar to a mixing bowl of a stand mixer. Sift the flour, cocoa powder, baking soda, baking powder, salt into the sugar bowl. Use the paddle attachment to mix for about 30 seconds. Set aside
  • In a small bowl, whisk the eggs, oil, milk and vanilla until an emulsion is formed. Add this mixture to the sugar/flour mixture of the stand mixer bowl. Using the paddle attachment, mix the ingredients on low just until incorporated, about 30 seconds.
  • With mixer off, pour in the espresso/hot coffee. Mix by hand, scraping down the bottom of the bowl to get all the batter incorporated. A few lumps are ok. The batter will be runny. Let the batter rest for 5 minutes.
  • ***Line a standard muffin tin or cupcake pan with cupcake cups. Fill each cup to about 3/4 full, 3 tablespoons each. Or, use a #20 or large ice cream scoop to make portioning a snap! One scoop per cup.
    Bake cupcakes for 22-25 minutes. The cupcakes are done when they pass the toothpick test, and the cake springs back when lightly pressed in the center.
  • Once out of the oven cool cupcakes in the pan on a cooling rack for 10 minutes. Then remove the cupcakes from the pan, place on a cooling rack and let cool completely before icing.

For The Icing

  • In a stand mixer, using a paddle attachment, cream the butter until light and fluffy, about 5 minutes. Stop the mixer to scrape down the bowl several times during this process.
  • While the butter is creaming, sift together the powdered sugar and cocoa powder. Once the butter is creamed, add the sifted cocoa and sugar alternatively first with all of the vanilla extract, then with 2-3 tablespoons of milk at a time reserving the last two tablespoons for consistency adjustment. Mix the icing until creamy and light, about 30-40 seconds. The icing should be spreadable, not too stiff or loose.
  • Once the cupcakes are completely cool, pipe a rosette with a large open star tip (I use Ateco 825) or schmear the icing on each cupcake, about 2-3 tablespoons each (they don't need much because they're so rich!).
  • To Store: Store in a covered container at room temperature for up to three days, or in the freezer for up to two weeks. Thaw at room temperature for at least an hour before sharing.

Video

Notes

*Dairy Free: Use plant milk and butter. I use Homemade Cashew Milk and Earth Balance Buttery Sticks. 
**Coffee Flavor: For a little less coffee flavor, you can use 1/2 cup strong coffee/espresso and 1/2 cup hot water. 
***Cupcake Pans: If you only have one or two cupcake pans, you can allow the remaining batter to rest at room temperature while one pan is in the oven. Once the cupcakes are out of the pan, pop the warm/hot pan in the fridge until it cools down before adding another batch of batter to the pan. 
I recommend an oven thermometer and weighing your ingredients using a digital kitchen scale for best outcome.
This recipe is adapted from Hershey’s Chocolate Cake.

Nutrition

Serving: 1 cupcake | Calories: 252kcal | Carbohydrates: 37g | Protein: 3g | Fat: 12g | Saturated Fat: 8g | Polyunsaturated Fat: 0.5g | Monounsaturated Fat: 2g | Trans Fat: 0.3g | Cholesterol: 32mg | Sodium: 160mg | Potassium: 153mg | Fiber: 2g | Sugar: 26g | Vitamin A: 246IU | Vitamin C: 0.02mg | Calcium: 37mg | Iron: 1mg

Nutrition is provided as a courtesy and is an estimate. If this information is important to you, please have it verified independently.

Made it? Leave a comment below!

The most helpful comment may include recipe rating, feedback, any modifications or helping other commentors.

Traci sprinkling flour over a disk of pastry.

Filed under:

Cakes Desserts Featured Freezer Friendly Popular Vegetarian Dairy Free Oven Baked Chocolate Christmas New Years Valentines Day

Recipe Key

You May Also Like

Traci in front of a barn.

well hello!

I’m Traci. So glad you're here!

I cook vibrant vegetarian food, bake sourdough and create from scratch baked recipes, sharing them here since 2014. Inspired by the seasons, my southern roots and global flavors, let's cook something delicious together!

4.70 from 13 votes (6 ratings without comment)

Leave a Comment & Rate this Recipe

If you love this recipe, please consider leaving a star rating when commenting below. Star ratings play an important role in helping others in the online community discover and enjoy my recipes. I appreciate your support!

signature

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.

32 Comments

  1. Katie says:

    These look amazing! Do you think this recipe would be enough to make a layer cake? Thanks!!!

    1. Traci says:

      Hi Katie! Easily. I’ve actually scaled this recipe down to make two 6″ cake rounds, but I didn’t write the recipe down. You could probably get away with using two 7″ or 9″ round pans. Fill 1/2 – 3/4 full (but not more) and you’ll need to bake them a bit longer. I would say to start checking them at around 25-30 minutes using the toothpick test. I hope this helps and you enjoy the recipe!

  2. Jennifer says:

    Thank you so much. I made this recipe again with regular flour and they are absolutely delicious ! I was wondering if you knew approximately how many calories are in your recipe per cupcake ?

  3. Hayu says:

    5 stars
    SERIOUSLY YUMMY! Made half recipe for my kiddos today just before my lunch break. I reduced the sugar to 3/4c for half recipe since I used regular cocoa powder (no one sell hershey here). The result is 14 delicious cupcakes . Had no chance to do the frosting since we only have 5 cupcakes left after the lunch break. Thanks Traci!

    1. Traci says:

      Hey Hayu! Thank you for your note on halfing the recipe! Hooray…! I’m so pleased you and your kiddos loved the recipe :D . No doubt you had no chance to ice them.. they are sooo good as is!

  4. Joy says:

    I made these cupcakes for my coworkers the other day and wow, all 24 of them were demolished! I have never made chocolate cupcakes so good and the frosting makes you want more. I love this recipe and will use them every time I make chocolate cupcakes. Thank you for sharing!

    1. Traci says:

      Hooray! Thank you so much for sharing, Joy. This makes my day! :D

  5. Glynda says:

    HI, I love trying new chocolate cake recipes! Especially ones that contain coffee. However, I have a question…do you use brewed coffee and hot water, or coffee grounds? I can’t wait to try!

    1. Traci says:

      Hi Glynda! Use 1/2 C Boiling Water AND 1/2 C brewed coffee or espresso (no coffee grounds). I’ll make a note in the recipe! I hope this helps!

  6. Lyndsey says:

    5 stars
    Made these this weekend and they were wonderful. I used vegetable oil instead of coconut and it was fine. I did find the batter to be a little runny, so I added a couple of tablespoons of flour to make it a bit thicker (in the future could add less water).

    I made the icing into chocolate coffee buttercream by subbing the 2 tablespoons of milk for iced coffee.

    These were absolutely divine. Thanks for sharing!

  7. Sara says:

    4 stars
    Hii! I was wondering if you think using canola oil would also work? Cant wait to try it! Thanks

    1. Traci says:

      Hi Sara! I think canola will work just fine. Thanks for asking and stopping by. I hope you enjoy the recipe!

      1. Sara says:

        5 stars
        Sooo I couldn’t find the hersey cocoa powder, and i was to short in time to buy it on Amazon. So I used a regular cocoa powder, with canola oil. I wanted them to taste expresso a bit more, so i filled them with expresso buttercream and topped them with dark chocolate ganache !
        Made some mini cupcake for a friend’s exposition. SUUUUPER cute and delicious ! Thanks again for your recipe !

        1. Traci says:

          Hi Sara! Oh this is fabulous! You are welcome! I’m inspired by your adaptations of buttercream stuffed and ganache topped (ohhhh ganache!)! Thank you for sharing your success and adaptations! Well done!

        2. Rachel says:

          Hi Sarah, Did you have to change the measurement or cook time when using canola oil, or was it an even swap?

  8. Faye says:

    yum, yum, yum!! I’ve been using the Hershey’s cake recipe for years as well. I love it and use it as the base for most of my chocolate cake/cupcake recipes. Adding espresso powder is a great trick!

    1. Traci says:

      Hi Faye. Yes, I agree, Yum, Yum, Yum! It IS a great recipe. It’s almost no fail!

  9. Barbara Finch says:

    Hi Traci;
    This is Mother Finch from Columbia, SC, and what an informative, helpful website you have got goin’ on! The Photos are so clear and tempting, and that is one fine Photographer you have!
    Carrie arrives Wednesday evening, and we will be trying these healthy recipes. Thanks for a fine job!! All the Best to You, Rob and Kitties! Barbara

    1. Traci says:

      Hello Ma Finch! Thanks for stopping by! Thank you for your kind comments. Hope you enjoy the recipes! And have a wonderful visit! Best to you!

  10. Jessica says:

    Thank you for including a recommend bake time for those preferring to make it as a cake. I always have the hardest time with that!

    1. Traci says:

      Hi Jessica! Would love to hear how your cake turns out!