This chocolate cake with chocolate cream cheese frosting is a tender, moist layer cake with an intensely chocolatey crumb and a silky, fudgy frosting. It works beautifully as a two-layer round cake, a sheet cake, or as cupcakes.

Why this recipe works
This easy chocolate cake delivers deep chocolate flavor and a soft, tender crumb. The combination of oil and sour cream keeps the cake ultra-moist and fudgy for days, while blooming the cocoa in hot coffee (or water) intensifies the chocolate and prevents lumps in the batter. The chocolate cream cheese frosting is silky, rich, and lightly tangy, a perfect complement to the cake without overpowering it.
It’s a straightforward recipe that’s friendly to beginners, yet the results satisfy experienced bakers. The base recipe is written for two 8-inch rounds, with notes for making a 9×13-inch sheet cake or cupcakes.

Ingredient notes

Chocolate cake:
- Cocoa powder: Dutch-processed cocoa is recommended for the deepest color and mellow flavor. Natural cocoa will work but yields different results; avoid black cocoa, which can dry the cake.
- Coffee or water: Hot coffee enhances chocolate flavor, but hot water works if you prefer no coffee taste.
- Eggs: Use large, room-temperature eggs for best texture and rise.
- Sour cream: Full-fat sour cream gives the best moisture and richness; full-fat Greek yogurt is an acceptable substitute.
- Milk: Whole milk is ideal, but any milk will work since the amount is small.
- Oil: Neutral-flavored oil (vegetable or canola) keeps the crumb tender.
- Sugar & brown sugar: Granulated sugar sweetens and tenderizes; packed light brown sugar adds depth.
- Flour: All-purpose flour is used here.
- Leavening: A mix of baking soda and baking powder gives reliable rise—check freshness.
- Salt & vanilla: Salt balances flavors; vanilla adds a rounded, bakery-style note.

Chocolate cream cheese frosting:
- Butter: Salted or unsalted, at room temperature for a smooth texture.
- Cream cheese: Use brick-packaged cream cheese (not tub) to avoid excess water and a runny frosting.
- Cocoa powder: Dutch-processed cocoa yields the best chocolate flavor in the frosting too.
- Powdered sugar: For sweetness and structure.
- Heavy cream: Cold heavy whipping cream whipped into the frosting lightens and aerates it.
- Vanilla & salt: For balance and flavor depth.
How to make this recipe
Chocolate cake

- Bloom the cocoa: Preheat the oven to 350°F (175°C). Whisk the cocoa powder with 1 cup hot coffee or hot water until smooth. Set aside to cool slightly.
- Mix wet ingredients: In a large bowl, beat the sour cream, milk, eggs, vanilla, and oil on low until combined.
- Whisk dry ingredients: In a separate bowl, whisk together granulated sugar, brown sugar, flour, baking soda, baking powder, and salt until lump-free.
- Combine: Add the dry mix to the wet mixture and mix on low until smooth.
- Add cocoa mixture: Pour in the cocoa-coffee mixture and mix until fully combined, scraping the bowl to incorporate any pockets of dry ingredients.
- Bake: Prepare two 8-inch round pans or one 9×13-inch pan by greasing and lining with parchment. Divide batter between pans or pour into the sheet pan. Bake 23–28 minutes for 8-inch rounds (9×13 may vary) until a toothpick comes out clean or with a few moist crumbs and the center springs back lightly.
- Cool: Let cakes cool in the pans 10–15 minutes before turning out to a wire rack. For a 9×13, cool completely in the pan. For extra-moist layers, wrap still-warm layers in plastic to trap steam, then cool completely before frosting.

Chocolate cream cheese frosting
Note: For a 9×13-inch cake, consider halving the frosting if you prefer a thinner layer.

- Cream butter and cream cheese: Beat together for about 1 minute until smooth and creamy.
- Whisk dry: Sift or whisk the cocoa powder, powdered sugar, and salt to remove lumps.
- Combine: Add half the dry mixture, vanilla, and half the cream to the butter mixture and mix on low until smooth. Add the remaining dry mix and blend on low.
- Whip: Add the remaining cream and beat on high 2–3 minutes until the frosting lightens in color and texture. If too thick, add 1 tablespoon of cream at a time until you reach the desired consistency.

Cake assembly
- 9×13-inch cake: Frost in the pan or turn out onto a board first. Spread an even layer of frosting across the top; if removed from the pan you can frost the sides or leave them bare.
- 8-inch rounds: Level domed layers if needed. Place a small dollop of frosting on the cake plate to anchor the first layer and set it bottom-side down.
- Layer and finish: Spread a thick, even layer of frosting over the first layer, then place the second layer top-side down and align the edges. Cover top and sides with a generous layer of frosting. Serve the cake at room temperature for the best texture and flavor.

Frequently asked questions (FAQs)
Blooming the cocoa with a hot liquid prevents clumping and intensifies the chocolate flavor by dissolving cocoa fats, deepening color and reducing bitterness.
Dutch-processed cocoa is treated with alkali, giving a darker, mellower flavor and is what this recipe was developed with. Natural cocoa is more acidic and will produce a different flavor and color; it can be used but results will vary.
No—this batter can be baked in a 9×13-inch pan or turned into about 22 cupcakes (fill liners three-quarters full and bake 13–15 minutes). You can also halve the recipe for a single 8-inch cake.
Common causes are overbaking, using low-fat sour cream, the wrong cocoa (black cocoa can dry baked goods), or adding too much flour. Use room-temperature ingredients, fresh leavening, and measure flour accurately—ideally by weight.
Density often comes from expired leavening agents or cold ingredients. Ensure baking powder and baking soda are fresh and use room-temperature eggs, milk, and sour cream for proper aeration and rise.

