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. Nadesha says:

    Is the coffee supposed to be hot or chilled?

    1. Katerina Petrovska says:

      Hi! Yes, it should be cooled down.

  2. Jessica says:

    What kind of cocoa powder do you use?

    1. Katerina Petrovska says:

      Hi Jessica! Just the good ol’ unsweetened Hershey’s. ๐Ÿ˜€

  3. Eve says:

    I’ve made this cake twice now and it has been a hit on both occasions! It’s a truly delicious chocolate cake! Thank you for the recipe!

  4. Christina says:

    This cake is so, so moist and tasty, I made this cake for a birthday and it was a huge hit.

  5. Karen says:

    Hi Katerina,
    This is a great recipe. I like chocolate cake so much. I will try this recipe soon. Thank for share !

  6. Shanny says:

    Hi,
    Is that recipe for 2 round cakes?

    1. Katerina Petrovska says:

      Hi Shanny! Yes, it is. You will need two 9-inch round baking pans.

      1. Joanne says:

        Could I bypass the layers and make one larger rectangular baking pan cake? If so, what size pan?

        1. Angie says:

          I just did this and it calendar out really good! I had to Cooke it for an extra 15-20 minutes in order to get the center baked well.

  7. Rachel says:

    I made these tonight and they were absolutely delicious! I added an additional egg yolk.

  8. Stephanie S says:

    OH MY GOSH!! I just made this cake tonight and I honestly haven’t had a better chocolate cake EVER!! It is such an amazing recipe! I followed it exactly and it came out perfectly!! Thank you so much!!! This is going to be my go to from now on!! Can’t go wrong!

  9. Caitlyn Smith says:

    Easy to make! Decadent and delicious! This cake is fabulous!

  10. Anthony says:

    I love chocolate so much, it makes the cake taste magically like its name !