This classic recipe pairs delicious moist chocolatey cake layers with a rich and silky chocolate buttercream. It’s the only chocolate cake recipe you will ever need!
There are few things more comforting in this world than good old chocolate cake. It is, in fact, one of my most favorite things to eat. The classic combo of chocolate + chocolate is truly the best.
I’m so excited to share my favorite homemade chocolate cake recipe with you. It is delicate yet sturdy, with a perfect crumb, and full of flavor. I’ve been using this one for years and I love it. The best part? It’s super easy to whip together and bakes up perfectly every time.
Whether you’re celebrating a special occasion or satisfying a chocolate craving, this recipe is all you need.
How to Make the Best Chocolate Cake
This recipe uses a simple mixing method and simple ingredients. You don’t have to worry about creaming butter and sugar or alternating flour and milk. You just:
- Combine the dry ingredients
- Combine the wet ingredients
- Mix both together and bake
You can make this cake either using a stand mixer or just by hand using a large bowl or two.
If you prefer, you can use hot coffee instead of hot water. It is commonly used in this type of recipe and helps enhance the chocolate flavor a bit. I’m usually too lazy to make coffee and I find the hot water version perfectly delicious. Alternatively, you can dissolve 1 Tbsp of instant espresso powder in the hot water.
Buttermilk is needed for this recipe and can’t be replaced with regular milk. If you don’t have buttermilk at home read through the FAQ section below on how to make your own.
Cake Tip!
The cake batter will be very thin and liquid. This is normal! The batter also rises a lot so be sure not to fill your pans more than half full or so.
This recipe is a crowd-pleaser and a fan favorite. It will go perfectly with almost any flavor of frosting. Today, I’ve paired it with a classic chocolate Swiss meringue buttercream.
Chocolate Swiss Meringue Buttercream
This chocolate buttercream recipe is pure heaven. It is seriously SO good that you’ll be eating it with a spoon. I’ve made chocolate Swiss meringue buttercream in the past, but have always struggled a bit getting it to look and taste very chocolatey. With American chocolate buttercream, it’s easier to achieve that fudgy flavor and color.
If you’d like to enhance the chocolate flavor even more you can add a bit of cocoa powder to the buttercream like I did here in my German Chocolate Cake. You can just add it 1 Tbsp at a time until you get the desired flavor or color.
If you want a darker chocolate frosting you can also add some chocolate brown color gel to it. I don’t find it necessary, but it’s an option.
If you prefer an easier frosting, I have a great recipe for an American-style easy chocolate buttercream that you can use instead. Or, if you want something even richer, you can pair it with a chocolate ganache frosting.
Whatever frosting you choose, I do recommend using high quality chocolate for the buttercream as it will really improve the flavor and texture.
Be sure to use the best quality chocolate you can get your hands on. This typically excludes anything you’d find in your local grocery store, but Lindt will do if you don’t have access to anything else. When I’m using chocolate in ganache or frosting, I like to use a high-quality semi sweet chocolate from Callebaut which is readily available to me.
A high-quality chocolate will really enhance the flavor and texture of your cakes, cookies, and frostings. Other brands I like to use are Valhrona, Cacao Barry, and Ghirardelli.
This deliciously moist chocolate cake recipe is a reader favorite and in my top 5 favorite cakes of all time. Perfect for the chocolate cake lover in your life. I am sure you will love it as much as I do!
Frequently Asked Questions
How can I convert this recipe?
- You can use this recipe to make a three-layer 6″ cake instead, but make sure your cake pans are 3″ tall. Or use this recipe here.
- To make cupcakes, all you need to do is reduce the baking time — start checking at 15mins or so. The recipe will make 18-24 cupcakes depending on size.
- For other conversions go here. Bake time may vary depending on pan size.
Can I make it in advance?
- The cooled cake layers can be baked ahead of time, double wrapped in plastic wrap, and frozen for up to 3 months. Take out 2-3 hours before assembly.
- The frosting can be placed in an airtight container and refrigerated for 1 week or frozen for 3 months. Bring to room temperature and rewhip before using.
- The finished cake (whole or sliced, stored airtight) can be frozen for up to 3 months.
Can I get the measurements by weight/grams?
- There is a Metric option in the recipe card. If you click it it will convert everything to grams.
- This conversion is done automatically and I cannot guarantee the accuracy but many readers have had success using the metric option for this recipe.
What if I don’t have Dutch-process cocoa powder?
- I like to use Dutch-process cocoa powder in all of my chocolate recipes, but most any kind of cocoa powder will work just fine.
- Dutch-process has had some of the acid stripped from it and yields a richer flavor overall. Again, it won’t make or break the recipe to use regular cocoa powder here.
What if I don’t have buttermilk?
- Buttermilk is not optional and cannot be swapped for milk as it will affect the overall result.
- For best results, use actual buttermilk, but if you don’t have any you can make your own at home by combining 1 cup of milk (whole milk ideally, but I often just use 1%) with 1 Tbsp of lemon juice or vinegar and letting it sit for 10mins.
Can I use hot coffee instead of hot water?
- You’ll often see this kind of chocolate cake recipe using hot coffee instead of hot water in the batter, and you can use either.
Does the sugar get mixed with the wet or dry ingredients?
- I combine the granulated sugar with the dry ingredients.
Tips for making this Homemade Chocolate Cake Recipe
- The cake batter will be very thin and liquid. This is normal! It also rises a lot so be sure not to fill your pans more than half full or so.
- If you’d prefer to use an American-style buttercream with this chocolate cake you can double my Easy Chocolate Buttercream Frosting recipe.
- I used a 1M tip to create the frosting effect on the side of the cake.
- Be sure to use room temperature ingredients unless specified.
- I like to prepare my cake pans using Homemade Cake Release and line with parchment paper.
- Be sure to check my Swiss Meringue Buttercream post for tips and troubleshooting.
- Learn how to keep your cakes moist using Simple Syrup.
- To help ensure your cake layers bake up nice and flat, check out my How to Bake Flat Cake Layers post!
Homemade Chocolate Cake Recipe
Ingredients
Chocolate Cake:
- 2 cups all-purpose flour
- 2 cups granulated sugar
- 3/4 cup Dutch-processed cocoa powder sifted
- 2 tsp baking soda
- 1 tsp baking powder
- 1 tsp salt
- 1/2 cup vegetable oil
- 1 cup buttermilk room temperature
- 1 cup hot water or hot coffee
- 2 large eggs room temperature
- 2 tsp vanilla extract
Chocolate Swiss Meringue Buttercream:
- 6 large egg whites
- 2 cups granulated sugar
- 2 cups unsalted butter room temperature
- 10 oz good quality dark chocolate chopped, melted, cooled
Assembly:
- chocolate curls or sprinkles
Instructions
Chocolate Cake:
- Preheat oven to 350F, grease two 8-inch cake pans and dust with cocoa powder. Line bottoms with parchment paper.
- Place all dry ingredients into the bowl of an electric mixer fitted with a paddle attachment. Stir to combine.
- In a medium bowl whisk all wet ingredients (pour hot water/coffee in slowly as not to cook the eggs).
- Add wet ingredients to dry and mix on medium for 2-3 mins. Batter will be very thin.
- Divide batter evenly in your prepared pans. I used a kitchen scale to ensure the batter is evenly distributed.
- Bake for 40-45 mins or until a cake tester comes out mostly clean.
- Cool 10 minutes in the pans then turn out onto a cooling rack to cool completely.
Chocolate Swiss Meringue Buttercream:
- Place egg whites and sugar into the bowl of a stand mixer, whisk until combined.*
- Place bowl over a double boiler on the stove and whisk constantly until the mixture is hot and no longer grainy to the touch (approx. 3mins). Or registers 160F on a candy thermometer.
- Place bowl on your stand mixer and whisk on med-high until the meringue is stiff and cooled (the bowl is no longer warm to the touch (approx. 5-10mins)).
- Switch to paddle attachment. Slowly add cubed butter and mix until smooth.**
- Add cooled melted chocolate and whip until smooth.
Assembly:
- Place a layer of cake on a cake stand or serving plate. Top with approx. 1 cup of buttercream and spread evenly. Place the second layer on top and do a thin crumb coat on the cake. Chill for 20mins.
- Place 1 cup of frosting on top and spread evenly. Smooth the sides and flatten the top, then use a large offset spatula to do a swirl pattern on top.
- Using a piping bag fitted with a 1M tip, pipe rows of frosting around the cake, starting at the bottom. Apply even pressure as you rotate your turntable. Continue working your way up the cake to the top, making sure the seams all align at the back.
- Decorate the top with chocolate curls, pearls, and flakes if desired.
Jacky says
My go-to chocolate cake recipe. Though I make it with half cup less of sugar. Love how moist it turns out. I use ghirardelli Majestic chocolate powder and it’s delicious.
Olivia says
Thank you Jacky! I’m glad yo hear you love it 🙂
Hailey says
Hi Liv! if I need to make a 4 inch 2 inch tall cake, and a 6 inch 4 inch tall cake, and a 8 inch cake teirs ; should I change the serving size is two 6, 12 and 24?
Olivia says
Hi Hailey! Converting pan sizes is always tricky. Here are some sites I use as a guideline:
http://www.joyofbaking.com/PanSizes.html
https://www.cookipedia.co.uk/recipes_wiki/Cake_tin_conversion_charts
Demi says
Hi liv.can i make the recipe in two 9inch pans and cut them in half to make.thin layers to use with pastry.cream?they like the cake layers around 1.5-2cm so i have to cut layers ..any ideas?thank you
Olivia says
Hi Demi! I worry that the layers would be too thin in 9″ pans and difficult to split. In 8″ pans they bake up to be close to 5cm tall.
Charlie says
Great recipe 🙂
Do you have a version for a 3 layer 8 inch choc cake?
Thank you
Olivia says
Hi Charlie! You can 1.5x this recipe for a three layer 8″ cake. For ease you can change the Servings amount to 18 and it will adjust the amounts.
Helen Grace says
Best chocolate cake ever! Family and friends favorite whenever I bake it. I have been requested to bake for a dear friend’s baby shower, she loves chocolate cake but requests for a white colored frosting. Will a Vanilla Swiss Meringue Buttercream go well with chocolate cake?
Olivia says
Hi Helen! I’m so glad you love it. A vanilla SMBC will work great 🙂
Patricia says
This is the only chocolate cake I bake. My entire family loves it. That’s high praise from a family of bakers.
Olivia says
Thanks so much, Patricia!
Lindsey says
Hi there! I want to try this recipe, and I’m wondering if I should double it for a 3 layer, 10 inch? Will that be enough batter?
Olivia says
Hi Lindsey! Converting pan sizes is always tricky. Here are some sites I use as a guideline:
http://www.joyofbaking.com/PanSizes.html
https://www.cookipedia.co.uk/recipes_wiki/Cake_tin_conversion_charts
I think you’d need to 2.5x or 3x the recipe for three 10″ layers. The batter is thin and rises a lot so make sure not to fill the pans more than half full or so.
Jessica Ives says
I absolutely LOVE this recipe. It is my go-to chocolate recipe and everyone raves over it. I always share your recipe with them because it is fantastic! The SMBC is also to die for! I hate that some people replace it with American buttercream because it is SO MUCH BETTER. Anyway, do you have a vanilla cake recipe similar to this? Thank you!
Olivia says
Hi Jessica! I’m so happy you love this one. I have a very popular vanilla cake recipe that is similar (https://livforcake.com/vanilla-cake/) but the texture of the cake is slightly different. Let me know if you try it!
Angela says
I love this recipe – it’s perfection. Do you think it would work to make cake pops?
Olivia says
Hi Angela! For sure, I think it would work great for cake pops.
Susan Bradshaw says
I made your homemade chocolate cake with chocolate swiss meringue buttercream frosting. My only substitutions were: Avocado oil instead of vegetable oil and decafe nespresso with extra water to complete 1 cup.
It turned out wonderful! My guests loved it. My comment is that the frosting is a bit fiddly (and messy) but it tastes great.
I will definitely try your other recipes. I wonder if you could add some basic bundt cake recipes for simply chocolate & vanilla?
Olivia says
Hi Susan! So happy to hear you loved it. Thanks for the note about some basic Bundts.
Lisa says
To make this in a 13×9 do I use the 1x recipe or 2x
Olivia says
Hi Lisa! 1x should be enough. Converting pan sizes is always tricky. Here are some sites I use as a guideline:
http://www.joyofbaking.com/PanSizes.html
https://www.cookipedia.co.uk/recipes_wiki/Cake_tin_conversion_charts
Lisa says
Excellent cake. Easy and quick to mix up. I added the espresso powder to the hot water. Could not taste any hint of coffee—I am not a coffee lover nor is my 16 year old birthday boy for whom I made this cake. Will definitely use this recipe again. I made a chocolate cream cheese buttercream frosting as my KA mixer is on the blink. But I hope to try this frosting recipe when my equipment is available!
Olivia says
Hi Lisa! I am so glad you loved it. Your chocolate CC frosting sounds like it would be a delicious pairing!
Roy says
I have never made a cake that didn’t come out of a box. I made this cake. It is amazing. I used Ghirardelli cocoa powder because I couldn’t find anything that specifically stated “Dutch process”. Buttermilk was the only ingredient I had to go out to purchase. I used a homemade buttercream frosting rather than the meringue on this page.
I will make this cake again. This sponge is so good that I might not even frost it next time.
Thanks for this recipe! It is delicious and easy.
Olivia says
Hi Roy! I am so happy you loved it. I hope you try some of my other recipes too!
Dom. S says
I love this recipe! I’ve used it many times. I just have one question. I’ve never frozen a cake before and I need to freeze a cake, due to my schedule, with this recipe for 4 days before serving to a party. I don’t have plastic wrap at the moment and it’s not the best time to go get some, personally. Any tips or help on this is appreciated, thanks.
Olivia says
Hi Dom! You can freeze the whole frosted cake rather than the cake layers. That will help the cake layers from drying out if you don’t have plastic wrap handy. You can also place the layers in a freezer bag.
Lynda Khoury says
My layers of cake rose really high when baking but after I removed them from oven they sank and I used a cake tester before removing.What did I due wrong?
Olivia says
Hi Lynda! This can happen for a couple reasons. If they sink once they come out of the oven it’s usually due to taking them out before they were done. However, if it domed up a lot in the oven it can also be due to elevation which can wreak havoc on baking, especially this chocolate cake. Are you at high elevation?
Shefa Hazeldene says
hi! recipe looks unreal, i’m planning to make this this cake paired with some hazelnut ganache and buttercream for my birthday this weekend. i just wanted to confirm that 1.5x this recipe would make enough batter for 3 8inch pans?
Olivia says
Hi Shefa! Yes, 1.5x the recipe for three 8″ pans. You can change the Servings from 12 to 18 to get the amounts.
Lillian says
I made your white chocolate cake for our wedding and everyone loved it! Now my cousin is getting married and she asked me to make her cake as well. I want to use your white chocolate SMBC on this cake. Do you think that would pair well? I want the chocolate cake but also to stick with bridal white for the frosting.
Thank you for posting all these AMAZING recipes!!
Olivia says
Hi Lillian! I am so happy you loved that one. The frosting will totally work well on this cake. Be sure to do a crumb coat first to trap in all those chocolate cake crumbs.
nicole says
Hi. I don’t think I saved my comment/questions correctly. so here i go again.
I love this cake it is my go to every time. a friend is asking me to make a bourbon cake. Is there a way to modify this to have bourbon in it?
Thanks!
Nicole says
This is my go to cake! It’s always a crowd pleaser. Question: do you have experience with bourbon cake? I like stixking to me tried and true recipes and the anxiety of following another recipe is too much when it’s for others lol. Is there a way to make this a bourbon cake? What do I add or omit?
Olivia says
Hi Nicole! I am so happy you love it. You have a couple of options for adding Bourbon. You can swap out 1/4 cup of the hot water/coffee for bourbon and/or brush the cakes with a bourbon simple syrup after they are baked: https://livforcake.com/simple-syrup-recipe/
Emma says
This is my go to Chocolate Cake. It comes out perfect every time and the Chocolate Swiss Meringue Buttercream is a crowd favourite!
Olivia says
Hi Emma! I’m so happy to hear that. Glad you love it!