Expert tips
- Use room-temperature ingredients: They incorporate better, improving rise and texture in the cake and preventing lumps in the frosting.
- Use hot coffee or water: Blooming cocoa in a hot liquid intensifies flavor and prevents clumps.
- Prepare pans well: Grease and line the bottoms with parchment for clean release.
- Don’t overbeat frosting: Whip just long enough for the heavy cream to aerate the frosting—overmixing cream cheese can cause it to release water and become runny.
- Wrap warm layers: Wrapping slightly-warm cakes in plastic traps steam and keeps layers extra moist.

Tips on frosting and assembling your cake
- Cool completely: Cakes must be fully cool before frosting or the frosting will soften and slide.
- Level domes: Trim domed tops for even stacking and a neater finish.
- Chill before frosting: Wrapping and chilling layers for 30–60 minutes makes them easier to handle and decorate.
- Remove air bubbles: Gently beat the frosting or smooth with a spatula to eliminate air pockets for a cleaner finish.
Variations
- Try different frostings: Swap in a classic cream cheese frosting, chocolate ganache, or chocolate buttercream if you prefer.
- Decorate: Top with chocolate curls, cookie crumbs, sprinkles, or fresh berries and mint for color and texture.
- Add a filling: Raspberry jam, raspberry sauce, dulce de leche, or sweetened whipped cream pair well between layers.
- Serve with fruit: Fresh raspberries, strawberries, or blackberries brighten the rich chocolate.

How to store
Make ahead
Cake layers can be baked, leveled, wrapped in two layers of plastic wrap, and frozen for up to three months (add foil for longer storage to prevent freezer burn). Frosting keeps 2–3 days in the refrigerator in an airtight container; bring to room temperature and rewhip before spreading.
Refrigerator
An assembled cake with chocolate cream cheese frosting can sit at room temperature for about 1–1.5 hours. After that, refrigerate and keep wrapped to prevent drying. Best within 3–5 days for optimal moistness.
Freezing the assembled cake
Slice and wrap individual portions in plastic wrap and store in an airtight container for convenient single servings. Thaw at room temperature; frozen slices are best within three months.
More recipes you’ll love
-
Lemon Chocolate Cake
-
Brownies with Cream Cheese Frosting
-
Cocoa Rice Krispie Treats
-
Chocolate Tiramisu
P.S. If you tried this recipe — take a moment to rate it! We love hearing feedback and seeing photos of your results.

Chocolate Cake with Chocolate Cream Cheese Frosting
Ingredients
Chocolate Cake
- ¾ cup Dutch-processed cocoa powder (72 grams)
- 1 cup HOT strong black coffee or HOT water
- 2 large eggs
- ¾ cup sour cream (180 grams)
- ¼ cup milk (63 grams)
- ½ cup vegetable oil (95 grams)
- 1 teaspoon vanilla
- 1 ¼ cups granulated sugar (250 grams)
- ½ cup light brown sugar packed (50 grams)
- 1 ¾ cups all-purpose flour (219 grams)
- 2 teaspoons baking soda
- 1 ¼ teaspoons baking powder
- 1 teaspoon salt
Chocolate Cream Cheese Frosting
- 1 cup butter room temperature (226 grams)
- ¾ cup cream cheese room temperature (6 ounces/168 grams)
- 4 cups powdered sugar (460 grams)
- 1 cup + 2 tablespoons Dutch-processed cocoa powder (108 grams)
- ½ cup cold heavy whipping cream
- 2 teaspoons vanilla
- ½ teaspoon salt
Instructions
Chocolate Cake
-
Preheat the oven to 350°F. Whisk the cocoa with hot coffee or water until smooth and set aside to cool slightly.
-
Combine sour cream, milk, eggs, vanilla, and oil with a mixer on low until smooth.
-
Whisk together granulated sugar, brown sugar, flour, baking soda, baking powder, and salt until lump-free.
-
Add dry ingredients to the wet mixture and mix on low until just combined.
-
Pour in the cocoa mixture, mix until incorporated, and scrape the bowl to ensure even mixing.
-
Prepare pans, divide batter, and bake until a toothpick comes out clean or with a few moist crumbs (23–28 minutes for 8-inch rounds).
-
Cool in pans 10–15 minutes, then turn out to a wire rack to cool completely. Wrap warm layers for extra moisture if desired.
Chocolate Cream Cheese Frosting
-
Beat butter and cream cheese until smooth. Whisk cocoa, powdered sugar, and salt until lump-free.
-
Add half the dry mixture, vanilla, and half the cream and mix on low. Add the remaining dry mix and mix until combined.
-
Add the remaining cream and beat on high 2–3 minutes until lightened. Thin with additional cream by the tablespoon if needed.
Cake assembly
-
For a 9×13, frost in the pan or turn out and frost the top (and sides if you like). For layers, level domes, anchor the first layer with a small dollop of frosting, and stack.
-
Spread a thick, even layer of frosting between layers and over top and sides. Serve at room temperature for best texture.
Notes
Freeze layers: Chill or freeze wrapped layers 30–60 minutes before frosting to make handling easier.
Frosting caution: Whip just long enough for the cream to aerate the frosting; overmixing cream cheese can cause it to weep.