Desserts
Creating Hershey's chocolate cake icing that delivers that signature fudgy swirl texture and rich cocoa flavor doesn’t require fancy techniques—just precise measurements and a few professional secrets. This recipe transforms simple ingredients into a velvety, pipeable frosting that’s perfect for layering, swirling, or crowning your cake with toasted nuts.
I’ve perfected this over years of testing, ensuring every batch delivers that restaurant-quality finish without the guesswork.
The key to success lies in the ratio of melted chocolate to butter and powdered sugar, which creates that signature smooth yet slightly thick consistency. You’ll need only 6 ingredients—no stabilizers or additives—along with 10 minutes of active work and 30 minutes of chilling time.
The result is a frosting that’s creamy enough to spread effortlessly yet sturdy enough to hold its shape when piped, making it ideal for both decorating and eating straight from the bowl.
What sets this recipe apart is the flexibility—adjust the texture by whipping longer for a lighter frosting or keeping it slightly thicker for that classic fudgy swirl effect. Optional flavor variations like vanilla extract or peppermint extract add depth, while toasted nuts on top introduce a delightful crunch.
The icing also stores beautifully in the refrigerator for up to 5 days, ready to transform any cake into a showstopper whenever inspiration strikes.
Whether you’re preparing for a celebration or simply craving a decadent treat, this Hershey’s-inspired icing delivers professional results with minimal effort. Let’s get started on creating that perfect chocolate finish for your next dessert masterpiece.
Ingredients for hershey's chocolate cake icing
Six simple ingredients transform into that signature Hershey's fudgy swirl icing—rich, velvety, and perfect for decorating.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Semi-Sweet Chocolate Bars 🍫 | 8 oz | High-quality, chopped into chips |
| Unsalted Butter 🧈 | ½ cup | Cold, cut into small cubes |
| Powdered Sugar 🍚 | 3 cups | Sifted for smooth texture |
| Heavy Cream 🥛 | ¼ cup | Cold, for stability |
| Vanilla Extract 🌿 | 1 tsp | Pure, high-quality |
| Salt 🧂 | ¼ tsp | Fine sea salt |
| Toasted Chopped Pecans 🥜 | ½ cup | Optional for garnish |
The chocolate matters most here—Hershey's Semi-Sweet Bars are the secret to that authentic flavor. Break them into small, even chips for consistent melting. Butter should be cold (straight from the fridge) to prevent premature melting. For powdered sugar, Diamond Crystal brand is ideal—it's sifted and dissolves beautifully. Heavy cream adds that signature smoothness, so don't skip it. I always grab my chocolate from Trader Joe's—their bars are consistently high quality and melt perfectly. Store your chocolate in a cool, dry place to prevent blooming.
No Hershey's bars? High-quality semi-sweet chocolate chips work in a pinch, but the flavor won't be identical. Butter substitute? European-style butter like Plugrá adds extra richness. Want to skip the heavy cream? Substitute with 2 tbsp milk and 1 tbsp more powdered sugar—it'll be slightly lighter but still delicious. For vanilla, pure Madagascar bourbon is the gold standard, but imitation works fine. Salt is non-negotiable—it balances all the sweetness. The pecans? Toast them in a dry pan for 3-4 minutes until fragrant—that aroma makes all the difference.
This icing keeps beautifully in the fridge for up to 5 days, sealed in an airtight container. For longer storage, freeze portions for up to 3 months—thaw at room temperature before using. I always make a double batch because it disappears fast. The texture improves after chilling, so plan ahead. If it gets too thick, warm it gently in the microwave for 10 seconds and re-whip. For that perfect fudgy swirl, spread a thin layer on your cake, then pipe a thicker layer on top and swirl with a knife before the pecans set.
Why You'll Love This Recipe
- Pantry-Friendly Magic: I swear by this recipe because it uses ingredients I always have on hand—no special shopping trips needed. Just melt those Hershey’s bars with butter, whip in powdered sugar and cream, and boom: rich, velvety icing without the fuss.
- Decadent in Minutes: The second you fold in that heavy cream and vanilla, you’ll taste why this is my go-to. It’s not just sweet—it’s deep, with that classic Hershey’s bite cutting through the smoothness. My kids fight over the last spoonful of batter.
- Birthday to Bake Sale: This icing works for everything—layering cakes, drizzling over cupcakes, or even slathering on brownies. Honestly, I’ve used it to jazz up store-bought cookies when I’m in a pinch, and no one’s ever complained.
- No Waste, All Win: Make a double batch—it keeps for days in the fridge, and I’ve even frozen it for emergencies. Plus, using chocolate bars instead of chips saves money, and you’ll have leftovers that taste better than takeout. (Yes, even on a Tuesday night.)
Instructions for fudgy swirls and toasted nut crown
Here's how to create that signature Hershey's chocolate icing with rich swirls and a crunchy pecan crown.
Melt the Chocolate and Butter Together
Start by chopping the 8 oz Hershey's Semi-Sweet Chocolate Bars into small, even chips. Place them in a heatproof bowl over a saucepan of simmering water, making sure the bottom of the bowl doesn't touch the water. This gentle heat method prevents scorching while ensuring even melting.
Once the chocolate begins to soften, add the 0.5 cup Unsalted Butter cut into small cubes. Stir occasionally with a silicone spatula until both the chocolate and butter are completely melted and smooth. The mixture should be glossy and free of any graininess. Remove from heat immediately to prevent overheating, which can cause the chocolate to seize.
Whisk in Powdered Sugar and Heavy Cream
In a separate large bowl, sift the 3 cups Powdered Sugar to break up any clumps. This ensures a silky-smooth texture in your final icing. Gradually pour the melted chocolate mixture into the powdered sugar while whisking continuously. This step is crucial for preventing lumps and creating that signature light, airy consistency.
Next, add the 0.25 cup Heavy Cream and the 1 tsp Vanilla Extract. Whisk vigorously until the mixture is completely smooth and glossy. The icing should have a thick but pourable consistency—similar to toothpaste in texture. If it's too thick, add a few drops of warm water; if too thin, add a bit more powdered sugar. The goal is a balance that holds its shape when spread but remains smooth enough to swirl.
Create the Fudgy Swirls
Divide the icing into two equal portions. One portion will remain as is, while the other will be set aside for the swirls. To create the swirls, add the 0.25 tsp Salt to the reserved portion and mix well. This subtle salty contrast enhances the sweetness of the chocolate.
Spread half of the plain icing evenly over the cooled cake layers. Then, using a spoon or piping bag, drop dollops of the salted chocolate icing onto the surface. Gently swirl the spoon through the dollops to create marbled patterns, then spread the remaining plain icing over the top. Use a spatula to smooth the surface, ensuring the swirls are visible but not overpowering. Chill the cake for 15 minutes to set the icing before adding the final touches.
Add the Toasted Pecan Crown
While the cake chills, prepare the 0.5 cup Toasted Chopped Pecans. Spread them evenly on a baking sheet and toast in a 350°F oven for 3-5 minutes until fragrant and lightly golden. Watch closely to avoid burning—they should be aromatic but not dark.
Once the cake has chilled, remove it from the refrigerator and immediately press the toasted pecans onto the edges of the cake, creating a decorative crown. The warmth of the pecans will help them adhere better to the icing. Use a small offset spatula to press them firmly into place, ensuring full coverage. The contrast of the crunchy pecans against the smooth icing adds both texture and visual appeal.
Final Touches and Serving
Let the cake sit at room temperature for 10-15 minutes to allow the icing to firm up slightly. This ensures it holds its shape when sliced. For a professional finish, dust the top lightly with additional powdered sugar using a fine-mesh sieve. Serve immediately for the best texture and flavor—each bite should deliver a perfect balance of rich chocolate, creamy sweetness, and crunchy pecan.
This icing is best enjoyed within 24 hours for optimal texture. Store leftovers in an airtight container in the refrigerator, but bring to room temperature before serving to restore the creamy consistency.
Pro Tips For Making Hershey'S Chocolate Cake Icing
- Chop Chocolate Small: Use a sharp knife or food processor to cut the Hershey’s bars into tiny, even pieces—think rice-sized, not pea-sized. I learned this the hard way when my first batch had uneven melting, leaving clumps that ruined the smoothness. A food processor takes 10 seconds and guarantees no surprises.
- Melt Butter Slow: Warm the butter in a saucepan over medium-low heat until it just melts—no browning, no bubbles. I used to rush it, and the butter would scorch, giving the icing a weird, burnt edge. If you’re in a hurry, microwave it in 20-second bursts instead, but watch it like a hawk.
- Whisk Powdered Sugar: Sift the powdered sugar into the warm chocolate-butter mix before adding the cream. This prevents clumping and ensures the icing comes together silky smooth. I skip this step sometimes, and the result? A grainy, lumpy mess that looks like you used baking cocoa instead of chocolate.
- Thin with Cream Gradually: Add the heavy cream one tablespoon at a time while whisking constantly. The icing should coat the back of a spoon but still hold its shape—too thin, and it’ll slide off the cake; too thick, and it’ll crack. I’ve ruined more cakes than I’ll admit by dumping all the cream in at once. Start slow.
Storing and reheating this hershey's chocolate cake icing
Refrigerator Storage
Store your freshly made icing in an airtight container lined with plastic wrap to prevent drying. I use glass Pyrex containers because they’re non-reactive and stack neatly in the fridge. Keep it chilled for up to 5 days—the flavors actually deepen as the ingredients meld together.
Always let it come to room temperature for 10-15 minutes before using again to restore that perfect creamy consistency. 🥛
Freezer Preservation
For longer storage, portion the icing into silicone molds or freezer-safe bags, leaving ½-inch headspace for expansion. Freeze for up to 3 months—thaw in the refrigerator overnight, then bring to room temperature before using.
I recommend freezing in 1-cup portions for easy use on future desserts. Avoid refreezing thawed icing to maintain texture. ❄️
Texture Recovery
If your icing thickens in the fridge, microwave it in 10-second bursts while stirring between each interval. For a smoother texture, add 1 teaspoon warm water at a time until it reaches a spreadable consistency.
Never microwave for more than 20 seconds total—overheating can cause the chocolate to separate. A hand mixer on low speed also works beautifully to restore that velvety finish. 💫
Piping Consistency
For piping decorations, chill the icing for 30 minutes before transferring to a piping bag fitted with a large star tip. The cold temperature helps it hold its shape beautifully. If it’s too runny, refrigerate for an extra 10 minutes.
I like to pipe rosettes or borders on cakes—just remember, piped designs need to set for 15 minutes before adding toppings like pecans. ✨
Reviving Dried Edges
If the surface of your icing develops a dry film after chilling, gently warm the edges with a damp paper towel or use a paintbrush to redistribute moisture. For stubborn dry spots, mix ½ teaspoon heavy cream into the affected area and blend thoroughly.
This trick works wonders for restoring that glossy, professional finish without compromising flavor. 🎨
Make-Ahead Tips
Prepare the icing 24 hours ahead of your event—it tastes even better after resting! Keep it refrigerated in layers of plastic wrap to prevent absorbing fridge odors. When ready to use, let it sit at room temperature for 20 minutes before spreading.
I always make a double batch because it disappears faster than you’d expect—especially with that irresistible pecan crown topping. 💡
Nutrition facts
Frequently asked questions
Can I make this icing without heavy cream?
Yes! For a lighter version, substitute the 0.25 cup heavy cream with 2 tablespoons milk + 1 tablespoon powdered sugar. The texture will be slightly less stable but still delicious. For extra richness, use 2 tablespoons sour cream instead—it adds tanginess that balances the sweetness.
How do I fix grainy chocolate in my icing?
Grainy texture usually means the chocolate overheated or wasn't melted smoothly. Fix it by placing the bowl over ice water while whisking vigorously for 1-2 minutes. This cools the mixture and helps dissolve any lumps. If that doesn't work, strain the icing through a fine-mesh sieve for a silky finish.
Can I use this icing for cupcakes?
This icing works perfectly for cupcakes—just pipe it directly onto cooled cupcakes using a large star tip. For extra flair, swirl a tiny bit of the salted chocolate mixture into each dollop before adding the final layer. Chill the cupcakes for 10 minutes before serving to set the icing.
Why did my icing turn out too thin?
Thin icing usually happens when too much liquid (like melted butter or cream) is added. Fix it by gradually whisking in 1-2 tablespoons powdered sugar until it reaches a thick, spreadable consistency. If it's still too runny, chill the icing for 20 minutes and re-whip. For future batches, measure ingredients carefully—especially the powdered sugar.
What's the best way to decorate with this icing?
For professional results, pipe rosettes, borders, or simple swirls using a Wilton 1M tip. Chill the icing for 30 minutes before piping to help it hold its shape. Try creating a marbled effect by spreading two colors of icing and swirling with a knife. The toasted pecans also make a stunning crown when pressed onto the edges.
