This chocolate cake with cream cheese frosting is made with tender, moist cake layers and the creamiest cream cheese frosting!!
And for anyone asking the question, “Does chocolate cake go with cream cheese frosting??”
It absolutely does!! It’s such a delicious combination.

How to Make This Chocolate Cake with Cream Cheese Frosting
To make sure this chocolate cake recipe turns out as amazing as possible, let’s walk through each step together! I’ve also included a video tutorial of the process below.
Step 1: Bake the Chocolate Cake Layers
The first step is to make the chocolate cake batter. I love this cake recipe because it can be made by hand and comes together in minutes!
It’s as simple as whisking the dry ingredients together in one bowl, then mixing the wet ingredients into the dry ingredients, and it’s all ready to go.
Divide the batter evenly between the prepared cake pans and bake for 23-25 minutes or until a toothpick comes out with a few moist crumbs.

Remove the cake layers from the oven and let them cool in the pans for about 10 minutes.
Gently run an offset spatula around the rim of the cake pans to loosen them, then flip them onto wire racks to finish cooling.

These cake layers bake up pretty flat, so leveling them is optional. If you want to level them with a serrated knife, make sure to wait until the cake layers have fully cooled to room temperature.
If you’re making these in advance, you can wrap and freeze them at this point.
Step 2: Make the Cream Cheese Frosting
While the cake layers bake and cool, make the cream cheese frosting. This frosting can also be made in advance if needed and kept in the fridge for up to a month!
If the frosting seems too thick at this stage, add in additional cream (1 tablespoon at a time). If the frosting seems too thin, add in more powdered sugar (1/4 cup at a time).
Once it’s reached the desired consistency, cover the cream cheese frosting with a piece of plastic wrap to prevent a crust from forming.

Step 3: Stack and Fill the Cake Layers
If possible, chill the cake layers in the freezer for 20 minutes before stacking them. This will make them so much easier to frost and help minimize crumbing.
Stack and frost cake layers on a greaseproof cake board using a dab of cream cheese frosting to help stick the first cake layer to the board.
Spread a thick, even layer of cream cheese frosting on top of each cake layer.
Place the top cake layer upside down to make it easier to frost. This will help give the cake a better shape and sharper edges.

Step 5: Crumb Coat the Cake
Spread a thin coat of cream cheese frosting around the cake to fully cover the cake layers.
Smooth using a large offset spatula, then chill the cake in the fridge (10 minutes) or freezer (5 minutes) until the frosting is firm to the touch.

Step 5: Add the Second Layer of Frosting & Decorate
Then add a thicker layer of cream cheese buttercream around the cake and use the back of a spoon or offset spatula to make swoops in the frosting.
Then decorate as desired and enjoy!

Substitutions & Swaps: Chocolate Cake Layers
While I love this chocolate cake recipe just the way it is, I know some of you might not have all of these ingredients on hand.
Below are some swaps and substitutions that can be made in this recipe:
- All-Purpose Flour – This recipe turns out best with all-purpose flour. However, you can swap in a good gluten-free flour blend (like this) if needed. Just be sure to stir the batter longer than normal to help give the cake proper structure, and let the batter sit for about 20 minutes before baking it if you opt to make a gluten-free version.
- Granulated Sugar – I do not recommend reducing the amount of sugar or changing the type of sugar, as it will change the texture of the cake layers.
- Baking Cocoa – I like to use the Ghirardelli or Hershey’s brand of unsweetened baking cocoa, but you can use any brand! You can also use dark or black cocoa powder.
- Buttermilk – You can also use full-fat yogurt, sour cream, whole milk, or an alternative yogurt or milk (almond, soy, oat).
- Vegetable Oil – Any flavorless oil can be used in this recipe. Canola, vegetable, or even sunflower oil would all work great. I don’t recommend olive oil, though, as it has a strong flavor and will change the taste of the cake.
- Eggs – This recipe uses 2 large eggs. If you have an egg allergy, you can try using a vegan egg replacer.

Substitutions & Swaps: Cream Cheese Buttercream
Below are some swaps and substitutions that can be made in this cream cheese buttercream recipe.
- Unsalted Butter – If you only have salted butter on hand, you can use it in place of the unsalted butter. Just be sure to omit the salt that this frosting recipe calls for. You can also use vegan butter in its place!
- Cream Cheese – Use full-fat cream cheese for best results! I like to use the kind that comes in a brick.

