Hershey's Devil's Food Cake Recipe: Molten Chocolate Center That Melts in One Bite

Desserts

Hershey's Devil's Food Cake Recipe: Molten Chocolate Center That Melts in One Bite

This Hershey’s Devil’s Food Cake recipe delivers the ultimate chocolate experience—rich, moist layers with a molten center that melts into decadent perfection. The secret lies in using Hershey’s cocoa powder, which creates that signature deep chocolate flavor and velvety texture that keeps the cake tender for days.

I’ve perfected this recipe over countless batches, ensuring every slice delivers that signature Hershey’s taste without being overly sweet.

The key to success is precise mixing and baking techniques—whisking the batter just until combined prevents overdevelopment, which keeps the cake light and airy. A 350°F oven and 35-40 minutes of baking time ensure the center stays gooey while the edges develop a perfect golden-brown crust.

This isn’t just another chocolate cake; it’s a restaurant-quality dessert that rivals bakery versions, with that unmistakable Hershey’s flavor at its core.

Once out of the oven, the cake’s warm, fudgy center contrasts beautifully with the slightly crisp exterior, creating a texture that’s impossible to resist. Serve it warm with a scoop of vanilla ice cream or a drizzle of chocolate ganache for the full indulgence.

The aroma alone will have everyone gathering around the table, and the first bite delivers that molten chocolate magic you’ve been craving.

This recipe is perfect for special occasions, holiday desserts, or when you simply need a chocolate fix. The versatility of Hershey’s cocoa means you can adjust sweetness to taste, making it foolproof for both beginners and experienced bakers.

Let’s get started on creating a cake that’ll have everyone asking for seconds.

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for hershey's devil's food cake

The secret to this legendary Hershey's Devil's Food Cake lies in these 13 ingredients—rich cocoa, velvety butter, and a molten chocolate surprise at its core.

Ingredient Amount Notes
Hershey's Special Dark Cocoa Powder 🍫 ¾ cup Unsweetened, for authentic Hershey's flavor
All-Purpose Flour 🌾 2 cups Sifted, for light texture
Granulated Sugar 🍚 2 cups White sugar, not brown
Light Brown Sugar 🍚 ½ cup Packed, for moisture
Unsalted Butter 🧈 1 cup Room temperature, full-fat
Large Eggs 🥚 2 whole Room temperature, separated
Whole Milk 🥛 ¾ cup Room temperature, full-fat
Vanilla Extract 🌿 2 tsp Pure, high-quality extract
Baking Soda 🧂 ½ tsp Pure, not baking powder
Salt 🧂 ½ tsp Fine sea salt, not iodized
Vegetable Oil 🫒 ¼ cup Light, neutral flavor
White Chocolate Chips 🍫 1 cup For molten center, optional
Hershey's Semi-Sweet Chocolate Bars 🍫 8 oz Chopped, for molten center

The Hershey's Special Dark Cocoa Powder is non-negotiable here—it’s what gives your cake that signature deep chocolate flavor. Grab the 12-ounce bag from any grocery store’s baking aisle (Walmart or Kroger always have it). The unsalted butter should be European-style if you can find it—it’s richer and melts more smoothly. For the white chocolate chips, I swear by Ghirardelli—they melt perfectly without graininess. The Hershey's semi-sweet chocolate bars? Use the classic milk chocolate ones, not the fun-size bars—they melt more evenly. Pro tip: Toast your cocoa powder in a dry pan for 2 minutes before mixing—it deepens the flavor (trust me, it’s a game-changer).

No Hershey's cocoa? Nestlé or Dutch-process cocoa will work, but the flavor won’t be identical—it’ll be more bitter. Running out of brown sugar? Substitute white sugar at the same amount, but your cake might dry out faster. The vegetable oil keeps the cake tender, but if you’re avoiding it, melted coconut oil works too (though it has a slight coconut aftertaste). Short on white chocolate chips? Melted white chocolate poured into the center does the trick. The eggs can be separated if you’re making a soufflé-style version, but for this recipe, whole eggs keep it rich and moist. And if you’re feeling fancy, add 1 tsp instant espresso powder to enhance the chocolate flavor—it’s a secret weapon.

This cake is best served warm, straight from the oven, with that molten center still gooey. Store leftovers in an airtight container at room temperature for 3 days—it stays moist surprisingly well. For longer storage, wrap tightly in plastic wrap and refrigerate for up to 1 week. The molten center freezes beautifully too—just reheat slices in the microwave for 10-15 seconds to bring back that warm, fudgy magic. I always make a double batch because this cake disappears faster than you can say ‘second slice.’

❤️

