Who says you can’t have your coffee and eat it too? These Mocha Cupcakes combine rich dark chocolate and bold coffee for the perfect mocha bite. In this recipe I pair my favorite ultra-moist chocolate cupcakes with a silky espresso Swiss meringue buttercream for an indulgent mocha treat.

This mocha cupcake recipe is a scaled-down version of my Mocha Cake. The cupcakes use strong brewed coffee to deepen the chocolate flavor, while the buttercream is enhanced with instant espresso powder so every bite is pure mocha.
✨ Recipe highlights
- TASTE: deep dark chocolate with a pronounced coffee note.
- TEXTURE: soft, moist cupcakes topped with smooth, silky frosting.
- EASE: the cupcakes are straightforward to make by hand; the espresso Swiss meringue buttercream is more advanced but manageable with step-by-step care.
- WHY YOU’LL LOVE IT: coffee and chocolate lovers will enjoy the tender crumb and luxurious frosting — reliably moist cupcakes with silken espresso buttercream.
What you’ll need for mocha cupcakes
Skip ahead to the recipe card for the full ingredient list and quantities.
For the cupcakes
Below are key ingredients and notes for the chocolate mocha cupcakes.

- Cocoa powder – natural or Dutch-processed both work; Dutch-process offers a deeper chocolate profile.
- Coffee – use brewed strong coffee or prepare instant espresso/coffee per package directions. Cooled coffee is best in the batter.
- Buttermilk – if you don’t have buttermilk, make a quick substitute with milk plus a little vinegar or lemon juice, or use plain yogurt or sour cream.
For the frosting
Essentials for the espresso Swiss meringue buttercream and ingredient notes.

- Egg whites – either fresh or pasteurized carton whites work; I’ve tested both successfully. Use clean equipment for best results.
- Vinegar – an acid (vinegar, lemon juice, or cream of tartar) helps stabilize the meringue.
- Instant espresso powder – choose instant espresso powder for a concentrated coffee flavor; instant coffee can be used but increase the amount for a stronger profile.
A few tips
You can skip to the recipe card for step-by-step instructions and photos.
- The cupcakes: easy to prepare — measure accurately and mix until just combined for a tender crumb. A stand mixer is optional.
- The frosting: Swiss meringue buttercream requires clean, grease-free tools and patience while whipping. Work methodically and don’t rush the process.
- Easier frosting option: make American buttercream and fold in 2 tablespoons instant espresso powder for a simpler coffee buttercream.
- Decaf version: omit brewed coffee in the cupcake batter or replace with decaf, and use decaf instant espresso for the frosting.
- Leftover egg yolks: save for custard-based ice cream recipes or other baking projects.
Storing and making ahead
Store frosted cupcakes in an airtight container in the refrigerator for 3–5 days or freeze for up to 3 months. For freezing, flash-freeze the frosted cupcakes on a baking sheet until solid, then wrap and store in a freezer bag.
You can prepare the cupcakes and frosting ahead of time. A practical schedule:
- 2 nights before: bake cupcakes, cool, and cover at room temperature.
- 1 night before: make the Swiss meringue buttercream and assemble cupcakes; refrigerate.
- Day of: bring to room temperature before serving for best texture and flavor.

Hungry for more?
Join the newsletter for weekly recipe ideas, inspiration, and occasional subscriber-only giveaways.
Mocha Cupcakes with Coffee Frosting

Equipment
-
Standard Size Muffin Pan
-
Stand Mixer (optional)
-
Thermometer
-
Saucepan
-
Pastry Bag and 1M Piping Tip
Ingredients
For the mocha cupcakes
- 1 cup all-purpose flour (144 g)
- 6 tbsp cocoa powder (Dutch-processed preferred, 42 g)
- 1/2 tsp baking soda
- 1/2 tsp baking powder
- 1 cup granulated sugar (199 g)
- 1/4 tsp kosher salt
- 1/2 cup strong brewed coffee or espresso, cooled (113 g)
- 1/2 cup buttermilk, room temperature (115 g)
- 1/4 cup vegetable oil (50 g)
- 1 large egg, room temperature
- 1 tsp pure vanilla extract
For the coffee buttercream
- 4 oz egg whites (about 115 g)
- 3/4 cup granulated sugar (135 g)
- 3/4 tsp distilled vinegar or lemon juice (4 g)
- 10 oz unsalted butter, room temperature, cubed (283 g)
- 1/2 tsp pure vanilla extract
- 2 tbsp instant espresso powder (10 g)
- A pinch of kosher salt
Instructions
- Preheat oven to 350°F (175°C). Line a 12-cup muffin pan with paper liners.
- Make the cupcake batter: In a medium bowl, sift or whisk together flour, cocoa powder, baking soda, and baking powder. Add sugar and salt and whisk to combine.
- In a large bowl, whisk cooled coffee, buttermilk, oil, egg, and vanilla until smooth.
- Add dry ingredients to the wet ingredients and stir just until a smooth batter forms. Do not overmix.
- Bake: Divide batter evenly among the 12 muffin cups (use a large cookie scoop). Bake 17–19 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Let cupcakes cool in the pan 10–15 minutes until they are cool to the touch, then transfer to a wire rack to cool completely.
- Make the frosting: Combine egg whites and sugar in a heatproof bowl set over simmering water (bowl bottom should not touch the water). Whisk constantly until sugar dissolves and the mixture reaches 160°F (71°C).
- Remove the bowl from heat, dry the bottom, and transfer to a stand mixer. Whisk on medium speed while streaming in the vinegar or lemon juice. Beat until stiff, glossy peaks form.
- Lower the mixer to low and add cubed room-temperature butter a few pieces at a time, allowing each to incorporate. The mixture may look curdled—keep beating until smooth and cohesive.
- Once combined, add vanilla, instant espresso powder, and a pinch of salt. Beat on medium-high until the buttercream is light and fluffy.
- Frost the cupcakes: Transfer frosting to a pastry bag fitted with a 1M tip and pipe onto cooled cupcakes. Serve at room temperature and enjoy.
Notes
- Type of cocoa: Dutch-processed cocoa gives a deeper chocolate flavor, but natural cocoa works if that’s what you have.
- Frosting yield: The buttercream makes about 3 cups; you’ll likely use around 2 cups for 12 cupcakes. Leftovers freeze well or can be used on other baked goods.
- Clean tools: Ensure bowls and utensils are grease-free for a stable meringue.
- Storage: Refrigerate cupcakes 3–5 days, or freeze up to 3 months. Bring to room temperature before serving for best texture.
Nutrition
Nutrition information is an estimate and should be used as a guide.
Like this recipe? Rate & comment below!