This post may contain affiliate links. Please read our disclosure policy. As an Amazon Associate, I earn from qualifying purchases.
Imagine slicing into the perfect chocolate cake with cream cheese frosting: incredibly moist, rich with chocolate flavor, and undeniably decadent. This recipe is not just a dessert; it’s your next go-to for that deep, satisfying chocolate indulgence.
Easy to whip up and impossible to resist, it’s poised to become the chocolate cake you compare all others to.

Simple Chocolate Cake with Cream Cheese Frosting
This is an incredibly decadent and moist cake with an intense chocolate flavor. It is easy to make and will quickly become your go-to chocolate cake recipe.
I have baked this cake more times than I can count. It is hands down my most requested cake, and for a good reason. This cake is soft and moist with a rich, intense chocolate flavor.
This cake is easy and fast to make and can even be done without an electric mixer which I have done on many occasions.
Check out our chocolate cake with chocolate buttercream to see how I modified the recipe and only used a whisk to mix the batter.
You will want to keep this one in your recipe box for an easy and reliable recipe that will always give you fantastic results. This really is an intense chocolate cake.

Here is Why This Chocolate Cake Recipe Works
- Coffee-Infused Chocolate Magic: The secret weapon here is the hot coffee! It deepens the cocoa’s flavor, transforming the cake into a rich, chocolaty delight. It’s like giving the chocolate an espresso shot, waking up all those intense cocoa flavors without making the cake taste like a morning brew.
- Frosting Perfection: Let’s talk about that cream cheese frosting. It’s creamy, it’s dreamy, and it pairs with the chocolate cake like a champ. It strikes the perfect balance, adding a luscious, tangy counterpoint to the rich, sweet cake. They are meant to be together!
- Versatile and Foolproof: Whether you’re a fan of towering layers or simple sheet cakes, this recipe’s got you covered. It’s forgiving and adaptable, giving you a show-stopping dessert every time.
If you love this recipe, try our chocolate cassata cake.
Secret Ingredient for Rich Chocolate Cream Cheese Cake
The secret ingredient for this intense chocolate cake is coffee, yet it does not taste anything like coffee, just chocolate, chocolate, chocolate!!
Since coffee has the same flavor elements as chocolate, it deepens and actually compliments the chocolate flavor without making it taste like coffee.
Why Hot Coffee (or Hot Water) in Chocolate Cake
Adding the hot coffee (or hot water) to the cocoa will melt the cocoa solids and cause the flavor molecules to burst and intensify the chocolate.
I mix the hot coffee with the cocoa then let it sit and come to room temperature while I am preparing the rest of the ingredients.
This is a simple step that makes a huge impact on the depth and richness of the chocolate. But if you don’t want to use the coffee, just use hot water.
Rave Reviews for Tender Cake and Creamy Frosting
Every time I make this cake someone comments that it is the best chocolate cake they have ever had. The crazy thing about it is that this cake is the easiest cake I have ever made.
There is nothing better than an easy recipe that turns out incredibly delicious.
I keep the ingredients for this cake on hand at all times just in case I need a quick dessert. The ingredients are simple and inexpensive.
If your not a coffee drinker then keep some instant coffee in your pantry, stir a spoonful into some hot water then add it to the cocoa. If you don’t have that, just use hot water and it will still be one of the best chocolate cakes you ever make.

