Chocolate Cake (Our Best-Ever Recipe)
This Chocolate Cake is rich, soft, and deeply chocolatey, with a tender crumb and a smooth homemade chocolate frosting. Sour cream and buttermilk help keep the cake moist, while natural cocoa powder and espresso powder bring out a bold chocolate flavor.
The recipe is simple enough for a weekend bake but special enough for birthdays, holidays, and celebrations. Everything comes together with everyday ingredients, and the finished cake has that classic homemade chocolate cake texture everyone loves.
Why You’ll Love This Chocolate Cake
- Rich chocolate flavor: Natural cocoa powder and espresso powder deepen the chocolate taste.
- Extra moist texture: Sour cream, buttermilk, and vegetable oil help keep the cake soft.
- Easy homemade frosting: The chocolate buttercream is creamy and smooth.
- Simple ingredients: Most ingredients are pantry staples.
- Great for celebrations: Perfect for birthdays, holidays, and family gatherings.
- Beginner-friendly: No complicated baking techniques are required.
Quick Recipe Overview
Prep Time: 20 minutes
Bake Time: 30–35 minutes
Cooling Time: 1 hour
Total Time: About 1 hour 55 minutes
Servings: 10–12
Course: Dessert
Cuisine: American
Ingredients
For the Chocolate Cake
- ¾ cup sour cream
- ½ cup buttermilk
- 2 large eggs
- Cooking spray or butter, for coating the pans
- ½ cup vegetable or canola oil
- 1 tablespoon vanilla extract
- 1 teaspoon kosher salt
- 1 ¾ cups all-purpose flour
- 1 ¾ cups granulated sugar
- ¾ cup natural cocoa powder
- 1 tablespoon instant espresso powder
- 2 teaspoons baking soda
- 2 teaspoons baking powder
- ½ cup boiling water
For the Chocolate Frosting
- 3 sticks (12 ounces) unsalted butter, softened
- 4 ½ cups powdered sugar
- 1 cup natural cocoa powder
- ¼ cup heavy cream or whole milk, plus more as needed
- 1 ½ teaspoons vanilla extract
- ¼ teaspoon kosher salt
How to Make Chocolate Cake
1. Prepare the Cake Pans
Preheat your oven to 350°F (175°C).
Grease two 9-inch round cake pans with cooking spray or butter. For easier removal, line the bottoms with parchment paper and lightly grease the parchment.
2. Combine the Wet Ingredients
In a large mixing bowl, whisk together the sour cream, buttermilk, eggs, vegetable oil, and vanilla extract.
Mix until the ingredients are smooth and evenly combined.
3. Mix the Dry Ingredients
In the same bowl, add the flour, granulated sugar, natural cocoa powder, espresso powder, baking soda, baking powder, and kosher salt.
Whisk everything together until the dry ingredients are evenly incorporated.
Because this is a simple one-bowl-style batter, there is no need to dirty another bowl for the dry ingredients.
4. Add the Boiling Water
Slowly pour the boiling water into the batter while whisking gently.
The batter will become thinner after the water is added. This is expected and helps produce a moist, tender cake.
Don’t worry if the batter looks more fluid than a typical cake batter.
5. Bake
Divide the batter evenly between the prepared cake pans.
Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs attached.
Avoid overbaking the cake, since this can make the layers dry.
6. Cool the Cake Layers
Allow the cakes to cool in their pans for about 10 minutes.
Run a thin knife around the edges, then carefully turn the cakes onto a wire rack.
Remove the parchment paper and allow the layers to cool completely before frosting.
How to Make the Chocolate Frosting
1. Beat the Butter
Place the softened butter in a large bowl.
Beat with an electric mixer for about 2–3 minutes, until smooth and creamy.
2. Add the Cocoa Powder
Add the natural cocoa powder and mix on low speed until fully incorporated.
Scrape down the sides of the bowl as needed.
3. Add the Powdered Sugar
Gradually add the powdered sugar, mixing on low speed between additions.
This helps keep the frosting smooth and prevents a cloud of powdered sugar from filling the kitchen.
4. Add the Cream and Flavorings
Add the heavy cream or whole milk, vanilla extract, and kosher salt.
Beat on medium-high speed for 2–3 minutes, until the frosting is light, fluffy, and spreadable.
If the frosting is too thick, add another small splash of cream or milk. If it becomes too soft, add a little more powdered sugar.
How to Assemble the Chocolate Cake
Place one completely cooled cake layer on a cake stand or serving plate.
Spread a generous layer of chocolate frosting over the top.
Place the second cake layer on top and gently press it into place.
Use the remaining frosting to cover the top and sides of the cake.
Smooth the frosting with an offset spatula or create simple decorative swirls for a homemade finish.
For a more polished presentation, you can decorate the top with chocolate shavings, cocoa powder, or a few chocolate curls.
Recipe Tips for Success
Use Room-Temperature Ingredients
Room-temperature eggs, sour cream, and buttermilk blend more easily into the batter and help create a consistent texture.
Don’t Skip the Espresso Powder
Espresso powder doesn’t make the cake taste strongly like coffee. Instead, it helps intensify the chocolate flavor.
If you don’t have espresso powder, you can leave it out.
Add the Boiling Water Carefully
The boiling water makes the batter thin, so pour it slowly while whisking gently to prevent splashing.
Don’t Overbake
Start checking the cake around the 30-minute mark. Remove it when a toothpick comes out clean or with a few moist crumbs.
Cool Completely Before Frosting
Warm cake layers can cause buttercream to soften and slide. Let the cakes cool completely before assembling.
Ingredient Substitutions
Buttermilk: If you don’t have buttermilk, add about 1½ teaspoons of lemon juice or white vinegar to a measuring cup, then add milk to reach ½ cup. Let it sit for 5–10 minutes.
Sour Cream: Plain full-fat Greek yogurt can be used as a substitute.
Vegetable Oil: Canola oil or another neutral-flavored oil works well.
Heavy Cream: Whole milk can be used in the frosting.
Espresso Powder: It can be omitted if unavailable.
Natural Cocoa Powder: This recipe is designed around natural cocoa powder, so it is best to use natural cocoa for the intended flavor and leavening balance.
Recipe Variations
Chocolate Raspberry Cake
Spread a thin layer of raspberry preserves between the cake layers before adding the frosting.
Chocolate Peanut Butter Cake
Add a thin layer of creamy peanut butter between the cake layers for a classic chocolate-peanut butter combination.
Chocolate Ganache Cake
Finish the frosted cake with a chocolate ganache drip for a beautiful celebration dessert.
Chocolate Birthday Cake
Decorate the finished cake with colorful sprinkles, chocolate candies, or chocolate curls.
Double Chocolate Cake
Add mini semi-sweet chocolate chips to the batter for extra pockets of chocolate throughout the cake.
What to Serve With Chocolate Cake
Serve this cake with:
- Vanilla ice cream
- Whipped cream
- Fresh strawberries
- Fresh raspberries
- Chocolate sauce
- Caramel sauce
- Fresh berries
- Coffee or tea
A slice of chocolate cake with a scoop of vanilla ice cream makes an especially satisfying dessert.
How to Store Chocolate Cake
Store the frosted cake in an airtight cake container at room temperature for up to 2 days if your kitchen is cool.
For longer storage, refrigerate the cake for up to 5 days.
Let refrigerated slices sit at room temperature for about 20–30 minutes before serving for the best texture.
Can You Freeze Chocolate Cake?
Yes. The unfrosted cake layers freeze very well.
Allow the layers to cool completely, then wrap each one tightly in plastic wrap. Add a layer of aluminum foil and freeze for up to 3 months.
Thaw the layers before frosting and assembling the cake.
Individual frosted slices can also be frozen in airtight freezer-safe containers.
Frequently Asked Questions
Why is my chocolate cake batter thin?
The boiling water adds extra liquid to the batter. This is intentional and helps create a soft, moist cake.
Can I leave out the espresso powder?
Yes. Espresso powder mainly enhances the chocolate flavor. The cake will still work without it.
Can I use Greek yogurt instead of sour cream?
Yes. Plain full-fat Greek yogurt is a good substitute for sour cream and provides a similar creamy texture.
Can I use coffee instead of boiling water?
Yes. You can replace the boiling water with hot brewed coffee if you want to intensify the chocolate flavor.
How do I know when the cake is finished?
Insert a toothpick into the center of the cake. It should come out clean or with a few moist crumbs, but not wet batter.
Can I make this cake ahead of time?
Yes. Bake the cake layers a day ahead, allow them to cool completely, and wrap them tightly. Frost and assemble the cake when you’re ready to serve it.
How can I make the frosting smoother?
Make sure the butter is properly softened and beat it thoroughly before adding the other ingredients. Sifting the cocoa powder and powdered sugar can also help create a smoother frosting.
Nutrition Information
Approximate per serving, based on 12 servings:
Calories: 690
Protein: 7g
Carbohydrates: 96g
Fat: 32g
Saturated Fat: 19g
Sugar: 73g
Fiber: 5g
Sodium: 520mg
Nutrition information is an estimate and will vary depending on the specific ingredients, frosting amount, and serving size.
Final Thoughts
This Chocolate Cake is a classic homemade dessert with everything you want from a great chocolate cake: a soft, moist crumb, deep cocoa flavor, and creamy chocolate frosting.
Sour cream, buttermilk, and vegetable oil help keep the cake tender, while espresso powder brings out the natural chocolate flavor. The result is a beautiful layer cake that works just as well for a birthday celebration as it does for a simple family dessert.
Make it ahead, frost it generously, and serve each slice with your favorite berries or a scoop of vanilla ice cream for an extra-special treat.
PrintChocolate 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.
- Prep Time: 25 minutes
- Cook Time: 35 minutes
- Total Time: 1 hour
- Yield: 12 servings
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
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
- 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.
- In a medium bowl, whisk together the sour cream, buttermilk, eggs, vegetable oil, and vanilla extract until smooth.
- In a separate large bowl, whisk together the kosher salt, flour, granulated sugar, cocoa powder, espresso powder, baking soda, and baking powder.
- Pour the wet ingredients into the dry ingredients and mix until just combined. Do not overmix.
- Slowly pour in the boiling water while whisking until the batter is smooth. The batter will be thin, which is normal.
- Divide the batter evenly between the prepared cake pans.
- Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
- 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.
- To make the frosting, beat the softened butter in a large bowl until smooth and creamy.
- Gradually add the powdered sugar and cocoa powder, mixing on low speed until incorporated.
- Add the heavy cream or whole milk, vanilla extract, and kosher salt. Beat until smooth and fluffy.
- Add a little more cream or milk if needed until the frosting reaches a smooth, spreadable consistency.
- Place one cooled cake layer on a serving plate and spread an even layer of chocolate frosting over the top.
- Place the second cake layer on top and frost the top and sides of the cake.
- 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.
