Black Magic Chocolate Cake

4.67 from 30 votes
Pin RecipeJump to RecipeComments

This post may contain affiliate links. Please read our disclosure policy.

This black magic cake is a dark, fudgy chocolate cake recipe made with strong brewed coffee, cocoa, and buttermilk. It’s covered with fudgy chocolate ganache and the flavors are totally bewitching!

Get your chocolate fix with this rich chocolate olive oil cake, next! You might also like this chocolate cherry cake and my fudgy flourless chocolate cake.

A slice of black magic cake on a serving plate next to a spoon.


 

I know there are plenty of contenders out there for the title of “Best Chocolate Cake”, but trust me when I say that this black magic cake is the most incredible chocolate cake EVER! It’s a rich and fudgy, super-moist chocolate cake made with black brewed coffee, cocoa, and buttermilk, frosted with creamy ganache frosting. But words don’t do this cake enough justice. You NEED to bake it for yourself.

Why I Love This Black Magic Cake

  • Dark brewed coffee. Black coffee puts the “black” in this black magic cake! This type of cake is known for its amazingly rich, deep chocolate flavor enhanced by the coffee and buttermilk.
  • Easy to make. You need one bowl and a baking pan! This cake isn’t just the best chocolate cake you’ll ever have, it’s the easiest to clean up after, too.
  • Customizable. It’s easy to add crushed nuts or chocolate chips to the cake batter, or you can layer your cake with different fillings. The rich, dark chocolate layers are just the beginning!
Overhead view of a slice of black magic cake on a serving plate next to a spoon.

Cake Ingredients

These are some notes on the ingredients that make the magic happen in this chocolate cake! For the full list and recipe details, make sure to scroll down to the printable recipe card after the post.

  • Dry Ingredients – These are your usual baking suspects, including flour, sugar, baking soda, baking powder, and salt.
  • Cocoa Powder – Make sure to use unsweetened, natural cocoa powder.
  • Eggs – Bring these to room temperature.
  • Buttermilk – If you don’t have any buttermilk in the fridge, it’s very easy to make a homemade buttermilk substitute from regular milk and lemon juice (or white vinegar).
  • Brewed Black Coffee – This can be a strong batch of regular brewed coffee (use a dark roast if you can), or freshly brewed espresso. Feel free to use instant coffee.
  • Oil – Instead of butter, I bake this black magic cake with vegetable oil and the results are ultra-moist and tender. Any neutral-flavored oil will work here.
  • Vanilla – You’ll want to use real vanilla extract for the best flavor.

For the Frosting

  • Chocolate Chips – I use semi-sweet chocolate chips and chop them into fine pieces. You could also do the same with a bar of baking chocolate.
  • Heavy Whipping Cream – For the creamiest frosting, make sure it’s full-fat heavy whipping cream.
  • Butter – Unsalted is best.
Three slices of black magic chocolate cake served on white plates.

How To Make Black Magic Chocolate Cake

Who’s ready to bake the most decadent chocolate cake of their life? Good. Because we’re about to get started with the steps below:

  • Mix the cake batter. First, take out a large bowl and whisk together the dry ingredients. Next, beat in the eggs, buttermilk, coffee, oil, and vanilla on medium speed for about 2 minutes to form a thin batter.
  • Fill the pan. Now, pour the batter into two greased and floured 9-inch cake pans.
  • Bake. Bake the cakes for 30-35 minutes until a toothpick comes out clean from the center. Afterward, let the cakes cool for 10 minutes before removing them from the pans.
  • Make the frosting. While the cakes are cooling, bring the heavy cream and butter to a boil on the stovetop. Then, pour the hot cream mixture over a bowl of chopped chocolate and whisk until smooth. Chill the frosting for 2 hours, stirring after the first hour.
  • Frost the cake. Once the cakes and frosting are cool, assemble the cakes, frost, and serve!

