Mocha Cupcakes
Mocha cupcakes made with cocoa and strong coffee, topped with fluffy mocha buttercream. An easy homemade chocolate coffee cupcake.

If you love the combination of chocolate and coffee, these mocha cupcakes are a perfect treat. Rich cocoa and strong brewed coffee come together to create soft, flavourful cupcakes with a deep chocolate taste and a subtle espresso note. Each cupcake is topped with a smooth mocha buttercream frosting that adds just the right balance of sweetness and coffee flavour.
These cupcakes are simple to make with everyday pantry ingredients, and the batter comes together quickly in one bowl. The addition of hot coffee enhances the chocolate flavour while keeping the cupcakes moist and tender. Whether you are baking for a celebration, a gathering, or just because you are craving chocolate and coffee, these mocha cupcakes are always a welcome dessert.
Recipe Highlights
- Rich mocha flavour: Cocoa and strong brewed coffee combine to create deep chocolate flavour with a subtle coffee note.
- Soft and moist cupcakes: The addition of hot coffee keeps the cupcakes tender with a light, fluffy crumb.
- Simple pantry ingredients: Made with everyday baking staples you likely already have on hand.
- Smooth mocha buttercream: A creamy frosting with just the right balance of chocolate and coffee.
- Great for any occasion: Perfect for birthdays, gatherings, holidays, or whenever a chocolate and coffee dessert sounds good.
- Easy to make: The batter comes together quickly and bakes into beautifully soft cupcakes every time.

Tips for Best Results
- Measure the flour correctly: Spoon the flour into your measuring cup and level it off with a knife. Scooping directly from the bag can pack in too much flour and make the cupcakes dense.
- Use room temperature ingredients: Eggs and milk blend more smoothly into the batter when they are not cold, helping create a more even texture.
- Use strong, hot coffee: Freshly brewed coffee enhances the chocolate flavour and helps bloom the cocoa powder for a deeper mocha taste.
- Do not overmix the batter: Mix just until the ingredients are combined. Overmixing can lead to dense cupcakes instead of a soft, tender crumb.
- Fill cupcake liners evenly: Filling each liner about two-thirds full helps the cupcakes bake evenly and prevents overflowing.
- Cool completely before frosting: Allow the cupcakes to cool fully on a wire rack before adding buttercream so the frosting stays light and fluffy.
Ingredients and Substitutions
These mocha cupcakes are made with simple pantry staples that come together to create a rich chocolate cupcake with a hint of coffee flavour.
- All-purpose flour: Provides the structure for the cupcakes. Measure using the spoon-and-level method to avoid adding too much flour. A 1:1 gluten-free baking flour may work as a substitute if needed.
- Granulated sugar: Adds sweetness and helps keep the cupcakes soft and moist.
- Unsweetened cocoa powder: Gives the cupcakes their rich chocolate flavour. Be sure to use unsweetened cocoa powder, not hot chocolate mix.
- Baking powder and baking soda: These leavening agents help the cupcakes rise and create a light texture.
- Salt: Enhances the chocolate flavour and balances the sweetness in both the cupcakes and the buttercream.
- Eggs: Room temperature eggs incorporate more evenly into the batter and help create a tender crumb.
- Milk: Adds moisture and richness. Whole milk provides the best flavour, but other dairy or non-dairy milks can also be used.
- Vegetable oil: Keeps the cupcakes moist and soft. Any neutral-flavoured oil will work well.
- Vanilla extract: Adds warmth and depth of flavour to both the cupcake batter and the buttercream.
- Strong brewed coffee: Hot coffee enhances the chocolate flavour and creates the mocha taste. If preferred, you can dissolve a small amount of espresso powder in hot water as an alternative.
- Unsalted butter: Used for the mocha buttercream frosting. Softened butter creates a smooth, creamy texture.
- Powdered sugar: Also known as icing sugar or confectioners’ sugar, this gives the buttercream its sweetness and structure.
- Additional cocoa powder: A small amount is added to the frosting for extra chocolate flavour.
- Optional garnish: Brown sprinkles or chocolate-covered coffee beans add a decorative finish and reinforce the mocha theme.

Looking for More Cupcake Recipes?
Soft cinnamon cupcakes topped with creamy frosting and a crunchy cereal coating – these Cinnamon Toast Crunch Cupcakes are a must-try!
Bake up the perfect treat with this easy recipe for moist and fluffy carrot cupcakes with cream cheese frosting; ideal for any occasion.
Soft Apple Pie Cupcakes filled with spiced apples and topped with cinnamon vanilla frosting. A perfect fall dessert for holidays and parties.

