This Black Magic Cake is a take on Hershey’s black magic chocolate cake and it’s one of the best cakes ever! Perfectly moist chocolate cake covered in the best white icing. This. Is. Sublime.

A piece of chocolate cake on a plate, with Icing and Cookie

This post may include affiliate links that earn us a small commission from your purchases at no extra cost to you.

What’s in this Black Magic Cake Recipe?

This Black Magic Cake is a chocolate lovers dream. Simple and straightforward, this is one of those chocolate desserts that everyone will love. Coffee enhances the chocolate flavor and buttermilk helps make this chocolate cake super moist. 

  • All-Purpose Flour: Gives the cake structure and texture. Be sure to measure using the spoon-and-level method to avoid a dry, dense cake.
  • Granulated Sugar: Sweetens the cake.
  • Cocoa Powder: Adds rich chocolate flavor.
  • Leavening: Baking soda and baking powder combine to create a light and fluffy cake.
  • Kosher Salt: Enhances the chocolate flavor.
  • Buttermilk: Adds moisture and a bit of tanginess.
  • Vegetable Oil: Adds moisture and fat to the cake, leading to a tender structure.
  • Eggs: Whole eggs and an egg white add richness and structure while keeping the cake light and airy.
  • Vanilla Extract: Enhances the sweetness of the cake.
  • Coffee: Enhances the chocolate flavor do the cake. You can use freshly brewed strong hot coffee or 2 teaspoons powdered espresso powder mixed with 1 cup boiling water.
  • White Icing: I love this cake served with my favorite white icing to balance the rich chocolate flavor.

Pro Tip: When baking cake, you want your eggs and dairy ingredients to be at room temp so they can create an emulsion that traps air that eventually expands with the oven’s heat, for a lighter texture.

Variations on Magic Black Cake

This rich chocolate cake is great as is, but you can also combine it with other flavors to create a whole new experience. Try some of these variations:

  • Mint: Add some peppermint extract to the batter and top with a layer of mint chocolate frosting for a refreshing twist.
  • Peanut Butter: Mix some creamy peanut butter into the batter and top with a layer of peanut butter frosting for a rich and nutty flavor.
  • Raspberry: Swirl some raspberry jam into the batter and top with a layer of cream cheese frosting for a fruity and tangy twist.
  • Orange: Add some orange zest to the batter and top with a layer of chocolate ganache icing for a citrusy and decadent treat.
  • Mocha: Mix some extra instant coffee or espresso powder into the batter and top with a layer of mocha frosting for a coffee-infused twist.
  • S’mores: Top the cake with a layer of marshmallow frosting, sprinkle with graham cracker crumbs, and finish with a drizzle of melted chocolate for a campfire-inspired treat.
overhead image of chocolate cake with sprinkles
Email This Recipe
Enter your email and we’ll send the recipe directly to you!
Please enable JavaScript in your browser to complete this form.
What is a Black Magic Cake?

The Black Magic Chocolate Cake is originally from Hershey’s. In their words it’s “a moist and magical buttermilk chocolate cake recipe that will have your friends demanding seconds.” And they aren’t wrong! It’s everything a great chocolate cake should be, moist, bursting with chocolate flavor and easy to make. Maybe that’s why it’s called black magic, something this delicious shouldn’t be this simple to pull together…

Why is it called Black Magic Cake?

The cake is named Black Magic Cake because of its dark color and rich chocolate flavor. It is believed that the name was coined due to the cake’s ability to enchant and captivate people with its delicious taste.

What’s the difference between Black Magic Cake and other chocolate cakes?

Black Magic Cake typically uses buttermilk instead of regular milk, which makes the cake extra moist and gives it a slightly tangy flavor. Additionally, the use of oil instead of butter in the recipe makes the cake denser and more tender.

Can I make Black Magic Cake without buttermilk?

Yes, you can substitute buttermilk with regular milk mixed with vinegar or lemon juice. Mix one tablespoon of vinegar or lemon juice with one cup of milk and let it sit for 5-10 minutes before using it in the recipe.

What kind of cocoa powder should I use?

While you can use any unsweetened cocoa powder you prefer, I like to use natural cocoa powder here because the baking soda helps to neutralize the acidity of natural cocoa powder, letting its rich flavor shine. 

up close image of hershey chocolate cake with white icing

How to Store

Store Black Magic Cake in an airtight container or cake dome at room temperature for up to 3 days or in the refrigerator for up to 1 week. Enjoy at room temperature.

How to Freeze

Freeze Black Magic Cake whole or cut into individual slices tightly wrapped in 2 layers of plastic wrap and 1 layer of aluminum foil for up to 3 months. Let thaw overnight in the refrigerator before reheating.

