Zimt

Hershey's Cocoa Box Chocolate Cake Recipe

· 5 min read · Cakes

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

This is the classic chocolate cake recipe that has been printed on Hershey's cocoa boxes for decades. It’s a one-bowl wonder that produces a moist, deeply chocolatey layer cake with a tender crumb, and it works because it relies on boiling water to bloom the cocoa and activate the baking soda, which gives the cake its lift and rich flavor. Whether you’re a beginner or a seasoned baker, this recipe is foolproof and delivers a perfect cake every time.

Ingredients

  • 2 cups (400g) granulated sugar
  • 1¾ cups (220g) all-purpose flour
  • ¾ cup (65g) unsweetened cocoa powder (Hershey's or any brand)
  • 1½ teaspoons baking powder
  • 1½ teaspoons baking soda
  • 1 teaspoon salt
  • 2 large eggs, at room temperature
  • 1 cup (240ml) whole milk, at room temperature
  • ½ cup (120ml) vegetable oil
  • 2 teaspoons vanilla extract
  • 1 cup (240ml) boiling water

Instructions

  1. Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
  2. In a large mixing bowl, whisk together the sugar, flour, cocoa powder, baking powder, baking soda, and salt until well combined.
  3. Add the eggs, milk, oil, and vanilla extract to the dry ingredients. Beat with an electric mixer on medium speed for 2 minutes, or until the batter is smooth and well combined. The batter will be thin—that's normal.
  4. Carefully stir in the boiling water by hand with a spatula or whisk. The batter will become very thin and glossy. Do not overmix; just stir until the water is fully incorporated.
  5. Pour the batter evenly into the prepared pans. Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs (not wet batter). The cakes should pull away slightly from the sides of the pans.
  6. Let the cakes cool in the pans on a wire rack for 10 minutes. Then run a knife around the edges, invert the cakes onto the rack, and let them cool completely before frosting.

Tips

  • Use boiling water—don't skip it. The hot water helps bloom the cocoa and dissolve the sugar, which gives the cake its deep flavor and moist texture. If you use cold water, the cake will be denser and less flavorful.
  • Room-temperature ingredients matter. Cold eggs and milk can curdle the batter or make the cake tough. Set them out 30 minutes before starting.
  • Don't overbake. Start checking at 30 minutes. Overbaking dries out the cake. The toothpick should come out with a few moist crumbs, not completely clean.
  • Substitution for milk: You can use buttermilk instead of whole milk for a slightly tangier, even more tender crumb. If using buttermilk, reduce the baking soda to 1 teaspoon and add ½ teaspoon of baking powder.

Serving Suggestions

This cake is perfect frosted with your favorite chocolate or vanilla buttercream. For a classic Hershey's-style presentation, use the “Perfectly Chocolate” chocolate frosting (often printed on the cocoa box) and top with chocolate shavings or sprinkles. Serve with a scoop of vanilla ice cream or a glass of cold milk. It also makes a great base for a layer cake with fresh berries and whipped cream.

Variations

  • Chocolate Cupcakes: Bake the same batter in lined muffin tins at 350°F for 20-25 minutes. Yields about 24 cupcakes.
  • Black Forest Cake: Brush the cooled layers with cherry syrup, fill with whipped cream and cherries, and top with chocolate shavings.
  • Mocha Cake: Replace the boiling water with hot strong coffee for a deeper, mocha flavor.
  • Gluten-Free: Substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. Add an extra ¼ teaspoon of xanthan gum if your blend doesn't include it.

Storage and Reheating

Store unfrosted cake layers wrapped in plastic wrap at room temperature for up to 3 days. Once frosted, keep the cake in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to a week (bring to room temperature before serving). You can also freeze unfrosted layers for up to 3 months—wrap tightly in plastic wrap and then foil. Thaw overnight in the refrigerator before frosting. To reheat a slice, microwave for 10-15 seconds until just warm.

Frequently Asked Questions

Can I use Dutch-processed cocoa instead of natural cocoa?

This recipe is specifically formulated for natural unsweetened cocoa powder (like Hershey's). Dutch-processed cocoa is alkalized and won't react with the baking soda the same way, so the cake may not rise properly. If you only have Dutch-processed, use 1½ teaspoons of baking powder and omit the baking soda, and replace the boiling water with hot coffee or water.

Why is the batter so thin?

The thin batter is intentional. The boiling water creates a very liquid batter that bakes into a moist, tender cake. Don't be tempted to add more flour—it will make the cake dry and dense.

Can I make this cake without eggs?

Yes, you can substitute each egg with ¼ cup of unsweetened applesauce or a commercial egg replacer. The cake will be slightly denser but still delicious. Note that the texture may be more like a brownie.

How do I know when the cake is done?

Insert a toothpick into the center of the cake. If it comes out with a few moist crumbs, it's done. If it comes out wet, bake for another 3-5 minutes. The cake should also feel springy to the touch.

Can I use this recipe for a sheet cake?

Absolutely. Pour the batter into a greased 13x9-inch pan and bake at 350°F for 35-40 minutes. The same toothpick test applies.

Why did my cake sink in the middle?

This can happen if the oven door is opened too early (before 30 minutes), if the cake is underbaked, or if the baking soda is old. Make sure your baking soda is fresh (test by adding a little to vinegar—it should fizz) and avoid opening the oven during the first 30 minutes.