Dessert Recipes

Chocolate Coffee Cupcakes with Mocha Buttercream Frosting

Millie Pham

Disclosure: As Amazon Associates, we earn from qualifying purchases at no extra cost to you.

If you love the flavor of a mocha from your favorite coffee shop, these Chocolate Coffee Cupcakes with Mocha Buttercream Frosting are going to be a new favorite.

They have a rich chocolate flavor, a hint of coffee in every bite, and a smooth mocha frosting that pipes beautifully.

They’re easy enough for a weekend bake but special enough for birthdays, parties, and holidays.

This recipe is adapted from a classic chocolate coffee cupcake recipe with mocha frosting.

Servings: 18 cupcakes
Prep Time: 20 minutes
Bake Time: 15–18 minutes
Total Time: 35–40 minutes

Why I Love This Recipe

The first time I made these cupcakes, I was trying to recreate the flavor of a mocha coffeehouse drink in dessert form. I wanted something that balanced rich chocolate and smooth coffee without either flavor overpowering the other. These cupcakes did exactly that.

The chocolate stays front and center while the coffee quietly enhances every bite. Then the mocha buttercream brings everything together with a creamy finish.

What I love most:

  • Rich chocolate flavor with a subtle coffee boost
  • Moist, tender cupcakes every time
  • Smooth and fluffy mocha buttercream
  • Easy ingredients you probably already have
  • Beautiful enough for celebrations
  • Great for coffee lovers
  • Frosting pipes perfectly for bakery-style cupcakes

What You’ll Need

For the Chocolate Coffee Cupcakes

  • 1½ cups all-purpose flour
  • ½ cup unsweetened cocoa powder
  • 1 teaspoon baking powder
  • ½ teaspoon baking soda
  • Pinch of salt
  • 1¼ cups granulated sugar
  • 2 large eggs
  • ¾ cup vegetable oil
  • ⅓ cup brewed coffee
  • ¾ cup boiling water

For the Mocha Buttercream Frosting

  • 1 cup unsalted butter, softened (2 sticks)
  • 4 cups powdered sugar
  • 2 tablespoons milk
  • 2 tablespoons brewed coffee
  • 2 tablespoons unsweetened cocoa powder
  • 18–36 chocolate-covered coffee beans for garnish

Why This Recipe Works (Quick Science)

  • Cocoa powder contains flavor compounds that become stronger when exposed to hot liquid.
  • The boiling water “blooms” the cocoa powder, creating deeper chocolate flavor.
  • Coffee naturally enhances chocolate without making the cupcakes taste strongly like coffee.
  • Oil creates a softer and moister crumb than butter-based cupcakes.
  • Baking powder and baking soda work together for a light, fluffy texture.
  • Powdered sugar stabilizes the frosting while butter creates a smooth, creamy texture.

Pro Tips

  • Use freshly brewed coffee for the best flavor.
  • Let the cupcakes cool completely before frosting.
  • Use room-temperature butter for smooth buttercream.
  • For a stronger mocha flavor, use dark roast coffee.
  • Chill the frosted cupcakes for 10 minutes if serving on a warm day.

Tools Required

  • Muffin pan
  • 18 cupcake liners
  • 2 mixing bowls
  • Whisk
  • Electric mixer
  • Measuring cups
  • Measuring spoons
  • Cooling rack
  • Piping bag
  • Wilton 1M piping tip
  • Rubber spatula

Substitutions and Variations

  • Use espresso instead of brewed coffee for a stronger flavor.
  • Substitute whole milk for the frosting milk.
  • Add mini chocolate chips to the batter.
  • Top with chocolate shavings instead of coffee beans.
  • Use dark cocoa powder for a richer chocolate flavor.

Make Ahead Tips

  • Bake cupcakes up to 2 days ahead.
  • Store unfrosted cupcakes in an airtight container.
  • Make frosting 1 day ahead and refrigerate.
  • Bring frosting to room temperature and re-whip before using.

Recipe Instructions

Step 1: Prepare the Oven and Pan

Preheat the oven to 350°F. Line a muffin pan with 18 cupcake liners.