Serving Suggestions

While I love this chocolate cake topped with my favorite white icing, it’s also delicious with chocolate buttercream, chocolate fudge frosting, cream cheese frosting, or stabilized whipped cream. Add a drizzle of chocolate syrup or caramel sauce to take it to the next level.

A piece of chocolate cake on a plate, with Icing and fork
Recipe Card

Black Magic Cake Recipe

4.52 from 243 votes
Prep: 10 minutes
Cook: 50 minutes
Total: 1 hour
Servings: 12 people
Author: Becky Hardin
A piece of chocolate cake on a plate, with Icing and Cookie
A twist on the classic Hershey's cake, moist, fluffy and delicious!
Save this recipe!
Enter your email and we’ll send the recipe directly to you, plus new recipes weekly!
Please enable JavaScript in your browser to complete this form.

Equipment

Ingredients 

  • cups all-purpose flour 210 grams
  • 2 cups granulated sugar 400 grams
  • ¾ cup unsweetened cocoa powder 63 grams
  • 2 teaspoons baking soda 12 grams
  • 1 teaspoon baking powder 4 grams
  • 1 teaspoon kosher salt 3 grams
  • 1 cup buttermilk 227 grams, room temperature
  • ½ cup vegetable oil 100 grams
  • 2 large eggs 100 grams, room temperature
  • 1 egg white 35 grams, room temperature
  • 1 teaspoon pure vanilla extract 4 grams
  • 1 cup freshly brewed strong hot coffee 227 grams (or 2 teaspoons powdered espresso powder mixed with 1 cup boiling water)
  • White Icing Click for our favorite recipe

Instructions 

  • Adjust oven rack to middle position and heat oven to 350°F. Spray your chosen baking pan(s) with nonstick baking spray.
  • Sift together flour, sugar, cocoa, baking soda, baking powder, and salt into the bowl of an electric mixer. Beat with the paddle attachment, on low speed, just until combined.
    1¾ cups all-purpose flour, 2 cups granulated sugar, ¾ cup unsweetened cocoa powder, 2 teaspoons baking soda, 1 teaspoon baking powder, 1 teaspoon kosher salt
  • In a different bowl, combine buttermilk, oil, eggs, and vanilla.
    1 cup buttermilk, ½ cup vegetable oil, 2 large eggs, 1 teaspoon pure vanilla extract, 1 egg white
  • Return the mixer to low speed and slowly add the wet ingredients to the dry ingredients. Mix about 15-20 seconds just until ingredients are incorporated.
  • Add the coffee and stir, on low speed, just until combined.
    1 cup freshly brewed strong hot coffee
  • Pour the cake batter (it will very thin) into the cake pan(s) and bake until a toothpick inserted in the center comes out clean. Baking time for the 8-inch cake pans is 35-40 minutes, for the Bundt pan 50-55 minutes, and for the 13×9 pan about 35-45 minutes.
  • Top with your favorite icing. (Find our favorite HERE)
    White Icing

Video

Becky’s Tips

Original cake recipe: Hershey Black Magic Cake
Yield: Two (8-inch) round cake pans or one 13x9x2 or one 12-cup Bundt pan
  • Want Chocolate Icing instead? Check out our recipe for Chocolate Buttercream Frosting.
  • Ideally use high-quality cocoa powder. The darker the hue of the cocoa, the more satisfying the chocolate flavor will be.
  • Ideally use shiny pans instead of dark pans. Dark can cause your chocolate cake to brown too early around the edges and create a hard crust on the surface and general dryness.
  • When baking cake, you want your eggs and dairy ingredients to be at room temp so they can create an emulsion that traps air that eventually expands with the oven’s heat, for a lighter texture.
  • Don’t overmix. Heavy mixing hand leads to tough cake textures. Instead, mix only until dry ingredients are 99.8 percent incorporated.
Storage: Store chocolate cake in an airtight container at room temperature for up to 3 days, in the refrigerator for up to 1 week, or in the freezer for up to 3 months.
Calories: 472kcalCarbohydrates: 77gProtein: 5gFat: 18gSaturated Fat: 4gPolyunsaturated Fat: 8gMonounsaturated Fat: 5gTrans Fat: 1gCholesterol: 33mgSodium: 520mgPotassium: 168mgFiber: 2gSugar: 58gVitamin A: 78IUCalcium: 59mgIron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Did you make this? Leave a comment!

More Chocolate Cake Recipes We Love

Meet Becky Hardin

Becky Hardin is a wife and mother living in Saint Louis Missouri. She founded The Cookie Rookie in 2012 as a creative way to share recipes. Now, she is a trusted resource for easy cooking around the world, being featured in Taste of Home, The Kitchn, ABC’s Home and Family, and more. Here at The Cookie Rookie she is the editor in chief of all recipes and continues to enjoy sharing her passion for cooking for busy families. She has since founded two additional food blogs, Easy Chicken Recipes and Easy Dessert Recipes.