Tips and Variations

  • Don’t skip the coffee! While it doesn’t make this black magic cake taste like coffee, it adds depth and richness to the chocolate flavor, making it taste even more decadent.
  • Use room temperature ingredients. Take fridge-cold cake ingredients like buttermilk and eggs out of the fridge ahead of time, so they come to room temperature. This way, they’ll combine more easily with the other batter ingredients.
  • Sift the cocoa powder. A quick sift of the dry ingredients never hurts, to prevent any clumps in the final cake batter.
  • Don’t overmix. Be careful not to overmix your batter, as this can make the cake tough. Mix just until the ingredients are combined.
  • Cool completely. Allow your chocolate cakes to cool completely to room temperature before frosting. Frosting a warm cake will cause the frosting to melt and slide off.
  • Add nuts. Add chopped walnuts or pecans to the batter for a crunchy texture.
  • Flavor variations. Experiment with different flavors by adding liqueur or extracts, like brandy, almond extract, or peppermint extract.
  • Fruit fillings. Consider adding a layer of fruit preserves or compote between the cake layers for an extra pop of flavor. Raspberry preserves would taste great here, or you can try cherry preserves for some black forest cake vibes.
A slice of black magic cake on a serving plate next to a spoon.

How to Store

  • At room temperature. Store the frosted black magic cake airtight at room temperature for up to 4 days.
  • Freeze. You can freeze the frosted cake or the unfrosted cake layers for up to 2 months. Wrap the cake in a double layer of plastic wrap to prevent freezer burn. Thaw the cake at room temperature and then frost and/or serve.

Pin this now to find it later

Pin It
4.67 from 30 votes

Black Magic Chocolate Cake

This black magic cake is a decadent chocolate cake recipe with strong brewed coffee and buttermilk. It's dark, fudgy, and the flavors are totally bewitching!
Prep Time: 15 minutes
Cook Time: 35 minutes
Refrigeration Time: 2 hours
Total Time: 3 hours
Servings: 16 servings

Ingredients 

For The Cake

  • 2 cups granulated sugar
  • cups all-purpose flour
  • ¾ cups unsweetened cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon salt
  • 2 whole eggs, at room temperature
  • 1 cup buttermilk
  • 1 cup strong brewed black coffee
  • ½ cup vegetable oil
  • 1 teaspoon pure vanilla extract

For The Frosting

Want to save this recipe?
Enter your email below and we’ll send the recipe straight to your inbox!
Please enable JavaScript in your browser to complete this form.

Instructions 

For The Cake

  • Prep. Preheat the oven to 350˚F. Butter and flour two 9-inch round baking pans. Set aside.
  • Combine the dry ingredients. In a large mixing bowl, whisk together the sugar, flour, cocoa powder, baking soda, baking powder, and salt.
  • Add the wet ingredients. To the mixing bowl, add the eggs, buttermilk, coffee, oil, and vanilla. Using an electric mixer, beat on medium speed for about 2 minutes. You should have a thin batter.
  • Fill the pans and bake. Pour the batter evenly into the prepared cake pans. Bake for 30 to 35 minutes or until a toothpick inserted in the center comes out clean. Remove from the oven and cool in the pans for 10 minutes; remove cakes from pans to wire racks to cool completely.

For The Frosting

  • Prepare the chocolate. Place the chopped chocolate in a medium mixing bowl; set aside.
  • Heat the heavy cream. Place whipping cream and butter in a saucepan and cook over medium heat to just a boil.
  • Combine. Remove from the heat and pour the cream mixture over the chopped chocolate; whisk vigorously until the chocolate is melted and smooth.
  • Chill. Cover and refrigerate for one hour. Remove the frosting from the fridge and stir. Refrigerate for 1 more hour or until spreading consistency.
  • Frost the cake. Spread about ¼ to ⅓ of the frosting on one cake layer; top with the other cake layer and spread the frosting on top and sides of the cake. Cut and serve.

Video

