Desserts
This Hershey's perfectly chocolate cake recipe delivers fudgy layers and a moisture lock that keeps every slice irresistibly tender. The secret lies in combining Hershey's cocoa powder with melted chocolate bars for depth, while a simple technique ensures no dry crumbs—just rich, velvety texture.
I've perfected this recipe through years of baking, and it never fails to impress, even with picky eaters.
What sets this cake apart is the moisture lock—a combination of buttermilk and sour cream that keeps the layers tender for days. The recipe uses Hershey's Special Dark Chocolate for that signature Hershey's flavor, while a touch of coffee enhances the chocolate notes without overpowering.
Baking at 350°F for 30-35 minutes ensures perfectly set layers without drying out.
By the time you pull it from the oven, you'll have a cake with fudgy crumb and a glossy sheen that signals perfection. The frosting—a simple cream cheese glaze—adds a tangy contrast that makes every bite even better.
This is the kind of dessert that disappears quickly, so be prepared for second helpings.
Whether you're baking for a celebration or just craving chocolate, this recipe delivers restaurant-quality results with minimal effort. The steps are straightforward, and the ingredients are simple—just don't skip the moisture lock. Let's get started!
Ingredients for hershey's perfectly chocolate cake
Fifteen essential ingredients transform into restaurant-quality chocolate cake with velvety layers.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Special Dark Cocoa Powder 🍫 | ¾ cup | Unsweetened, for rich chocolate depth |
| Hershey's Special Dark Chocolate Bars 🍫 | 8 oz | Melted for fudgy texture |
| All-Purpose Flour 🌾 | 2 cups | Sifted for lightness |
| Granulated White Sugar 🍚 | 2 cups | Standard grocery store grade |
| Buttermilk 🥛 | 1 cup | Essential for moisture lock |
| Sour Cream 🥛 | ½ cup | Full-fat for richness |
| Unsalted Butter 🧈 | 1 cup | Room temperature, creamed |
| Large Eggs 🥚 | 2 whole | Room temperature, separated |
| Instant Espresso Powder ☕ | 1 tbsp | Enhances chocolate flavor |
| Vanilla Extract 🌿 | 2 tsp | Pure Madagascar preferred |
| Baking Soda 🧂 | ½ tsp | Pure, for lift |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Vegetable Oil 🫒 | ½ cup | For tender crumb |
| Cream Cheese 🧀 | 8 oz | Full-fat, for glaze |
| Powdered Sugar 🍚 | 2 cups | Sifted for smooth glaze |
The chocolate foundation requires Hershey's Special Dark products exclusively—both the cocoa powder and chocolate bars. Grocery store brands lack the depth, so prioritize these at Walmart or Target where they're consistently stocked. For the coffee enhancement, Starbucks instant espresso works perfectly if you prefer convenience over powder. The buttermilk and sour cream must be full-fat to achieve that signature moisture lock; low-fat versions compromise texture. Costco often carries bulk sour cream at a better price point than single-serving containers. Pre-sift your flour and cocoa powder to eliminate any potential lumps that could disrupt the delicate crumb structure.
No Hershey's Special Dark? Ghirardelli 60% dark cocoa is the closest substitute, though the flavor profile differs slightly. Dutch-process cocoa can replace regular cocoa at a 1:1 ratio, but expect a more mellow chocolate taste. Out of buttermilk? Mix 1 cup milk with 1 tbsp vinegar or lemon juice and let it sit for 5 minutes. For the glaze, Neufchâtel cream cheese adds a subtle tang if you have it, though regular full-fat works fine. The vegetable oil is non-negotiable for moisture—do not substitute butter as it would alter the cake's texture. Melted chocolate bars should be cooled slightly before mixing to prevent scrambling the eggs.
Store cake layers wrapped tightly in plastic at room temperature for up to 3 days to maintain moisture. The glaze keeps for 5 days in the fridge once applied, though it's best used immediately for optimal texture. Freeze layers for up to 3 months—thaw at room temperature before frosting. The glaze can be made 2 days ahead and stored in the fridge; simply whisk with a splash of milk before use. Portion cake into single servings before freezing for effortless serving later. For best results, serve at room temperature to appreciate the full depth of the chocolate flavor.
Why You'll Love This Recipe
- Here’s what sold me: that Hershey’s Special Dark cocoa and chopped chocolate bars deliver real chocolate flavor, not the dusty aftertaste you sometimes get. The sugar balances the bitterness just enough to make every slice dangerously addictive—my husband’s second piece was gone before dessert even hit the table.
- I’ll be real: this recipe costs me about $5 for ingredients I already had. No fancy extracts or specialty flours—just cocoa, chocolate, sugar, and buttermilk. That means fewer grocery trips and more cake for the same money. Plus, the leftovers? They’re still amazing reheated with a sprinkle of powdered sugar.
Step-by-step instructions for Hershey's perfectly chocolate cake
Here's the method for achieving fudgy layers and a moisture lock that keeps this cake perfect for days.
Prepare the Chocolate Components
In a microwave-safe bowl, melt the 8 oz Hershey's Special Dark Chocolate Bars in 30-second intervals, stirring between each, until completely smooth. Let it cool slightly, then whisk in the 0.75 cup Hershey's Special Dark Cocoa Powder until fully combined. The mixture should have a thick, velvety consistency—this ensures even distribution of chocolate flavor throughout the batter.
In a separate small bowl, whisk together the 1 cup Buttermilk and 0.5 cup Sour Cream. This combination creates the moisture lock that prevents dryness. Set both mixtures aside at room temperature—they'll be used in the next step. The buttermilk-sour cream blend should remain smooth with no visible separation.
Cream Butter and Sweeteners
In a stand mixer fitted with the paddle attachment, beat the 1 cup Unsalted Butter on medium speed until completely smooth and free of lumps. Gradually add the 2 cups Granulated White Sugar, mixing continuously until the mixture lightens in color and becomes thick and fluffy—this should take about 3-4 minutes. The butter-sugar mixture should nearly triple in volume and leave a trail when the paddle is lifted.
Add the 2 whole Large Eggs, one at a time, mixing well after each addition. Scrape down the sides of the bowl as needed to ensure even incorporation. The mixture will appear slightly curdled at first, but continue mixing until fully combined. This step creates the airy foundation that prevents dense cake layers.
Combine Wet and Dry Ingredients
In a medium bowl, sift together the 2 cups All-Purpose Flour, 0.5 tsp Baking Soda, 0.5 tsp Salt, and 1 tbsp Instant Espresso Powder. Whisk to aerate the dry ingredients—this prevents dense layers and ensures even distribution of leavening agents. Gradually add this mixture to the wet ingredients in three additions, mixing on low speed after each to avoid developing gluten.
With the mixer running on low, alternately add the melted chocolate mixture and the buttermilk-sour cream blend, beginning and ending with the chocolate. Mix just until combined—overmixing develops gluten and creates tough cake. The final batter should be thick but pourable, with a deep chocolate aroma that fills your kitchen.
Bake to Perfect Doneness
Divide the batter evenly between two 9-inch round cake pans lined with parchment paper. Smooth the tops with an offset spatula. Bake in a preheated 350°F oven for 30-35 minutes, or until a toothpick inserted into the center emerges with a few moist crumbs but no wet batter. Rotate the pans halfway through baking for even heat distribution.
Here's the thing—don't open the oven during baking. The sudden temperature change causes the cakes to sink. Instead, rely on the visual cues: the edges should pull away slightly from the pan, and the tops should be set with a slight crack in the center. Let the cakes cool in their pans for 10 minutes before transferring to a wire rack to cool completely.
Assemble with Cream Cheese Glaze
While the cakes cool, prepare the glaze by beating the 8 oz Cream Cheese and 2 cups Powdered Sugar together until smooth and fluffy. Add the 2 tsp Vanilla Extract and mix until fully incorporated. The glaze should be thick enough to hold peaks when spread—this ensures it doesn't pool at the bottom of the cake.
Level the cooled cake layers if needed, then place one layer on a serving plate. Spread half the glaze evenly over the top, then add the second layer. Frost the entire cake with the remaining glaze, using a spatula to create a smooth finish. For extra decadence, dust the top with additional cocoa powder. The finished cake should have moist, fudgy layers that hold together beautifully and resist drying out.
Pro Tips For Making Hershey'S Perfectly Chocolate Cake
- Melt Chocolate Slowly: Chop the Hershey’s dark bars into tiny pieces first—this melts faster and more evenly. I learned this the hard way when I dumped whole bars into the microwave and ended up with a greasy, uneven mess. Use the double-boiler method if you’re nervous about burning it.
- Sift That Cocoa: Don’t just dump the Hershey’s Special Dark cocoa powder into the dry ingredients—sift it first. It’s dense and clumpy, and skipping this step means uneven texture. A quick sift also prevents lumps when you add the buttermilk later.
- Measure Buttermilk Right: The recipe likely calls for buttermilk, but if yours is too thick, thin it with a splash of milk or water. Thick buttermilk makes the cake dense, and you’ll end up with a brick instead of a moist, tender crumb. Stir it well before measuring.
- Test Doneness Early: This cake’s dark color tricks you—it’s done when the edges pull away from the pan and a toothpick comes out with moist crumbs, not wet batter. I’ve overbaked too many, and the result is dry. Start checking at 30 minutes, even if the recipe says 40.
Wine and beer pairings for these flavors
Rich Red Wine
A bold Cabernet Sauvignon from Napa Valley complements the deep chocolate notes beautifully. I recommend a 2018 Robert Mondavi Reserve—its dark fruit flavors and velvety tannins mirror the cake's richness without overpowering.
The wine's acidity cuts through the sweetness, creating a perfect balance. Serve slightly chilled to enhance the chocolate's depth and prevent bitterness. 🍷
Port Wine Finish
For a dessert-focused pairing, a Ruby Port like Graham's Six Grapes elevates the experience. The wine's caramel and berry undertones harmonize with the cake's cocoa and cream cheese glaze.
Sip it after each bite to cleanse your palate and highlight the chocolate's complexity. Port's natural sweetness also makes it a natural match for the cake's indulgent profile.
Creamy Beer Options
A Belgian-style witbier like Hoegaarden adds a refreshing contrast to the dense cake. The citrusy notes and effervescence cut through the richness, while the spiced coriander complements the cake's cocoa depth.
For a heavier option, try a Belgian Dubbel like Westmalle Oude—its malty sweetness and caramel undertones pair wonderfully with the chocolate. 🍺
Espresso Pairing
If you prefer coffee, a strong Italian espresso enhances the cake's chocolate and coffee flavor profile. Brew a double shot with a Moka pot or espresso machine for maximum intensity.
The bitterness of the coffee balances the cake's sweetness, creating a sophisticated flavor combination. Serve with a splash of heavy cream for an extra touch of decadence.
Chocolate Liqueur
For a boozy twist, serve Godiva Chocolate Liqueur on the side. The 60% cocoa content in the liqueur amplifies the cake's chocolate notes while adding a smooth, velvety texture. Sip it neat or use it to drizzle over the cake for an elegant presentation.
This pairing is perfect for special occasions when you want to indulge in both dessert and libation. 💫
Nutrition facts
Frequently asked questions
Why does this cake stay moist for days?
The secret lies in the moisture lock combo of buttermilk and sour cream, which keeps the layers tender. The melted chocolate bars also add fat that prevents dryness, while the espresso powder enhances moisture retention. Even after 3 days at room temperature, the texture stays perfect!
Can I make this cake in a single 9-inch pan?
Yes, but reduce baking time to 25-30 minutes and check for doneness early. The cake will be thicker and denser, but still delicious. For best results, use a 9x13-inch pan instead—it gives you a sheet cake with the same rich texture.
What's the difference between Hershey's Special Dark and regular cocoa?
Hershey's Special Dark has a higher cocoa content (50%) and deeper flavor than standard cocoa (30%). The melted chocolate bars add extra richness, while regular cocoa would make the cake taste milder. For a substitute, use Ghirardelli 60% dark cocoa at the same ratio.
How do I fix dry cake layers?
If your cake turns out dry, the issue is usually overbaking or wrong ingredients. Always use full-fat sour cream and buttermilk—never substitutes. For a quick fix, brush warm layers with simple syrup (equal parts sugar and water) before frosting.
Can I make this cake gluten-free?
Yes, but replace the 2 cups all-purpose flour with a 1:1 gluten-free baking blend (like Bob's Red Mill). Add 1 tsp xanthan gum to improve structure. The texture will be slightly denser, but still rich and moist. Always check your blend's instructions first.