Why You'll Love This Recipe

  • No-Fuss Mixing: I swear, this cake comes together faster than my coffee order at the drive-thru. Just cream butter and sugars, toss in eggs and vanilla, then fold in the dry ingredients—no sifting, no stress. The Hershey’s cocoa does all the heavy lifting.
  • Rich Chocolate Magic: That first bite? Chef’s kiss. The dark cocoa powder gives it a deep, bittersweet punch that’s not too heavy, while the brown sugar keeps it moist and fudgy. Honestly, the butter makes everything better—it’s like a hug for your taste buds.
  • Double-Duty Cake: Slice it warm for dessert or pack it chilled for lunch—this cake handles both. I’ve even turned leftover pieces into mug cakes by microwaving with milk. (Yes, even on a Tuesday night.)
  • Budget-Friendly Luxury: You’d pay $12 for a slice at a bakery, but this costs pennies to make. The Hershey’s cocoa and butter deliver restaurant-quality richness without the markup. Plus, it keeps for days, so you’re not scrambling for last-minute treats.

Step-by-step instructions for Hershey's devil's food cake

Here's how to create a showstopping cake with a molten chocolate center that delivers pure decadence in every bite.

1

Prepare the Cake Batter with Precision

Preheat your oven to 350°F and grease two 9-inch round cake pans with vegetable oil, then line the bottoms with parchment paper. In a large mixing bowl, combine the 2 cups all-purpose flour, 0.75 cup Hershey's Special Dark Cocoa Powder, 0.5 tsp baking soda, and 0.5 tsp salt. Whisk vigorously to eliminate any lumps—this ensures a perfectly smooth batter.

In a separate bowl, cream together the 1 cup unsalted butter and 2 cups granulated sugar on medium-high speed until light and fluffy, about 3-4 minutes. This step is crucial—it incorporates air that will make your cake tender and moist. Add the 2 whole large eggs, 1 at a time, mixing well after each addition. Then stir in the 2 teaspoons vanilla extract and 0.5 cup light brown sugar until fully combined.

Gradually add the dry ingredients to the wet mixture, alternating with the 0.75 cup whole milk, beginning and ending with the flour mixture. Mix on low speed just until combined—overmixing develops gluten and makes the cake dense. Finally, incorporate the 0.25 cup vegetable oil until the batter is completely smooth and glossy.

2

Create the Molten Chocolate Center

In a microwave-safe bowl, melt the 8 ounces chopped Hershey's Semi-Sweet Chocolate Bars in 30-second intervals, stirring between each, until completely smooth. The chocolate should reach a temperature of 115°F—this ensures it melts perfectly in the center without becoming grainy. Stir in the 1 cup white chocolate chips until fully incorporated, creating a luxurious, gooey filling.

Real talk: Don't skip the melting step. If you use unmelted chocolate, it won't create that signature molten center. The combination of dark and white chocolate creates a perfect balance of rich bitterness and creamy sweetness that's irresistible.

3

Assemble and Bake the Layers

Divide the cake batter evenly between the two prepared pans. Pour half of the molten chocolate mixture into the center of one pan, then top with the remaining batter. Repeat with the second pan, creating a perfect chocolate layer between the two cake layers. Tap each pan firmly on the counter to release any air bubbles and ensure even baking.

Bake for 30-35 minutes, or until a toothpick inserted into the center comes out clean. The edges should be set but the center should still have a slight wobble—this guarantees a moist texture. Rotate the pans halfway through baking for even browning. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.

4

Layer and Chill for Maximum Decadence

Once completely cooled, level the tops of the cakes if needed. Place one cake layer on a serving plate and spread a thin layer of the remaining molten chocolate mixture over the top. This creates that signature Hershey's flavor in every bite. Top with the second cake layer and gently press down.

For the final touch, spread the remaining molten chocolate over the entire top and sides of the cake. Chill in the refrigerator for at least 2 hours before serving—this allows the chocolate to set properly and creates that perfect sliceable texture. The longer it chills, the more pronounced the molten center will be when you cut into it.

5

Serve with Confidence

Slice the cake with a sharp, hot knife for clean cuts that reveal that glorious molten center. The contrast of the rich, moist cake with the warm, gooey chocolate is what makes this recipe legendary. Serve at room temperature for the best experience—this is when the flavors truly shine.

Here's the thing—this cake tastes even better the next day as the flavors meld together. Store leftovers in an airtight container in the refrigerator, but bring to room temperature before serving. Each slice should deliver that perfect balance of dense, fudgy cake with a molten chocolate surprise that melts instantly.

👨‍🍳

