• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Start Here
  • Recipes
    • Appetizers
    • Bread
      • Sourdough
      • Sourdough Discard Recipes
      • Gluten Free Sourdough
      • Gluten Free Sourdough Discard Recipes
    • Breakfast & Brunch
    • Condiments
    • Desserts
    • Drinks
    • Grab & Go Snacks
    • Main Dishes
    • Side Dishes
    • Recipe Search
    • Recipe Index
Vanilla And Bean

Vanilla And Bean

Sweet and Savory Vegetarian

  • Facebook
  • Instagram
  • Pinterest
  • Subscribe
  • Shop
  • About
    • Subscribe
    • A little bit about me…
    • Contact
You are here: Home / Recipes / Desserts / Cakes / Perfect Chocolate Espresso Cupcakes

Perfect Chocolate Espresso Cupcakes

4.7 stars (from 13 ratings)
By Traci York — Updated April 11, 2026 — 30 Comments / Jump to Recipe
This post may contain affiliate links. Please read my affiliate policy.

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. [ watch recipe VIDEO on recipe card below ]

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.”
Chocolate Coffee Cupcakes on a sheet pan.
Save Recipe Saved! Print Recipe

Perfect Chocolate Espresso Cupcakes Recipe

Prep Time:45 minutes minutes
Cook Time:25 minutes minutes
Total Time:1 hour hour 10 minutes minutes
Servings:27 Cupcakes
Calories:252kcal
Author:Traci York
[ recipe VIDEO below ] 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.
(keep screen awake)

Ingredients

For The Cake:

  • 2 cups (400 grams) Organic Cane Sugar
  • 1 3/4 cups + 1 tablespoon (250 grams) Unbleached All Purpose Flour or White Whole Wheat Flour
  • 3/4 cups (80 grams) Unsweetened Dutch Process Cocoa
  • 1 1/2 teaspoon Baking Soda
  • 1 1/2 teaspoon Baking Powder
  • 1 teaspoon Salt
  • 1/2 cup (105 grams) Coconut Oil melted and warm to the touch, or canola oil
  • 2 Large Eggs at room temperature
  • 1 cup (245 grams) Milk at room temperature, whole or plant milk
  • 3 teaspoons Vanilla Extract
  • 1 cup (226 grams) Espresso or Strong Coffee, fresh brewed, HOT

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 is provided as a courtesy and is an estimate. If this information is important to you, please have it verified independently.
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
Made It? Leave a comment below! The most helpful comment may include recipe rating, feedback, any modifications and/or helping other commenters. On Instagram? Take a snap of your make and share, tagging @VanillaAndBean #VanillaAndBean!

You might also like:

Chocolate shortbread cookies cut into stars and decorated.

Dark Chocolate Shortbread Cookies

Vegan Chocolate Hazelnut Cake with Whipped Ganache on a plate with a fork.

Vegan Chocolate Hazelnut Cake with Whipped Ganache

Roasted rosemary cashews in a serving bowl garnished with rosemary leaves.

Sweet and Spicy Maple-Roasted Rosemary Cashews

Roasted eggplant hummus on a cutting board shared with Naan, olives and tomatoes.

Smoky Roasted Eggplant Hummus

  • Chocolate
  • Oven Baked
  • Christmas
  • New Years
  • Valentines Day
Shares8kPinShareEmail

Sign up for the Vanilla And Bean newsletter and get my Five Secrets to Vegetarian Cooking email series delivered to your inbox!

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.
Previous Post: « Mexican 5 Layer Bean Dip
Next Post: Vegetarian Reuben Sandwich »

Reader Interactions