Mocha Cupcakes
Yields: 24 cupcakes | Prep Time: 20 minutes | Bake Time: 20 to 22 minutes
Ingredients
Mocha Cupcakes
- 2 cups all-purpose flour
- 1½ cups granulated sugar
- ¾ cup unsweetened cocoa powder
- 1½ teaspoons baking powder
- 1½ teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs, room temperature
- 1 cup milk, room temperature
- ½ cup vegetable oil
- 1½ teaspoons vanilla extract
- ¾ cup freshly brewed strong coffee, hot
Mocha Buttercream Frosting
- 1 cup unsalted butter, room temperature
- 3½ cups powdered sugar
- ½ tablespoon unsweetened cocoa powder
- 3 tablespoons strong brewed coffee, cooled
- ⅛ teaspoon salt
- 2 teaspoons vanilla extract
- Optional garnish: brown sprinkles or chocolate-covered coffee beans
Directions
Bake the Cupcakes
- Preheat the oven to 350°F (180°C). Line two standard 12-cup muffin pans with cupcake liners and set aside.
- In a large bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt until evenly blended.
- Add the eggs, milk, vegetable oil, and vanilla extract. Whisk the mixture just until the batter comes together, taking care not to overmix.
- Slowly pour in the hot brewed coffee, stirring until the batter is smooth. The batter will be quite thin, which helps create moist cupcakes.
- Divide the batter between the prepared liners, filling each about two-thirds full.
- Bake for 20 to 22 minutes, or until a toothpick inserted in the centre comes out clean.
- Remove the cupcakes from the oven and place them on a wire rack to cool completely before frosting.
Prepare the Mocha Buttercream
- In the bowl of a stand mixer fitted with the whisk attachment, or using a hand mixer, beat the butter on high speed until pale and creamy.
- Add the powdered sugar, cocoa powder, cooled coffee, salt, and vanilla extract.
- Begin mixing on low speed until the ingredients are incorporated, then increase to high speed and beat for about 1 minute, until the frosting is light and fluffy.
Frost the Cupcakes
- Transfer the buttercream to a piping bag fitted with a large star tip, or simply spread it over the cupcakes with a spatula.
- Frost the completely cooled cupcakes and finish with sprinkles or chocolate-covered coffee beans, if desired.
Mocha Cupcakes
Mocha cupcakes made with cocoa and strong coffee, topped with fluffy mocha buttercream. An easy homemade chocolate coffee cupcake.
Ingredients
Mocha Cupcakes
- 2 cups all-purpose flour
- 1½ cups granulated sugar
- ¾ cup unsweetened cocoa powder
- 1½ teaspoons baking powder
- 1½ teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs, room temperature
- 1 cup milk, room temperature
- ½ cup vegetable oil
- 1½ teaspoons vanilla extract
- ¾ cup freshly brewed strong coffee, hot
Mocha Buttercream Frosting
- 1 cup unsalted butter, room temperature
- 3½ cups powdered sugar
- ½ tablespoon unsweetened cocoa powder
- 3 tablespoons strong brewed coffee, cooled
- ⅛ teaspoon salt
- 2 teaspoons vanilla extract
- Optional garnish: brown sprinkles or chocolate-covered coffee beans
Instructions
- Preheat the oven to 350°F (180°C). Line two standard 12-cup muffin pans with cupcake liners and set aside.
- In a large bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt until evenly blended.
- Add the eggs, milk, vegetable oil, and vanilla extract. Whisk the
mixture just until the batter comes together, taking care not to
overmix. - Slowly pour in the hot brewed coffee, stirring until the batter is smooth. The batter will be quite thin, which helps create moist cupcakes.
- Divide the batter between the prepared liners, filling each about two-thirds full.
- Bake for 20 to 22 minutes, or until a toothpick inserted in the centre comes out clean.
- Remove the cupcakes from the oven and place them on a wire rack to cool completely before frosting.
- In the bowl of a stand mixer fitted with the whisk attachment, or using a hand mixer, beat the butter on high speed until pale and creamy.
- Add the powdered sugar, cocoa powder, cooled coffee, salt, and vanilla extract.
- Begin mixing on low speed until the ingredients are incorporated, then increase to high speed and beat for about 1 minute, until the frosting is light and fluffy.
- Transfer the buttercream to a piping bag fitted with a large star tip, or simply spread it over the cupcakes with a spatula.
- Frost the completely cooled cupcakes and finish with sprinkles or chocolate-covered coffee beans, if desired.
Bake the Cupcakes
Prepare the Mocha Buttercream
Frost the Cupcakes
Recommended Products
As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.
Nutrition Information:
Yield:
24Serving Size:
1Amount Per Serving: Calories: 449Total Fat: 15gSaturated Fat: 6gUnsaturated Fat: 9gCholesterol: 39mgSodium: 252mgCarbohydrates: 73gFiber: 2gSugar: 51gProtein: 5g
This information is provided as a courtesy and for entertainment purposes only. This information comes from online calculators. Although rosemaryandmaple.com attempts to provide accurate nutritional information, these figures are only estimates.


Liz Lampman is a coffee-fuelled Mom of 2 girls and lives in Hamilton, Ontario. She enjoys cooking and baking, food photography, and reading.