Pro Tips For Making Hershey'S Devil'S Food Cake

  • Sift That Cocoa: DESCRIPTION: Don’t just dump the Hershey’s Special Dark Cocoa Powder into the dry ingredients—sift it first. The powder’s density can create pockets in the batter, leading to uneven texture. I learned this the hard way when my first batch had dense, cakey spots instead of that signature velvety crumb. Sift it with the flour, and you’ll get that light, airy consistency every time.
  • Cream Butter Slowly: DESCRIPTION: The butter needs to be just soft—not melted, not cold—when you start creaming it with the sugars. If it’s too warm, you’ll end up with a dense, gummy cake. If it’s too hard, the mixture won’t emulsify properly. Let it sit at room temp for 30-45 minutes, then press your finger into it: if it leaves a slight indent, you’re golden. (Yes, even if you’re impatient like me.)
  • Skip the Overmixing: DESCRIPTION: Once you add the eggs, mix just until combined—no more. Overmixing develops the gluten in the flour, turning your rich devil’s food into a tough, chewy mess. Fold in the dry ingredients in two additions, and stop as soon as they’re incorporated. The batter will look slightly streaky, but that’s how you know it’s right.
  • Rotate the Pan: DESCRIPTION: Devil’s food cake rises unevenly, especially in the center. After 20 minutes in the oven, rotate the pan 180 degrees for even baking. I was skeptical until I tried it—my cake used to have a sunken middle or overbrowned edges. Now, it comes out perfectly domed and set. (Pro move: Tap the pan gently on the counter before rotating to settle the batter.)

Perfect pairings for these flavors

Ice Cream Pairings

Nothing beats this cake with a scoop of vanilla bean ice cream—the creamy sweetness contrasts perfectly with the rich chocolate. I recommend Breyers Natural Vanilla for its smooth texture and subtle vanilla flavor.

For a twist, try coffee-flavored ice cream like Breyers Coffee to enhance the chocolate notes. Serve the cake slightly warm to create a delicious ice cream "sundae" effect. 🍦

Chocolate Ganache Drizzle

A dark chocolate ganache drizzle elevates this cake to restaurant-quality decadence. Melt 8 ounces Hershey's Semi-Sweet Chocolate Bars with ½ cup heavy cream, then let it cool slightly before pouring over the chilled cake.

The contrast of warm ganache with cool cake is pure magic. For extra flair, sprinkle crushed peppermint candies on top. 🍫

Whipped Cream Topping

Lightly sweetened whipped cream adds a cloud-like texture that balances the dense cake. I like to fold in 1 teaspoon vanilla extract and 1 tablespoon powdered sugar for extra flavor.

Pipe it artistically over the top or serve it on the side for dipping. The creaminess cuts through the richness beautifully. ✨

Fruit Complements

Bright, acidic fruits like strawberries or raspberries provide a refreshing contrast to the chocolate. Arrange fresh berries on the plate or drizzle with raspberry coulis for a sophisticated touch. The natural sweetness enhances the cake's deep chocolate flavor without overpowering it. 🍓

Boozy Elevations

For adults, a splash of Kahlúa coffee liqueur in the molten chocolate center adds depth. Stir 1 tablespoon Kahlúa into the melted chocolate before assembling the cake layers. Alternatively, serve with a chocolate martini on the side—it’s a showstopper for special occasions. 🍸

Caramel Sauce Swirl

Warm salted caramel sauce drizzled over the cake adds a luxurious touch. I use Storebrand Salted Caramel Sauce for its perfect balance of sweet and salty. The sauce pools beautifully on the plate, creating an elegant presentation. A pinch of flaky sea salt on top enhances the flavor profile. 💛

Nutrition facts

Servings 8
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 38g49%
Saturated Fat 24g120%
Cholesterol 110mg37%
Sodium 380mg17%
Total Carbohydrate 62g23%
Dietary Fiber 3g11%
Sugars 52g
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 cake without Hershey's cocoa powder?

You can substitute with Nestlé or Dutch-process cocoa powder, but the flavor won't be identical. Hershey's Special Dark Cocoa delivers that signature rich, slightly sweet chocolate taste. For best results, use 3 tablespoons of Dutch-process cocoa plus 1 tablespoon granulated sugar to mimic the flavor profile. The texture may be slightly denser without the exact cocoa blend.

2

How do I get the perfect molten center every time?

The secret lies in precise baking time and temperature. Bake at 350°F for 30-35 minutes until a toothpick comes out clean but the center still has a slight wobble. Avoid overbaking—this is what creates that gooey surprise. Also, ensure your chocolate mixture reaches 115°F when melted, and don't skip the chilling step before serving.

3

Can I bake this cake in a different pan size?

Yes, but you'll need to adjust the baking time. For an 8-inch pan, bake 25-30 minutes—the smaller surface area means faster cooking. For a 10-inch pan, bake 35-40 minutes. Always check with a toothpick and adjust in 2-3 minute increments to avoid overbaking.

4

Why did my cake turn out dense instead of moist?

Overmixing the batter or overbaking are the most common culprits. Mix just until combined to avoid developing gluten, and bake until a toothpick comes out clean but with a slight wobble. Also, ensure all ingredients (especially butter and eggs) are at room temperature—this helps create a light, airy texture.

5

How far ahead can I make this cake?

This cake actually improves overnight! Bake it a day ahead, cool completely, then wrap tightly in plastic wrap and refrigerate. Bring to room temperature before serving for the best texture. The flavors meld beautifully, and the molten center becomes even more pronounced after chilling.

★★★★★4.5(15 reviews)
Categories Desserts