• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Toasty Kitchen

  • Home
  • Recipe Index
  • Subscribe
  • About
  • FAQ
  • Navigation Menu: Social Icons

menu icon
go to homepage
  • Home
  • Recipes
  • Subscribe
  • About
  • FAQ

subscribe
search icon
Homepage link
  • Home
  • Recipes
  • Subscribe
  • About
  • FAQ

×
Home » Recipes » Cakes

Chocolate Layer Cake

Modified: Jun 26, 2025 · Published: Aug 13, 2024 by Heather · As an Amazon Associate I earn from qualifying purchases. · 1960 words. · About 10 minutes to read this article.

Jump to Recipe

Make a chocolate layer cake for your next birthday or celebration. Two layers of moist and rich chocolate cake are topped with a velvety whipped chocolate buttercream frosting.

A slice of chocolate cake on a serving plate.

Recipe summary

Flavor/texture: Moist, rich chocolate cake topped with sweet, velvety whipped chocolate buttercream frosting.

Cake size: 8 or 9-inch round two layer cake

Serves: 16 or more

More chocolate cake: Chocolate Sheet Cake, Homemade Chocolate Cupcakes

Jump to:
  • Recipe summary
  • Cake ingredients
  • How to make chocolate layer cake
  • Tips and tricks
  • Frequently asked questions
  • Troubleshooting
  • Recommended
  • 📖 Recipe
  • Comments

Cake ingredients

Ingredients on a counter top.
  • Wet ingredients - Oil, buttermilk, granulated sugar, eggs, water, and vanilla add moisture to your cake base and balance with the dry ingredients. Reducing or omitting these ingredients can result in a dry cake.
  • Dry ingredients - All-purpose flour, cocoa powder, baking soda, baking powder, and salt balance with the wet ingredients and help your cake rise in the oven.
  • Cocoa powder - You'll need natural cocoa powder for this recipe, not Dutch-processed cocoa powder. Natural cocoa powder is more acidic than Dutch cocoa powder. When paired with the leavening agents in this recipe it gives your cake the proper rise. What happens if you use Dutch cocoa anyway? Your cake will rise less in the oven and have a darker color.
Ingredients on a counter top.
  • Frosting ingredients - Unsalted butter, confectioner's sugar, natural cocoa powder, and heavy cream are the base of the frosting recipe. Make sure your butter is room temperature (not melted, not cold) to create a smooth, even frosting. Heavy cream can be substituted with whole milk if needed (your frosting will turn out slightly thinner).
  • Flavor - Vanilla extract and salt add flavor to your frosting and balance with the sweetness of the sugar. Don't omit the salt unless you're using salted butter!

How to make chocolate layer cake

Preparing the batter and baking chocolate cake in two round cake pans.
  1. Whisk dry ingredients in a small bowl to remove clumps.
  2. Whisk wet ingredients in a separate bowl.
  3. Combine wet ingredients and dry ingredients and stir until just combined.
  4. Divide batter evenly between two cake pans and bake until the center pops back when gently pressed.
Assembling and frosting a chocolate layer cake.
  1. Allow your baked cakes to cool before removing from the pans. Trim the rounded tops with a serrated knife.
  2. Place the first cake cut side down then frost with an offset spatula.
  3. Top with the second cake cut side down and add remaining frosting.
  4. Cake can be frosted with thick middle and top layers and bare sides, or frosting can be spread to cover the sides.

Heather's top tip

To test for doneness, gently press the top of your cake. If it springs right back, it's done. If an indent is left, it needs more time. For accurate results every time, use an instant read thermometer. Cake is done when it reaches 210F in the center.

Tips and tricks

Buttermilk substitute - In a liquid measuring cup, add 1 tablespoon of white vinegar. Fill to the 1-cup line with whole milk and allow to set for 5 minutes, then continue with the recipe.