30 comments

    4.70 from 13 votes (6 ratings without comment)

    Leave a Comment & Rate this Recipe Cancel reply

    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!

    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.

  1. Avatar for KazKaz

    November 4, 2023 at 5:33 pm

    2 stars
    These cupcakes don’t taste like anything. Followed the recipe to the letter and I’m extremely disappointed. The frosting does a lot of the heavy lifting but the cake itself is almost tasteless.

    Reply
    • Avatar for Traci YorkTraci York

      September 12, 2024 at 2:38 pm

      I’m sorry to hear your cupcakes didn’t taste like anything, Kaz. I’m curious if maybe the salt could’ve been left out? I’m not sure what could have gone wrong.

      Reply
  2. Avatar for MelMel

    April 6, 2023 at 6:15 am

    I’m so excited to make these for my boyfriend’s birthday this weekend! We will have a couple kiddos in attendance, so I’ll make a few without coffee. Should I substitute something in for the coffee to keep the consistency right?

    Reply
    • Avatar for Traci YorkTraci York

      April 6, 2023 at 10:12 am

      Hi Mel! You can use hot water instead. Enjoy!

      Reply
  3. Avatar for T.MacT.Mac

    March 30, 2021 at 12:54 pm

    5 stars
    The BEST chocolate cake/cupcake recipe ever! I did sub the regular white flour as well as the strong brewed coffee as it states you can do at the bottom. I also like to use Hershey’s special dark cocoa powder as I love a bold chocolate flavor. I have made these cupcakes 3 times with consistent results, lots of compliments, & requests for the recipe! Thank you for sharing!

    Reply
    • Avatar for TraciTraci

      March 30, 2021 at 1:00 pm

      Hi T.Mac! Thank you for your note and giving the recipe a go! SO happy to hear everyone’s enjoying the cake. A reminder that it’s time for me to make these again!

      Reply
  4. Avatar for IsaIsa

    September 14, 2020 at 8:47 pm

    5 stars
    These cupcakes are delicious! I love how easily they come together, and the cupcakes themselves are moist with great flavor. 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.
    Thanks for the recipe!

    Reply
    • Avatar for TraciTraci

      September 16, 2020 at 11:23 am

      So happy to hear Isa! Thank you for your note and instant coffee tip! Love it!

      Reply
  5. Avatar for KatieKatie

    April 28, 2017 at 7:24 am

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

    Reply
    • Avatar for TraciTraci

      April 28, 2017 at 7:34 am

      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!

      Reply
  6. Avatar for JenniferJennifer

    July 29, 2016 at 7:41 am

    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 ?

    Reply
    • Avatar for TraciTraci

      July 29, 2016 at 8:09 am

      Hooray! So happy to hear you enjoyed the recipe, Jennifer! I don’t know the calorie count, but you can plug the recipe into this calculator to find out: https://www.caloriecount.com/cc/recipe_analysis.php Thank you for your note!

      Reply
  7. Avatar for HayuHayu

    July 23, 2016 at 4:59 am

    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!

    Reply
    • Avatar for TraciTraci

      July 23, 2016 at 8:59 am

      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!

      Reply
  8. Avatar for JoyJoy

    June 7, 2016 at 12:28 pm

    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!

    Reply
    • Avatar for TraciTraci

      June 9, 2016 at 4:43 am

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

      Reply
  9. Avatar for GlyndaGlynda

    May 24, 2016 at 9:27 pm

    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!

    Reply
    • Avatar for TraciTraci

      May 25, 2016 at 7:06 am

      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!

      Reply
  10. Avatar for LyndseyLyndsey

    January 19, 2015 at 1:18 pm

    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!

    Reply
  11. Avatar for SaraSara

    September 14, 2014 at 7:51 am

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

    Reply
    • Avatar for TraciTraci

      September 14, 2014 at 8:11 am

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

      Reply
      • Avatar for SaraSara

        September 22, 2014 at 6:47 am

        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 !

        Reply
        • Avatar for TraciTraci

          September 22, 2014 at 3:01 pm

          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!

          Reply
        • Avatar for RachelRachel

          February 12, 2019 at 10:24 pm

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

          Reply
  12. Avatar for FayeFaye

    April 14, 2014 at 4:44 pm

    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!

    Reply
    • Avatar for TraciTraci

      April 14, 2014 at 6:18 pm

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

      Reply
  13. Avatar for Barbara FinchBarbara Finch

    April 12, 2014 at 4:13 pm

    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

    Reply
    • Avatar for TraciTraci

      April 12, 2014 at 7:41 pm

      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!

      Reply
  14. Avatar for JessicaJessica

    March 27, 2014 at 6:04 am

    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!

    Reply
    • Avatar for TraciTraci

      March 27, 2014 at 3:19 pm

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

      Reply

Primary Sidebar

well hello!

Traci in front of a barn.

I’m Traci and this is my blog. So Glad You Stopped By!

Here you’ll find full of flavor vegetarian comfort food with vegan and gluten free recipes too. I also share sourdough, sweets and naturally sweetened baked goods and desserts recipes because we all gotta have a little balance!

Learn More About Traci  or  The Blog.

Search

Start Here!

Why vegetarian, what you’ll find on Vanilla And Bean and fan favorites all right here!

Right this Way to Start

Footer

Affiliate Info

Vanilla And Bean is monetized in part through the use of affiliate links. As an Amazon Associate I earn from qualifying purchases. This means that if you click on a link and/or purchase an item after clicking on a link, Vanilla And Bean may receive a percentage of the sales price. I only recommend products that I love and use through my affiliate links. To learn more please see my Affiliate Policy. Thank you for your support!

© Vanilla And Bean, LLC  – 2026. Unauthorized use and/or duplication of any content or images without express and written permission from this blog’s owner is prohibited. Licensing inquiries for publication, general distribution, and/or commercial use, please contact me on my contact page.

Copyright © 2026 · Vanilla and Bean · Website by Meyne

Menu

Home · Recipes · Web Stories · Contact · Editorial Policy · Privacy Policy · Terms of Service · Accessibility · California Privacy Notice

Copyright © 2026 · Vanilla and Bean On Genesis Framework · Log in

  • Home
  • Start Here
  • Recipes
    ▼
    • Recipe Search
    • Recipe Index
    • Appetizers
    • Bread
      ▼
      • Sourdough
    • Breakfast & Brunch
    • Condiments
    • Desserts
    • Drinks
    • Grab & Go Snacks
    • Main Dish
    • Side Dishes
  • Shop
  • About
    ▼
    • Contact
    • A little bit about me…
    • Let’s Work Together
    • Blogger Resources
  • Subscribe to Newsletter!
  • Search

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.