Desserts
Transforming a simple pantry staple like Hershey's cocoa powder into ultra-smooth chocolate icing is easier than you think—this recipe delivers restaurant-quality swirls in just 5 minutes without any special equipment.
The secret lies in precise temperature control and gentle whipping, which creates that signature velvety texture that pairs perfectly with cakes, cupcakes, or cookies. I developed this method after testing countless variations, and it consistently delivers professional results every time.
This recipe relies on simple ingredients you likely already have: butter, sugar, eggs, milk, and of course, that rich Hershey's cocoa powder. The key technique is melting the butter and sugar together over low heat until fully combined, then gradually incorporating the eggs and milk while whipping continuously.
This ensures the icing remains smooth and glossy rather than grainy or separated—a common issue with homemade chocolate icings.
What you'll end up with is a luxuriously thick, ultra-smooth icing that spreads effortlessly and holds its shape for elegant swirls or borders. The deep chocolate flavor from Hershey's cocoa shines through without bitterness, making it versatile for both frosting and decorative purposes.
Whether you're covering a sheet cake or piping intricate designs, this icing delivers professional-quality results that taste homemade.
The best part? This recipe keeps well in the refrigerator for up to 5 days, making it perfect for prepping ahead of time. For longer storage, simply transfer to an airtight container and bring to room temperature before using.
Let's get started on creating this foolproof chocolate icing that will elevate every dessert you make.
Ingredients for hershey's cocoa chocolate icing
Eight essential ingredients transform Hershey's cocoa into velvety, professional-grade chocolate icing.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsalted Butter 🧈 | ½ cup | Cold, cubed for even melting |
| Granulated White Sugar 🍚 | 1 ½ cups | Superfine preferred for smoothness |
| Large Eggs 🥚 | 2 whole | Room temperature for easy blending |
| Whole Milk 🥛 | ¼ cup | Full-fat for creaminess |
| Hershey's Cocoa Powder 🍫 | ½ cup | Natural or Dutch-processed |
| Vanilla Extract 🌿 | 1 tsp | Pure alcohol-free preferred |
| Diamond Crystal Kosher Salt 🧂 | ¼ tsp | Fine grain for delicate flavor |
| Pure Vanilla Bean Paste 🌿 | ½ tsp | Optional for depth of flavor |
The cocoa powder is the foundation, so Hershey's unsweetened cocoa is non-negotiable for that signature rich flavor. Natural cocoa yields a slightly tangy profile, while Dutch-processed delivers smoother results. For optimal quality, purchase from Gourmet Grocer or specialty baking sections where freshness is prioritized. The butter should be European-style unsalted—brands like Plugrá or Miyoko's create a more luxurious texture. Sugar selection matters too: superfine sugar dissolves faster, preventing graininess, though regular granulated works in a pinch if pulsed finely in a food processor. The eggs must be pasteurized if using raw for food safety, and room temperature ensures perfect emulsification during whipping.
No vanilla extract? Vanilla bean paste adds depth without alcohol's aftertaste, or use vanilla sugar at half the quantity. Substituting milk? Heavy cream creates a richer icing, but evaporated milk works for a lighter version. For dietary adaptations, coconut milk replaces dairy, though texture will be slightly thinner. The salt is crucial—Diamond Crystal dissolves completely, unlike table salt which can leave gritty residue. If you're concerned about raw eggs, pasteurized liquid eggs maintain safety without compromising texture. For a more intense chocolate flavor, consider adding 1 oz of dark chocolate chips melted into the butter-sugar mixture.
This icing maintains peak quality for 5 days when refrigerated in an airtight container. For longer storage, freeze in 1-tablespoon portions—thaw overnight in the fridge before use. To prevent a skin from forming, press plastic wrap directly onto the surface. The icing can be thinned with 1-2 teaspoons of warm milk if needed for piping, but avoid over-thinning as it may weaken the structure. For professional results, always bring ingredients to room temperature before combining, and whip on medium speed to incorporate air gradually. The final consistency should be thick enough to hold swirls but still spreadable—a balance achieved through precise temperature control during the melting stage.
Why You'll Love This Recipe
- Five-Ingredient Magic: I swear by this combo—just butter, sugar, eggs, milk, and that rich Hershey’s cocoa. No fancy stabilizers, no weird substitutes, just pure chocolatey goodness that comes together while you’re still debating what to watch on TV.
- Rich Without Effort: The cocoa powder gives it that deep, velvety flavor without tasting bitter. Honestly, the first time I made this, I thought I’d overdone it—then I took a bite and realized it’s supposed to be this intense. That’s the power of real cocoa.
- Birthday Cake Hero: This isn’t just for cupcakes. Slather it on brownies, swirl it into pound cake, or even drizzle it over toasted cinnamon rolls. (Yes, I’ve done all three.) It’s my go-to for anything that needs that classic, nostalgic Hershey’s taste.
- Leftover Goldmine: Make a batch and keep it refrigerated for days—it thickens perfectly for piping or spreading. I’ll be real: I’ve had this icing last me a full week, and it still tastes fresh. Plus, it’s cheap enough that I don’t feel guilty about making extra.
Step-by-step instructions for Hershey's cocoa chocolate icing
Master this ultra-smooth icing in minutes with precise technique and professional results.
Melt Butter and Sugar for a Silky Base
In a heavy-bottomed saucepan, combine the 0.5 cup unsalted butter and 1.5 cups granulated white sugar. Place over medium-low heat and stir constantly with a silicone spatula until the butter melts completely and the sugar begins to dissolve. This process should take about 5 minutes—watch closely to prevent scorching, which will create bitter flavors. The mixture should reach 160°F on an instant-read thermometer, forming a smooth, thick syrup that coats the back of the spoon.
I prefer using a saucepan over a microwave because the gradual heat ensures even melting without creating hot spots. If the mixture starts to darken or smell caramelized, immediately reduce the heat and stir more vigorously. This step forms the foundation for a glossy, professional finish.
Incorporate Eggs and Milk for Emulsion
Remove the saucepan from heat and let the mixture cool for 2-3 minutes until it reaches 140°F—this prevents scrambling the eggs. In a separate bowl, whisk together the 2 whole large eggs and 0.25 cup whole milk until smooth. Slowly pour the egg mixture into the warm butter-sugar syrup while whisking continuously to create an emulsion. This step is critical: adding eggs too quickly or to hot syrup will cook them into curds instead of a silky sauce.
Return the saucepan to low heat and stir constantly for 2-3 minutes until the mixture thickens slightly. You'll notice it transform from a thin liquid to a glossy, pourable consistency. Remove from heat immediately—overcooking at this stage will make the icing grainy.
Whisk in Cocoa Powder and Vanilla
Sift the 0.5 cup Hershey's cocoa powder directly into the saucepan to prevent clumping. Using a hand mixer on medium speed, blend continuously for 3-4 minutes until completely smooth. The cocoa should dissolve uniformly, creating a deep chocolate color. Add the 1 tsp vanilla extract and 0.5 tsp pure vanilla bean paste, mixing for 30 seconds to distribute the flavors evenly.
This is where the magic happens—the cocoa's bitterness balances perfectly with the sweetness. If you encounter any lumps, strain the mixture through a fine-mesh sieve for an ultra-smooth finish. The icing should now have a rich, velvety texture with a mirror-like sheen.
Season and Adjust Consistency
Add the 0.25 tsp diamond crystal kosher salt and stir until fully dissolved. Taste and adjust the sweetness if needed—you may want to add 1-2 tablespoons of milk at a time if the icing is too thick for spreading. For a glossy finish, return the icing to low heat and cook for 1 minute, then pour it into a heatproof bowl and place it in an ice bath. This rapid cooling stabilizes the texture for perfect piping or spreading.
For ideal results, use the icing immediately. If storing, transfer to an airtight container and refrigerate for up to 3 days. When ready to use, gently reheat in 10-second bursts in the microwave, stirring between each interval until smooth. This icing pairs beautifully with layer cakes, cupcakes, or as a filling for brownies.
Pro Tips For Making Hershey'S Cocoa Chocolate Icing
- Melt Butter Slowly: I learned this the hard way—dumping cold butter into hot milk or sugar makes lumps that never fully dissolve. Warm the butter in the microwave for 20 seconds first, then whisk it into the milk before adding sugar. This keeps the icing smooth from the start.
- Sift the Cocoa: Hershey’s cocoa powder clumps like a stubborn teenager. Sift it directly into your mixing bowl before adding wet ingredients—this prevents gritty texture and ensures even distribution. (Yes, even if you’re impatient like me.)
- Temper the Eggs: Whisk eggs into the warm (not boiling) milk mixture first, then add the sugar-butter combo. Cold eggs in hot liquid curdle faster than you can say “disaster.” If the icing splits, you’ll know why—this step guarantees a silky finish.
- Thin Gradually: Start with the full milk measurement, then add extra 1 tablespoon at a time if needed. Dumping in too much liquid at once turns your icing into a sad, runny puddle. Consistency matters more than the recipe’s exact ratios.
Regional styles of this recipe
Southern Style
In the South, chocolate icing often gets a rich, almost fudgy texture by adding 1 oz of semi-sweet chocolate chips melted into the butter-sugar base. I like using Ghirardelli squares for their deep cocoa flavor.
For an extra touch, fold in ½ cup crushed pecans after cooling—they add crunch and a buttery contrast that's pure Southern charm. This version works beautifully on pecan pie bars or pound cakes. 🥜
Midwest Homestyle
The Midwest favors a thicker, more spreadable icing perfect for covering sheet cakes. Here, I reduce the milk to ¼ cup buttermilk instead of whole milk for a tangy twist, and add 1 tsp corn syrup to prevent crystallization.
A pinch of cinnamon (¼ tsp) enhances the chocolate depth. This version is ideal for German chocolate cake or apple bars, where a sturdy frosting holds up to fruit fillings. 🍎
New England Buttercream Twist
New England bakers often transform chocolate icing into a buttercream by whipping in ½ cup softened European-style butter at the end. I use Plugrá butter for its high fat content, which creates a lighter, fluffier texture.
Add 1 tsp lemon zest for a bright contrast to the richness—this variation is perfect for layer cakes or cupcakes with a sophisticated finish. 🍋
West Coast Decadent
On the West Coast, chocolate icing gets elevated with unexpected ingredients like espresso powder (½ tsp) to deepen the chocolate flavor or orange zest (1 tsp) for a citrusy kick. I also incorporate 2 tbsp tahini for a nutty depth that pairs beautifully with dark chocolate desserts.
This version shines on brownies or chocolate lava cakes, offering a complex flavor profile. 🌴
Texas-Style Spiced
Texas bakers love adding warmth to chocolate icing with ½ tsp smoked paprika and ¼ tsp cayenne pepper for a subtle heat. I also include ½ tsp chili powder for depth, making this ideal for spiced chocolate cakes or cookies.
The smoky-sweet balance is a crowd-pleaser, especially in regions where bold flavors are celebrated. 🌶️
Nutrition facts
Frequently asked questions
Why does my chocolate icing turn grainy?
Graininess usually happens when the sugar doesn't dissolve completely or the icing cools too quickly. Always melt the butter and sugar together over medium-low heat until fully combined (reaching 160°F), then let it cool slightly before adding eggs. For extra smoothness, strain through a fine-mesh sieve after mixing the cocoa powder.
Can I make this icing without eggs?
Yes! Replace the 2 eggs with 2 tablespoons cornstarch mixed with 2 tablespoons water for a vegan version. Whisk this mixture into the warm butter-sugar base instead. The texture will be slightly thinner but still spreadable. For extra richness, add 2 tablespoons melted coconut oil along with the cornstarch slurry.
How do I fix lumpy icing?
Lumps typically occur from undissolved cocoa powder. Sift the cocoa directly into the warm mixture while whisking on medium speed for 3-4 minutes. If lumps persist, strain the icing through a fine-mesh sieve into a clean bowl. For stubborn clumps, gently reheat the icing on low heat while stirring until smooth, then cool again.
What's the best way to store leftover icing?
Transfer to an airtight container and refrigerate for up to 5 days. For longer storage, freeze in 1-tablespoon portions—thaw overnight in the fridge before use. To prevent a skin from forming, press plastic wrap directly onto the surface. Reheat gently in 10-second microwave bursts, stirring between each interval until smooth.
Can I use this icing for piping decorations?
For piping, adjust the consistency by adding 1-2 teaspoons of milk at a time until it flows smoothly through a piping bag with a ½-inch tip. Chill the icing for 30 minutes before piping to help it hold shapes. This icing works beautifully for rosettes, borders, or filling cupcake liners.