Use room temperature eggs - They blend seamlessly into the batter without leaving and streaks or lumps. To bring eggs to room temperature, place on the countertop 30 minutes before beginning. For quicker warming, place whole eggs into a bowl and cover with warm tap water. Your eggs will be ready in about ten minutes.

Use a sift or whisk - Whisk your dry ingredients together to remove lumps. This ensures a smooth, even batter.

Batter look thin? - This is normal. Your batter should look a bit thin and bubbly when poured into the cake pans. The bubbles are your leavening agents reacting with acidic ingredients and it means they're ready to help your cake rise in the oven.

Testing for doneness - I use these three methods every time I bake a cake.

  • Jiggle test - Gently jiggle the pan. Is your cake still jiggly and liquid in the middle? It needs more time.
  • Spring back - Gently press the top of your cake. If it springs right back, your cake is done. If it leaves an indent, it needs more time.
  • Thermometer - Use an instant read thermometer to test for doneness. Cake is done when it reaches 210 degrees Fahrenheit in the center.

Do not frost a warm cake - Buttercream frosting melts around 90 degrees Fahrenheit. Adding frosting to a hot cake will cause it to melt. Wait until your cake is completely cooled.

A slice of chocolate layer cake pulled from a sliced cake with a metal server.

Frequently asked questions

What size pans do I need for this recipe?

This layer cake can be prepared in 9-inch or 8-inch round cake pans. This amount of batter can also be baked in a 13x18 or 9x13 sheet pan - see my recipe for chocolate sheet cake for full details! It's the same exact recipe made as a sheet cake.

How do I make buttercream frosting less sweet?

Buttercream frosting is a traditional, very sweet frosting that is often found in grocery store bakeries and on birthday cakes. It is popular because it's easy to prepare with just two main ingredients - butter and confectioner's sugar. Since buttercream includes so few ingredients, it is not easy to alter to make less sweet. Adding less sugar makes the frosting too soft to pipe and also tastes like sweetened butter.
Instead, I'd suggest making a less sweet frosting recipe. All of these frostings are less sweet that buttercream: ermine frosting, chocolate ermine frosting, homemade whipped cream, chocolate Italian meringue buttercream, and chocolate Swiss meringue buttercream.

How should I store a frosted cake before serving?

Baked goods can be frosted with buttercream the day before an event and left at room temperature in a sealed container. Keep in mind that butter (and in turn, buttercream) melts around 90 to 95 degrees Fahrenheit.
If your location is nearing this temperature, refrigerate your baked goods until an hour before you're ready to serve them. Refrigerating frosted baked goods for a short amount of time will not hurt them. However, you will want to give them some time to come to room temperature before serving.
Here's a fantastic article about how frosting holds up to heat: The Best Cake Frosting For Hot Weather

Can I pipe decorations with this frosting?

Yes, this frosting pipes beautifully and can be used for rosettes, borders, and topping cupcakes.

How many people does this recipe serve?

This recipe can be sliced to serve as many as 30-40 people with small slices (think wedding cake slices). Slicing large wedges will yield about 12-16 servings.

How long does homemade chocolate cake last?

Unfrosted or frosted chocolate cake will keep in a sealed container at room temperature for 2-3 days, in the refrigerator for 3-4 days, or frozen for up to 2 months. If you've refrigerated your cake, allow it to come to room temperature for one hour before serving.

Troubleshooting

Why did my cake turn out dry?

Baked goods can turn out dry for a few reasons:
- Baking too long.
- Adding too many dry ingredients.
- Adding too few wet ingredients.
- Butter-based cake is refrigerated (it feels dry when chilled, but softens when it comes back to room temperature).
It's important to follow the recipe exactly, including the measurements and exact ingredients listed. I recommend using an instant-read thermometer to make sure your cake doesn't get overbaked in the oven.

How do I add moisture to a dry cake?

This is a baker's secret that's optional but effective! Brush simple syrup over your cake before frosting. A layer of simple syrup helps keep the cake moist for longer. Simple syrup is a 1:1 ratio of water and granulated sugar, brought to a boil on the stove top until dissolved, then cooled to room temperature. I'd suggest about ¼ cup or more for this size cake.

