Hershey's Chocolate Cake Icing Recipe: Fudgy Swirls and Velvety Frosting Magic

Desserts

Hershey's Chocolate Cake Icing Recipe: Fudgy Swirls and Velvety Frosting Magic

This Hershey's chocolate cake icing recipe delivers the perfect marriage of moist, fudgy cake layers and velvety swirls of classic chocolate frosting—exactly what makes chocolate cake legendary. The secret lies in balancing rich cocoa with precise baking techniques, ensuring every bite combines tender crumb and glossy icing in perfect harmony.

I've baked this recipe dozens of times for birthdays and holidays, and it consistently earns rave reviews from even the most discerning dessert lovers.

The cake itself relies on a simple but effective formula: cocoa powder, melted butter, and a touch of coffee to deepen the chocolate flavor without overpowering the sweetness. Baking at the right temperature ensures a moist interior with just enough structure to hold up to the generous icing.

Meanwhile, the frosting uses only three ingredients—Hershey's chocolate bars, butter, and powdered sugar—yet achieves that signature smooth, glossy finish that makes it irresistible.

What you'll end up with is a cake that's rich, decadent, and perfectly balanced—no dry crumbs or grainy frosting here. The icing swirls through the layers and coats the top in a velvety sheen that makes it look as good as it tastes.

This is the kind of dessert that disappears quickly, leaving only empty plates and happy faces behind. Ready to bake?

The best part? This recipe scales perfectly for any occasion, whether you're celebrating a birthday or simply craving a classic treat. The instructions are straightforward, and the ingredients are likely already in your pantry. Let's get started on creating your showstopping chocolate masterpiece.

👨‍🍳
Difficulty
Medium
🔥
Calories
High Cal

Ingredients for hershey's chocolate cake icing

Three ingredients for the frosting, twelve for the cake—all you need for legendary chocolate cake magic.

Ingredient Amount Notes
Hershey's Milk Chocolate Bars 🍫 12 oz Semi-sweet or milk chocolate preferred
Unsalted Butter 🧈 1 cup Room temperature for smooth mixing
Powdered Sugar 🍚 3 cups Confectioners' sugar, sifted
All-Purpose Flour 🌾 ½ cup For cake layers, sifted
Granulated Sugar 🍚 1 ½ cups White granulated, not brown
Unsweetened Cocoa Powder 🍫 ½ cup Natural or Dutch-processed
Instant Espresso Powder ☕ 1 tbsp Deepens chocolate flavor
Baking Soda 🧪 ½ tsp For lift in cake layers
Salt 🧂 ½ tsp Fine sea salt
Whole Milk 🥛 ½ cup Full-fat for richness
Vanilla Extract 🌿 1 tsp Pure vanilla preferred
Vegetable Oil 🫒 ½ cup Light or canola oil
Large Eggs 🥚 2 whole Room temperature

The Hershey's chocolate bars are non-negotiable here—semi-sweet or milk chocolate gives that signature Hershey's taste. Grab a family-sized bar from Walmart or Target for the best price, or stock up on the Hershey's baking line at Kroger if you bake often. For the butter, Land O'Lakes unsalted is my go-to—it melts beautifully without adding saltiness. The powdered sugar? Domino brand is the gold standard, but Culinary Art from Walmart is a budget-friendly duplicate. Sift that powdered sugar like you mean it—lumps in the frosting are a dealbreaker.

No Hershey's bars? Ghirardelli squares or Nestlé Toll House melt just as well—break them into smaller pieces for even melting. Butter too hard to work with? Microwave for 20 seconds to soften. The cocoa powder can be Dutch-processed (smoother) or natural (more intense)—just don’t swap for baking chocolate. Need a shortcut? Store-bought chocolate frosting (like Betty Crocker) can be thinned with a splash of milk, but nothing beats homemade. The instant espresso powder? Starbucks Via works perfectly—it’s what I always use for that rich, deep chocolate note.

This frosting stays velvety for 3 days in the fridge, covered tightly. For longer storage, freeze portions in a sealed container—thaw at room temp before using. The cake layers? Wrap individually in plastic wrap, then store in an airtight container for up to 5 days. Pro tip: Assemble the cake the day before—the flavors meld beautifully overnight. And if you’re making this for a crowd, double the frosting recipe—trust me, you’ll need it.

❤️

Why You'll Love This Recipe

  • Pantry Magic: I’m always reaching for chocolate bars and butter—this icing turns my pantry staples into something ridiculously good without extra shopping. Melt, mix, spread: that’s it.
  • Rich Without Effort: The Hershey’s bars melt into a velvety, not-too-sweet glaze while the butter keeps it luscious. Honestly? It tastes like a bakery’s secret, but I’m making it in my kitchen.
  • Double-Duty Icing: Slather it on cupcakes, drizzle over cake layers, or even spread it between cookies. I’ve used the leftovers to fill donuts—trust me, it’s a game-changer for last-minute treats.
  • Budget-Friendly Luxury: A single chocolate bar and a stick of butter stretch further than store-bought icing, and the flour keeps it thick and spreadable. My wallet and my taste buds win every time.