Making This Chocolate Cake with Cream Cheese Frosting in Different Sizes
I used 8″ cake pans to make this cake, but this recipe can be used to make different-sized cakes. You can also half or double the ingredients to make a half or double batch!
You can make four 7″ or 6″ cake layers with one batch of batter. Bake the cake layers at
350°F/175°C for 24-28 minutes or until a toothpick comes out with a few moist crumbs.
One batch of batter can also be used to make one 9×13-inch sheet cake. Bake it at
350°F/175°C for 25-35 minutes and use flower nails or heating cores to help the cake bake evenly.
If you want to make chocolate cupcakes with cream cheese, I highly recommend using my chocolate cupcake recipe with 1/2 batch of my cream cheese buttercream recipe! One batch makes 12 chocolate cupcakes.
Making this Chocolate Cake with Cream Cheese Frosting in Advance and Storage Tips
I recommend making your cake layers in advance and freezing them. It breaks the process up and makes it more approachable.
You can also make the frosting ahead of time or save any leftover frosting! It can be stored in an airtight container in the fridge for up to a month.
This frosting can also be stored in the freezer for up to 3 months. Just be sure to give it a good stir once it thaws to make it nice and smooth again.
An uncut, frosted cake can be stored in the fridge for 5 days.
Tips for Making the Best Chocolate Cake with Cream Cheese Frosting
- Ingredients at room temperature mix together better! Bring cold ingredients to room temperature before starting.
- Properly measure your cake flour (spoon into the cup measure, then level). Or better yet, use a kitchen scale to measure your dry ingredients.
- Use a scale to weigh your cake pans as you fill them. Make sure each pan has the same amount of batter will make your cake layers bake to the same height and bake more evenly.
- Chill your cake layers in the freezer for about 20 minutes. It makes it so much easier to stack and frost them!

Let Me Know What You Think
If you make this chocolate cake with cream cheese frosting, I’d love to hear what you think! Please leave a rating and comment below.
And don’t forget to tag me @chelsweets and #chelsweets so that I can see your amazing creations!
Chocolate Cake with Cream Cheese Frosting
Equipment
Ingredients
Chocolate Cake Recipe
- 2 cups all-purpose flour 260g
- 2 cups granulated sugar 400g
- 3/4 cup unsweetened baking cocoa 75g
- 2 tsp baking powder 8g
- 1 1/2 tsp baking soda 9g
- 1 tsp fine salt 6g
- 1 cup warm water 240g
- 1 cup buttermilk, room temperature 240g
- 1/2 cup vegetable or canola oil 110g
- 2 large eggs, room temperature 112g
- 2 tsp vanilla extract or vanilla bean paste 8g
Cream Cheese Buttercream Frosting
- 1 1/2 cups (3 sticks) unsalted butter, room temperature 339g
- 1 cup (8 oz.) full-fat cream cheese, room temperature 226g
- 1 Tbsp vanilla extract or vanilla bean paste 12ml
- 1 tsp fine salt 6g
- 7 cups powdered sugar 904g or a 2 lb. bag
Instructions
Chocolate Cake Layers
- Preheat the oven to 350°F/175°C. Line and grease three 8-inch cake pans with parchment paper and nonstick spray. Set aside.
- Combine 2 cups all-purpose flour, 2 cups sugar, 3/4 cup cocoa powder, 2 tsp baking powder, 1 1/2 tsp baking soda, and 1 tsp of salt in a large bowl. Whisk together until combined.
- Add 1 cup of buttermilk, 1 cup of water, 1/2 cup oil, 2 eggs, and 2 tsp vanilla extract in the dry ingriedents. Mix by hand until fully incorporated. The batter will be on the thin side, but that’s the consistency you're after!
- Divide the batter evenly between the cake pans and bake for about 23-25 minutes. I like to use a kitchen scale to weigh the pans. It makes sure each pan has the same amount of batter and helps the cake layers bake up to be the same height.
- Remove the cake layers from the oven and let them cool in the pans for about 10 minutes. Gently run an offset spatula around the rim of the cake pans to loosen them, then flip them onto wire racks to finish cooling.
- These cake layers bake up pretty flat, so leveling them is optional. If you want to level them with a serrated knife, make sure to wait until the cake layers have fully cooled to room temperature. If you make these in advance, wrap and freeze them at this point.
Cream Cheese Buttercream Frosting
- While the cake layers bake and cool, make the cream cheese buttercream frosting. Beat 1 1/2 cups of butter and 1 cup of cream cheese at medium speed for 30 seconds with a stand mixer and paddle attachment or hand mixer until smooth.
- Add in 1 Tbsp vanilla extract and 1 tsp fine salt and beat on low until the ingredients are combined.
- Gradually mix in 7 cups of powdered sugar on a low speed. Mix on the lowest setting for another minute to make sure the frosting is nice and smooth.
- If the frosting seems too thick at this stage, you can add in some heavy cream (1 tablespoon at a time). If the frosting seems too thin, add in more powdered sugar (1/4 cup at a time).
- Once it's reached the desired consistency, cover the cream cheese frosting with a piece of plastic wrap to prevent a crust from forming.
Assembling this Chocolate Cake with Cream Cheese Frosting
- If possible, chill the cake layers in the freezer for 20 minutes before stacking them. This will make them so much easier to frost and will minimize crumbing.
- Stack and frost cake layers on a greaseproof cake board or flat plate using a dab of frosting to help stick the first cake layer to the board.
- Spread a thick, even layer of cream cheese frosting on top of the cake layer. Repeat this step with the second cake layer, then place the top cake layer upside down to make the cake easier to frost.
- Carefully spread a thin coat of frosting around the cake to fully cover the cake layers with a large offset spatula. Smooth with a large offset spatula, then chill the cake in the fridge (10 minutes) or freezer (5 minutes) until the frosting is firm to the touch.
- Then add a thicker layer of cream cheese buttercream around the cake and use the back of a spoon or offset spatula to add texture to the frosting.
Video
Notes
Recipe Variations
This recipe can also be used to make a sheet cake! One batch will make 1, 9 x 13-inch cake that’s about 1 1/2 inches tall. Bake it at 350°F/175°C for 25-35 minutes and use flower nails or heating cores to help the cake bake evenly.Tips for Making the Best Chocolate Cake with Cream Cheese
- Ingredients at room temperature mix together better! Bring cold ingredients to room temperature before starting.
- Properly measure your flour (spoon into the cup measure, then level). Or better yet, use a kitchen scale to measure your dry ingredients.
- Use a scale to weigh your cake pans as you fill them. It will make your cake layers bake to the same height and bake more evenly.
- Bang your cake pans on the counter before putting them in the oven. This brings any big air bubbles that are trapped in the batter to the surface.
- Chill your cake layers in the freezer for about 20 minutes before assembling the cake. It makes it so much easier to stack and frost them!
- If you want to make cupcakes, I recommend using my moist chocolate cupcake recipe. It has a super similar texture and makes the perfect amount of batter for a dozen cupcakes.
Making This Chocolate Layer Cake in Advance & Storage Tips
I recommend making your cake layers in advance and freezing them. It breaks the process up and makes it more approachable. You can also make the frosting ahead of time, or save any leftover frosting! It can be stored in an airtight container in the fridge for up to a month or in the freezer for up to 3 months. Be sure to give it a good stir once it thaws to get the consistency nice and smooth again. A frosted cake can last in the fridge or freezer for up to a week. If you cut into the cake and have leftovers, use any remaining frosting to cover the cut section to keep it moist and store in the fridge for up to 3 days.Nutrition
Other Recipes You Might Like:





