| | | | | |

Best Chocolate Cake Recipe

by Danielle Cochran

As an Amazon Associate I earn from qualifying purchases.

This chocolate cake recipe is rich, moist, deeply chocolatey, and layered with creamy chocolate buttercream frosting. It’s the kind of homemade chocolate cake that feels bakery-worthy but comes together with simple ingredients and simple steps. The soft cake layers stay incredibly moist thanks to yogurt, oil, and freshly brewed coffee, while the creamy chocolate frosting pulls everything together. Whether you’re making it for a birthday, holiday, celebration, or just because you need a really good slice of chocolate cake, this recipe always delivers. If you’ve been looking for a classic homemade chocolate cake recipe that feels dependable, rich, and worth every bite, this is the one.

Slice of rich chocolate layer cake with creamy chocolate buttercream frosting

The Best Chocolate Cake Ever

My husband Joe will pick chocolate over just about any dessert, so I knew this cake had to be good. After testing different versions, this is the one we keep coming back to. It has the softest chocolate cake layers, rich chocolate flavor, and the kind of frosting that makes you sneak a bite straight from the bowl. This is the chocolate cake I make for birthdays, celebrations, or honestly just when we want a really good homemade cake. It’s simple, classic, and truly one of the best chocolate cakes I’ve ever made.

Why You’ll Love This Chocolate Cake Recipe

  • Rich chocolate flavor in every bite
  • Soft, moist cake layers
  • Creamy homemade chocolate buttercream
  • Easy enough for beginner bakers
  • Perfect for birthdays and celebrations
  • Freezes beautifully
  • Made with pantry-friendly ingredients
Slice of rich chocolate layer cake with creamy chocolate buttercream frosting

Ingredients Needed For This Chocolate Cake Recipe

Make sure you scroll down to the recipe card to see the full list of ingredients needed for this recipe. 

For The Chocolate Cake

  • All-purpose flour
  • Unsweetened cocoa powder
  • Granulated sugar
  • Baking powder
  • Baking soda
  • Kosher salt
  • Greek yogurt
  • Vegetable oil
  • Espresso powder
  • Fresh brewed coffee
  • Eggs
  • Vanilla extract

For the Chocolate Buttercream

  • Butter
  • Powdered sugar
  • Unsweetened cocoa powder
  • Milk
  • Espresso powder
  • Vanilla extract

WOW. THIS BISCOFF CAKE.

This cake is basically what would happen if Biscoff and sticky pudding had a baby. It’s sticky, gooey, rich, and made to soak up every bit of that warm sauce. The kind of dessert that somehow gets better as it sits, which makes it perfect for making ahead.

Here is how it all comes together:

  • Beat Biscoff spread with granulated sugar and brown sugar until light
  • Mix in eggs, vanilla, buttermilk, and maple syrup
  • Whisk flour, baking powder, baking soda, salt, and cinnamon in a separate bowl
  • Combine wet and dry ingredients just until smooth
  • Bake until the center is set and the cake no longer jiggles
  • Simmer butter, brown sugar, cream, vanilla, and Biscoff spread into a silky toffee sauce
  • Poke holes all over the warm cake and slowly pour the sauce on top
  • Let it rest so the sauce can soak in before slicing

It’s great for gatherings, potlucks, or anytime you need a dessert you can bring in a pan and serve without stress. You can serve it at room temperature or warm it up, but it really shines with a scoop of ice cream melting over the top.

Oven Temperatures

Oven temperatures can vary significantly from one oven to another. To achieve consistent results, it’s crucial to know the exact temperature inside your oven. The safest and most accurate way to determine this is by using an oven thermometer. This simple tool can help you avoid underbaking or overbaking your treats.

chocolate cake ingredients on a wooden board

How To Make This Chocolate Cake Recipe

  1. Preheat your oven to 350°F. Spray two 8-inch round cake pans with nonstick baking spray.
  2. In a large mixing bowl, beat the eggs and sugar for about 3 minutes until lighter in color and slightly fluffy.
