Go Back
+ servings

Chocolate Cake Recipe

close up shot of a slice of chocolate cake recipe on a plate
A classic and irresistible dessert, this heavenly frosted chocolate cake recipe is a chocolate lover’s dream.
Prep Time 20 mins
Cook Time 35 mins
Cool Time 1 hr
Total Time 1 hr 55 mins
Course Dessert
Cuisine American
Servings 12
Calories 598 kcal



  • cups all-purpose flour
  • ¾ cup unsweetened cocoa powder
  • 2 cups granulated sugar
  • teaspoons baking soda
  • teaspoons baking powder
  • 1 teaspoon salt
  • 1 cup milk
  • 2 large eggs room temperature
  • 1 cup boiling water or hot coffee
  • teaspoon vanilla extract
  • ½ cup canola oil


  • ¾ cup salted butter softened
  • 1 teaspoon vanilla extract
  • cup unsweetened cocoa powder
  • 3 cups powdered sugar
  • ¾ cup heavy cream


  • Preheat the oven to 350°F. Spray a 9x13 baking pan with nonstick cooking spray and set aside.
  • Whisk together the flour, cocoa powder, sugar, baking soda, baking powder and salt in the bowl of a stand mixer.
  • Add the milk, eggs, vanilla, and oil into the bowl with the dry ingredients.
  • Beat together with a hand mixer or whisk. Gradually add in the boiling water while mixing to help break apart the batter.
  • Pour the batter into the prepared baking pan.
  • Bake for 35 minutes or until a toothpick inserted into the cakes comes out with just a few crumbs.
  • Cool cake completely.
  • Meanwhile, prepare the frosting.
  • In the bowl of a standing mixer or with a hand mixer, slowly begin to beat together the softened butter, vanilla, and cocoa powder.
  • Rotate between adding the powdered sugar and heavy cream until both are fully incorporated, and the frosting is fluffy and smooth.
  • Spread the frosting over the cooled cake.
  • Cut and serve.


Pro Tip: This exceptional chocolate cake is an original Hershey’s cake recipe. It is similar to the Black Magic Cake. Milk is used instead of traditional buttermilk in the Black Magic Cake, making a bit lighter, fluffier cake. 
Pro Tip: The boiling water is a traditional technique used to help break apart the dry ingredients in the cake batter.
Pro Tip: The frosting is a bit thicker and richer than the traditional Hershey’s chocolate frosting recipe. It’s a delicious chocolate buttercream frosting.


Calories: 598kcalCarbohydrates: 85gProtein: 6gFat: 29gSaturated Fat: 13gPolyunsaturated Fat: 4gMonounsaturated Fat: 11gTrans Fat: 1gCholesterol: 84mgSodium: 463mgPotassium: 280mgFiber: 4gSugar: 64gVitamin A: 651IUVitamin C: 1mgCalcium: 80mgIron: 2mg