I guarantee you will get rave reviews for this cake. You don’t have to tell anyone how easy it is to make.
Let them think you slaved all day making the most perfect chocolate cake for them! (Because you love them so much).
In the video, I used a mixer to blend the ingredients, but honestly, the batter comes together perfectly fine with a hand whisk.
You don’t even have to worry about over-mixing the batter like most cakes. Seriously, you just can’t mess up this cake.
The Ingredients
Here is the list of ingredients you will need for our chocolate cake with cream cheese icing. From achieving the perfect moist texture to capturing that rich, intense flavor, everything you need is right here.
Scroll down to the printable recipe card for all the details.
For the Cake
- Pantry: Cocoa powder, sugar, flour, baking powder, baking soda, salt, vegetable oil, vanilla extract.
- Dairy: Milk
- Fridge: Eggs
- Other: Hot coffee
For the Best Cream Cheese Frosting
- Pantry: Vanilla extract, powdered sugar, salt
- Fridge: Cream cheese, butter
Which Cream Cheese To Use
For the perfect cream cheese buttercream, stick with block-style cream cheese. The block style is denser and has a lower moisture content than spreadable cream cheese.
If you use spreadable cream cheese, low fat cream cheese, or Neufchâtel, then the frosting will be thinner and more difficult to work with.
An Intense Chocolate Cake with Cream Cheese Frosting
- This chocolate cake recipe was adapted from the back of the Hershey’s cocoa box. I have increased the amount of cocoa to balance out what was otherwise an overly sweet cake.
- In addition, I switched the hot water for coffee to complement and enhance the chocolate. The hot liquid is added directly to the cocoa powder to ensure the cocoa solids melt. The result is a perfectly rich and intense chocolate cake recipe.
- You can use any brand of unsweetened cocoa powder but the recipe works best if you do not use Dutch-processed cocoa.
- This cake uses baking soda as a leavening agent which needs an acidic ingredient to achieve proper rise and to balance out the flavors.
- Believe it or not, chocolate is a naturally acidic ingredient, but Dutch-processed chocolate has has been treated to neutralize the acidity and does not react with alkaline leaveners like baking soda.
- The cake will rise higher if you use natural cocoa but if all you have is the Dutch processed stuff, it will still work and be one of the best chocolate cake recipes you ever had.

I made four layers out of this cake by cutting each of the layers in half horizontally.
This is an easy task to do with the use of a cake leveler but if you don’t have a leveler and don’t feel comfortable slicing the layers by hand, then I have provided instructions to bake the cake in 4 different pans. Just see the notes at the bottom of the recipe card.
I made this cake with a super creamy, decadent cream cheese frosting.
It’s a great combination that everyone loves. If you want to try a different combination of flavors, you can frost the cake with chocolate cream cheese frosting, a pretty pink strawberry cream cheese frosting, or peanut butter cream cheese frosting. And, if you like to use a decorating bag and tips, try our thick cream cheese frosting.
Substitutions
This is a very versatile recipe and does well with several ingredient substitutions. You can make it dairy free, gluten-free, switch out the oil, or change the coffee.
Here is a list of the ingredients you can switch out and still get great results. Switch them at a 1:1 ratio.
Ingredient | Substitutions |
---|---|
Milk | Any non-dairy milk Sour cream Greek Yogurt Buttermilk |
Vegetable oil | Melted coconut oil Melted butter Mayonnaise |
Coffee | Hot water Hot beer Hot cola |
All-purpose flour | Gluten-free flour blend |
Quick tip on the substitutions.
- Sour cream and yogurt will make the batter thicker but will not change the bake time.
- Melted coconut oil or butter will make the cake taste denser and a bit ‘fudgy’.
- Using hot liquid in place of the coffee will help the cocoa solids melt.
- For the gluten-free flour, make sure you use a flour BLEND. For example, using only almond flour will result in a heavy and dense cake that will not look the same. Good flour blends that work are Pamela’s flour blend, Cup 4 Cup, and our gluten-free flour blend.
How to Make Chocolate Cake with Cream Cheese Frosting
Here are some process photos to get an idea of how to make this chocolate cake with cream cheese frosting. This frosting recipe has a tad more cream cheese and slightly less sugar than most recipes. It is also a large batch because you will need extra to fill all the cake layers.

For The Chocolate Cake
- Add the hot coffee or water to the cocoa.
- Stir in the sugar and oil.
- Whisk in the eggs.
- Stir in the milk.
- Sift in the dry ingredients.
- Stir until well combined.