Step 2: Mix the Dry Ingredients

In a medium bowl, whisk together:

  • 1½ cups all-purpose flour
  • ½ cup cocoa powder
  • 1 teaspoon baking powder
  • ½ teaspoon baking soda
  • Pinch of salt

Whisk until evenly combined.

Step 3: Mix the Wet Ingredients

In a large bowl, whisk together:

  • 1¼ cups granulated sugar
  • 2 eggs

Whisk until creamy.

Add:

  • ¾ cup vegetable oil
  • ⅓ cup brewed coffee

Whisk until smooth.

Step 4: Combine Wet and Dry Ingredients

Slowly add the dry ingredients into the wet mixture. Whisk until combined and no dry streaks remain.

Step 5: Add the Boiling Water

Slowly pour in:

  • ¾ cup boiling water

Whisk carefully until smooth. The batter will be thin.

Step 6: Fill the Cupcake Liners

Fill each cupcake liner about two-thirds full with batter.

Step 7: Bake the Cupcakes

Bake at 350°F for 15–18 minutes or until a toothpick comes out clean.

Cool completely on a wire rack.

Step 8: Make the Mocha Buttercream

In a large bowl, beat together:

  • 1 cup softened unsalted butter
  • 4 cups powdered sugar
  • 2 tablespoons milk
  • 2 tablespoons brewed coffee
  • 2 tablespoons cocoa powder

Beat until smooth and fluffy.

Step 9: Pipe the Frosting

Transfer the mocha buttercream to a piping bag fitted with a Wilton 1M tip. Pipe large swirls onto each cooled cupcake.

Step 10: Garnish and Serve

Top each cupcake with 1 to 3 chocolate-covered coffee beans.

Common Mistakes

  • Overmixing the batter can make cupcakes dense.
  • Using hot cupcakes for frosting causes melting.
  • Adding powdered sugar too quickly can create lumps.
  • Overbaking can dry out the cupcakes.
  • Using cold butter can result in grainy frosting.

What to Serve With

  • Fresh brewed coffee
  • Espresso
  • Cold brew
  • Hot chocolate
  • Vanilla ice cream
  • Fresh strawberries
  • Chocolate-covered strawberries

Leftovers and Storage

  • Store frosted cupcakes in an airtight container for up to 3 days.
  • Refrigerate for up to 5 days.
  • Bring to room temperature before serving.
  • Freeze unfrosted cupcakes for up to 3 months.
  • Freeze frosting separately in an airtight container.

Macros Information

Approximate Per Cupcake

  • Calories: 365
  • Protein: 3g
  • Carbohydrates: 47g
  • Fat: 19g
  • Saturated Fat: 7g
  • Sugar: 35g
  • Fiber: 2g
  • Sodium: 110mg

FAQ

Can I use instant coffee?

Yes. Dissolve instant coffee in hot water before adding it to the recipe.

Can I make these cupcakes ahead?

Yes. Bake the cupcakes up to 2 days ahead and frost before serving.

Can I make mini cupcakes?

Yes. Bake mini cupcakes for about 10–12 minutes.

How do I make the coffee flavor stronger?

Use espresso or strongly brewed dark roast coffee.

Can I freeze these cupcakes?

Yes. Freeze unfrosted cupcakes for up to 3 months.

Final Thoughts

These Chocolate Coffee Cupcakes with Mocha Buttercream Frosting are the perfect combination of rich chocolate and smooth coffee flavor. They’re moist, easy to make, and look like they came from a bakery when topped with those beautiful mocha swirls. Whether you’re baking for a party, a holiday, or simply because you’re craving chocolate and coffee together, this recipe delivers every time. Give them a try, and don’t forget to leave a comment sharing how they turned out and any fun variations you made.

Hi there! I'm Millie Pham, a devoted brewer and tea lover at heart. As the founder of Bean Leaf Cup, my mission is to share my tea and coffee expertise with you all. I firmly believe that creating a fantastic cup of tea or coffee should be easy for everyone. No matter if you're already a coffee or tea expert or just beginning your journey, I'm here to help you navigate the world of brewing. Welcome aboard!