A glass bowl filled with a yellow mixture—perhaps the base for a gluten free chocolate cake—is being whisked with a black-handled metal whisk. The bowl sits on a white surface.
  1. Mix in the Greek yogurt, vegetable oil, vanilla extract, and espresso powder.
  2. In a separate bowl, whisk together the flour, cocoa powder, baking powder, baking soda, and salt.
  3. Slowly add the dry ingredients to the wet ingredients and mix until just combined.
  4. Gently stir in the freshly brewed coffee until smooth.
  1. Divide the batter evenly between the prepared pans.
  2. Bake for 35–45 minutes, or until a toothpick inserted into the center comes out with just a few moist crumbs.
  3. Allow the cakes to cool in the pans for 10 minutes before transferring to a wire rack.
  4. Cool completely before frosting.
  1. Beat the butter until smooth.
  2. Gradually add powdered sugar, cocoa powder, espresso powder, milk, and vanilla extract.
  3. Beat until creamy and fluffy.
  4. Spread frosting over one cake layer.
  5. Add the second layer and frost the top and sides.
rich chocolate layer cake with chocolate frosting

How To Keep Chocolate Cake Moist

  • Measure the flour correctly: Spoon the flour into the measuring cup, then level it off with a knife. Don’t scoop straight from the bag or you can pack in too much flour and make the cake dry.
  • Mix only until combined: Once the dry ingredients go into the wet ingredients, mix just until you no longer see streaks of flour. Overmixing can make the cake dense.
  • Use room temperature eggs and yogurt: Cold ingredients do not blend as smoothly, which can affect the texture of the cake.
  • Do not overbake: Start checking the cake near the lower end of the bake time. A toothpick should come out with a few moist crumbs, not wet batter.
  • Cool the cake completely before frosting: If the cake is even slightly warm, the frosting can melt and slide off.
rich chocolate layer cake with chocolate frosting

Tips For The Best Chocolate Cake

  • Use room temperature ingredients: This helps everything blend smoothly.
  • Don’t skip the coffee: It boosts the chocolate flavor.
  • Let the cake cool fully: Warm cake will melt your frosting.
  • Use an offset spatula: This makes frosting much easier.

Storage

  • Store the frosted cake covered at room temperature for up to 2 days.
  • Refrigerate for up to 5 days.
  • For best texture, let refrigerated slices sit at room temperature for 20–30 minutes before serving.

Follow us on Social Media!

If you make this recipe, please be sure to leave a review and rating below! To see more recipes and behind the scenes, follow along on Instagram, TikTok, Facebook, and Youtube! I’m also now on Pinterest, so stop by and take a look at what’s new.

A close-up of a slice of rich, three-layer gluten free chocolate cake with creamy chocolate frosting between each layer and on top, sitting on a white surface.

Best Chocolate Cake Recipe

Danielle Cochran
This rich and moist chocolate cake recipe is layered with creamy chocolate buttercream frosting for a classic homemade dessert that’s perfect for birthdays, holidays, and chocolate lovers.
5 from 1 vote
Prep Time 10 minutes
Cooling Time 2 hours
Total Time 2 hours 10 minutes
Course Cakes, Dessert
Cuisine American
Servings 10 People
Calories 887 kcal

Equipment

Video

Ingredients
 
 

For the Chocolate Cake:

  • 2 large eggs (room temperature)
  • 2 cups granulated sugar
  • 5 oz unsweetened Greek yogurt (or dairy-free unsweetened Greek yogurt)
  • 1/2 cup vegetable oil
  • 1 tsp vanilla extract
  • 1 tsp espresso powder
  • 2 cups all-purpose flour (or 1.1 gluten free flour)
  • 3/4 cup cocoa powder
  • 1 1/2 teaspoons baking powder
  • 1 1/2 teaspoons baking soda
  • 1 teaspoon kosher salt
  • 1 cup fresh brewed coffee

For the Chocolate Buttercream:

  • 1 1/2 cups butter (room temperature)
  • 5 cups powdered sugar
  • 1 cup unsweetened cocoa
  • 1 teaspoon espresso powder
  • 1/2 cup milk
  • 1 teaspoon pure vanilla extract
Shop Ingredients on Jupiter

Instructions
 

Make the Chocolate Cake:

  • Preheat the oven to 350°F. Spray two 8-inch round cake pans with nonstick baking spray. For easier removal, line the bottoms with parchment paper.
  • In a large mixing bowl, add the eggs and sugar. Beat for about 3 minutes, until the mixture looks lighter in color and slightly fluffy.
  • Add the Greek yogurt, vegetable oil, vanilla extract, and espresso powder. Mix until smooth.
  • In a separate bowl, whisk together the all-purpose flour, cocoa powder, baking powder, baking soda, and kosher salt.
  • Slowly add the dry ingredients to the wet ingredients. Mix just until combined. Do not overmix.
  • Pour in the freshly brewed coffee and gently mix until the batter is smooth. The batter will be thin.
  • Divide the batter evenly between the prepared cake pans.
  • Bake for 35-45 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs.
  • Let the cakes cool in the pans for 10 minutes. Carefully remove them from the pans and place them on a wire rack to cool completely before frosting.

