Chocolate frosting is made from a fat base (butter or cream), a sweetener (powdered sugar or melted chocolate), cocoa powder, and a liquid (milk or cream) to get the right spreadable texture. The exact amounts depend on whether you want a light fluffy buttercream or a thick fudgy ganache. Here is the basic ingredient list, then the ratios for the two most common types.
Buttercream Calls for Butter, Sugar, Cocoa, and Milk
Classic chocolate buttercream uses softened butter, powdered sugar, unsweetened cocoa powder, milk or cream, and vanilla. A standard ratio is 1 cup (2 sticks, 226 g) butter, 3 cups (360 g) powdered sugar, 1/2 cup (45 g) unsweetened cocoa powder, and 3–4 tablespoons (45–60 ml) milk. Beat the butter first, then add the dry ingredients and milk gradually until it is smooth and spreadable.
Use Dutch-process cocoa for a deeper, less acidic flavor; natural cocoa gives a sharper chocolate taste. If you only have sweetened cocoa mix, skip the extra sugar and taste as you go. For a dairy-free version, swap the butter for a plant-based stick margarine and use a non-dairy milk, but expect a slightly softer frosting.
Ganache Needs Only Chocolate and Cream
Chocolate ganache is just chopped chocolate and warm heavy cream, with no sugar added beyond what is in the chocolate. Use 8 oz (225 g) semisweet or bittersweet chocolate and 1 cup (240 ml) heavy cream. Heat the cream until it just bubbles around the edges, pour it over the chocolate, let it sit for 2–3 minutes, then stir until smooth.
Ganache can be used warm as a pourable glaze, at room temperature as a thick spread, or chilled and whipped for a lighter filling. For a thicker frosting, use a little less cream (about 3/4 cup / 180 ml); for a thinner glaze, add a bit more. White chocolate needs less cream—about 1/2 cup (120 ml) per 8 oz (225 g)—because it is softer.
For a Fluffy Fudge Frosting, Add Melted Chocolate
If you want a frosting that tastes like fudge but still pipes well, combine melted unsweetened chocolate with butter and powdered sugar. A common formula: melt 4 oz (115 g) unsweetened chocolate, beat it into 1/2 cup (1 stick, 113 g) softened butter, then add 2 cups (240 g) powdered sugar and 2–3 tablespoons (30–45 ml) milk. This gives a denser, richer result than plain cocoa buttercream.
Melt the chocolate in a double boiler or in 20-second bursts in the microwave, stirring each time. Let it cool to body temperature before beating it into the butter, or the butter will melt and the frosting will be too soft. If it does get runny, chill it for 15 minutes and re-beat.
How to Fix a Frosting That Is Too Thin or Too Thick
If your frosting is too thin, add more powdered sugar a tablespoon at a time and beat well. If it is too thick, add milk or cream a teaspoon at a time until it reaches the right consistency. For buttercream, the ideal texture is soft enough to spread without tearing the cake, but stiff enough to hold a peak when you lift the beater.
Temperature matters more than the exact amounts. Buttercream works best when the butter is at 65–70°F (18–21°C), so let it sit out for 30–60 minutes before beating. If your kitchen is hot, chill the finished frosting for 10–15 minutes before using. Ganache that has been refrigerated will firm up; let it sit at room temperature for 30 minutes and re-whip if needed.
What About Store-Bought or Vegan Frosting?
For a quick option, a can of store-bought chocolate frosting has the same basic ingredients—sugar, oil or shortening, cocoa, and water—but it is sweeter and less buttery. You can improve it by beating in 2–3 tablespoons of softened butter or a pinch of salt. Check the label for allergens; many contain soy lecithin or milk.
For a vegan chocolate frosting without butter, use coconut cream instead of heavy cream in the ganache recipe: chill a can of full-fat coconut milk, scoop out the solid cream, and use it in place of the dairy cream. For buttercream, use a vegan stick butter and a non-dairy milk. The texture will be slightly softer, so chill the cake briefly before serving.
How Much Frosting Do You Need?
A single batch of buttercream (the 1-cup butter recipe above) makes about 2 1/2 cups (600 ml), enough to frost the top and sides of a 9-inch (23 cm) round cake or 12–15 cupcakes. A ganache batch with 8 oz (225 g) chocolate and 1 cup (240 ml) cream makes about 1 1/4 cups (300 ml), enough for a thin glaze on a 9-inch cake or to fill and top a small layer cake.
For a two-layer 9-inch cake with frosting between the layers and on the outside, plan on 3–4 cups (720–960 ml) of buttercream. For cupcakes, a generous swirl takes about 2–3 tablespoons (30–45 ml) per cupcake, so a single batch covers 12–15. If you are short, stretch it by adding a little more milk and using a thinner crumb coat.
Storage: Refrigerate or Freeze, Then Bring Back to Room Temp
Both buttercream and ganache keep in the fridge for up to 1 week in an airtight container. Buttercream can sit at room temperature for a day, but ganache with cream should be refrigerated within 2 hours. To use, let it come to room temperature (about 1 hour for buttercream, 30 minutes for ganache) and re-whip if it has separated.
You can freeze either frosting for up to 3 months. Thaw in the fridge overnight, then let it warm up and re-beat. Do not freeze a frosted cake with a lot of perishable filling (like cream cheese or fruit) for more than a few days; it is better to freeze the unfrosted layers and frost fresh.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.