Time: 20 minutes · Serves: frosts and fills a two-layer 8-inch (20 cm) cake, about 12 slices · The key step: dissolve the espresso powder fully before it meets the butter, or the frosting will be gritty. This is a mocha buttercream: sweet chocolate, real coffee depth, and a smooth, pipeable texture. It is the standard pairing for chocolate or yellow cake and holds up well on a potluck or birthday cake.
Dissolve the Coffee First, Then Build the Buttercream
Mocha frosting fails in one of two ways: gritty coffee granules or greasy, split butter. Both are avoidable. Stir instant espresso powder into 2 tablespoons (30 ml) of the milk called for below and let it sit 5 minutes until fully dissolved and cooled to room temperature. Espresso powder dissolves more completely than ground coffee and gives a stronger coffee flavor per teaspoon; instant coffee granules work but taste milder, so use 2 tablespoons (about 12 g) instead of 1. American buttercream is made with softened, not melted, butter: press a finger into it and it should hold the dent without sliding. If the frosting ever looks curdled or soupy, keep beating; it usually comes back together in 2-3 minutes. If it is greasy and slack, refrigerate the bowl 10 minutes and beat again.
Ingredients
- 1 cup (227 g) unsalted butter, softened to about 65-70°F (18-21°C)
- 3 cups (360 g) powdered sugar, sifted if lumpy
- 2/3 cup (60 g) unsweetened cocoa powder, sifted
- 1 tablespoon (about 6 g) instant espresso powder
- 2 tablespoons (30 ml) whole milk, plus more as needed
- 1 teaspoon (5 ml) vanilla extract
- 1/4 teaspoon (1 g) fine salt
Swaps: salted butter works, omit the added salt. Black coffee (cooled) can replace the milk for stronger coffee flavor, but add it 1 tablespoon (15 ml) at a time so the frosting does not thin out. For a dairy-free version, use plant butter and oat milk; check labels for allergens.
Instructions
- Stir the espresso powder into the 2 tablespoons (30 ml) milk in a small cup. Let stand 5 minutes until fully dissolved and at room temperature.
- Beat the softened butter in a large bowl with an electric mixer on medium speed for 2-3 minutes until pale and fluffy, scraping the bowl once.
- Add the cocoa powder, salt, and half the powdered sugar. Mix on low speed until incorporated, about 1 minute, so the sugar does not cloud out of the bowl.
- Add the remaining powdered sugar, the dissolved espresso mixture, and the vanilla. Beat on low 1 minute, then on medium 2-3 minutes until smooth and light.
- Check the texture: it should hold a stiff peak when the beater is lifted. Add more milk 1 teaspoon (5 ml) at a time to soften, or more powdered sugar 2 tablespoons (15 g) at a time to stiffen. Beat 30 seconds after each adjustment.
- Use immediately, or cover and refrigerate (see storage below). Beat again briefly before spreading.
Where Mocha Frosting Belongs and How to Serve It
Spread about 3/4 cup (180 ml) between two 8-inch (20 cm) layers and the rest over the top and sides; this recipe yields about 3 cups (720 ml), enough for that cake with a rustic, swirled finish. For a fully smooth-sided cake, make 1.5 times the recipe. Mocha frosting suits chocolate cake best, then yellow, vanilla, or banana cake; the coffee sharpens the chocolate and keeps very sweet cake layers in balance. Serve with a glass of cold milk or, for adults, black coffee. Pairings that work on the plate: toasted hazelnuts pressed onto the sides, a pinch of flaky salt on top, or fresh raspberries. It also pipes well for cupcakes: about 12 standard cupcakes with a generous swirl each.
Make-ahead timeline for a party cake: make the frosting up to 3 days ahead and refrigerate; bake the cake layers the day before and freeze them wrapped; the day of serving, thaw the layers, re-beat the frosting 1-2 minutes to restore texture, assemble, and frost. Assembled frosted cake can sit at cool room temperature for the afternoon; refrigerate it if the room is warm.
What Goes Wrong and How to Fix It
Gritty texture: undissolved espresso or unsifted cocoa. Fix by beating longer; prevent by dissolving the espresso in milk and sifting the cocoa and lumpy sugar. Greasy, slippery frosting: butter too warm. Chill the bowl 10 minutes and re-beat. Curdled or soupy: butter too cold or liquids added too fast. Keep beating on medium; it usually re-emulsifies within 2-3 minutes. Bland frosting: coffee flavor fades against sweet cake; add another 1/2 teaspoon espresso dissolved in 1 teaspoon milk. Too soft to pipe: add powdered sugar 2 tablespoons (15 g) at a time. Frosting pulls crumbs: the cake is too warm or too tender; chill the layers 30 minutes and apply a thin crumb coat, chill 15 minutes, then finish.
Refrigerator and Freezer Times for Frosted Cake
Because this frosting is mostly butter and sugar with milk, refrigerate the cake within 2 hours of serving (1 hour if the room is above 90°F/32C). Covered, the frosted cake keeps about 3-4 days refrigerated; cut surfaces stay best pressed with plastic wrap. The frosting alone keeps about 1 week refrigerated in an airtight container or up to 3 months frozen; thaw overnight in the refrigerator and re-beat before using. Do not leave milk-based frosting at room temperature overnight. Leftover cake slices eaten cold from the fridge will taste firm; let them sit 20-30 minutes at room temperature first.
Related
- Coconut Pecan Cake Frosting
- Peanut Butter Cookie Frosting: Easy 5-Minute Recipe
- Fourth of July Poke Cake With Frosting
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).