Desserts
This Hershey's Best Ever Chocolate Cake recipe delivers the triple-layered richness and fudgy swirls that made the original iconic. After perfecting the balance of moist layers and velvety frosting over countless batches, I can confidently say this is the closest homemade version to the classic.
The secret lies in precise measurements and a slow baking process that ensures each layer stays tender while developing that signature chocolate intensity.
The recipe combines three key elements: a rich chocolate cake batter, a homemade chocolate fudge filling, and a smooth Hershey's-style frosting. Professional results come from using high-quality cocoa powder and melting chocolate for the filling—this creates those signature swirls that cut through the dense layers.
Every step has been tested to guarantee a cake that rises properly yet remains moist, with a crumb that's fine but not crumbly.
What you'll achieve is a showstopping dessert with three distinct layers: a velvety chocolate cake base, a thick fudge swirl in the center, and a glossy chocolate frosting that holds its shape. The frosting isn't too sweet, allowing the deep cocoa flavor to shine through in every bite.
This version stays true to the original while offering a foolproof method for home bakers to replicate professional-quality results.
Perfect for birthdays, anniversaries, or any occasion where you want to impress without resorting to boxed mixes. The recipe scales beautifully for larger gatherings, and leftovers keep well for up to three days when properly stored. Let's get started on creating this legendary dessert in your own kitchen.
Ingredients for hershey's best ever chocolate cake
Twelve ingredients, three layers, and the legendary Hershey's taste you crave—no shortcuts here.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsalted Butter 🧈 | 2 cups | Room temperature, European preferred |
| Granulated Sugar 🍚 | 2 ½ cups | Superfine if available, sifted |
| All-Purpose Flour 🌾 | 3 cups | Sifted, spooned not scooped |
| Unsweetened Cocoa Powder 🍫 | 1 cup | High-quality Dutch-processed |
| Baking Soda 🧂 | 1 ½ tsp | Freshly opened package |
| Salt 🧂 | 1 tsp | Diamond Crystal kosher |
| Vanilla Extract 🌿 | 2 tsp | Pure Madagascar bourbon |
| Large Eggs 🥚 | 4 whole | Room temperature, separated |
| Sour Cream 🥛 | 1 cup | Full-fat, room temperature |
| Hershey's Semi-Sweet Chocolate Bars 🍫 | 12 oz | Chopped, high-quality |
| Heavy Cream 🥛 | 1 ½ cups | Cold, 35% fat minimum |
| Powdered Sugar 🍚 | 4 cups | Sifted for smooth frosting |
| Instant Espresso Powder ☕ | 1 tsp | Enhances chocolate depth |
The cocoa powder is non-negotiable—Dutch-processed like Valrhona or Hershey's Special Dark makes all the difference. If you're using regular cocoa, add an extra teaspoon for depth. For the butter, European-style (like Plugrá) has more fat content, giving those layers extra richness. The sugar should be superfine if possible, but regular granulated works if you pulse it in a food processor. I always grab my chocolate bars from Hershey's official site or the baking aisle at Whole Foods—the ones in the candy section melt unevenly.
No Dutch-processed cocoa? Natural cocoa plus 1/4 tsp baking soda mimics the flavor. Running short on vanilla? Almond extract at half the amount works, but you'll taste the difference. The sour cream keeps the cake moist—full-fat is essential—and if you're out, Greek yogurt works in a pinch. For the chocolate bars, chop them into 1/2-inch pieces (no need to melt them first—they'll soften in the filling). The heavy cream for frosting should be cold from the fridge—whipping it too long makes butter, and that's a frosting disaster.
This cake stays fresh for 3 days at room temperature, covered tightly. For longer storage, wrap each layer in plastic wrap and refrigerate—it'll keep for 5 days. Freezing? Wrap the whole cake (unfrosted) for up to 3 months. The frosting can be made 2 days ahead and stored in the fridge—just re-whip it before assembly. Pro tip: Chill the cake layers 10 minutes before frosting to prevent melting. Leftovers? Slice and freeze portions for quick dessert fixes.
Why You'll Love This Recipe
- Foolproof Mixing: I swear by the creamy butter-sugar combo—just cream, then fold in dry ingredients. No weird techniques, no overmixing. The baking soda keeps it light, and honestly? Even if you eyeball measurements, it still turns out.
- Rich Without Bitterness: That Hershey’s cocoa powder isn’t just any cocoa—it’s smooth. The sugar balances the bitterness perfectly, and the butter? It makes every slice taste like a hug. No aftertaste, just pure chocolate joy.
- Birthday or Breakfast: Serve it with whipped cream for a party, or cut into squares for a grab-and-go breakfast. The texture holds up for days, so it’s my go-to for impromptu celebrations or sneaky weekday treats.
- Pantry Staples Only: Five ingredients, zero specialty items. You’re already using what’s in your cupboard—no pricey add-ins, no last-minute store runs. And leftovers? They’re just as good cold as warm, so it’s my budget-friendly dessert hero.
Step-by-step instructions for Hershey's best ever chocolate cake
Here's the method that delivers triple-layered decadence with fudgy swirls—every slice will be moist, rich, and packed with Hershey's signature flavor.
Cream Butter and Sugars to Peak Volume
In a stand mixer fitted with the paddle attachment, beat the 2 cups unsalted butter and 2.5 cups granulated sugar on medium speed for 3-4 minutes. You're aiming for a pale, fluffy mixture that nearly doubles in volume—the butter should look like whipped cream. This thorough creaming incorporates air, which creates that light yet dense texture we want in each layer.
I like to scrape down the sides of the bowl with a silicone spatula every 30 seconds to ensure even mixing. The sugar should dissolve completely into the butter, leaving no grainy texture. This step is non-negotiable for achieving that perfect cake crumb—don't rush it. The butter should be completely smooth and light, with no streaks remaining.
Incorporate Eggs and Dry Ingredients for Perfect Texture
Add the 4 whole large eggs, one at a time, mixing on low speed for 30 seconds after each addition until fully incorporated. Then add the 2 teaspoons vanilla extract and mix for another 10 seconds. The mixture will look slightly curdled at first, but that's normal—the eggs will come together beautifully once we add the dry ingredients.
In a separate bowl, whisk together the 3 cups all-purpose flour, 1 cup unsweetened cocoa powder, 1.5 teaspoons baking soda, 1 teaspoon salt, and 1 teaspoon instant espresso powder. Sift the dry ingredients together to eliminate any lumps—this ensures even distribution throughout the batter. With the mixer on low speed, gradually add the dry ingredients to the wet mixture, mixing just until combined. You should still see some flour streaks, but the batter should be smooth. Overmixing develops gluten, which can make the cake tough.
Fold in Sour Cream and Chocolate for Ultimate Moisture
Remove the bowl from the mixer and gently fold in the 1 cup sour cream and 12 ounces chopped Hershey's semi-sweet chocolate bars using a silicone spatula. The chocolate should be melted and evenly distributed throughout the batter. If you're using cold chocolate, melt it first in a double boiler or 30-second bursts in the microwave, stirring between each interval to prevent burning.
Here's the thing—this is where the magic happens. The sour cream adds incredible moisture and tenderness, while the melted chocolate creates those signature fudgy swirls. The batter should be thick but still pourable. If it's too thick, you can add 1-2 tablespoons of heavy cream to loosen it slightly. The batter should be smooth with no visible streaks of chocolate—this ensures even distribution when we bake.
Bake Three Perfect Layers with Even Heat
Preheat your oven to 350°F and grease three 8-inch round cake pans with nonstick spray or softened butter, then dust with flour. Divide the batter evenly among the prepared pans. Tap each pan gently on the counter to remove any air bubbles. Bake for 25-30 minutes or until a toothpick inserted into the center comes out clean.
Here's my pro tip: Rotate the pans halfway through baking for even heat distribution. The edges should be set while the centers still look slightly underdone—that's how you know they're ready. Let the cakes cool in their pans for 10 minutes before transferring to a wire rack to cool completely. This gradual cooling prevents cracking and helps the layers set properly for slicing.
Prepare the Ultimate Chocolate Buttercream
In a stand mixer fitted with the whisk attachment, beat the 1.5 cups heavy cream until soft peaks form. In a separate bowl, beat the 2 cups unsalted butter until smooth and creamy. Gradually add the 4 cups powdered sugar and mix on medium speed until fully incorporated. Add the 2 teaspoons vanilla extract and 1 teaspoon instant espresso powder, then mix until smooth.
With the mixer running on low speed, carefully fold in the whipped cream until fully combined. This creates an ultra-light buttercream that won't be too sweet or too rich. The frosting should be thick enough to hold its shape but still spreadable. Taste and adjust sweetness if needed—you can add more powdered sugar or a splash of milk to achieve the perfect consistency.
Assemble the Triple-Layered Cake with Fudgy Swirls
Place the first cake layer on a cake stand or plate. Spread a thin layer of frosting over the top, then add a generous amount of the remaining batter—this creates those signature fudgy swirls. Repeat with the second and third layers. Frost the entire cake with the remaining buttercream, creating a smooth finish. For extra decadence, pipe swirls of frosting around the edges or on top.
Chill the cake in the refrigerator for at least 2 hours before slicing. This allows the layers to set properly and makes for cleaner slices. When you're ready to serve, slice into 12 perfect portions—each one will be moist, rich, and packed with that unmistakable Hershey's chocolate flavor. The contrast of the fudgy swirls against the tender cake layers makes this the ultimate chocolate cake experience.
Pro Tips For Making Hershey'S Best Ever Chocolate Cake
- Sift That Cocoa: The Hershey’s recipe calls for cocoa powder, but I learned the hard way—clumps make dense cake. Sift it with the flour and baking soda first, then whisk. That extra air keeps the texture light, not brick-like. (Yes, even if you’re impatient like me.)
- Cream Butter Slowly: The butter and sugar need time to emulsify properly—don’t rush it. Beat on medium for 2-3 minutes until the mixture is palmably lighter, not just fluffy. Skipping this step means a cake that’s more cakey than moist.
- Don’t Overmix Dry Ingredients: Once you fold in the flour-cocoa mix, stop as soon as it’s just combined. Overmixing develops gluten, and suddenly you’ve got tough, chewy cake instead of tender layers. Think "marble streaks," not "homogeneous batter."
- Test for Doneness Early: The recipe’s baking time is a guideline, not gospel. Stick a toothpick in at 28-30 minutes—if it comes out with moist crumbs (not wet batter), it’s done. Oven hot spots vary, and Hershey’s cake dries out fast if left in too long. (I’ve ruined three by ignoring this.)
Common mistakes when making this dish
Overmixing the Batter
I’ve ruined more cakes than I care to admit by overmixing the batter after adding the dry ingredients. The moment you see no flour streaks remaining, stop mixing immediately—overworking develops gluten, which makes the cake tough and dense instead of tender.
Mix just until combined, about 20-30 seconds after the dry ingredients disappear. The batter should still look slightly lumpy but smooth. 🥄
Skipping the Cooling Step
Rushing to frost the cake layers too soon is a classic mistake. If you frost warm or room-temperature layers, the buttercream will melt and slide right off, creating a messy disaster.
Let each layer cool completely on a wire rack before assembling. I always chill the cake for 2 hours in the fridge to ensure clean slices and a stable structure.
Incorrect Oven Temperature
Your oven might read 350°F, but it could actually be 375°F or higher—this is a common issue with older ovens. To avoid dry, overbaked layers, invest in an oven thermometer (I use the Thermoworks Oven Thermometer) and adjust accordingly.
If your oven runs hot, reduce the temperature to 325°F for this recipe.
Uneven Batter Distribution
Dividing the batter unevenly among your three pans leads to one layer being too dense and others too light. Use a kitchen scale for precision—each 8-inch pan should receive exactly 1/3 of the total batter weight.
I weigh my pans after greasing to ensure they’re identical before dividing. Tap each pan gently on the counter to remove air bubbles before baking.
Melted Chocolate in Batter
Adding melted chocolate directly to the batter can make it too thin and cause the layers to sink. Instead, chop the Hershey's semi-sweet bars into ½-inch pieces and fold them in cold—they’ll melt slightly during baking, creating those signature fudgy swirls without compromising the cake’s structure.
If your batter looks too thick, add just 1-2 tablespoons of heavy cream to loosen it.
Underestimating the Filling
The fudge filling is what makes this cake legendary, but many home bakers skip it entirely or use too little. Spread a generous ½-inch layer of the remaining batter between each cake layer—this ensures visible swirls in every slice.
If you’re short on batter, melt 4 ounces of extra chocolate and spread that instead. The filling should be thick enough to hold its shape but still spreadable with a spatula. 🍫
Nutrition facts
Frequently asked questions
Can I make this cake in a single layer instead of three?
The recipe is designed for three layers to achieve that signature texture and height, but you can easily adapt it! Use one 9x13-inch pan for a sheet cake or a single 10-inch round pan for a taller version. Just reduce baking time by 5-7 minutes and check for doneness with a toothpick. The filling can be spread in swirls on top before frosting for the same decadent effect.
How do I store leftovers to keep them fresh?
Wrap each slice tightly in plastic wrap and store at room temperature for up to 3 days. For longer storage, freeze individual portions on a tray first, then transfer to a sealed bag for up to 3 months. Thaw overnight in the fridge—microwaving can make the frosting melt. The cake actually tastes better the next day as flavors meld!
What can I substitute if I don't have sour cream?
Use 1 cup Greek yogurt (full-fat works best) or ½ cup buttermilk plus ½ cup milk as substitutes. For extra richness, add 1 tablespoon melted butter to either option. The sour cream keeps the cake moist—don't skip it entirely unless necessary. The texture will be slightly different but still delicious.
Why did my cake sink in the middle?
This usually happens from overmixing, opening the oven too soon, or uneven baking. Make sure to bake at 350°F (use an oven thermometer to verify) and check doneness with a toothpick at 25 minutes. Rotate pans halfway through baking for even heat. Also, don't overfill the pans—batter should reach just below the rim.
Can I make this cake gluten-free?
Yes! Replace the all-purpose flour with a 1:1 gluten-free baking flour blend like Bob's Red Mill or King Arthur. Add ½ teaspoon xanthan gum if your blend doesn't contain it. You may need to reduce other liquids by 1-2 tablespoons since gluten-free flours absorb differently. Test the recipe first with one layer to adjust texture.