Why did my cake turn out dense?

Cake can turn out dense from expired leavening, overmixing the wet and dry ingredients (this overworks the gluten), not whipping the butter and sugar long enough, or adding extra wet ingredients (like adding sour cream or applesauce to make cake "extra moist"). If the balance of wet and dry ingredients is off, this can cause a change in texture, preventing your cake from rising properly in the oven.

Why did my cake sink in the middle?

Sinking can happen for many reasons. Overmixing the batter (which adds extra air that's released during baking), underbaking, using expired leavening, using the wrong leavening, or accidentally doubling the leavening can all cause your cake to sink in the middle.

Recommended

  • Chocolate Sheet Cake
  • Piece of sheet cake on a white plate.
    Vanilla Sheet Cake
  • A chocolate cupcake with piped chocolate frosting on top.
    Homemade Chocolate Cupcakes
  • A white bowl filled with chocolate frosting, with a red spatula balanced across the top.
    Whipped Chocolate Buttercream Frosting

📖 Recipe

A slice of chocolate cake on a serving plate.
Pin Print Rate
5 from 1 review

Chocolate Layer Cake

Make a chocolate layer cake for your next birthday or celebration. Two layers of moist and rich chocolate cake are topped with a velvety whipped chocolate buttercream frosting.
Prep Time20 minutes minutes
Cook Time20 minutes minutes
Resting Time1 hour hour
Total Time1 hour hour 40 minutes minutes
Servings: 16 or more servings
Calories: 524kcal
Author: Heather

Ingredients

Cake

  • 1 ¾ cups (210 g) all-purpose flour
  • ¾ cup (63 g) natural cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • ½ teaspoon salt
  • 1 ¾ cups (345 g) granulated sugar
  • 3 large eggs, room temperature
  • 1 cup (227 g) buttermilk, room temperature
  • 1 cup (226 g) warm water
  • ½ cup (100 g) vegetable oil
  • 2 teaspoons vanilla extract

Frosting

  • 1 cup (227 g) unsalted butter, room temperature
  • 3 cups (342 g) confectioner's sugar
  • ½ cup (42 g) natural cocoa powder
  • ⅓ cup (75 g) heavy cream, cold
  • 2 teaspoons vanilla extract
  • ¼ teaspoon salt
Prevent your screen from going dark

Instructions

Cake

  • Preheat oven to 350℉. Generously grease two 8-inch or 9-inch round cake pans, line the bottoms with parchment circles, and set aside.
  • In a bowl, add flour, cocoa powder, baking soda, baking powder, and salt. Sift or whisk to remove clumps. Set aside.
  • In a large bowl, add granulated sugar, eggs, buttermilk, warm water, vegetable oil, and vanilla extract. Whisk or stir until evenly incorporated.
  • Add half of the dry ingredients to the wet ingredients. Gently stir until just combined. Add remaining dry ingredients and stir until just combined (do not overmix). Batter should look thin and a little bubbly.
  • Pour batter evenly between your two prepared round cake pans. Gently tap on the countertop to remove air bubbles.
  • Two 9 inch round cake pans: 26-30 minutes
    Two 8 inch round cake pans: 28-34 minutes
    Bake your cake using the time frames above as a reference. To test for doneness, gently jiggle the cake pan. If your cake is jiggly in the center, it needs more time. if it's not jiggly, gently press into the center of your cake with a finger. If it springs back, it's done. If it leaves an indent, the cake needs more time. You can also test with a toothpick - if it comes out dry or with a few dry crumbs, it's done.
  • Remove cake from oven and allow to cool completely in the pan(s) on a wire cooling rack.

Frosting

  • In a large bowl, add room temperature butter. Using a hand mixer or stand mixer, beat until creamy (about a minute). Gradually add confectioner's sugar and cocoa powder and mix slowly until ingredients are fully combined. Then, whip at high speed for about 2-3 minutes, or until light and fluffy.
  • Add heavy cream, vanilla extract, and salt. Whip for an additional 2-3 minutes, or until light and fluffy. Add additional heavy cream as needed to reach desired consistency.
  • Gently flip and remove cakes from their pans. Trim the rounded tops with a serrated knife to make flat layers.
  • Place one layer, top side down, onto a cake stand or serving plate. Top with frosting and spread into an even layer. Add second layer of cake, top side down, and top with another layer of frosting. If frosting the sides, spread remaining frosting onto the sides of the cake.

Equipment Recommendations

  • 9-Inch Round Cake Pan
  • Nordic Ware Half Baking Sheet
  • Nicewell Digital Kitchen Scale
  • Serrated Bread Knife

Notes

  • Serves: Layer cake can be sliced to serve up to 30-40 guests when serving small slices (like wedding cake slices). If slicing into wedges, cake will yield 12-16 slices.
  • Baking is an exact science: I do not recommend substituting any ingredients. The oil, buttermilk, eggs, and sugar keep your cake moist - substituting any of these ingredients can change the texture and make your cake dry.
  • Storage: Unfrosted or frosted cake will keep in a sealed container at room temperature for 2-3 days, in the refrigerator for 3-4 days, or frozen for up to 2 months. If refrigerating or freezing unfrosted cake layers, wrap tightly in plastic and place in a tightly sealed container. Thaw overnight in the refrigerator, then bring to room temperature for an hour before serving. 
  • Top tips: Be sure to check out my 10 tips for baking cake, based on reader comments and questions!

Nutrition Estimate

Serving: 1slice | Calories: 524kcal | Carbohydrates: 67g | Protein: 5g | Fat: 27g | Saturated Fat: 16g | Trans Fat: 1g | Cholesterol: 110mg | Sodium: 156mg | Potassium: 148mg | Fiber: 1g | Sugar: 49g | Vitamin A: 867IU | Vitamin C: 1mg | Calcium: 70mg | Iron: 1mg
Course: Dessert
Cuisine: American

More Cakes

  • A slice of sheet cake with layered topping on a small plate with a fork.
    Berry Chantilly Sheet Cake
  • A slice of coffee cake on a plate.
    Lemon Coffee Cake
  • A square of coffee cake on a plate.
    Applesauce Coffee Cake
  • A carrot cake cupcake.
    Carrot Cake Cupcakes

Share this post:

Reader Interactions

Comments

No Comments

5 from 1 vote (1 rating without comment)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Heather of The Toasty Kitchen

Hi, I'm Heather!

I love cooking with simple, everyday ingredients and want to help you make homemade meals with ease.

Read more

Reader favorites

  • A metal fork in a bowl of cheesy rice.
    Cheesy Rice
  • Whipped buttercream frosting recipe.
    Whipped Buttercream Frosting
  • Beef roast in a large slow cooker.
    Slow Cooker Beef Roast with Potatoes and Carrots
  • Pouring gravy over a bowl of mashed potatoes.
    How To Make Gravy Without Drippings

Parties & Potlucks

  • Two glasses of punch.
    Spring Party Punch
  • A mint chocolate chip mini cheesecake unwrapped on a cutting board.
    Mint Chocolate Chip Mini Cheesecakes
  • A stack of birthday cake rice krispies treats.
    Birthday Cake Rice Krispies Treats
  • A stack of birthday cookie bars.
    Birthday Cookie Bars

Footer

featured on:

decorative image of website logos.

Explore

  • Recipe Index
  • About
  • FAQ
  • Subscribe

About

  • Privacy Policy
  • Disclaimer
  • Image Copyright
  • Contact

Copyright © 2025 The Toasty Kitchen®

Rate This Recipe

Your vote:




Let us know what you thought of this recipe:

This worked exactly as written, thanks!
My family loved this!
Thank you for sharing this recipe

Or write in your own words:

A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.