Moist Chocolate Cake Recipe with Chocolate Frosting
A moist two-layer chocolate cake with cocoa, coffee and chocolate frosting.
This chocolate cake recipe uses cocoa, buttermilk and oil for a soft two-layer cake finished with chocolate frosting. It makes about 12 slices in two 20 cm (8 in) round pans. Allow roughly two hours including cooling, not just the oven time. The 450 g frosting is prepared separately or bought ready-made; the cake batter is deliberately thin.
- Prep time
- 25 min
- Cook time
- 35 min
- Total time
- 2 hr
- Difficulty
- Medium
- Cuisine
- American
- Servings
- 12
Times and servings are estimates; ingredient sizes and equipment can change them.
Ingredients
- 260 g plain flour (about 2 cups)
- 400 g sugar (about 2 cups)
- 75 g unsweetened cocoa powder (about 3/4 cup)
- 2 tsp baking soda
- 1 tsp fine salt
- 3 large eggs, at room temperature
- 240 ml buttermilk (1 cup)
- 240 ml hot, freshly brewed coffee (1 cup)
- 120 ml neutral oil (1/2 cup)
- 2 tsp vanilla extract
- 450 g chocolate buttercream or frosting
Instructions
- Heat the oven to 175 °C (350 °F). Grease two 20 cm (8 in) round cake pans and line the bases with baking paper.
- Whisk the flour, sugar, cocoa, baking soda and salt in a large bowl until no cocoa lumps remain.
- In a second bowl, whisk the eggs, buttermilk, oil and vanilla. Carefully whisk in the hot coffee.
- Pour the wet mixture into the dry ingredients and whisk just until smooth. Divide the thin batter evenly between the prepared pans.
- Bake for 30–35 minutes, until the tops spring back lightly and a skewer inserted in the centre comes out with a few moist crumbs rather than wet batter.
- Cool the cakes in their pans for 15 minutes. Turn them out onto wire racks, remove the paper and cool completely for about 45 minutes more.
- Level the layers if needed. Spread frosting between the layers, then cover the top and sides with the remaining frosting.
Cooking tips
- Weigh the flour and cocoa when possible; tightly packed cups can make the cake dry. Use unsweetened natural cocoa rather than sweetened drinking chocolate or Dutch-process cocoa: the baking soda relies on acidity in the batter.
- Whisk only until the dry ingredients disappear. Mixing for longer can make the crumb tougher. Divide the batter evenly so both layers finish at a similar time.
- Start checking at 30 minutes. A few moist crumbs on the skewer are fine, but liquid batter means it needs longer; overbaking dries the edges.
- Cool the layers completely before frosting. Warm cake melts buttercream and can cause the layers to slide.
Substitutions
- Replace the 240 ml coffee with 240 ml hot water if avoiding coffee. Coffee can deepen the chocolate flavour, but it is not essential.
- If buttermilk is unavailable, mix 1 tbsp lemon juice or white vinegar with enough milk to make 240 ml. Let it stand for 5–10 minutes before using; the texture may differ slightly.
- Use a measured egg replacer only if its manufacturer confirms it is suitable for a three-egg cake; an egg-free result has not been verified for this formula.
Serving suggestions
Serve at room temperature with fresh berries or a small glass of milk.
Storage & reheating
Cover and refrigerate a frosted cake, especially in a warm kitchen. Follow the prepared frosting's storage guidance, particularly if it contains cream or cream cheese. Let slices stand briefly at room temperature for a softer texture.
Frequently asked questions
- Why is there coffee in chocolate cake?
- Coffee can deepen the cocoa flavour, while the hot liquid helps disperse it in the batter. Use the same volume of hot water if you prefer not to use coffee.
- Why is my chocolate cake dry?
- Too much flour or cocoa and baking for too long are common causes. Weigh the dry ingredients and check before the upper baking-time estimate. Stop when a skewer has moist crumbs but no liquid batter.
- Is chocolate cake batter supposed to be runny?
- Yes. This recipe's hot coffee and buttermilk make a thin batter. Do not add extra flour to thicken it; use solid cake pans rather than an unsealed loose-bottomed pan that may leak.
- Can I bake this cake ahead of time?
- Yes. Cool the layers fully, wrap them well and refrigerate before assembling the next day. Frost only when cool and follow the frosting's storage guidance.
- Can I use a different cake tin?
- The baking estimate is for two 20 cm round pans. A single deep tin changes batter depth and baking time, so do not assume the same timing. Leave room for rising and check doneness rather than relying on the clock alone.