Make the Chocolate Buttercream

  • Add the room temperature butter to a large mixing bowl. Beat until smooth and creamy.
  • Add the powdered sugar, cocoa powder, espresso powder, milk, and vanilla extract.
  • Beat on low speed at first so the sugar does not fly out of the bowl. Then increase the speed and beat until the frosting is smooth, fluffy, and spreadable.
  • If the frosting is too thick, add 1 tablespoon of milk at a time. If it is too thin, add a little more powdered sugar.

Assemble the Cake:

  • Place one cooled cake layer on a plate or cake stand.
  • Spread a thick layer of chocolate buttercream over the top.
  • Place the second cake layer on top.
  • Frost the top and sides of the cake with the remaining buttercream.
  • Slice and serve.

Notes

  • The batter will look thinner than most cake batters after adding the coffee. This is completely normal and helps create an incredibly moist cake.
  • Spoon and level the flour instead of scooping directly from the bag so the cake does not turn out dry.
  • Do not overmix once the dry ingredients are added. Mix just until the flour disappears.
  • The cake layers need to cool completely before frosting or the buttercream will melt.
  • For a gluten-free option, use a 1:1 gluten-free flour blend in place of the all-purpose flour.
  • For a dairy-free option, use dairy-free Greek yogurt, dairy-free butter, and your preferred dairy-free milk.
  • If the frosting is too thick, add milk 1 tablespoon at a time. If it is too thin, add more powdered sugar.

Nutrition

Serving: 1sliceCalories: 887kcalCarbohydrates: 129gProtein: 9gFat: 42gSaturated Fat: 21gPolyunsaturated Fat: 8gMonounsaturated Fat: 11gTrans Fat: 1gCholesterol: 113mgSodium: 709mgPotassium: 338mgFiber: 6gSugar: 100gVitamin A: 925IUCalcium: 105mgIron: 4mg
Tried this recipe?Mention @TheSaltyCooker or tag #thesaltycooker!

Frequently Asked Questions

Why does this chocolate cake use coffee?

Coffee makes the chocolate flavor deeper and richer. The cake will not taste like coffee, but it will taste more chocolatey.

What makes chocolate cake moist?

The Greek yogurt adds moisture and richness, while the oil keeps the cake soft even after it cools. Mixing just until combined also helps create a tender crumb instead of a dense cake.

Can I make this cake ahead of time?

Yes. You can bake the cake layers one day ahead. Let them cool completely, then wrap each layer tightly in plastic wrap and store them at room temperature overnight. Frost the cake the next day.

Can I freeze chocolate cake?

Yes. Let the cake layers cool completely, then wrap each unfrosted layer tightly in plastic wrap and then foil. Freeze for up to 3 months. Thaw the wrapped layers at room temperature before frosting.

Can I freeze chocolate frosting?

Chocolate buttercream can be frozen in an airtight container for up to 3 months. Let it thaw in the refrigerator overnight, then bring it to room temperature and re-whip it before frosting the cake.

What other frosting can I use?

Chocolate buttercream is classic, but this cake also works well with vanilla buttercream, peanut butter frosting, pistachio buttercream.

How do I know when it’s done?

The cake is done when the center springs back lightly and a toothpick inserted into the middle comes out with a few moist crumbs. If the toothpick has wet batter on it, keep baking.

22 Comments

  1. Thank you! This looks like a perfect cake and the recipe works for all of the things my sweet daughter-in-law can’t have. It’s gluten free and dairy free. Sadly she can’t have eggs. Have you ever tried an egg substitute that you like?

    1. We have not personally tested any egg replacements for this recipe, but applesauce could be a good option. Try using 1/4 cup of applesauce as a substitute for each egg.

  2. Please print recipe with original post. Ads are irritating trying to get the recipe! Makes me not want the recipe!!!

  3. Looks so moist. May I use self raising flour instead of gluten free. And would you use the same amount

  4. Hi, Can this recipe be made without the coffee and powder? If so, what substitutes could be made for this change?

  5. I have gathered all my ingredients and would like to make this for 4 servings, as it’s only 2 of us. What size pan do you recommend and baking time?

    1. Hello, this cake is 10 servings (slices) You can cup this recipe in half and do one pan or two pans with thin layers for a smaller version

5 from 1 vote

Leave a Reply

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

Recipe Rating