Go Back

Chocolate Cake Recipe

Prep Time 15 minutes
Cook Time 30 minutes
Total Time 45 minutes
Servings: 12 servings

Ingredients
  

  • For the Cake:
  • 1 and 3/4 cups (220 g) all-purpose flour
  • 3/4 cup (65 g) unsweetened cocoa powder (natural, not Dutch-processed)
  • 1 and 1/2 cups (300 g) granulated sugar
  • 1/2 cup (100 g) light brown sugar, packed
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon fine sea salt
  • 2 large eggs, at room temperature
  • 1 cup (240 ml) buttermilk, at room temperature
  • 1/2 cup (120 ml) neutral oil (canola, vegetable, or light olive oil)
  • 2 teaspoons vanilla extract
  • 3/4 cup (180 ml) hot brewed coffee or hot water
  • For the Chocolate Buttercream:
  • 1 cup (225 g) unsalted butter, softened to room temperature
  • 2 and 1/2 cups (300 g) powdered sugar
  • 1/2 cup (45 g) unsweetened cocoa powder
  • 1/4 cup (60 ml) heavy cream or milk, plus more as needed
  • 1 teaspoon vanilla extract
  • Pinch of salt

Method
 

  1. Prep your pans and oven: Heat the oven to 350°F (175°C). Grease two 8-inch round cake pans, line the bottoms with parchment, and lightly flour the sides. Tap out any excess flour.
  2. Whisk the dry ingredients: In a large bowl, whisk flour, cocoa powder, granulated sugar, brown sugar, baking powder, baking soda, and salt until no cocoa streaks remain. This helps prevent lumps later.
  3. Combine the wet ingredients: In a separate bowl or large measuring cup, whisk eggs, buttermilk, oil, and vanilla until smooth and slightly frothy.
  4. Make the batter: Pour the wet ingredients into the dry and whisk until almost combined. Slowly add the hot coffee (or hot water) while whisking. The batter will be thin—this is what makes the cake moist.
  5. Divide and bake: Pour the batter evenly into the prepared pans. Bake for 28–32 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs.
  6. Cool completely: Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack. Peel off the parchment and cool fully before frosting.
  7. Make the buttercream: Beat the butter on medium speed until creamy and pale, about 2 minutes. Sift together powdered sugar and cocoa. Add half to the butter, beat on low to combine, then add the rest.
  8. Adjust texture and flavor: Add vanilla, salt, and 3 tablespoons of cream. Beat on medium-high for 1–2 minutes until fluffy. If too thick, add a splash more cream. If too soft, add a tablespoon of powdered sugar.
  9. Assemble the cake: Level cake tops if needed. Place the first layer on a stand, spread a generous layer of frosting, and top with the second layer. Apply a thin crumb coat around the sides, chill for 15 minutes, then finish with a thicker, smooth coat.
  10. Serve: Slice with a sharp, warm knife for clean cuts. Add sprinkles, shaved chocolate, or fresh berries if you like.