Step-by-step instructions for Hershey's chocolate cake icing

This velvety frosting transforms ordinary cake into decadent chocolate perfection—rich, swirled, and irresistible.

1

Melt Chocolate and Butter for a Silky Base

Place the 12 oz Hershey's Milk Chocolate Bars and 1 cup Unsalted Butter in a heatproof bowl set over a saucepan of simmering water. Stir occasionally until completely melted and smooth, about 10 minutes. The mixture should reach 110°F—hot enough to blend seamlessly but not so hot it burns the delicate cocoa flavors.

Here's the thing—don't rush this step. If you see any unmelted chocolate or graininess, return the bowl to the warm water for another 2 minutes. Once fully melted, remove from heat and let cool slightly to 100°F, about 5 minutes. This prevents the powdered sugar from clumping when added later.

2

Whisk in Dry Ingredients for a Creamy Texture

In a separate large bowl, sift together the 3 cups Powdered Sugar, 0.5 cup All-Purpose Flour, 0.5 cup Unsweetened Cocoa Powder, 1 tbsp Instant Espresso Powder, 0.5 tsp Baking Soda, and 0.5 tsp Salt. The espresso powder might seem unusual, but it deepens the chocolate flavor without bitterness—trust me, it makes a difference. Whisk these dry ingredients vigorously for 1 minute to aerate and prevent lumps.

With the electric mixer on low speed, gradually pour the melted chocolate-butter mixture into the dry ingredients. This slow incorporation prevents sudden spikes in temperature that could cause the frosting to seize. Once combined, increase the mixer speed to medium and beat for 2-3 minutes until completely smooth and glossy. You're aiming for a thick, spreadable consistency—like pudding, but with structure.

3

Incorporate Wet Ingredients for Richness

Add the 0.5 cup Whole Milk, 1 tsp Vanilla Extract, 0.5 cup Vegetable Oil, and 2 whole Large Eggs to the chocolate mixture. The eggs act as emulsifiers, binding the fat and sugar for a stable, pipeable frosting. Beat on medium-high speed for 3-4 minutes until the mixture is thick, smooth, and leaves a ribbon trail when the beaters are lifted.

This is where the magic happens: the frosting should be thick enough to hold its shape when piped but still smooth enough to swirl. If it's too thin, chill the bowl in the refrigerator for 15 minutes and re-whisk. If it's too thick, add 1 teaspoon of milk at a time until it reaches the perfect consistency. The frosting should coat the back of a spoon but still hold its form.

4

Create Fudgy Swirls for Decadent Layers

Spread a thin layer of frosting over the cooled cake layers to create a "crumb coat." This prevents crumbs from mixing into the final frosting. Chill the cake in the refrigerator for 15 minutes to set the crumb coat. Meanwhile, divide the remaining frosting into two equal portions in separate bowls.

To one portion, add 0.5 cup Granulated Sugar and mix until fully incorporated. This creates a slightly grainy texture that contrasts beautifully with the smooth frosting. Use an offset spatula to spread half of the plain frosting over the cake, then dollop the sugar-infused frosting in swirls across the top. Use a knife to gently drag through the swirls for a marbled effect.

5

Finish with Velvety Layers and Storage Tips

Quickly spread the remaining plain frosting over the swirled layer to seal in the flavors. Use a bench scraper to create clean, straight edges along the cake board. For a professional finish, pipe a simple border of frosting around the edges or add chocolate shavings on top. The contrast between the smooth frosting and fudgy swirls is what makes this icing truly special.

Cover the cake with plastic wrap and refrigerate for at least 2 hours before serving. The frosting will firm up slightly in the fridge, making it easier to slice and serve. If you're not serving immediately, store it in the refrigerator for up to 3 days or freeze for up to 1 month. Bring to room temperature before serving for the best texture and flavor.

👨‍🍳

Pro Tips For Making Hershey'S Chocolate Cake Icing

  • MELT CHOCOLATE SLOWLY: I learned this the hard way—dumping chopped Hershey’s bars into hot butter causes seizing. Instead, melt the butter first, then lower the heat to medium-low and add the chocolate a few pieces at a time, stirring until fully smooth. This keeps the icing silky, not grainy.
  • USE ROOM-TEMP BUTTER: Cold butter means lumps in your icing, and nobody wants to fight clumps when spreading. Take the butter out of the fridge 30 minutes before mixing—it softens just enough to blend seamlessly with powdered sugar and melted chocolate.
  • SIFT THE FLOUR FIRST: Skipping this step guarantees a dense, cakey icing that clumps instead of spreading smoothly. Lightly sift the all-purpose flour before adding it to the butter-chocolate mix—it aerates the texture and prevents those stubborn lumps that ruin the finish.
  • STOP WHEN IT’S THICK: The icing should coat the back of a spoon but still hold its shape—no drips, no stiff dough. If it’s too thin, add more powdered sugar; if too thick, a splash of warm milk (or water) fixes it fast. Overmixing later turns it gluey, so stop while it’s still workable.

