Desserts
Creating Hershey's chocolate cake icing that stays thick, swirls beautifully, and never weeps is a game-changer for any baker. The secret lies in precise ratios of butter, powdered sugar, and milk—plus a few professional techniques that transform this into a velvety, spreadable frosting.
I've perfected this recipe after years of testing, and it consistently delivers the kind of icing that makes cakes look (and taste) like they came from a bakery.
This recipe builds on the classic combination of melted chocolate and butter, but with a focus on texture control. The key is using powdered sugar to lighten the mixture while keeping it stable, and incorporating milk gradually to achieve that ideal consistency—thick enough for swirls but smooth enough to spread.
Unlike many recipes, this version avoids common mistakes that lead to weeping or graininess, ensuring your cake stays perfect for hours.
What you'll end up with is a rich, ultra-thick icing that can be piped into elegant rosettes, spread evenly over layers, or used for drip effects. The flavor is pure Hershey's chocolate—no artificial aftertaste—with a velvety mouthfeel that melts beautifully.
Optional flavor variations like vanilla or peppermint extract can be added for customization, but the base recipe delivers a foolproof, restaurant-quality finish every time.
Perfect for layer cakes, cupcakes, or even as a glaze for brownies, this icing requires just five ingredients and takes less than 15 minutes to prepare. The instructions are straightforward, but the results are anything but basic—this is the kind of frosting that elevates homemade desserts to professional standards.
Let's get started on creating your perfect chocolate icing.
Ingredients for hershey cake icing
Five ingredients, game-changing texture—this is the Hershey’s icing that stays thick, swirls like a pro, and never weeps.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Semi-Sweet Chocolate Bars 🍫 | 8 oz | High-quality, chopped into small pieces |
| Unsalted Butter 🧈 | 1 cup | Cold, cut into small cubes for even melting |
| Powdered Sugar 🍚 | 4 cups | Confectioners' sugar, sifted for smooth texture |
| Whole Milk 🥛 | ¼ cup | Room temperature for gradual incorporation |
| Vanilla Extract 🌿 | 1 tsp | Pure, high-quality extract for depth of flavor |
| Diamond Crystal Kosher Salt 🧂 | ¼ tsp | Fine grain for subtle seasoning |
| Peppermint Extract (optional) 🎄 | ½ tsp | For festive holiday variations |
The chocolate and butter are non-negotiable for that signature Hershey’s flavor and ultra-smooth texture. Hershey’s Semi-Sweet bars are the gold standard—avoid chips or baking bars, which melt unevenly. For butter, unsalted is essential to control sweetness, and cutting it into small cubes ensures even melting without scorching. Grab the highest-quality powdered sugar you can find (like Domino or Culinary Artisan brands) for a finer texture and less clumping. The milk is added last—room temperature prevents lumps, and whole milk gives the best mouthfeel. Pro tip: melt the chocolate and butter together over a double boiler, not direct heat, to avoid burning.
No powdered sugar? Confectioners’ sugar substitute is tricky—cornstarch mixed with granulated sugar (1:4 ratio) works in a pinch, but texture will suffer. Skim milk? Heavy cream or half-and-half adds richness, but reduce by 2 tbsp to maintain thickness. Want extra flavor? Add 1 tsp instant espresso powder for depth or 1 tbsp cocoa powder for intensity. The vanilla extract can be swapped for 1 tsp vanilla bean paste if you’re feeling fancy. For peppermint lovers, reduce vanilla to 0.5 tsp and add the extract last to preserve its bright aroma.
This icing stays stable for up to 5 days in the fridge, sealed airtight in a container. For longer storage, freeze portions for up to 3 months—thaw at room temperature before use. Reheat gently in 10-second bursts in the microwave if it thickens too much. The key to swirls? Chill the icing for 30 minutes before piping—it’ll hold its shape beautifully. Leftovers? Use them to glaze brownies or fill cupcakes. Trust me, you’ll want to make extra.
Why You'll Love This Recipe
- Pantry Magic: I’ll be real—this icing uses exactly what’s probably already in your cupboards. Melted chocolate bars, softened butter, and a splash of milk? That’s it. No fancy stabilizers or weird ratios to memorize.
- Rich Without Effort: The moment I drizzle this over a warm cake, the chocolate melts into that perfect, glossy sheen—thick enough to hold its shape but silky enough to disappear with every bite. Honestly, it’s the kind of indulgence that makes you forget you didn’t spend hours decorating.
- Birthday or Breakfast: Slather it on cupcakes for a party, swirl it into pancakes for a lazy Sunday, or even drizzle it over ice cream when you’re craving something sweet. It’s my go-to for any occasion where I want that Hershey’s nostalgia without the fuss.
- Leftovers That Last: This icing keeps for days in the fridge—thickens up a little, but just add a splash of milk and warm it gently. I’ve used week-old batches on muffins, and no one ever noticed. Budget-friendly? Absolutely. Versatile? Even more so.
Step-by-step instructions for Hershey's chocolate cake icing recipe
This ultra-thick, no-weep icing transforms your cake into a showstopper with minimal effort.
Melt the Chocolate and Butter Together
Place the 8 oz chopped Hershey's Semi-Sweet Chocolate Bars and 1 cup cold cubed unsalted butter in a medium heatproof bowl. Set this bowl over a saucepan filled with 2 inches of simmering water, ensuring the bottom of the bowl doesn't touch the water. This double-boiler method prevents scorching while gently melting both ingredients. Stir occasionally with a silicone spatula until the mixture becomes completely smooth and glossy—this should take about 5-7 minutes. The chocolate should melt evenly without any streaks, and the butter should fully incorporate, creating a thick, velvety ganache.
Here's the thing—if you rush this step, you risk graininess in your final icing. I've found that patience here pays off dramatically. Once fully melted, remove the bowl from the heat and let it cool slightly for 3-4 minutes until it reaches a warm, spreadable consistency. This cooling step is critical; it allows the chocolate to thicken just enough for the next phase without becoming too stiff.
Whisk in the Powdered Sugar Gradually
In a separate large mixing bowl, sift the 4 cups powdered sugar through a fine-mesh sieve to eliminate any clumps. This ensures your icing will be silky smooth. Using an electric mixer on medium-high speed, begin incorporating the warm chocolate-butter mixture into the powdered sugar. I like to add it in 3-4 additions, mixing for 1-2 minutes between each to prevent a sugar storm in your kitchen. The mixture will initially look like a thick, grainy paste, but don't panic—this is normal and will smooth out as you continue mixing.
After all the chocolate mixture is incorporated, mix on high speed for 3-5 minutes until the icing becomes light, fluffy, and completely smooth. You'll know it's ready when it leaves a clean streak on the side of the bowl and has a glossy sheen. This thorough mixing step is what prevents that dreaded weeping effect later on—every grain of powdered sugar needs to be fully emulsified into the chocolate base.
Incorporate the Liquid Ingredients
With the mixer still running on medium speed, gradually add the 0.25 cup room-temperature whole milk, the 1 tsp vanilla extract, and the 0.25 tsp Diamond Crystal Kosher Salt. If you're using the optional 0.5 tsp peppermint extract, add it now as well. The milk should be added slowly—about 1 tablespoon at a time—to prevent the icing from becoming too thin. Mix for an additional 2-3 minutes until the icing reaches a thick, pipeable consistency. It should hold its shape when piped from a decorating bag but still be smooth enough to spread easily.
This is where the magic happens: the salt enhances the chocolate flavor while balancing sweetness, and the vanilla adds depth. The peppermint extract, if used, will create a festive holiday twist. Taste the icing at this stage—it should be rich, sweet, and perfectly balanced. If it's too thick, add 1 teaspoon of milk at a time until you reach the ideal consistency. If it's too thin, you can try chilling it for 15-20 minutes to thicken slightly, but this should rarely be necessary if you've followed the mixing times precisely.
Achieve the Perfect Swirl Texture
Transfer the icing to a piping bag fitted with a star tip (I prefer a Wilton 1M tip for decorative swirls). Pipe the icing directly onto your cooled cake in thick, continuous lines, starting from the center and working outward. Drag the tip of a butter knife or offset spatula through the icing lines while they're still wet to create those beautiful swirls. Work quickly but carefully—you have about 2-3 minutes before the icing sets up too much to manipulate.
For an extra-professional finish, pipe a second layer of icing over the swirls after they've set for 10-15 minutes. This creates depth and dimension. The key to preventing weeping is ensuring your cake is completely cool before applying the icing—this allows the moisture to stabilize. If you're concerned about the icing being too soft for piping, simply chill the bowl in the refrigerator for 10 minutes before transferring it to the piping bag. The icing should be thick enough to hold its shape but still smooth enough to pipe beautifully.
Final Touches and Storage
Once all the icing is applied and the swirls are perfectly set, use a small offset spatula to smooth any rough edges or fill in any gaps. This final touch makes all the difference in achieving that bakery-quality finish. For an additional decorative element, you can add chocolate shavings, crushed candy canes, or even a dusting of powdered sugar around the edges. The icing should remain perfectly stable on the cake for 24 hours at room temperature, making it ideal for gifting or transporting.
If you're not serving the cake immediately, store it in an airtight container in the refrigerator for up to 5 days. Before serving, let it come to room temperature for 30 minutes—this allows the icing to soften slightly and become more spreadable. The beauty of this recipe is that it delivers professional-level results with minimal fuss, and the no-weep guarantee means your cake will look as stunning as it tastes. Trust me, your guests will be asking for this recipe!
Pro Tips For Making Hershey Cake Icing
- MELT CHOCOLATE SLOWLY: I learned this the hard way—dumping chopped chocolate into hot butter and milk makes it seize up like a stubborn child. Instead, melt the butter first (just until it softens, not boils), then add the milk and let it warm to body temperature before stirring in the chocolate. This keeps the texture smooth and prevents those dreaded lumps.
- USE COLD BUTTER: Sounds counterintuitive, but cold butter (straight from the fridge, cut into small cubes) blends into the powdered sugar way better than softened butter. It creates a stiffer icing that pipes neatly and holds its shape—no greasy mess or runny disaster. Just let it sit out for 10 minutes before mixing.
- STRAIN THE MIXTURE: No matter how careful you are, Hershey’s bars leave behind gritty bits that turn your icing into a textural nightmare. After melting the chocolate, pour the whole mixture through a fine-mesh sieve before adding powdered sugar. It’s a little extra work, but your first bite will make you glad you did.
- LESS MILK IS BETTER: I used to drown this icing in milk, thinking it needed more liquid. But too much turns it into a glaze that slides off the cake. Start with just 2 tablespoons, then add milk one teaspoon at a time until it reaches a spreadable consistency—not soupy, not stiff, but somewhere in between. Trust me, the cake will thank you.
Storing and reheating this hershey cake icing
Room-Temp Stability
This icing stays perfectly stable at room temperature for up to 24 hours when applied to a fully cooled cake. The key is ensuring your cake has cooled completely before icing—this prevents moisture from the cake causing weeping.
I always let my cakes sit at room temperature for at least 2 hours before applying the icing. For cakes with high moisture content (like carrot or spice cakes), consider refrigerating the cake for 30 minutes before icing to help stabilize the moisture barrier. 🌡️
Fridge Storage Secrets
Store leftover icing in an airtight container (I use glass Pyrex with snap-on lids) in the refrigerator for up to 5 days. The cold helps maintain its thick, spreadable consistency.
When ready to use, let it sit at room temperature for 15-20 minutes before piping or spreading—this prevents it from being too stiff. For extra insurance, microwave in 10-second bursts if it thickens too much, stirring between each burst until smooth. The texture will recover beautifully. ❄️
Freezer Preservation
For longer storage, portion the icing into silicone molds or freezer-safe bags, leaving ½ inch headspace for expansion. It freezes well for up to 3 months without texture degradation.
When thawing, place the container in the refrigerator overnight for a slow thaw, or use the microwave on low power in 15-second intervals, stirring between each. Avoid direct heat—this can cause the chocolate to separate or become grainy.
Once thawed, it should return to its original smooth, pipeable consistency. ⏱️
Reheating for Piping
If your icing has thickened in the fridge, don't panic—it's easily revived. Place the container in a bowl of warm water (like a double boiler) and stir gently until it reaches a spreadable consistency. For microwave reheating, use low power and 5-second bursts, stirring between each.
The goal is to reach 70°F—just warm enough to soften without melting the chocolate. Test by piping a small amount onto parchment paper; it should hold its shape but still be smooth. 🔥
Reviving Dried Edges
Sometimes icing develops a slightly dry or hardened edge after storage. Simply scrape off the affected portion and rewarm the entire batch using the microwave or warm water method. The remaining icing will blend seamlessly, and you'll be back to perfect piping consistency.
For extra insurance, add 1 teaspoon of milk at a time to restore smoothness if needed. This trick works wonders for restoring that bakery-fresh texture. 💫
Cake Transport Tips
This icing is perfect for transporting cakes thanks to its stable texture. Wrap the entire cake in plastic wrap, then place it in a sturdy cake carrier box. The icing will remain intact for up to 4 hours at room temperature.
For longer transport (like overnight), refrigerate the cake before wrapping and transport it cold. Once at your destination, let it sit at room temperature for 30 minutes before serving to soften the icing slightly. The result? A cake that arrives looking as good as it tastes. 🚗
Nutrition facts
Frequently asked questions
Can I make this icing without powdered sugar?
Yes, but the texture will be completely different. For a substitute, mix 1 cup granulated sugar with 2 tablespoons cornstarch and process in a food processor until finely ground. Use this blend in place of powdered sugar, but expect a slightly denser, less smooth icing. The flavor will still be rich, but it won't hold swirls as well. For best results, stick with powdered sugar for that signature light, fluffy texture.
Why did my icing turn grainy?
Graininess usually happens when powdered sugar isn't fully incorporated or when the chocolate melts unevenly. Always sift the powdered sugar first and mix on high speed for 3-5 minutes until smooth. For melted chocolate, use a double boiler and stir constantly until completely glossy. If it's too late, try blending with a hand mixer for 1-2 minutes to break up any lumps.
How do I make this icing thinner for filling cupcakes?
Start by adding 1 teaspoon of milk at a time while mixing on medium speed. For cupcake filling, aim for a consistency that's slightly thinner than pipeable icing—it should be smooth enough to flow gently but still coat the back of a spoon. If it's still too thick, warm it gently (don't melt) in 10-second microwave bursts while stirring. Never add more than 2 tablespoons total or the flavor will dilute.
Can I use white chocolate instead of Hershey's semi-sweet?
Replace the semi-sweet with 8 oz white chocolate bars and reduce the vanilla extract to 0.5 teaspoon since white chocolate has a milder flavor. For extra richness, add 1 teaspoon almond extract. The texture will be slightly lighter, but the technique remains the same. This version works beautifully for vanilla or berry-flavored cakes where you want a sweeter contrast.
Will this icing work for gluten-free cakes?
Yes, this recipe is naturally gluten-free! The ingredients don't contain any wheat products, so it's safe for gluten-free baked goods. The powdered sugar is typically gluten-free (check the label), and the rest of the ingredients are all gluten-free by nature. For extra insurance, use a dedicated mixer and bowls if you're also handling gluten-containing ingredients in your kitchen.