4.52 from 243 votes (220 ratings without comment)
Subscribe
Notify of
guest
Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

84 Comments
Inline Feedbacks
View all comments
Mary
Mary
September 23, 2022 11:45 pm

Wonderful recipe. It is everything you said it would be. Fascinating to make and a marvel to watch come together. I used my blender to make sanding sugar out of sugar cenrtstsls.5 stars

IMG_20220920_111711422.jpg
Samantha Marceau
September 28, 2022 9:24 am
Reply to  Mary

Great tip, Mary!

Becky Hardin
Becky Hardin
April 4, 2022 11:13 am

I am sorry to hear it didn’t work out for you!

Charlene
Charlene
February 13, 2022 6:10 pm

The frosting was so different. I loved it. I thought it was fantastic. I only had butter flavored Crisco, so I used that. I could not believe how the frosting didn’t melt or move BUT never got hard. Thank you for sharing.5 stars

Becky Hardin
Becky Hardin
February 16, 2022 11:39 am
Reply to  Charlene

So happy to hear that, Charlene!

Ruchi
Ruchi
December 31, 2021 4:55 am

The cake was spongy and looked amazing but it din’t come out of the tin. Got sticked in it. Don’t know what went wrong.

Becky Hardin
Becky Hardin
January 5, 2022 11:16 am
Reply to  Ruchi

You’ll want to make sure what nonstick spray you’re using is best for the pan you bake in!

Susan Strong
Susan Strong
December 18, 2021 2:38 pm

I mad this for my sistahs birthday celebration. My only issue is that I used cooking spray as directed and both cakes stuck to the center of the pans. Next time I will crisco and flour. I also used my moms buttercream frosting recipe. Xoxo thank you for the recipe 🥰4 stars

Becky Hardin
Becky Hardin
December 22, 2021 9:35 am
Reply to  Susan Strong

Oh no! Always go with your gut if you need to!

Laura
Laura
December 7, 2021 6:48 am

I want to make this cake the day before my son’s birthday party and ice the day of. Would you recommend refrigerating the cake or leaving it out?

Becky Hardin
Becky Hardin
December 10, 2021 2:02 pm
Reply to  Laura

Refrigerating it is best to keep fresh!

Orly57
Orly57
August 15, 2021 7:13 pm

The cake recipe is a perfect 10. The cake was moist and delicious. However, the frosting recipe was disgusting and almost ruined the cake. It tasted like pure shortening, and separated. It was absolutely disgusting.I’m giving this a 5 because the cake recipe was just that good.5 stars

Becky Hardin
Becky Hardin
August 18, 2021 4:00 pm
Reply to  Orly57

I am sorry you didn’t have success with the icing.

Cassandra S Wolf
Cassandra S Wolf
August 1, 2021 6:16 pm

Would this icing work for cookies? Meaning Would it harden nicely enough to make cookies stackable?5 stars

Becky Hardin
Becky Hardin
August 4, 2021 3:10 pm

It is a softer frosting and won’t completely harden!

Tim Lamb
Tim Lamb
July 20, 2021 8:49 am

If I could give this recipe a “6” I would!!! Your tips and comments were VERY helpful (thank you) because I absorbed them all. THIS cake was easy and absolutely delicious and beautiful. Lovely lovely color. My three 9″ layers were perfect so it was not too high and I doubled the icing recipe like you recommended (so there was plenty). Reading the comments, I was cautious on making the frosting —- but don’t read them, most didn’t give it a chance. If you want buttercream, then make butter cream frosting. If you want cream cheese, them make cream cheese frosting. But don’t be afraid to try this despite some of the discouraging comments (thinking some simply look for things to complain about). Read the ingredients and simply decide. I thought it was GREAT, not too sweet, and delicious chilled. Even BETTER the next day!!! Thank you BECKY, I was lucky to stumble over this recipe. SIX STARS!!!5 stars

delicious cake.jpg
Becky Hardin
Becky Hardin
July 20, 2021 10:12 am
Reply to  Tim Lamb

That looks absolutely perfect and delectible! Thanks for sharing your success with us!

Rose
Rose
July 6, 2021 12:52 pm

Thank you so much for this recipe. The cake was so moist and delicious, everyone complimented on it. This is one recipe I will be saving for future use. Thank you.4 stars

Last edited 3 years ago by Rose
Becky Hardin
Becky Hardin
July 9, 2021 11:14 am
Reply to  Rose

Thanks for stopping by and sharing, Rose!