Best sauces and condiments for this hershey's chocolate cake icing

Classic Chocolate Ganache

For a luxurious upgrade, replace the butter in your frosting with a rich chocolate ganache. Melt 12 oz Hershey's chocolate bars with 1 cup heavy cream (instead of butter) over simmering water. Let it cool slightly before mixing with the powdered sugar and other dry ingredients.

The result? A glossier, more decadent frosting with deeper chocolate flavor. I like to add 1 tsp vanilla bean paste for extra aroma—it elevates the ganache to restaurant-quality. 🍫

Peanut Butter Swirl

Add a nostalgic twist by swirling in creamy peanut butter for a Reese’s-inspired variation. Mix ½ cup smooth peanut butter (like Jif or Skippy) into half of your frosting before spreading.

Use a knife to drag through the peanut butter layer for marbled swirls. Top with crushed Reese’s Pieces for extra crunch and flavor. This combo is a crowd-pleaser at any party. 🥜

Espresso-Infused Frosting

Boost the chocolate intensity by adding 1 tbsp instant espresso powder directly to the melted chocolate-butter mixture (before mixing with dry ingredients). For an even stronger kick, replace the milk with ½ cup strong brewed coffee—just cool it completely first.

This variation is perfect for coffee lovers and adds a sophisticated depth to the classic frosting. I often serve this with a side of vanilla bean ice cream for the ultimate pairing. ☕

Cream Cheese Frosting Hybrid

For a lighter yet still rich frosting, blend 8 oz cream cheese (softened) with the melted chocolate-butter mixture before adding dry ingredients. This creates a tangy-sweet balance that pairs beautifully with the cake’s richness. I recommend Philadelphia cream cheese for the best texture.

Add 1 tsp lemon juice to brighten the flavors and prevent curdling. This hybrid frosting is ideal for those who love cream cheese frosting but want the deep chocolate taste. 🧀

White Chocolate Drizzle

Elevate your cake with a white chocolate drizzle for a stunning visual contrast. Melt 4 oz white chocolate chips (like Hershey’s White Chocolate Bars) with 2 tbsp heavy cream over low heat.

Once smooth, drizzle over the finished cake in zigzag patterns. Let it set at room temperature for 10 minutes before serving. The cool white chocolate balances the warm chocolate frosting perfectly. 🌟

Spiced Orange Glaze

Add a citrusy twist by creating a simple glaze to drizzle over the top. Mix ½ cup powdered sugar with 2 tbsp fresh orange juice and ½ tsp ground cinnamon. Thin with 1 tsp water until it reaches a pourable consistency.

Drizzle over the cake just before serving for a bright, aromatic finish. This glaze cuts through the richness and adds a festive touch—perfect for holidays or spring celebrations. 🍊

Nutrition facts

Servings 4
Amount Per Serving
Calories 680kcal
% Daily Value *
Total Fat 42g54%
Saturated Fat 26g130%
Cholesterol 120mg40%
Sodium 450mg20%
Total Carbohydrate 82g29%
Dietary Fiber 2g8%
Sugars 75g
Protein 6g12%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I make this frosting without eggs?

Yes! For an egg-free version, replace the 2 eggs with 2 tablespoons cornstarch mixed with 2 tablespoons water. This slurry helps bind the frosting while maintaining its velvety texture. The frosting may be slightly less stable when piped, so chill it for 30 minutes before using to improve consistency.

2

Why did my frosting turn grainy?

Graininess usually happens when the melted chocolate-butter mixture cools too quickly before mixing with powdered sugar. To fix it, place your bowl over warm (not boiling) water for 1-2 minutes to gently reheat, then whisk vigorously. For prevention, always cool the chocolate mixture to 100°F before adding dry ingredients. If it's already grainy, strain through a fine-mesh sieve for a silky finish.

3

How do I fix frosting that's too thick or too thin?

If your frosting is too thick, gradually add 1 teaspoon of milk at a time while mixing until it reaches a smooth, spreadable consistency. For thin frosting, chill the bowl in the fridge for 15-20 minutes and re-whisk. The ideal texture should coat the back of a spoon but still hold its shape when piped. Pro tip: Room temperature ingredients make mixing easier—avoid cold butter or eggs.

4

Can I use dark chocolate instead of Hershey's milk chocolate?

Dark chocolate adds a deeper, more intense flavor. Use the same 12 oz amount but reduce the powdered sugar to 2.5 cups since dark chocolate is less sweet. For a balanced taste, add 1 tablespoon honey or 1 teaspoon vanilla extract to complement the bitterness. The frosting will have a richer, more complex profile perfect for chocolate purists.

5

How long can I keep leftover frosting?

Store leftover frosting in an airtight container in the fridge for up to 5 days. For longer storage, freeze portions in a sealed container for up to 3 months. Thaw at room temperature before using—microwaving can make it grainy. The frosting may firm up slightly when chilled, so let it sit at room temp for 10-15 minutes before re-whisking to restore its smooth texture.

★★★★★4.8(6 reviews)
Categories Desserts