Print

Chocolate Cake (Our Best-Ever Recipe)

This Chocolate Cake is rich, moist, and deeply chocolatey, with a tender crumb made from sour cream, buttermilk, and boiling water. The cake is finished with a smooth homemade chocolate frosting made with butter, cocoa powder, powdered sugar, and cream. It is a reliable classic for birthdays, celebrations, and everyday chocolate cravings.

Ingredients

For the Cake

  • 3/4 cup sour cream
  • 1/2 cup buttermilk
  • 2 large eggs
  • Cooking spray or butter, for coating the pans
  • 1/2 cup vegetable or canola oil
  • 1 tablespoon vanilla extract
  • 1 teaspoon kosher salt
  • 1 3/4 cups all-purpose flour
  • 1 3/4 cups granulated sugar
  • 3/4 cup natural cocoa powder
  • 1 tablespoon instant espresso powder
  • 2 teaspoons baking soda
  • 2 teaspoons baking powder
  • 1/2 cup boiling water

For the Frosting

  • 3 sticks (12 ounces) unsalted butter, softened
  • 4 1/2 cups powdered sugar
  • 1 cup natural cocoa powder
  • 1/4 cup heavy cream or whole milk, plus more as needed
  • 1 1/2 teaspoons vanilla extract
  • 1/4 teaspoon kosher salt

Instructions

  1. Preheat the oven to 350°F (175°C). Grease two 9-inch round cake pans with cooking spray or butter and line the bottoms with parchment paper.
  2. In a medium bowl, whisk together the sour cream, buttermilk, eggs, vegetable oil, and vanilla extract until smooth.
  3. In a separate large bowl, whisk together the kosher salt, flour, granulated sugar, cocoa powder, espresso powder, baking soda, and baking powder.
  4. Pour the wet ingredients into the dry ingredients and mix until just combined. Do not overmix.
  5. Slowly pour in the boiling water while whisking until the batter is smooth. The batter will be thin, which is normal.
  6. Divide the batter evenly between the prepared cake pans.
  7. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
  8. Let the cakes cool in the pans for about 10 minutes, then carefully turn them out onto a wire rack. Allow them to cool completely before frosting.
  9. To make the frosting, beat the softened butter in a large bowl until smooth and creamy.
  10. Gradually add the powdered sugar and cocoa powder, mixing on low speed until incorporated.
  11. Add the heavy cream or whole milk, vanilla extract, and kosher salt. Beat until smooth and fluffy.
  12. Add a little more cream or milk if needed until the frosting reaches a smooth, spreadable consistency.
  13. Place one cooled cake layer on a serving plate and spread an even layer of chocolate frosting over the top.
  14. Place the second cake layer on top and frost the top and sides of the cake.
  15. Slice and serve once the frosting has set slightly.

Notes

  • The boiling water creates a thin batter, but it helps produce a moist and tender chocolate cake.
  • Room-temperature eggs, sour cream, and buttermilk blend more evenly into the batter.
  • Instant espresso powder intensifies the chocolate flavor without making the cake taste strongly like coffee.
  • Do not overbake the cake. Start checking around 30 minutes and remove it when a toothpick comes out clean or with a few moist crumbs.
  • Cool the cake layers completely before frosting to prevent the buttercream from melting.
  • If the frosting is too thick, add cream or milk one tablespoon at a time. If it is too thin, add a little more powdered sugar.
  • For a smooth frosting, sift the cocoa powder and powdered sugar before mixing.
  • Store the frosted cake covered at room temperature for up to 2 days or refrigerate for longer storage. Let refrigerated cake sit at room temperature before serving.