Creamy, fluffy homemade chocolate frosting is ideal for cupcakes, layer cakes, or brownies. Made with cocoa powder and simple pantry ingredients, this buttercream is richer and fresher than anything from a tub. It’s a classic, reliable recipe every baker should know.

This recipe was updated March 26, 2023 with improved tips and photos
I use this chocolate buttercream all the time. It’s not overly sweet, has a robust chocolate taste, and a thick, creamy texture that pipes beautifully on cupcakes and supports layers in a cake. I’ll happily eat it straight from the bowl.
This is an American-style buttercream, meaning it’s made by creaming butter with powdered sugar and flavorings rather than relying on a meringue base like Swiss buttercream. While some people call American frosting “icing,” icing is usually thinner and shinier, whereas frosting is thick, creamy, and fluffy.
Chocolate Frosting Ingredients

This recipe uses straightforward ingredients:
- 1 cup (2 sticks) unsalted butter
- 1/2 cup cocoa powder (natural or Dutch-process)
- 3–4 cups powdered sugar
- 1/2 teaspoon salt
- 1 teaspoon vanilla extract
- 3–4 tablespoons milk or cream (milk for spreading with a knife; cream—half-and-half, whipping cream, or heavy cream—for piping)
I prefer butter over shortening for better flavor and a clean mouthfeel. If you use salted butter, omit the added salt. For cocoa, Dutch-process gives a darker, deeper flavor while natural cocoa is lighter; you can increase to 3/4 cup cocoa for extra richness or reduce to 1/3 cup for a milder, milk-chocolate tone. Optional: 1/2–1 teaspoon instant espresso powder can deepen the chocolate and balance sweetness.

How Much Frosting Does This Make?
Yields depend on how thickly you frost, but this batch is typically enough for:
- 24 cupcakes with a thin spread
- 12–18 cupcakes piped high
- The top of a 9×13-inch pan of brownies or a sheet cake
- Half a batch to frost an 8×8 or 9×9 pan
- Double the recipe for a three-layer 8-inch round cake (or make two batches)
- Multiply ingredients by 1.5 for a standard two-layer 8-inch cake
Tips for Making Chocolate Buttercream
- Use softened butter—not melted. It should give a slight indent when pressed but not collapse.
- Sift cocoa and powdered sugar to prevent lumps; cocoa especially can be clumpy.
- At the end, beat on high for 10–15 seconds to make the frosting extra fluffy.
- Keep your kitchen cool. If the room is too warm the frosting can become too soft or melt; in hot weather, cool the room or refrigerate briefly.
How to Store Frosting & Make-Ahead Tips
- Make ahead: store frosting in an airtight container at room temperature for up to 1 day if the kitchen is cool, or refrigerate. When ready to use, bring to room temperature for 30–60 minutes and re-whip if necessary to restore texture.
- Frosted cakes and cupcakes keep at room temperature in an airtight container for 2–3 days. Refrigerate up to 4–5 days and allow desserts to come to room temperature for 30–60 minutes before serving to restore flavor and texture.
This chocolate buttercream is a reliable, versatile recipe—creamy, fluffy, and ideal for piping or spreading. If you want ideas for pairing it, it’s excellent on banana cupcakes, chocolate cupcakes, layer cakes, or brownies.

Below is the streamlined recipe card and instructions.
Chocolate Frosting
Ingredients
- 1 cup unsalted butter (226 g), softened
- 3–4 cups powdered sugar (330–440 g), sifted
- 1/2 cup cocoa powder (45 g), sifted
- 1 teaspoon vanilla extract
- 1/4 teaspoon salt
- 3–5 tablespoons milk or cream (45–75 ml)
Instructions
- In a large bowl, beat the softened butter until light and fluffy with no lumps.
- On low speed, add 2 cups of the powdered sugar and combine, then beat on medium-high for 10–15 seconds.
- With the mixer on low, add the sifted cocoa powder, vanilla, and salt and mix until incorporated.
- Beat in the remaining powdered sugar about 1/2 cup at a time, alternating with 1–2 tablespoons of milk or cream, until you reach the desired consistency and sweetness. If too thick, add a little more milk/cream; if too thin, add more powdered sugar.
- Once combined, beat on medium-high for about 10 seconds to make the frosting fluffy and smooth.
Notes
- Butter: Should be softened but not melting. If using salted butter, omit the added salt in the ingredients.
- Cocoa: Natural or Dutch-process both work. Use up to 3/4 cup cocoa for a deeper chocolate flavor.
- Milk/Cream: 2% milk, whole milk, half-and-half, or heavy cream are all fine. Use cream if piping for a thicker result.
- Yield: Enough for 12–18 piped cupcakes, 24 cupcakes with a thin spread, or the top of a 9×13-inch pan of brownies. Double for larger layer cakes.
- Storage: Store in an airtight container in the fridge for up to 2 weeks (or according to the milk/cream expiry). Bring to room temperature and re-whip before using. Frosted desserts keep 2–3 days at room temperature or 4–5 days refrigerated.
- Nutrition: Nutrition values are estimates based on dividing the frosting among 18 cupcakes and do not include the cupcakes themselves.