Go Back
a chocolate cake with slice out of it looking at interior crumb
Print

Dreamy Black Magic Cake

The very best chocolate cake with a moist, tender crumb, rich chocolate flavor, and perfect chocolate buttercream frosting. This recipe is based off Hershey's black magic cake, made with hot coffee and an extra egg.
Course cake
Cuisine American
Diet Low Salt
Keyword bittersweet chocolate, chocolate buttercream, coffee
Prep Time 50 minutes
Cook Time 40 minutes
Cooling Time 30 minutes
Servings 10 servings

Equipment

  • Two 8 by 2 inch [20 by 5 cm] round cake pans

Ingredients

  • 1/2 cup [120 g] sour cream, at room temperature
  • 1/2 cup [120 g] buttermilk, at room temperature
  • 1/2 cup [112 g] vegetable or canola oil
  • 3 large eggs, at room temperature
  • 1 teaspoon pure vanilla extract
  • 2 cups [284 g] all-purpose flour
  • 1 cup [200 g] granulated sugar
  • 1 cup [200 g] brown sugar
  • 3/4 cup [75 g] Dutch process cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon fine salt
  • 1 cup [240 g] strong, freshly brewed coffee, hot

Chocolate Buttercream

  • 8 oz [226 g] semisweet or bittersweet chocolate
  • 1 1/2 cups [3 sticks or 339 g] unsalted butter, at room temperature
  • Pinch salt
  • 3 tablespoons corn syrup
  • 2 teaspoons pure vanilla extract
  • 2 cups [240 g] confectioners' sugar

Instructions

  • Adjust an oven rack to the middle position and preheat the oven to 350F [180C]. Grease two 8 by 2 in [20 by 5 cm] cake pans and line the bottoms with parchment paper.
  • In a medium bowl or liquid measuring cup, combine the sour cream, buttermilk, oil, eggs, and vanilla.
  • In the bowl of a stand mixer fitted with the paddle, mix together the flour, granulated and brown sugars, cocoa powder, baking soda, baking powder and salt on low speed until combined. With the mixer running on low, slowly add the buttermilk mixture. Increase the speed to medium and beat until combined, 20 to 30 seconds. Slowly pour the hot coffee into the batter and mix until just combined. Using a spatula, give the batter a couple of turns to make sure it is fully mixed.
  • Divide the batter evenly between the prepared pans. Bake for 25 to 35 minutes, until a wooden skewer or toothpick comes out with the tiniest bit of crumb.
  • Transfer the cakes to a wire rack and let cool for 30 minutes. Turn the cakes out onto the rack, remove the parchment paper, and let cool completely. Once cool, the cakes can be frosted right away or wrapped in plastic and refrigerated overnight.

For the chocolate buttercream

  • Pour 1 in [5 cm] of water into a medium sauce-pan over medium heat and bring it to a gentle boil.
  • Melt the chocolate in a heatproof bowl set over the pan of boiling water, being careful not to let the water touch the bottom of the bowl. Stir constantly until just melted and set aside to cool slightly.
  • In the bowl of a stand mixer fitted with a paddle, beat the butter and salt on medium speed until light yellow and fluffy, about 3 minutes. Add the corn syrup and vanilla and beat on medium speed until combined. Lower the speed to low and gradually add the confectioners' sugar. Beat on low, stopping to scrape down the sides of the bowl as necessary, until smooth and creamy, 6 to 8 minutes. Add the cooled chocolate and mix on low speed until no streaks remain. Use a rubber spatula to mix the frosting a few more times, making sure it is completely combined.

To Assemble

  • Arrange your first layer on a turntable or serving platter. Place (about) one heaping cup of buttercream on the first layer. Use an offset spatula to spread the buttercream evenly over the layer, all the way to the edges. Top the buttercream with the second layer of cake. Use the rest of the buttercream to frost the cake as desired. The cake can be covered and stored in the refrigerator for 24 hours. Bring to room temperature before serving.

Notes

*This recipe was originally posted as a variation of Ina Garten's variation of this cake, so if you want that version, you can look here. Over the years I have added/substituted ingredients: brown sugar, sour cream, an extra egg, and a little more flour. 
*I like a half and half mix of buttermilk and sour cream, but if you don't have sour cream on hand, you can use 1 cup [240 g] of buttermilk instead. Creme fraiche can also be used in place of the sour cream. 
*The cake layers can release quite a few crumbs at room temperature. I like to chill the cake layers before frosting. Holding them in the refrigerator or freezer overnight works well. 
*These cake layers do freeze well unfrosted! I wrap them in several layers of plastic wrap and keep them in the freezer for up to 1 month. 
I like to decorate my cakes with fresh flowers from my garden in the spring/summer months. Make sure to use flowers that have not been sprayed with pesticides.