Part of the reason I started The Vanilla Bean Blog revolved around chocolate cake. I was interested in creating some kind of family food history, an idea sparked when I realized my family did not have a cake to call our own. We bought cake and we occasionally made cake, but no one ever requested a specific cake for birthdays, and there wasn’t one particular recipe that made us swoon.
How This Chocolate Cake Recipe Came to Be
I made chocolate cake after chocolate cake, only to come up with some not-so-great confections. Eventually, however, I stumbled on black magic cake. Black magic cake has a history of its own; it’s a Hershey’s original, developed sometime before the 1970’s and used as a label recipe in 1972. There are claims that the recipe goes back to possibly the 1930’s, but no one knows the exact date of its creation; not even the the Hershey Company could tell me when I reached out to them.
All the usual cake ingredient suspects are there: sugar, flour, eggs, cocoa powder, vanilla, and oil, but what makes this recipe unique is at the end of mixing, one cup of hot coffee is added to the bowl. As the coffee is gently stirred in, the batter turns into an unpromising dark sludge, but bakes up into a moist, delicious cake.
Over the years, I discovered a few things about black magic cake.
- One, this cake has made the rounds. Many cookbooks and almost every website has some version in its pages; often hot water replaces the coffee.
- Two, the cake sheds a lot of crumbs, and I’ve found chilling the layers before frosting them helps with this.
- And three, an extra egg makes this my dream cake.
One night, when I was up too late making cakes, I accidentally cracked an extra egg into the batter (for a total of three). When the cake baked up, it was exactly as I dreamed it should be: moist and tender, with perfect chocolate flavor. Finally, I had my family cake.
More Chocolate Cake Recipes:
Dreamy Black Magic Cake
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
Equipment
- Two 8 by 2 inch [20 by 5 cm] round cake pans
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.
174 Comments
Lynn
Wednesday, December 18, 2024 at 7:36 amFabulous cake recipe. Made it for my grandson’s 10th birthday and it was a huge hit! Will save for sure.
DORA
Tuesday, August 13, 2024 at 9:04 pmHi! Love your recipes. Can I ask what happened to the 85g bittersweet Chocolate from the original book recipe? Was this one of the adjustments?
4soleils
Thursday, June 20, 2024 at 7:39 amMy top chocolate cake. Simply nothing wrong.
Gabriel
Thursday, June 6, 2024 at 3:59 pmDanke für das tolle Rezept und doppelt danke für die Gramm Angaben!
Grüße,
Gabriel
Helen
Thursday, June 6, 2024 at 10:38 amI love your books and recipes but just wanted to check that when brown sugar is listed as an ingredient in your recipes, should it be light brown sugar or dark brown sugar?
Sarah Kieffer
Sunday, June 9, 2024 at 3:57 pmHello! Light brown sugar unless noted.
Sarah Kieffer
Wednesday, July 10, 2024 at 9:01 pmHi Helen – Thank you for the kind words! The brown sugar is always light unless specified as “dark”.
Linda
Thursday, June 6, 2024 at 10:04 amI am going to try this. I have a very old recipe I have made for 40 years and nothing has topped it yet! I will give yours a try!
Sara
Saturday, December 23, 2023 at 3:20 pmHi Sarah
I see you are providing metric measurements on your recent posts now. Are you able to edit this post and provide metric measurements as well? Most recent post you mentioned the difference of just 1 cup of flour – it would be so much more accurate if this recipe had metric measurements pls.
jake
Thursday, July 13, 2023 at 4:32 amThis is a copy of Ina Garten’s Beatt’s Chocolate Cake. Give the Queen some credit if you’re gonna life her recipe!
Sarah Kieffer
Thursday, July 13, 2023 at 8:49 amHi Jake – This cake is similar to Ina’s, but Ina’s chocolate cake is also the Hershey’s chocolate cake from the back of their cocoa cans that has been around since 1972, and is also sometimes called Black Magic Cake. I write about trying to find the origins this in my first cookbook – no one knows where this recipe originated but it has been around since possibly the 1930’s.There are 1,000s of variations of this recipe, all similar in nature. I do find citing inspiration important when it comes to recipes, and do so as much as possible, but in this particular case the recipe is part of “the Canon” and no one owns it.
Sara
Thursday, March 16, 2023 at 7:09 pmHi Sarah! Love your recipes and have been following your journey for years 🙂 Thank you for sharing all your beautiful recipes.
Just wondering if you are able to add metric conversions as I’ve done a few baking courses and it keeps coming up that measuring with cups is very inaccurate. Would love to bake your cakes accurately, if possible.
Thank you!
Mariela
Tuesday, March 7, 2023 at 8:29 pmBEST CHOCOLATE CAKE EVER!!!!!!!
I have made this multiple times and it never disappoints. Even people who claim not to like chocolate cake fall in love with it. I have only made the chocolate frosting once using Trader Joe’s chocolate and it was amazing. I also use Hershey’s Special Dark cocoa and a dark roast coffee. The other times I’ve paired it with a carmelized white chocolate swiss buttercream and that is to die for. I’ve also made it into cupcakes, the batter makes 24 cupcakes easily. Thank you for this fabulous recipe.
Sarah Kieffer
Wednesday, March 8, 2023 at 9:04 amlove hearing this, thank you!
klayde marie
Friday, June 3, 2022 at 3:25 amlooks great! want to give a try but am wondering if you tried as cupcakes or other mini cake molds? thanks!
Niranjan
Tuesday, October 26, 2021 at 1:11 amNice Article, Thanks for the post. Niranjan
David
Wednesday, October 20, 2021 at 7:20 amThanks to the author’s very comprehensive description, I was able to completely fix my dilemma after reading this post. I posted my review on the essaytoolbox review, which you may read. Thank you so much for your time and consideration.
AmbalaCakes
Friday, October 1, 2021 at 5:58 amVery informative
TheFlowersPoint
Tuesday, September 28, 2021 at 2:35 amVery informative
Grainic
Monday, September 20, 2021 at 4:55 amWhat a wonderful Article! Thanks for this information.
Arhan Khan
Friday, September 17, 2021 at 6:20 amthanks for information
Kelly Hubbard
Thursday, August 26, 2021 at 10:58 amI love how you prep food. It is just one of the things I have learned from you. This is going on next week’s menu. I prefer the reds and orange for stuffing, and for some reason I like the horizontal cut. I think it is because of the proportion of filling to pepper. Anyway, thanks again. I really appreciate you.
partyshikari
Friday, August 20, 2021 at 9:36 amNice post, Thanks for sharing Niranjan
Julie
Wednesday, August 11, 2021 at 2:58 pmIt’s 9pm and I’ve not had any dinner yet. Looking at this chocolate cake is making me starving!
TogetherV
Monday, August 2, 2021 at 4:43 amThanks for sharing such a good and informative article posted here. I really appreciate your efforts and Thanks a lot for sharing a piece of wonderful information which I am looking for a longer period of time. balloon bouquet
Rakhinationwide
Wednesday, July 28, 2021 at 2:43 amWhat a Fantastic Post!! Love your work.
Ashley Jones
Tuesday, June 22, 2021 at 8:33 pmLove this recipe! We use it quite often. I double the carrots and celery and add minced onion flakes to it and use Uncle Ben’s Wild Rice. After a couple hours check it to see if it needs a little bit more water added.
Jonathan Gutierrez
Tuesday, April 20, 2021 at 3:51 amIf you have many video recipes you can create tiktok profile and post all of it there. From this article https://www.dailyhawker.com/articles/promotion-on-tiktok-gets-harder-as-the-amount-of-bloggers-grows-how-do-you-stay-popular-and-support-your-content-in-these-unease-times/ you will know how to get followers for your profile on tiktok
Floweraura
Tuesday, March 16, 2021 at 7:19 amwow looks super delicious can’t wait to try this cake at home and present it to my loved ones
alok Gupta
Thursday, July 1, 2021 at 9:54 pmWow! Not only do the cakelook delicious, but the photography is so fantastic as well! (Almost) too beautiful to eat.
Melissa Weiss
Wednesday, March 10, 2021 at 6:22 amThe recipe is fire! I cooked the cake and, OMG, it was SO delicious. You need to make a youtube video where you are cooking the cake and use https://soclikes.com/ to get additional hundred of subscribers to more people watch the recipe and cook this chocolate piece of heaven.
Tfcakes
Tuesday, March 2, 2021 at 2:13 amWonderful piece of Inforamtion
visit : https://tfcakes.in/ for Cakes in Mumbai.
Joey
Monday, February 22, 2021 at 12:22 amWow
https://www.bookthesurprise.com/product-category/cakes/online-cake-delivery-in-chennai/