
This Hershey bar cake icing recipe delivers the perfect balance of rich chocolate and velvety buttercream—just like the iconic candy bar itself. The secret lies in a precise ratio of melted chocolate and butter, whipped to a light, fluffy consistency that spreads like a dream.
I developed this recipe after years of perfecting the art of Hershey-inspired frosting, ensuring every bite delivers that familiar, comforting sweetness with a professional finish.
The magic happens when you temper the chocolate properly, creating a smooth, glossy finish that resists melting in warm temperatures. This icing works beautifully on chocolate or vanilla cakes, adding a luxurious swirl effect that looks stunning and tastes even better.
With just 5 simple ingredients, you’ll achieve a frosting that’s both elegant and foolproof—no fancy techniques required, just careful mixing and patience.
What you’ll end up with is a cake topped with fudgy chocolate swirls and a buttery, creamy frosting that’s rich enough to satisfy chocolate lovers but light enough to spread evenly.
The texture is velvety yet sturdy, perfect for piping borders or swirling into cupcakes. This isn’t just icing—it’s the star of your dessert, turning a simple cake into a showstopper.
Best of all, this recipe keeps well for up to 5 days in the refrigerator, making it ideal for celebrations or meal prep. Pair it with a moist chocolate cake for the ultimate Hershey bar experience, or use it to elevate cupcakes, cookies, or even brownies.
Here’s how to create the perfect finishing touch for your desserts.
Ingredients for hershey bar cake icing
Five ingredients, one iconic flavor—this icing transforms any cake into a chocolate lover’s dream.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Milk Chocolate Bars 🍫 | 12 oz | High-quality, semi-sweet chocolate |
| Unsalted Butter 🧈 | 1 cup | Cold, cut into small cubes |
| Heavy Whipping Cream 🥛 | 1 ½ cups | Cold, for perfect whipping |
| Granulated Sugar 🍚 | 2 cups | Fine grain preferred |
| Vanilla Extract 🌿 | 1 tbsp | Pure, high-quality vanilla |
| Diamond Crystal Kosher Salt 🧂 | ¼ tsp | For subtle seasoning |
| Cornstarch 🌾 | 1 tbsp | For smooth texture |
| Food Coloring (Optional) 🎨 | 2 drops | Red for classic Hershey look |
The chocolate is non-negotiable here. Hershey’s Milk Chocolate Bars are the gold standard—their signature milk chocolate flavor is what makes this icing taste like the candy bar itself. Grab a family-size bar from Walmart or Target for the best price, or splurge on Ghirardelli squares if you want extra richness. Pro tip: chop the chocolate into small, even pieces before melting—this ensures a silky-smooth texture without any graininess. If you’re feeling fancy, temper the chocolate for that glossy, professional finish, but even just melting and cooling it works beautifully. The butter? Cold, cubed butter whips up fluffier and holds its shape better. Don’t skip this step—room-temperature butter will turn your icing into a sad, greasy mess.
No Hershey’s bars? High-quality semi-sweet chocolate chips (like Ghirardelli or Guittard) work in a pinch, but you’ll lose that classic milk chocolate depth. Short on butter? European-style unsalted butter (like Plugrá) gives the best flavor, but regular butter works fine. The heavy whipping cream is crucial—don’t substitute half-and-half or light cream, or your icing will be too thin and runny. For the sugar, fine grain or powdered sugar dissolves more easily, but granulated works too if you pulse it in a food processor first. Want that classic Hershey red swirl? Wilton or Chef America gel food coloring blends in seamlessly without altering the flavor. And if you’re out of vanilla? Vanilla bean paste adds even more depth to the flavor.
This icing is a dream to work with—it keeps beautifully for up to 5 days in the fridge, covered tightly with plastic wrap pressed directly on the surface. For best results, bring it to room temperature before using, then re-chill any leftovers. The magic here is in the tempering: if you want that glossy, professional finish, let the melted chocolate cool slightly before mixing it with the butter. Freeze portions in ice cube trays for easy single-use applications, like piping borders or adding fudgy swirls to cupcakes. And if you’re making a big batch for a crowd, double the recipe—this icing tastes even better the next day as the flavors meld together.
Why You’ll Love This Recipe
- Pantry Magic: This icing comes together with stuff you already have—no fancy shopping required. Melt those chocolate bars with butter, then fold in cream and sugar while you’re still deciding what to watch on TV. Minimal effort, maximum reward.
- Rich Chocolate Hug: The moment that melted chocolate cools just enough to thicken? Pure, velvety decadence. That first bite of cake with this icing is like a warm embrace—sweet, buttery, and impossible to resist. (Yes, even if you’re “not a chocolate person.”)
- Birthday or Boredom: Slather it on cupcakes for a last-minute party fix or drizzle it over store-bought cookies when you’re craving something special. It’s the ultimate neutral canvas—great for impressing guests or just treating yourself on a Tuesday.
- Zero-Waste Luxury: A little goes a long way, so you’ll have leftovers for days. Stash it in the fridge for drizzling over pancakes, toast, or even vanilla ice cream. And since it’s mostly chocolate and butter, it’s cheaper than buying fancy frosting anyway. Smart move.
Step-by-step instructions for Hershey bar cake frosting
Here’s how to create that signature Hershey bar flavor with velvety swirls and rich buttercream.
Melt the Chocolate and Butter for the Fudgy Base
Line a medium saucepan with the 12 oz Hershey’s Milk Chocolate Bars, breaking them into smaller pieces to fit snugly. Add the 1 cup Unsalted Butter (cut into small cubes) and place over medium-low heat. Stir gently with a silicone spatula until both melt completely, creating a smooth, glossy mixture.
Here’s the thing—you want to keep the temperature controlled. If the mixture starts to bubble vigorously, reduce the heat immediately. The goal is a 100°F temperature (use a candy thermometer if you have one) where the chocolate stays silky rather than seizing. Once fully melted, remove from heat and stir in the 1 tbsp Vanilla Extract and 0.25 tsp Diamond Crystal Kosher Salt until fully incorporated. This base will give you that signature Hershey flavor with a velvety texture.
Whip the Cream to Stiff Peaks
In a separate, chilled mixing bowl, combine the 1.5 cups Heavy Whipping Cream with the 2 cups Granulated Sugar and 1 tbsp Cornstarch. Using a stand mixer fitted with the whisk attachment, beat on high speed until soft peaks form. This usually takes about 2-3 minutes. The cream should hold its shape when the whisk is lifted, but still be slightly wobbly.
Watch closely during this step—over-whipping can turn your cream into butter. You’ll know it’s ready when the mixture forms stiff peaks that stand upright when the whisk is lifted. If you’re using the 2 drops Food Coloring, add it now and mix until evenly distributed. This is the moment that matters: the cream needs to be perfectly whipped to create that light, airy texture that balances the rich chocolate base.
Combine and Swirl for Marbled Perfection
With the mixer running on low speed, gradually pour the melted chocolate mixture down the side of the bowl. Scrape the sides with a spatula to ensure everything combines smoothly. Increase the speed to medium and beat for 1-2 minutes until the frosting thickens and becomes light and fluffy. The texture should be thick enough to hold peaks but still spreadable.
Here’s where the magic happens: divide the frosting into two separate bowls. In one bowl, add a few extra drops of food coloring if you want a classic Hershey look. Use a spatula to create marbled swirls by carefully folding the colored frosting into the plain frosting. This technique creates those beautiful, eye-catching swirls that make this icing so special. Spread immediately over your cooled cake layers or cupcakes for the best results.
Pro Tips For Making Hershey Bar Cake Icing
- MELT CHOCOLATE SLOWLY: I learned this the hard way—dumping chopped chocolate bars into hot cream and stirring like crazy just makes it seize up. Instead, heat the cream until it’s steaming (not boiling), then pour it over the chocolate in a bowl, let it sit for 30 seconds, then gently stir until smooth. The chocolate melts evenly, and you won’t end up with lumps no matter how much you scrape the bowl later.
- USE COLD BUTTER: Skip the softened butter—this icing needs cold, cubed butter for that perfect pipeable consistency. Cut the butter into small cubes and chill them for 10 minutes before mixing. Yes, it’ll take a little more elbow grease, but the result is silky, not greasy, and holds its shape when piped.
- WHIP CREAM TO STIFF PEAKS: Under-whipped cream is the fastest way to ruin this icing. Stop when the cream forms stiff peaks that hold their shape when you lift the whisk—no wobbly tops, no collapsing. If you’re impatient and over-whip it, the icing will turn grainy and lose its lightness. (And no, “almost stiff” doesn’t count.)
- ADD VANILLA LAST: My grandmother swore by this, and she was right: vanilla extract burns off when heated, so always mix it in at the very end, right before folding it into the chocolate mixture. A splash of good vanilla (1 teaspoon) makes a real difference—don’t skimp, and don’t add it early or you’ll lose that bright, fresh flavor.
Pro cooking tips for this dish
Temperature Control
Keeping your chocolate at the right temperature is everything—aim for a smooth, glossy finish without seizing. I use a candy thermometer to monitor the chocolate-butter mixture, ensuring it stays between 100-110°F.
If it gets too hot, the chocolate will seize (turn grainy), and your icing will lose that velvety texture. For best results, melt the chocolate and butter together over medium-low heat, stirring constantly with a silicone spatula.
Once melted, let it cool slightly before combining with the whipped cream. 🌡️
Whipping Cream Mastery
The key to perfect buttercream is whipping the cream to stiff peaks—not soft, not overdone. I use a chilled mixing bowl and cold heavy cream to achieve this faster.
Beat on high speed for 2-3 minutes, then check by lifting the whisk: the cream should hold a peak that stands upright but still wobbles slightly. Over-whipping turns it into butter, so stop just before it gets too thick.
Add the sugar and cornstarch to the cream first—they help stabilize the mixture and prevent curdling. 🥛
Marbling Without Mess
Creating those iconic Hershey swirls takes practice, but the secret is patience. Divide your frosting into two bowls—one plain, one with extra food coloring. Use a spatula or offset spatula to gently drag the colored frosting through the plain frosting in swirling motions.
Work quickly but carefully to avoid overmixing, which can break up the swirls. For extra drama, pipe a border of plain frosting around the edges before adding the swirled frosting. This keeps the colors vibrant and the texture smooth. ✨
Butter Consistency Tricks
Cold butter is non-negotiable—it whips up fluffier and holds its shape better. Cut your 1 cup unsalted butter into small cubes and chill them for 15-20 minutes before melting. If your frosting turns out too thin, chill it for 10-15 minutes to thicken.
For extra stability, add 1 extra tablespoon of cornstarch to the sugar mixture. This trick works wonders for keeping your icing spreadable but not runny. 🧈
Avoiding Chocolate Seizing
Seizing happens when chocolate overheats or comes into contact with liquid too early. To prevent it, melt the chocolate and butter together gently over low heat, stirring constantly. Once melted, remove from heat and let it cool to 100°F before mixing with the whipped cream.
If you accidentally seize your chocolate, try reviving it by adding 1 teaspoon of vegetable oil or shortening and stirring gently until smooth. This trick saves your frosting every time. 💡
Storage Secrets
This icing keeps beautifully in the fridge for up to 5 days, but it’s best used within 2-3 days for peak texture. Store it in an airtight container with plastic wrap pressed directly on the surface to prevent drying.
To reuse, bring it to room temperature and re-whip briefly if it thickens. For long-term storage, freeze portions in ice cube trays—thaw and re-whip as needed. The flavors actually improve overnight, so making it ahead is a game-changer for celebrations. ❄️
Nutrition facts
Frequently asked questions
Can I substitute Hershey’s bars with chocolate chips?
You can use high-quality semi-sweet chocolate chips (like Ghirardelli) as a substitute, but expect a slightly different flavor profile. For the most authentic Hershey taste, stick to the original bars—their milk chocolate formula is what creates that signature candy-bar flavor. If substituting, use 1.5 cups of chips instead of 12 oz of bars.
Why did my frosting turn out too thin?
Thin frosting usually happens from overmixing the cream or using warm ingredients. Always chill your mixing bowl and use cold heavy cream. If your frosting is too thin, try chilling it for 10-15 minutes to thicken, or add 1 extra tablespoon of cornstarch to stabilize it.
How do I get that glossy finish like store-bought frosting?
The secret is tempering the chocolate properly. Melt the chocolate and butter together over low heat and let it cool to 100°F before mixing with the whipped cream. For extra shine, add 1 teaspoon of vegetable oil when combining the ingredients, or brush the finished cake with a little melted chocolate.
Can I make this icing ahead of time?
This frosting actually tastes better the next day as the flavors meld together. Store it in an airtight container in the fridge for up to 5 days. Bring it to room temperature before using, and re-whip briefly if it thickens. For long-term storage, freeze portions in ice cube trays and thaw as needed.
What’s the best way to decorate a cake with this frosting?
For a classic look, pipe a border of plain frosting around the edges, then swirl the marbled frosting in the center. Use a spatula to create smooth, even swirls. For extra flair, add chocolate shavings or sprinkles on top. This frosting works beautifully on both layer cakes and cupcakes—just chill the cake slightly before frosting to prevent melting.
- Beef Pikes Peak Roast Recipe: Slow-Cooked Richness With Herbed Crust - November 29, 2026
- Brine Pork Ribs Overnight Recipe: Fall-Apart Tenderness Without the Wait - November 29, 2026
- Chilli Sauce for Hot Dogs Recipe: Smoky-Sweet Glaze That Elevates Every Bite - November 29, 2026