Hershey's Chocolate Icing Recipe with Cocoa Powder
In this article
This is a classic, foolproof chocolate icing that mimics the rich, fudgy flavor of Hershey's famous frosting, but made entirely from scratch with cocoa powder. It comes together in about 10 minutes with pantry staples, and it sets up beautifully on cakes, cupcakes, and brownies. The combination of melted butter, cocoa, and milk creates a glossy, spreadable glaze that hardens slightly on the outside while staying soft and creamy inside—perfect for any chocolate lover.
Ingredients
- 1/2 cup (1 stick) unsalted butter, softened
- 2/3 cup unsweetened cocoa powder (natural or Dutch-processed)
- 3 cups powdered sugar, sifted
- 1/3 cup whole milk (or 2% or heavy cream for richer icing)
- 1 teaspoon vanilla extract
- Pinch of salt (optional, to balance sweetness)
Instructions
- In a medium mixing bowl, beat the softened butter with an electric mixer on medium speed until smooth and creamy, about 1 minute.
- Add the cocoa powder and beat on low speed until the butter is fully coated with cocoa and no dry lumps remain. Scrape down the sides of the bowl.
- Gradually add the powdered sugar, about 1/2 cup at a time, beating on low speed after each addition. The mixture will look crumbly at first—that's normal.
- Add the milk and vanilla extract. Beat on medium speed for 2–3 minutes, scraping the bowl occasionally, until the icing is light, fluffy, and spreadable. If it's too thick, add an extra tablespoon of milk; if too thin, add a bit more powdered sugar.
- Use immediately, or cover with plastic wrap (pressing it directly onto the surface) to prevent a skin from forming.
Tips
- Soften the butter properly: Leave it out at room temperature for 30–45 minutes. If you're in a hurry, cut it into small cubes and microwave in 5-second bursts until soft but not melted—melted butter will make the icing greasy.
- Sift the powdered sugar and cocoa: This prevents lumps and gives a silky smooth texture. If you skip sifting, beat the icing longer to break up clumps.
- Adjust consistency for use: For a spreadable frosting, use the full 1/3 cup milk. For a thicker piping consistency, use only 1/4 cup milk. For a pourable glaze, add an extra 2–3 tablespoons of milk.
- Don't overbeat: Overbeating can incorporate too much air, making the icing airy and less fudgy. Beat just until fluffy and smooth.
Serving Suggestions
This icing is perfect for spreading over a classic yellow or chocolate layer cake, frosting a batch of cupcakes, or topping brownies while they're still warm (it will melt slightly and form a fudgy glaze). It also works wonderfully as a filling between cake layers or as a dip for fresh strawberries and pretzels.
Variations
- Mocha icing: Replace 1 tablespoon of the milk with 1 teaspoon of instant espresso powder dissolved in 1 tablespoon of hot water.
- Peppermint chocolate: Add 1/4 teaspoon of peppermint extract instead of vanilla, and fold in crushed candy canes for a holiday treat.
- Cream cheese chocolate: Substitute 2 ounces of softened cream cheese for 2 tablespoons of the butter. Beat the cream cheese with the butter first, then proceed as directed.
- Dairy-free: Use vegan butter and unsweetened almond or oat milk. The icing will still set well.
Storage and Reheating
Store frosted cakes or cupcakes in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 1 week. If refrigerated, bring to room temperature before serving to soften. The icing itself can be stored in a sealed container in the fridge for up to 1 week; when ready to use, let it sit at room temperature for 30 minutes, then rebeat with an electric mixer to restore fluffiness. You can also freeze the icing in an airtight container for up to 3 months. Thaw overnight in the refrigerator, then rebeat before using.
Frequently Asked Questions
Can I use Dutch-processed cocoa instead of natural cocoa?
Yes, you can. Dutch-processed cocoa will give a slightly darker color and a more mellow, less acidic chocolate flavor. The icing will still set and taste delicious. Just note that the texture may be slightly smoother because Dutch cocoa is less absorbent.
Why is my icing too runny?
This usually happens if you added too much milk, or if the butter was too soft or melted. To fix it, add more powdered sugar, 2 tablespoons at a time, until it reaches the desired consistency. Also, chill the icing for 10–15 minutes to help it firm up.
Why is my icing grainy?
Graininess usually comes from unsifted powdered sugar or cocoa powder, or from not beating long enough. Make sure to sift both dry ingredients, and beat the icing for the full 2–3 minutes. If it's still grainy, add a teaspoon of hot water and beat again—this helps dissolve the sugar.
Can I make this icing without an electric mixer?
Yes, you can use a wooden spoon and some elbow grease. Soften the butter well, then stir vigorously until smooth. It will take a few extra minutes, but the result is the same. Just be sure to sift the dry ingredients thoroughly.
How do I get a shiny, glossy finish?
For a glossy glaze, use heavy cream instead of milk, and beat the icing for an extra minute. You can also add 1–2 tablespoons of corn syrup or honey, which helps create a shiny, smooth surface.
Can I use this icing on a warm cake?
It's best to let the cake cool completely before frosting, otherwise the icing will melt and slide off. If you want a glaze effect, you can pour the icing over a slightly warm cake (not hot) and let it drip down the sides—this works well for bundt cakes or pound cakes.