Notes

  • Measure the ingredients correctly for best results.
  • Have the eggs, butter, and buttermilk at room temp for better mixing and baking.
  • Mix just until combined to avoid a dense cake.
  • Use a toothpick to check if the cake is done.
  • Let the cake cool thoroughly before frosting to avoid a messy, crumbly melt.
  • Mix in chopped nuts for some crunch.
  • Try new tastes with different flavored extracts or liqueurs.
  • Use coffee in the frosting for a mocha twist.
  • Store at room temperature for 1 to 2 days, covered. Store in the refrigerator, covered, for 5 to 7 days.
Recipe Adapted from Allrecipes

Nutrition

Calories: 476kcal | Carbohydrates: 50g | Protein: 5g | Fat: 30g | Saturated Fat: 15g | Polyunsaturated Fat: 5g | Monounsaturated Fat: 8g | Trans Fat: 0.3g | Cholesterol: 44mg | Sodium: 309mg | Potassium: 273mg | Fiber: 4g | Sugar: 34g | Vitamin A: 541IU | Vitamin C: 0.1mg | Calcium: 66mg | Iron: 3mg

Nutritional info is an estimate and provided as courtesy. Values may vary according to the ingredients and tools used. Please use your preferred nutritional calculator for more detailed info.

Did you make a recipe? Leave a rating
 

Promo image for Diethood 2025 calendar.

4.67 from 30 votes (10 ratings without comment)

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating:




206 Comments

  1. Pamela says:

    O M Gosh this Black Magic Chocolate cake came out perfectly yummy . Excellent recipe . I put homemade chocolate buttercream frosting on it . I will definitely make this again. Thank you.

  2. Sandy says:

    Well this cake still be good if the coffee is omitted?

    1. Katerina Petrovska says:

      Sure! The coffee just enhances the flavor of the chocolate, it’s not noticeable at all. But if it bothers you, it’s okay not to use it, however you will still need 1 cup of liquid to replace it. You can use water, milk, a dark stout beer, 1/2 cup liqueur with 1/2 cup water, or even fruit juice.

  3. Sandy says:

    Can the coffee be omitted and still be a good cake? I do not drink coffee or like coffee, and I do not want to buy coffee Just to make a cake.

    1. Andrew says:

      You only need a cup. Just go to. Gas station or somewhere and pay the $1 for a cup of coffee

  4. ?? says:

    I made this cake and the cake came out perfectly however the frosting is liquid and doesnt seem to be firming up in the fridge. Any suggestions?

    1. Katerina Petrovska says:

      Hi! So, after two hours, it still didn’t thicken? You’re looking for a spreadable consistency, not something that will firm up completely.

  5. Mike says:

    Hi! Your recipe (and the images of the cake) looks amazing. Could you substitute the strong brewed coffee with instant espresso instead? If so, would I need to reduce the amount of espresso vice the coffee used in your recipe?

    1. Katerina Petrovska says:

      Hi! You don’t have to reduce the amount – it will just enhance the chocolate taste that much more with the espresso. I love that idea, by the way! ๐Ÿ™‚

      1. Andrew says:

        Could you use espresso powder instead of instant espresso?

        1. Katerina Petrovska says:

          Hi! Yeah, absolutely! As long as it’s coffee. ๐Ÿ˜€

  6. Bianca martins says:

    I love this recipe so much:p

  7. Alisa Ewert says:

    This is the perfect one for upcoming sunday :). Thank you Admin

  8. Hala says:

    Hi, I cannot find the recipe on this page, only pics…..please advise
    Thank you

    1. Katerina Petrovska says:

      Hi!! Thanks so much for letting me know! It was there, just hidden behind a code. :-/ It is visible now. ๐Ÿ™‚ Again, thank you!

      1. Hala says:

        Thank you…. it looks delicious, will definitely try it soon ๐Ÿ™‚

  9. ester says:

    I made this cake for Easter and it was dry. I was disappointed.

  10. Susanna says:

    I was wondering if this cake needs to be refrigerated or left at room temperature once finished? Just to be sure. Thank you.

    1. Katerina Petrovska says:

      Hi! I like to play it safe so I always store the rest of it in the fridge. ๐Ÿ™‚