Coffee Cupcakes With Espresso Frosting

Most “coffee” cupcakes whisper. These ones talk. The batter uses real brewed coffee boosted with a spoonful of instant coffee, and the swirl on top is a silky espresso buttercream. If you love coffee cupcakes with espresso frosting, this is a reliable, bakery-style recipe that makes 12, with US and metric measures, step-by-step instructions, variations and a dairy-free option.

The secret is layering coffee flavor in three places: brewed coffee in the batter, dissolved instant coffee for depth, and espresso in the frosting. Each layer is subtle on its own; together they taste unmistakably of coffee without being bitter.

Ingredients

For the coffee cupcakes (makes 12)

Ingredient US Metric
All-purpose flour 1½ cups 190 g
Baking powder 1½ tsp 6 g
Baking soda ¼ tsp 1.5 g
Fine salt ¼ tsp 1.5 g
Unsalted butter, softened ½ cup 113 g
Granulated sugar ¾ cup 150 g
Large eggs, room temperature 2 2
Vanilla extract 1 tsp 5 ml
Strong brewed coffee, cooled ½ cup 120 ml
Instant coffee 1 tbsp about 2 g
Sour cream or plain yogurt ¼ cup 60 g

For the espresso frosting

Ingredient US Metric
Unsalted butter, softened ¾ cup 170 g
Powdered sugar, sifted 2½ cups 300 g
Freshly brewed espresso, cooled (or very strong coffee) 2 tbsp 30 ml
Instant coffee (optional, for extra punch) 1 tsp about 0.7 g
Heavy cream or milk 1 tbsp 15 ml
Pinch of salt 1 pinch 1 pinch

How to make coffee cupcakes with espresso frosting

Bake the cupcakes

  1. Prep. Heat the oven to 350°F (175°C). Line a 12-cup muffin tin with paper liners.
  2. Make the coffee mix. Stir the instant coffee into the cooled brewed coffee until dissolved.
  3. Combine dry ingredients. Whisk flour, baking powder, baking soda and salt in a bowl.
  4. Cream. Beat the butter and sugar for 3 minutes until pale and fluffy.
  5. Add eggs. Beat in the eggs one at a time, then the vanilla and sour cream.
  6. Alternate. On low speed, add the flour mixture in three parts, alternating with the coffee in two parts. Start and end with flour. Mix only until no dry streaks remain.
  7. Fill. Divide the batter among the liners, about two-thirds full.
  8. Bake for 18 to 22 minutes, until the tops spring back and a toothpick comes out clean.
  9. Cool in the tin for 5 minutes, then on a rack until completely cool, about 1 hour.

Make the espresso frosting

  1. If using, dissolve the instant coffee in the espresso.
  2. Beat the butter for 2 to 3 minutes until very pale and creamy.
  3. Add the powdered sugar in two additions, beating on low, then on medium.
  4. Add the espresso mixture, cream and salt. Beat on medium-high for 2 minutes until light and silky.
  5. Too soft? Add a little more sugar. Too stiff? Add cream a teaspoon at a time.

For more ways to flavor and pipe coffee buttercream, see our full guide to coffee buttercream frosting.

Decorate

Pipe a swirl with a large star tip, or spread with an offset spatula. Finish with a chocolate-covered espresso bean, a dusting of cocoa or a little finely ground coffee.

Tips for the best coffee cupcakes

  • Use strong coffee. Brew at about double your usual strength. Weak coffee gets lost in the batter.
  • Cool the coffee. Hot coffee would melt the creamed butter and make the cupcakes dense.
  • Room-temperature ingredients blend smoothly and trap more air.
  • Do not overmix after adding flour, or the crumb turns tough.
  • Frost only fully cooled cupcakes, or the buttercream will slide off.

Variations

Variation Change
Mocha cupcakes Replace 3 tbsp (24 g) of the flour with unsweetened cocoa; add 2 tbsp cocoa to the frosting.
Coffee walnut Fold ½ cup (60 g) chopped toasted walnuts into the batter.
Cinnamon coffee Add 1 tsp ground cinnamon to the dry ingredients.
Filled cupcakes Core the centers and fill with salted caramel or chocolate ganache before frosting.
Decaf Use decaf brewed coffee and decaf instant coffee for kids’ parties or evening desserts.

Dairy-free version

Use a plant-based baking block instead of butter, dairy-free yogurt instead of sour cream, and oat milk instead of cream in the frosting. Plant-based butters vary, so chill the frosting for 10 minutes if it feels too soft to pipe.

Storage

  • Room temperature: in an airtight container for up to 2 days in a cool kitchen.
  • Fridge: up to 4 days; let them sit at room temperature for 30 minutes before serving so the frosting softens.
  • Freezer: freeze unfrosted cupcakes, well wrapped, for up to 2 months. Thaw, then frost.

A short history of the cupcake

Cupcakes are an American classic with a long paper trail. Amelia Simmons’s 1796 cookbook American Cookery includes a recipe for a light cake baked in small cups, the earliest surviving description of what we now call a cupcake. The word itself first appears in print in Eliza Leslie’s 1828 Seventy-five Receipts for Pastry, Cakes, and Sweetmeats.

In the early 19th century, “cup cake” had two meanings: a small cake baked in a cup, and a cake whose ingredients were measured by the cup. Before muffin tins were common, small cakes were often baked in pottery cups or ramekins. Much later, in the early 2000s, cupcake-only bakeries became a trend in the US, helped by TV exposure such as New York’s Magnolia Bakery appearing on Sex and the City. For another chapter of coffee baking history, read our story of coffee cake.

Which coffee to bake with

A dark, chocolatey roast gives the deepest flavor in baking. Our Italian Roast, our darkest, brews a smoky, intense coffee with dark chocolate notes that stays strong in batter and frosting. Our Instant Coffee is perfect for the dissolved coffee in both parts of the recipe. Baking for an evening crowd? Use Decaf Espresso, a water-process decaf roasted dark for espresso.

Coffee cupcakes FAQ

Can I use espresso instead of brewed coffee in the batter?

Yes. Use 2 shots (2 oz / 60 ml) of espresso topped up with water to ½ cup (120 ml).

Will the cupcakes taste bitter?

No. Sugar, butter and sour cream balance the coffee. The flavor is rich and roasty, more like a latte than a straight espresso.

Do coffee cupcakes contain caffeine?

Some, from the coffee in the batter and frosting, spread across 12 cupcakes. Use decaf if you are serving children or anyone avoiding caffeine.

Can I turn this into a cake?

Yes. Bake the batter in an 8 inch (20 cm) round pan for about 28 to 32 minutes, until a toothpick comes out clean.

Sources

  1. Cupcake. Wikipedia. en.wikipedia.org

Facts checked in October 2026.

Keep reading: Coffee Buttercream Frosting · Espresso Muffins · Best Selling

Back to blog