If you don’t want to tort the cakes in half, you can bake four thinner layers. See the notes in the recipe card for all the details.

For The Cream Cheese Frosting
- Beat the cream cheese and butter until smooth.
- Add the powdered sugar and beat well.
- Blend in the vanilla extract.
- Cover the chocolate cake with cream cheese frosting.
Tips for the Best Results
- Use room temperature ingredients. Room temperature eggs will blend into the cake batter easier. And when it comes to the frosting, room temperature butter and cream cheese are essential. They combine effortlessly, resulting in a creamy, velvety frosting that spreads like a dream over your cake.
- Check Your Leaveners: Ensure your baking powder and soda are fresh. Their ability to rise diminishes over time, and old leaveners can result in a cake that’s flat rather than fabulously fluffy.
- An Oven Thermometer is Your Friend: Ovens can be tricky and often run hotter or cooler than the dial indicates. Using an oven thermometer ensures your cake bakes at the precise temperature, preventing over or under-baking.
- Chill the Layers for Frosting Ease: If you’re working with a cake that’s as tender and delicate as this one, a little time in the freezer can make a big difference. Briefly chilling the cake layers before frosting solidifies the crumbs, making it easier to spread your frosting. Just pop the layers into the freezer for about 20 minutes; they won’t freeze solid but will firm up enough to handle the frosting without breaking or crumbling.
Whether you’re celebrating a special occasion or simply craving something sweet and satisfying, this chocolate cake with cream cheese frosting recipe promises a delightful treat that’s bound to impress. Don’t miss out on making what could easily become your favorite chocolate indulgence.
For other decadent chocolate recipes:
- Mocha Chocolate Icebox Cake,
- Dark Chocolate Truffles
- Black Forrest Cherry Cake
- Flourless Chocolate Cake
- Brownies with cream cheese frosting
If you love this cake and want a vanilla version, try our vanilla cake with cream cheese frosting.
Pin this now to find it later!
Pin It
Chocolate Cake with Cream Cheese Frosting
If you make this recipe, please leave a star rating and comment.
Ingredients
- 1 cup 80g unsweetened cocoa powder (not Dutch-processed)
- 1 cup hot coffee, (240 ml)
- 2 cups sugar, (400g)
- ½ cup vegetable oil, (120 ml)
- 2 eggs
- 1 cup milk, (240 ml)
- 2 tsp vanilla extract
- 1-¾ cup (210g) all-purpose flour
- 1-½ tsp baking powder
- 1-½ tsp baking soda
- 1 tsp salt
Cream Cheese Frosting
- 20 ounces cream cheese, softened
- 16 tablespoons unsalted butter, softened (240 grams/ 8 ounces)
- 2 teaspoons vanilla extract
- 4-½ to 6 cups (560 grams) powdered sugar (confectioners sugar), sifted
Instructions
- Preheat the oven to 350°. Line the bottom of two 8 or 9-inch cake pans with parchment paper, grease and flour the sides. (The parchment paper will make the cake come out much easier than just grease and flour).
- If you prefer to bake the cakes in 4 separate pans, see the notes at the bottom.
- In a large mixing bowl, whisk the hot coffee and cocoa together until smooth. Let the mixture sit for 2 to 3 minutes to let the cocoa solids bloom.
- Add the sugar and vegetable oil and stir well. Whisk in the eggs, then stir in the milk and vanilla extract.
- Sift the flour, baking powder, baking soda, and salt over the chocolate mixture. Stir until well incorporated. Make sure to scrap the bottom and sides of the bowl. The batter will be thin.
- Pour the batter into the two prepared pans and place in the center of the preheated oven. Bake for 30 to 35 minutes for the 9 inch pans or 33 to 37 minutes for the 8 inch pans (a toothpick inserted in the center of the cakes should come out clean).
- Let cool in the cake pans for 5 to 10 minutes then run a knife around the edge of the pans to loosen the cake from the pans. Invert the cakes onto a cooling rack and remove the parchment paper. (At this point if you re-invert the cakes onto another rack and let them cool with their tops up, they will retain more height and the tops of the cakes will not stick to the cooling rack.)
Cream Cheese Frosting:
- To make the cream cheese frosting, combine the cream cheese and butter in a large mixing bowl, and beat until soft and creamy.
- Add 4-½ cups of the powdered sugar and vanilla and beat on low speed until the sugar is mixed in then beat on high speed until smooth, about 2 to 3 minutes. Add additional sugar if desired.
Assemble the cake:If you baked in two pans:
- Slice each layer of cake in half horizontally by using a cake leveler or by placing each layer of cake on a turntable and use a serrated knife to slice through the cake as you turn the turntable. This will give you 4 layers to fill and stack. To transfer each layer, use a thin plastic cutting board to slide under the layers.
- Optional: Place the cake layers in the freezer for 20 minutes to firm them up and make them easier to frost.
- Put a dab of frosting on a cake plate and place a cake layer on top of the plate. Use 3/4 to 1 cup of frosting to spread between each layer of cake then use an off-set spatula or knife to ice the top and sides of the cake.
If you baked in four pans:
- Put a dab of frosting on a cake plate and place a cake layer on top of the plate. Use 3/4 to 1 cup of frosting to spread between each layer of cake then use an off-set spatula or knife to ice the top and sides of the cake.
Video
Notes
- If you prefer to bake the cakes in 4 separate pans, line four 8-inch pans with parchment paper and divide the cake batter into the four pans. You will have about 1 1/3 cups or 350 grams of batter in each pan. Bake the cakes, two pans at a time, for 15 to 18 minutes. (you can bake all four pans at the same time if you rotate the pans halfway through the bake time)
- To get a higher rise to the cake, use natural cocoa not Dutch processed which does not react to the baking soda
- Store this cake unfrosted at room temperature for up to one day or frosted for up to two hours. In the refrigerator, it keeps well for six days, and when wrapped airtight, it can be frozen for three months.
- Here is a tip to make it easier to frost the cake: Partially freeze the cake layers for approximately 20 minutes before frosting. After keeping it in the freezer for a short time, the partially frozen cake will be firmer and easier to frost.
- This recipe does well with cupcakes. For standard sized cupcakes, bake at 350°F for 22 to 24 minutes. For mini cupcakes, bake at 350° for 10 to 12 minutes
- For a 13 x 9 inch cake, bake at 350°F for 35 to 40 minutes.
- The cream cheese frosting recipe makes a large batch so you will have enough to frost between all four layers. If you do not want to make four layers, you will only need a half batch of frosting.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.

