Dinners

Rich Chocolate Frosting for Devils Cake

Updated · By Patriot Kitchen

Total timeprep + cook
15 min
Prep
15 min
hands-on
Cook
No cooking
no heat needed
Serves
12
as written

Jump to recipe Save

This chocolate buttercream is a dense, sweet topping designed to balance the deep cocoa notes of a devils food cake. It provides a stable structure for layering and piping, making it suitable for birthday cakes or holiday desserts. The frosting relies on a high ratio of powdered sugar to butter to ensure it holds its shape at room temperature.

Chocolate Frosting Ingredient Swaps

Adjusting the base ingredients changes the texture and sweetness of the chocolate frosting. For a dairy-free version, swap the unsalted butter for a vegan butter stick in a 1:1 ratio; this maintains the same consistency but may result in a slightly different melting point. If you prefer a less sweet frosting, replace 1/2 cup (60 g) of the powdered sugar with 1/2 cup (60 g) of unsweetened cocoa powder, though this will make the frosting thicker and more matte in appearance.

To change the flavor profile, you can substitute the vanilla extract with 1 teaspoon (5 ml) of instant espresso powder dissolved in the milk. This does not make the frosting taste like coffee but intensifies the perception of chocolate. For a creamier, softer texture, replace the unsalted butter with 8 ounces (225 g) of softened cream cheese, mixing it with the butter in a 50/50 ratio. This creates a chocolate cream cheese frosting that is tangier and less stable for tall cakes.

Ingredients

  • 1 cup (225 g) unsalted butter, softened to 65F (18C)
  • 3 1/2 cups (420 g) powdered sugar, sifted
  • 1/2 cup (45 g) unsweetened cocoa powder, sifted
  • 3 tablespoons (45 ml) whole milk or heavy cream
  • 2 teaspoons (10 ml) pure vanilla extract
  • 1/4 teaspoon (1.5 g) fine salt

Instructions

  1. Place the softened butter in a stand mixer bowl fitted with the paddle attachment or a medium mixing bowl for a hand mixer. Beat on medium speed for 2-3 minutes until the butter is pale and creamy.
  2. Reduce the mixer speed to low. Gradually add the sifted powdered sugar and sifted cocoa powder, one cup at a time. Mix for about 30 seconds after each addition until the powder is mostly incorporated to avoid a sugar cloud.
  3. Increase the speed to medium and beat for 1-2 minutes until the mixture is combined but still thick.
  4. Pour in the milk (or heavy cream), vanilla extract, and salt. Beat on medium-high speed for 2-3 minutes until the frosting is light, fluffy, and holds a stiff peak when the beater is lifted.
  5. If the frosting is too stiff, add more milk 1 teaspoon (5 ml) at a time. If it is too runny, add powdered sugar 1 tablespoon (8 g) at a time until the desired consistency is reached.

Why Chocolate Frosting Becomes Runny or Grainy

Runny Frosting

Frosting becomes runny primarily due to temperature or excess liquid. If the butter is melted rather than softened, the emulsion breaks and the frosting will not hold a peak. If the room temperature is above 75F (24C), the butter in the frosting begins to liquefy. To fix runny frosting, refrigerate the bowl for 15-20 minutes, then beat it again on medium speed for 2 minutes to re-incorporate the fats.

Adding too much milk too quickly also causes a loss of structure. If the frosting is too thin to spread, add 1 tablespoon (8 g) of sifted powdered sugar and beat on low for 1 minute. This increases the solids-to-liquid ratio and firms up the consistency.

Grainy or Lumpy Texture

Graininess is usually caused by undissolved sugar crystals or clumps of cocoa powder. Cocoa powder is naturally hydrophobic and tends to clump when it hits moisture. If you see small brown lumps, it means the cocoa was not sifted. To fix this, you can pass the finished frosting through a fine-mesh sieve, though this is time-consuming. The best prevention is sifting both the sugar and cocoa before they enter the bowl.

Another cause of graininess is butter that was not softened enough. Cold butter does not incorporate evenly with the sugar, leaving tiny hard beads of fat. If the frosting feels gritty, gently warm the bowl over a pot of simmering water (a double boiler) for 10-15 seconds—just enough to soften the butter—then beat it again on high for 2 minutes.

Too Dense or Heavy

Frosting that feels heavy or lacks fluffiness is typically under-beaten. The air incorporated during the whipping process provides the lightness. If the frosting is too dense, increase the mixer speed to high and beat for an additional 3-5 minutes. This incorporates more air bubbles into the fat, changing the texture from a paste to a fluffy cream.

Applying Frosting to Devils Cake

To ensure the frosting adheres and does not slide, the cake must be completely cool. A cake that is even slightly warm will melt the butter in the frosting, causing it to run off the sides. For a standard 9-inch (23 cm) round cake, use a crumb coat first. Apply a very thin layer of frosting over the entire cake to seal in crumbs and refrigerate for 30 minutes. This creates a stable base for the final layer.

When piping borders or swirls, use a piping bag with a 1M or 2D open star tip. If the frosting is too soft to hold a sharp edge, place the piping bag in the refrigerator for 10 minutes before use. For a smooth finish on the sides of the cake, use an offset spatula and a bench scraper. Hold the scraper perpendicular to the cake and rotate the cake on a turntable to create a flat, professional surface.

Storing Chocolate Frosting

Finished chocolate frosting can be stored in an airtight container in the refrigerator for 3-5 days. Because it contains dairy, it must be refrigerated within 2 hours of preparation to prevent spoilage. When removing frosting from the fridge, it will be firm. Let it sit at room temperature for about 30-60 minutes to soften, then beat it with a hand mixer for 1 minute to restore the fluffy texture before using it.

For longer storage, chocolate frosting can be frozen for up to 3 months. Place the frosting in a freezer-safe container or a heavy-duty freezer bag, pressing out as much air as possible to prevent freezer burn. To thaw, move the container to the refrigerator 24 hours before you plan to use it. Once thawed, beat the frosting on medium speed for 2-3 minutes to re-emulsify the butter and sugar.

Frosting Safety and Raw Ingredients

Always use clean utensils and bowls to avoid cross-contamination. If the frosting has been sitting at room temperature for more than 2 hours (or 1 hour if the temperature is above 90F/32C), it should be discarded to avoid the growth of bacteria in the dairy components. Store the frosting in a container with a tight seal to prevent it from absorbing odors from other foods in the refrigerator.

Related

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).