Deeply Chocolate Layer Cake That Stays Moist for Days
This chocolate layer cake is the one I bake when I want a dessert that feels like a celebration but still tastes like home. Two tender cocoa layers stacked with a fudgy, easy chocolate frosting, and it never turns dry, even on day three.

The secret isn’t a hard-to-find ingredient—it’s a pour of hot coffee right into the batter. You won’t taste coffee at all; it just amplifies the chocolate and keeps the crumb so soft you’ll wonder why every cake doesn’t do it.
Why I Keep Coming Back to This Cake
This cake has the deep, almost brownie-like chocolate flavor most layer cakes only hint at, because the hot liquid blooms the cocoa powder. The crumb is fine and velvety, not crumbly.
I also love that it stays moist for days, so I can bake it ahead without worry. It’s my first choice for birthday parties or weekend baking marathons.
Ingredients

- 1 3/4 cups all-purpose flour: spooned and leveled, not scooped
- 3/4 cup unsweetened cocoa powder: natural or Dutch-process both work; natural gives a sharper tang
- 2 cups granulated sugar: balances the cocoa’s bitterness perfectly
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1 tsp fine sea salt
- 2 large eggs, at room temperature: they blend more smoothly when they’re not cold
- 1 cup buttermilk, at room temperature: the acidity keeps the cake tender
- 1/2 cup neutral oil: like canola or vegetable, makes the cake stay soft
- 2 tsp pure vanilla extract
- 1 cup hot strong brewed coffee: or hot water if you prefer; the coffee just deepens the chocolate taste
Swaps and Twists
- Swap oil for melted butter: use 1/2 cup cooled melted butter for a slightly richer, denser crumb.
- Swap buttermilk: combine 1 cup whole milk with 1 tablespoon lemon juice or white vinegar and let it sit 5 minutes.
- Swap the frosting: try a vanilla buttercream or a tangy cream cheese frosting for a different twist.
- Swap cocoa: Dutch-process cocoa gives a smoother, darker flavor; natural cocoa is a little fruitier and more acidic.
For a vanilla version, try my Classic Vanilla Layer Cake.
How to Make Deeply Chocolate Layer Cake
Step 1: Whisk the Dry Ingredients

Sift the 1 3/4 cups flour, 3/4 cup cocoa powder, 2 cups sugar, 1 1/2 tsp baking powder, 1 1/2 tsp baking soda, and 1 tsp salt into a large bowl. Whisk them together until no streaks of cocoa remain.
Sifting is worth the extra minute here—it breaks up lumps and helps the cocoa disperse evenly, so you don’t end up with pale patches in the cake.
Step 2: Mix the Wet Ingredients

In a medium bowl or large liquid measuring cup, whisk the 2 eggs, 1 cup buttermilk, 1/2 cup oil, and 2 tsp vanilla until smooth and combined, about 30 seconds.
The mixture will look a little curdled from the oil and buttermilk, and that’s exactly right. Cold ingredients would make it harder to blend, which is why room temperature matters here.
Step 3: Combine and Add the Hot Coffee

Pour the wet mixture into the dry ingredients and stir with a spatula until just combined and no dry flour pockets remain, about 20 strokes. Then slowly pour in the 1 cup hot coffee while stirring gently; the batter will loosen and become very thin.
Don’t be alarmed by the thin batter—that’s what makes the cake so moist. It will look more like a thick crepe batter than a typical cake batter.
Step 4: Bake the Cake Layers

Preheat the oven to 350°F (180°C) with a rack in the middle. Grease two 8-inch round cake pans and line the bottoms with parchment paper. Divide the batter evenly between the pans.
Bake for 30 to 35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs. Let the cakes cool in the pans on a wire rack for 10 minutes, then run a knife around the edges and turn them out onto the rack to cool completely before frosting.
Step 5: Frost and Stack the Cake

Place one completely cooled layer bottom-side down on a serving plate. Scoop about 1 cup of frosting onto it and spread it to the edges. Set the second layer on top, bottom-side up, so you get a flat top. Use the remaining frosting to cover the top and sides.
I like to use the back of a spoon to swirl the frosting for a rustic look. Let the frosted cake sit for about 15 minutes before slicing, so the layers set and the slices come out clean.
Tips for the Best Chocolate Layer Cake
- Use a good-quality cocoa powder—the flavor really comes through. I reach for a dark, high-fat cocoa like Valrhona or Droste.
- Don’t skip the hot coffee. It blooms the cocoa, unlocking a deeper chocolate taste, and you won’t pick up any coffee flavor.
- Weigh the batter as you divide it between pans for perfectly even layers. A kitchen scale makes this effortless.
- Chill the cake layers in the fridge for 30 minutes after they’re fully cooled, then frost. Cold cakes crumble less and hold up better to spreading.
- If the frosting gets too stiff while you work, add a tablespoon of milk at a time and stir until it’s spreadable.
Bake times if using different pans:
| Pan Size | Batter Split | Bake Time |
|---|---|---|
| 3 x 6-inch rounds | Divide equally | 22–25 minutes |
| 2 x 8-inch rounds | Divide equally | 30–35 minutes |
| 2 x 9-inch rounds | Divide equally | 25–28 minutes |
| 9×13-inch sheet | All batter in one pan | 35–40 minutes |
Keeping the Cake Fresh
Refrigerate the frosted cake in an airtight container for up to 5 days. Let it come to room temperature before serving for the softest texture. The cake tastes even richer the next day, so you can bake it a day ahead and frost it when you’re ready.
Frequently Asked Questions
Can I freeze the cake layers?
Yes. Wrap each completely cooled, unfrosted layer tightly in plastic wrap and freeze for up to 2 months. Thaw on the counter before frosting.
Why did my cake sink in the middle?
Usually it’s because the oven was too cool, the batter was over mixed, or the cake wasn’t baked long enough. Check your oven temperature with a separate thermometer and test with a toothpick at the earliest bake time.
Can I bake this as cupcakes?
Definitely. Line a muffin tin and fill each cup about two-thirds full. Bake at the same temperature for 18 to 22 minutes, until a toothpick comes out with moist crumbs.
Can I make the frosting ahead of time?
You can. Make the chocolate frosting, cover it tightly, and refrigerate for up to 3 days. Let it sit at room temperature for about 30 minutes and give it a good stir before using.
How do I get smooth frosting on the cake?
Apply a thin crumb coat first—a very thin layer of frosting that traps loose crumbs. Chill the cake for 15 minutes, then spread the final thicker layer. A bench scraper helps get straight sides.

Chocolate Layer Cake Recipe
Ingredients
Method
- Sift the flour, cocoa, sugar, baking powder, baking soda, and salt into a large bowl. Whisk to combine.
- In a medium bowl or measuring cup, whisk the eggs, buttermilk, oil, and vanilla until smooth.
- Pour the wet mixture into the dry and stir with a spatula until just combined. Slowly stir in the hot coffee until the batter is thin and uniform.
- Preheat oven to 350°F (180°C). Grease two 8-inch round pans and line with parchment. Divide the batter evenly between them. Bake for 30–35 minutes, until a toothpick has moist crumbs. Cool in pans 10 minutes, then turn out onto a rack to cool completely.
- Place one layer on a plate, spread with about 1 cup frosting, top with the second layer upside down, and frost the top and sides. Let sit 15 minutes before slicing.
