Go Back
Homemade chocolate cake

The Best Chocolate Cake Recipe You’ll Ever Try

This recipe is one you’ll want to save because it’s incredibly easy to make, yet it tastes like something straight from a fancy bakery. The cake is soft, moist, and packed with chocolatey goodness, and the frosting is smooth, creamy, and just the right amount of sweet.
Prep Time 15 minutes
Cook Time 35 minutes
Cooling & Frosting Time 40 minutes
Total Time 1 hour 30 minutes
Course Dessert
Cuisine American
Servings 12 servings
Calories 450 kcal

Equipment

  • Mixing Bowls
  • Whisk & spatula
  • Electric mixer (optional)
  • Measuring Cups & Spoons
  • Sifter
  • Two 9-inch round cake pans
  • Parchment paper
  • Wire rack
  • Offset spatula or butter knife

Ingredients
  

For the Cake:

  • 2 cups 250g all-purpose flour
  • 2 cups 400g granulated sugar
  • ¾ cup 75g unsweetened cocoa powder
  • 2 teaspoons baking powder
  • teaspoons baking soda
  • 1 teaspoon salt
  • 1 cup 240ml buttermilk (or substitute with 1 cup milk + 1 tablespoon vinegar)
  • ½ cup 120ml vegetable oil
  • 2 large eggs
  • 2 teaspoons vanilla extract
  • 1 cup 240ml hot coffee (or hot water)

For the Chocolate Frosting:

  • 1 cup 230g unsalted butter, softened
  • cups 440g powdered sugar
  • ½ cup 50g unsweetened cocoa powder
  • ½ teaspoon salt
  • 2 teaspoons vanilla extract
  • 4 –6 tablespoons 60–90ml heavy cream or milk

Instructions
 

Step 1: Prep the Oven and Pans

  • Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper to prevent sticking.

Step 2: Mix the Dry Ingredients

  • In a large mixing bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt until well combined.

Step 3: Mix the Wet Ingredients

  • In another bowl, whisk the buttermilk, vegetable oil, eggs, and vanilla extract until smooth.

Step 4: Combine Wet and Dry Mixtures

  • Slowly pour the wet ingredients into the dry ingredients and stir gently until just combined. Then, add the hot coffee (or hot water) and mix until the batter is smooth and slightly thin. This step enhances the chocolate flavor and keeps the cake moist.

Step 5: Bake the Cake

  • Pour the batter evenly into the prepared cake pans. Bake in the preheated oven for 30–35 minutes, or until a toothpick inserted in the center comes out clean.

Step 6: Cool the Cake

  • Let the cakes cool in the pans for about 10 minutes, then transfer them to a wire rack to cool completely before frosting.

Step 7: Make the Frosting

  • In a large bowl, beat the softened butter until creamy. Gradually add the powdered sugar, cocoa powder, and salt, mixing on low speed. Add the vanilla extract and heavy cream (or milk), one tablespoon at a time, until the frosting is smooth and spreadable.

Step 8: Frost the Cake

  • Place one cake layer on a plate and spread a generous amount of frosting on top. Place the second layer on top and cover the entire cake with frosting using an offset spatula. Smooth out the frosting, or create decorative swirls if you like!

Notes

Nutritional Value (Per Slice – Based on 12 Servings)

  • Calories: ~450 kcal
  • Carbohydrates: ~60g
  • Protein: ~5g
  • Fat: ~20g
  • Saturated Fat: ~10g
  • Cholesterol: ~55mg
  • Sodium: ~300mg
  • Sugar: ~45g
  • Fiber: ~3g
Did you make this recipe? Leave a comment and rating!
Nutrition Disclaimer:
The nutritional information on this website is only an estimate and is provided for convenience and as a courtesy only. The accuracy of the nutritional information for any recipe on this site is not guaranteed. It should not be used as a substitute for a professional nutritionist’s advice.
Keyword chocolate cake recipe, easy cake recipes