Do you need to refrigerate a cake with cream cheese frosting?
Yes, a cake with cream cheese frosting should be refrigerated. Cream cheese frosting is made with dairy products that are perishable and can spoil if left at room temperature for too long. I recommend storing the cake in an airtight container to maintain its freshness and to prevent it from absorbing any odors from the refrigerator. Before serving, you can let the cake sit out for a short period to allow it to come to a more palatable temperature.
Does cream cheese frosting go with chocolate cake?
Absolutely, cream cheese frosting pairs wonderfully with chocolate cake! The tangy and creamy nature of cream cheese frosting beautifully complements chocolate’s rich, deep flavors.


I am baking at high altitude and am wanting to make mini cupcakes. Do I need to make any modifications? Also do I need to spray the cupcake liners first since the pans need to be sprayed then flour? I just didn’t want them to stick to the wrapper leaving all the cake sticking to them. Thanks so much
You will need to make a few adjustments to the cake depending on how high your altitude is. If you are between 3,000 and 5,000 feet, reduce the baking soda and baking powder by about 1/8 teaspoon to 1/4 teaspoon. Add 2 tablespoons of milk and remove 2 tablespoons of sugar. Watch the cupcakes closely because they tend to bake faster at higher altitudes. You can definitely spray the liners with nonstick spray.
Also, I plan to make this cake a day before nd frost it next morning for my daughter’s birthday party in evening. Will the cake do okay uncovered in refrigerator after being frosted since morning/ afternoon until dinner time?
Yes, it will do just fine. I do that all the time. Have a great party.
@Dahn Boquist,
Thanks so much. Can the frosted cake stay in fridge uncovered for 36 hours ? or is it asking too much? I’m afraid I might not have a suitable container.
It should be just fine if left uncovered in the fridge that long. I would just make sure there isn’t anything in the fridge that has a strong aroma. For instance, if you have uncovered cheese or onions then the odor of those items will transfer to the cake and the cake will have an unpleasant odor.
Hello.
I need to make it for a party for around 18-20 people.
I have 8inch and 10 inch cake pans (1 each)
Do I follow the same measurements or maybe double up/ increase the proportions?
You will need to make a little more batter if you want to make the cake in a 10 inch pan as well as an 8 inch pan. However you can let half of the batter sit on the counter while you bake the first 8-inch cake pan. Let the cake cool for about 10 minutes then flip it out of the pan and fill it back up with the extra batter. That way you will have 2 cake layers the same size.
@Dahn Boquist, thanks for the quick response!
I plan to use the two egg batter as per your recipe in one ten inch pan, slice the cake into two layers and then whip up half the recipe (one egg) and bake again in the ten inch pan after emptying it.
Would this work? I think three layer cake would be good enough for my party.
A full batch might be a wee bit too much batter for a 10-inch pan. Fill the cake pan about 2/3 full. If you have leftover batter, you can add it to your second batch after you mix that one or make some cupcakes.
Would it be better or leave the cupcakes on the counter or put them in the fridge because they will be made 2 days ahead of time? Which one keeps them moist and tasting delicious?
If you frost them with cream cheese frosting, then you should place them in the fridge. This recipe is a great one to make two days in advance because the cupcakes or cake will stay moist for 2 to 3 days.
Question: I want to make this for my daughters birthday. Would making it the day off be okay? Party in afternoon, and making it morning? Or can I make it night before and frost it the next day. If I go second route better to store it in fridge or freezer wrapped?
And can I add food coloring to frosting?
Thank you!
Yes, you can make this the day of if you give yourself enough time for the cakes to cool before you frost them. Personally, I would make it the day before so I could focus on the birthday dinner the next day. This cake will keep just fine for a couple of days in the fridge. If you want to bake the cake one day and frost it the next day, you can store the unfrosted cake layers at room temperature if you want. It is a very tender cake and some people find that the cake is easier to frost if you partially freeze it first (which would be another vote for making it a day in advance).
@Dahn Boquist, thank you for such a quick reply. Will definitely start making it the day before.
You’re welcome. I forgot to answer your other question…. you can add color to the cream cheese frosting.
My husband’s favorite cake is always chocolate. I cannot wait to make this for him. Thanks
You can’t go wrong with this one, enjoy!
This cake is my favorite! I made it for a wedding and it was gone before the wedding cake! (the exact ingredients are the best, NO substitutes!)
Thanks for the comment, Angela. I have used this for several wedding cakes. It is a favorite request.
If I make this in a 9×13 like you explained in one of the comments, do I cut the icing recipe in half?
Yes, you can do that and have enough frosting for a 9 x 13 cake. Thanks for your question.
hi!! i wanna make this in cupcake form for my daughters 11 month birthday..tomorrow morning !!! Any way I can substitute the coffee?? Or leave it out ?? Thanks !
Yes, you can use hot water instead of coffee.
This is my go-to for the best chocolate cake. Would you know if I can roll it??
I wish it did, but unfortunately, you really need a sponge cake recipe for a cake roll.