Desserts
Creating Hershey's Famous Chocolate Cake means delivering that signature combination of rich, moist layers and decadent fudgy swirls that make every bite unforgettable. This recipe captures the essence of what made Hershey's version legendary—deep chocolate flavor balanced with tender crumb and just the right amount of sweetness.
The secret lies in precise ingredient ratios and careful layering to ensure each slice delivers that perfect texture contrast.
What sets this recipe apart is the use of high-quality cocoa powder and melted chocolate bars, which create a velvety batter that bakes into layers so moist they stay fresh for days.
The fudgy swirls are achieved through a simple yet effective technique: folding melted chocolate into the batter before baking, ensuring those signature ribbons of chocolate throughout each slice. This isn't just another chocolate cake—it's the one that brings back childhood memories of that iconic boxed cake, but made from scratch.
The result is a cake with a tender, slightly dense crumb that's rich and moist without being heavy, topped with those signature chocolate swirls that make every cut reveal a surprise.
The layers stay perfectly moist even when sliced, and the chocolate flavor is deep enough to satisfy serious chocolate lovers while still being approachable for everyday dessert cravings. This is the kind of cake that disappears quickly, leaving only crumbs and happy faces behind.
Whether you're baking for a celebration or simply treating yourself to a classic dessert, this recipe delivers restaurant-quality results with minimal effort. The instructions are straightforward, but the attention to detail ensures you achieve that professional finish.
Let's get started on creating a cake that tastes like nostalgia in every bite.
Ingredients for hershey's famous chocolate cake
Twelve essential ingredients transform into the iconic chocolate cake with velvety layers and signature swirls.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 cups | Sifted for optimal texture |
| Unsalted Butter 🧈 | 1 ½ cups | Cold, cubed for creaming |
| Granulated Sugar 🍚 | 2 cups | Light brown preferred |
| Natural Cocoa Powder 🍫 | ¾ cup | Dutch-processed for richness |
| Baking Soda 🧪 | 1 ½ tsp | Pure, not baking powder |
| Salt 🧂 | ½ tsp | Diamond Crystal preferred |
| Vanilla Extract 🌸 | 2 tsp | Pure Madagascar bourbon |
| Milk 🥛 | 1 cup | Whole milk preferred |
| Hershey's Milk Chocolate Bars 🍫 | 12 oz | Melted for swirls |
| Large Eggs 🥚 | 2 whole | Room temperature |
| Buttermilk 🥛 | ½ cup | Homemade or store-bought |
| Vegetable Oil 🫒 | ½ cup | Light, neutral flavor |
The cocoa powder and chocolate bars are non-negotiable for authentic Hershey's flavor. Hershey's Special Dark or Natural Cocoa delivers the deep chocolate intensity, while the Hershey's milk chocolate bars create those signature fudgy swirls. For the cocoa, Hershey's brand ensures consistency, though Valrhona or Callebaut work for a more premium result. The chocolate bars should be full-size, not miniatures, and melted just until smooth—no overheating. Most grocery stores carry Hershey's products, but specialty baking shops often have higher-quality chocolate bars for a richer flavor profile. The buttermilk adds moisture without overpowering the chocolate, so don't substitute with regular milk unless you add an extra tablespoon of vinegar.
No buttermilk? Mix 1 tablespoon lemon juice or vinegar with 1 cup milk and let sit for 5 minutes. Substituting the milk chocolate bars? Ghirardelli squares or Lindt milk chocolate work well, but adjust the quantity to 10 ounces if using smaller bars. The cocoa powder must be natural (not Dutch-processed) for the proper rise—though Dutch-processed can be used if you add an extra half teaspoon of baking soda. For the butter, European-style unsalted butter like Plugrá or President adds a richer flavor, but standard American brands work fine. The vanilla extract should be pure bourbon vanilla—imitation extracts will ruin the depth of flavor. If you're short on time, store-bought buttermilk is fine, but homemade (milk + vinegar) gives the best results.
Store the cake layers in an airtight container with parchment between them for up to 3 days at room temperature. For longer storage, freeze the assembled cake (unfrosted) for up to 3 months. The melted chocolate swirls can be prepped ahead and stored in the fridge for 2 days before folding into the batter. To prevent dryness, brush the cooled layers with a simple syrup (equal parts sugar and water, heated until dissolved) before assembling. This cake reheats beautifully—wrap individual slices in plastic wrap and warm in the oven at 300°F for 5-7 minutes to restore moisture.
Why You'll Love This Recipe
- Here’s what sold me: the way the butter and sugar melt into that cocoa powder creates a cake that’s almost too moist—like a hug in dessert form. No dry crumbs here. The baking soda does its job just right, giving it that classic Hershey’s lift without tasting like baking powder went rogue.
- I’ll be real: this recipe uses stuff I already have. Butter, sugar, flour—check. Cocoa powder? I buy it in bulk because it’s cheaper than pre-made mixes, and it lasts forever. Plus, the leftovers? They keep for days, so I can bake once and enjoy it all week. No sad, stale cake here.
Step-by-step instructions for Hershey's famous chocolate cake recipe
Master the art of rich, moist chocolate cake with fudgy swirls using precise technique and professional timing.
Prepare the Chocolate Swirl Filling
Begin by melting the 12 oz Hershey's Milk Chocolate Bars in a heatproof bowl set over a saucepan of simmering water, ensuring the bottom of the bowl doesn't touch the water. Stir until completely smooth, then remove from heat and let cool slightly. This creates the signature fudgy swirls that define this cake.
While the chocolate cools, prepare the cocoa mixture by whisking together the 0.75 cup Natural Cocoa Powder, 0.5 cup Vegetable Oil, and 0.5 cup Buttermilk in a separate bowl until fully combined. This creates a velvety base that will blend seamlessly with the melted chocolate. The combination of cocoa powder and oil ensures a rich, moist texture without making the cake dense.
Cream Butter and Sugar for Light Texture
In a stand mixer fitted with the paddle attachment, beat the 1.5 cups Unsalted Butter and 2 cups Granulated Sugar on medium speed for 3-4 minutes until light and fluffy. The mixture should nearly double in volume and become pale in color. This creaming process incorporates air, which creates the cake's signature tender crumb.
Add the 2 whole Large Eggs one at a time, mixing on low speed for 30 seconds after each addition until fully incorporated. Then add the 2 tsp Vanilla Extract and mix for another 10 seconds. The eggs provide structure while the vanilla extract enhances the chocolate flavor. This step is critical for achieving the cake's signature moistness and rich taste.
Combine Dry Ingredients and Fold in Wet Mixtures
In a separate bowl, sift together the 2 cups All-Purpose Flour, 1.5 tsp Baking Soda, and 0.5 tsp Salt. This ensures even distribution and prevents lumps in the final batter. Gradually add the dry ingredients to the butter mixture, alternating with the 1 cup Milk, beginning and ending with the flour. Mix on low speed until just combined—you should still see a few flour streaks.
Remove the bowl from the mixer and gently fold in the cooled chocolate mixture using a silicone spatula. This step should be done carefully to maintain the cake's airy texture while incorporating the fudgy swirls. The result should be a thick, velvety batter with visible chocolate streaks throughout.
Layer and Bake for Perfect Rise
Preheat your oven to 350°F and grease two 9-inch round cake pans. Divide the batter evenly between the pans, spreading it out to form even layers. Using a rubber spatula, create a well in the center of each layer to hold the chocolate filling.
Spoon the remaining chocolate mixture into the wells, then tilt the pans to distribute the chocolate evenly. Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean. The cake should spring back gently when touched and have a deep chocolate aroma. This baking time ensures the cake rises properly while maintaining its moist texture.
Cool and Assemble for Maximum Moisture
Allow the cakes to cool in their pans for 10 minutes, then transfer them to a wire rack to cool completely. This gradual cooling process helps the cakes set while preserving their moisture. Once cooled, place one cake layer on a serving plate and spread a thin layer of the remaining chocolate mixture on top.
Add the second cake layer on top and gently press down. The final step is to spread the remaining chocolate mixture over the top and sides of the cake, creating a beautiful fudgy finish. Serve immediately or refrigerate for up to 2 days for the flavors to meld further. This assembly ensures the cake remains moist and delivers the perfect balance of rich chocolate and tender crumb.
Pro Tips For Making Hershey'S Famous Chocolate Cake
- Sift That Cocoa: The Hershey’s recipe calls for cocoa, but don’t just scoop it—sift it with the flour and baking soda. I learned this the hard way when my first batch turned out dense and uneven. A quick sift aerates the batter and keeps the texture light and fudgy, not brick-like.
- Cream Butter Slowly: The recipe says to cream butter and sugar, but don’t rush it. Beat them together on medium speed for 2–3 minutes until the mixture is pale yellow and fluffy—not just combined. I used to skip this, and the cake always tasted flat; proper creaming incorporates air, which makes the difference between "good" and "showstopper."
- Skip the Overmixing: Once you add the flour mixture, stop folding after just combining. Overmixing develops gluten, and your cake will turn tough instead of tender. I was guilty of beating it like I was kneading dough—now I use a spatula to gently fold until no dry spots remain. That’s it. No more.
- Test for Doneness Early: The recipe’s baking time is a guideline, not gospel. Pull the cake out when a toothpick comes out with moist crumbs, not wet batter. I’ve left cakes in too long, and they dried out; I’ve pulled them too soon, and they stayed gummy. Trust your eye and that toothpick—better to underbake slightly and let it rest.
Make-ahead tips for leftovers
Prep Ahead Swirls
Melt the 12 oz Hershey's Milk Chocolate Bars and mix with the 0.75 cup cocoa powder and 0.5 cup vegetable oil up to 2 days ahead. Store in an airtight container at room temperature—this saves time and ensures consistent swirls every time.
I like to label it with the date to track freshness. The mixture thickens slightly when refrigerated, so bring it to room temperature before folding into the batter. 💫
Batter Prep Timeline
Mix the dry ingredients and wet ingredients separately, then combine just before baking. Store the dry mix (2 cups flour, 1.5 tsp baking soda, 0.5 tsp salt) in a sealed container for up to 1 week.
Keep the wet ingredients (1.5 cups butter, 2 cups sugar, 2 eggs, 2 tsp vanilla) in the fridge for 3 days. This keeps your ingredients fresh and ready for a quick assembly when you're ready to bake. 📅
Layer Storage Secrets
Bake the cake layers up to 1 day ahead and store them wrapped tightly in plastic wrap at room temperature. For longer storage, freeze the layers (unfrosted) for up to 3 months. Thaw overnight in the fridge before assembling.
I always brush the cooled layers with simple syrup (equal parts sugar and water) before stacking to lock in moisture. This technique prevents dryness and keeps the cake tender. ✨
Frosting Flexibility
Make the chocolate buttercream frosting up to 3 days ahead and store it in the fridge. Bring it to room temperature before spreading to avoid cracking. For a quicker option, use store-bought chocolate frosting and spread it between layers and on top.
I recommend Hershey's Chocolate Syrup thinned with a bit of milk for a fast, flavorful glaze that adds shine and moisture. 🍫
Assembly Day Tips
Assemble the cake the morning you plan to serve it. If you need to serve it later, refrigerate the fully assembled cake (unfrosted) for up to 2 days. Bring it to room temperature before serving to enjoy the best texture.
For a showstopper, pipe chocolate ganache over the top using a piping bag fitted with a star tip. This adds a professional finish that guests will love. 💪
Serving Suggestions
Slice the cake with a hot knife for clean cuts and prevent crumbs. Serve warm slices with a scoop of vanilla ice cream or a dollop of whipped cream. For a festive touch, garnish with chocolate shavings or fresh berries.
I always set out a small bowl of chocolate sauce for dipping—it’s a crowd-pleaser that elevates the experience. 🍓
Nutrition facts
Frequently asked questions
Why does this recipe use both cocoa powder AND melted chocolate?
The cocoa powder provides that deep chocolate flavor and proper rise through chemical reactions with baking soda, while the melted chocolate creates those signature fudgy swirls. The combination gives you both rich flavor and that iconic texture that makes this cake special.
Can I make this cake in a single layer instead of two?
Yes! Simply use a 9x13-inch pan and reduce the baking time to 25-30 minutes. For best results, spread the batter evenly and create swirls by spooning the chocolate mixture over the top before baking. The texture will be slightly denser but still delicious.
What's the secret to keeping this cake moist for days?
The buttermilk and vegetable oil create incredible moisture retention, while brushing cooled layers with simple syrup locks in freshness. Store in an airtight container with parchment between layers to prevent drying out. Even after 3 days, it stays tender!
Can I substitute regular milk chocolate for white chocolate?
Not recommended for this recipe—white chocolate lacks the deep cocoa flavor that defines this cake. For a variation, try adding 2 oz white chocolate to the swirl mixture, but expect a milder chocolate taste overall. The original recipe relies on milk chocolate's balanced sweetness.
How do I fix a sunken middle in my cake?
Overbaking or undercreaming usually causes this. Next time, bake until a toothpick comes out with moist crumbs (not wet batter), and ensure your butter/sugar mixture is properly aerated. For immediate fixes, slice off the sunken top and level the cake before frosting.