Dona
Thursday 27th of November 2025
Hi! The recipe sounds amazing. I wanted to make it in a loaf pan instead. How many 9*13" loaf pans worth cake would this possibly take? Any idea how long i might have to bake it too?
Chelsey White
Monday 1st of December 2025
Hi Dona,
When you say 9x13" loaf pan, do you mean 9x13"sheet pan? If so, a pan that size holds about 14 cups of batter, and one batch of this recipe makes about 8 cups of batter. So you'd probably want to double it! In terms of bake time, it can vary based on whether you use heating cores (like these: https://amzn.to/4ovnR9c which help large cake layers bake more evenly and quickly), but I'd say start checking it between 45 and 55 minutes. Insert a toothpick in the center, and when it comes out with a few moist crumbs, you know it's ready. Hope that helps, happy baking!
Martha
Wednesday 26th of November 2025
I don't know how I wasn't following before. I just stumbled on your site looking for chocolate cakes and wow this recipe came out amazing. I made the batter just as directed and realized I only had one cake pan and two muffins pans so I just poured the batter as is into my muffin pans. These were absolutely delicious soooo moist. The butter cream frosting was so easy to make I only had two sticks a butter and about 8oz of cream cheese it still came out fantastic. Instead of the 900 grams of powdered sugar I used around 600 ish grams ( to taste) so easy to follow. Can't wait to make more of your recipes!!!
Chelsey White
Monday 1st of December 2025
You are too sweet! So happy to hear you loved this recipe, thank you for sharing Martha!
Jeremy
Tuesday 14th of October 2025
I made this recipe but instead of warm water I added warm coffee! I feel like it made the chocolate flavor even better! Was a hit for my friend's daughter's 4th birthday! Thank you!
Chelsweets
Monday 20th of October 2025
Love that, that sounds delicious!!!! Thank you for sharing Jeremy :)
Jeremy
Tuesday 14th of October 2025
Going to try to make it into cupcakes for my friend's wedding this weekend! Hopefully I can get the bake time right.
Easy Chocolate Cake with Cream Cheese Icing
Monday 25th of August 2025
[…] style. Why not bookmark both recipes and create your own dessert menu? Trust me, once you make this chocolate cake with cream cheese icing at home, you’ll never want to buy store-bought […]
Ashley
Sunday 24th of August 2025
Just made this recipe for my mom’s birthday today and it turned out great! I made 2 9inch rounds (added 10 mins to cook them completely) and cut them in half to make a fabulous four layered cake with a chocolate mousse filling. The cream cheese frosting was also yummy, but I found that it would have been a bit too sweet for us if I had used the full 7 cups of powdered sugar- I only ended up using 4. Wish I could attach the pretty pictures of it?
Chelsweets
Monday 25th of August 2025
Hi Ashley,
That sounds absolutely wonderful, I bet your mom was thrilled! I love that you turned it into a four-layer cake with chocolate mousse, that must have been such a delicious combo. Great call on adjusting the frosting sweetness too, I always say it’s better to tailor it to your taste. I wish I could see the photos too, but I’m so glad it turned out beautifully for you :)