American · Desserts · Recipe
Classic Chocolate Layer Cake
A moist, deeply chocolatey two-layer cake made with cocoa, buttermilk and hot coffee, finished with a fudgy chocolate buttercream. Weights and cup measures.
Prep- 30 min
Cook- 35 min
Total- 2 hr 30 min
Serves- 12
Level- Medium

At a glance
A classic chocolate layer cake is two tender cocoa sponges sandwiched and covered with chocolate buttercream. Oil and buttermilk keep the sponge moist for days, and hot coffee blooms the cocoa for a deeper chocolate flavour without tasting of coffee. Bake at 175°C (350°F) for 30 to 35 minutes, cool completely, then frost. Allow about 2 hours 30 minutes including cooling.
Every baker needs one dependable chocolate cake, the kind you can make for a birthday without worrying. This is that cake. The batter is mixed in two bowls with a whisk, it bakes into two tender, deeply chocolatey layers, and it stays moist for days. The buttercream is rich and fudgy without being cloyingly sweet, and it pipes or swirls equally well.


The recipe
Classic Chocolate Layer Cake
Ingredients
Tap an ingredient to tick it off.
Chocolate cake
- 250 g plain (all-purpose) flour
- 350 g caster or granulated sugar
- 65 g unsweetened cocoa powder
- 2 tsp bicarbonate of soda (baking soda)
- 1 tsp baking powder
- 1 tsp fine salt
- 2 large eggs, at room temperature
- 240 ml buttermilk, at room temperature
- 120 ml vegetable or sunflower oil
- 2 tsp vanilla extract
- 240 ml hot freshly brewed coffee or hot water
Chocolate buttercream
- 250 g unsalted butter, softened
- 350 g icing sugar (powdered sugar), sifted
- 75 g unsweetened cocoa powder, sifted
- 1 pinch fine salt
- 1 tsp vanilla extract
- 4 to 5 tbsp milk or cream
Equipment
- Two 20 cm (8-inch) round cake tins
- Electric hand mixer or stand mixer
- Large mixing bowl and jug
- Wire rack
- Palette knife or offset spatula
- Digital scale
Method
Bake the cakes
Heat the oven to 175°C (350°F), or 155°C fan. Grease two 20 cm (8-inch) round cake tins and line the bases with baking paper.
In a large bowl, whisk together the flour, sugar, cocoa, bicarbonate of soda, baking powder and salt, breaking up any lumps of cocoa.
In a jug, whisk the eggs, buttermilk, oil and vanilla. Pour into the dry ingredients and whisk until smooth.
Slowly whisk in the hot coffee. The batter will be thin and pourable; this is correct.
Divide the batter evenly between the tins. Bake for 30 to 35 minutes, until the cakes spring back when pressed lightly in the centre and a skewer comes out clean.
Cool in the tins for 10 minutes, then turn out onto a wire rack, peel off the paper and leave to cool completely, at least 1 hour.
Make the buttercream and assemble
Beat the butter with an electric mixer for 2 minutes until pale. Add the icing sugar, cocoa and salt and beat on low speed until combined, then on medium for 2 minutes.
Beat in the vanilla and enough milk to make a smooth, spreadable frosting.
Place one cake upside down on a plate so the flat base faces up. Spread with about a third of the buttercream. Top with the second cake, base side up.
Spread a thin layer of buttercream over the top and sides to seal in crumbs. Chill for 15 minutes, then cover with the remaining buttercream, swirling it with the back of a spoon or a palette knife.
Recipe notes
- No buttermilk? Stir 1 tbsp lemon juice or white vinegar into 240 ml milk and leave for 5 minutes.
- The coffee does not make the cake taste of coffee; it intensifies the chocolate. Use hot water if you prefer to avoid caffeine.
Recipe summary
- Cuisine
- American
- Course
- Desserts, Baking, Cakes and Cookies
- Diet
- Vegetarian
- Prep time
- 30 min
- Cook time
- 35 min
- Total time
- 2 hr 30 min
- Servings
- 12
- Difficulty
- Medium
- Ingredients
- 17
- Steps
- 10
About the classic chocolate layer cake
Chocolate was drunk long before it was baked. Cocoa powder, produced by pressing out much of the fat from cocoa beans, was developed in the Netherlands in the nineteenth century, and it made chocolate far easier to bake with. Chocolate cakes became popular in America in the late nineteenth and early twentieth centuries, and the layer cake covered in frosting became a fixture of birthdays and celebrations.
This recipe belongs to a style of American chocolate cake made with oil, buttermilk and hot liquid. It is a close cousin of the cake often called "devil's food", a name that appeared in American cookbooks around the start of the twentieth century to describe a dark, rich chocolate cake, the opposite of the white "angel food" cake.
How the ingredients work

Cocoa powder. Natural (non-alkalised) cocoa is acidic and pale brown. It reacts with the bicarbonate of soda to help the cake rise. Sift it, because cocoa clumps easily.
Hot coffee or water. Pouring hot liquid over cocoa is called blooming. It helps dissolve the cocoa's flavour compounds and fat, giving a much stronger chocolate taste. Coffee deepens it further without making the cake taste of coffee.
Oil. Oil coats the flour proteins and keeps the crumb soft and moist. Because it stays liquid when cool, the cake stays soft after refrigeration, which matters for a frosted cake.
Buttermilk adds tenderness, a subtle tang that balances the sweetness, and acid for the bicarbonate of soda.
Eggs bind the batter and provide structure. At room temperature they mix in more evenly. See our egg guide.
Flour. Plain flour provides structure. Measuring by weight prevents the most common cause of dry cake: too much flour. Our flour guide explains why.
The buttercream
The buttercream is an American-style frosting: softened butter beaten with icing sugar, cocoa and a little milk. Beating the butter well before adding the sugar makes it lighter and easier to spread, a process similar to the one explained in our guide to creaming butter and sugar. A pinch of salt sharpens the chocolate flavour and reduces the impression of sweetness. Read more about butter's behaviour at different temperatures in our butter guide.
Cocoa powder explained
This cake uses unsweetened cocoa powder. Natural cocoa is acidic and fruity; Dutch-processed (alkalised) cocoa is darker and milder. Recipes balanced with bicarbonate of soda, like this one, work with either, but Dutch-processed cocoa gives a darker, more chocolatey-looking cake. Do not use drinking chocolate, which is mostly sugar.
Why hot liquid?

Adding hot water or coffee to the batter "blooms" the cocoa, dissolving its particles and releasing more chocolate flavour. Coffee does not make the cake taste of coffee; it simply deepens the chocolate. The batter will be very thin, which is correct and gives a moist, tender crumb.
Equipment notes
The recipe is written for two 20 cm round tins. Lining the bases with baking paper and greasing the sides makes the cakes release cleanly. A cake leveller or long serrated knife helps trim domed tops so the layers stack evenly. A cake turntable makes frosting easier but is not essential.
Making it ahead
The sponges can be baked a day ahead and wrapped once cool, or frozen for up to 3 months. Frosting cold or slightly frozen layers is easier because they produce fewer crumbs. The frosted cake keeps at room temperature for 2 to 3 days in a cool kitchen.
Scaling and shapes
The batter makes about 24 cupcakes, baked for 18 to 22 minutes, or one 23 x 33 cm traybake, baked for 30 to 35 minutes. For a three-layer celebration cake, multiply the recipe by 1.5 and use three tins.
Frosting without crumbs everywhere
A smooth finish starts with completely cold layers. Brush away loose crumbs and, if the tops are domed, level them with a long knife. Put the first layer on the plate flat side up and spread the filling to the edge. Place the second layer upside down, so the smooth base becomes the top. Now spread a very thin coat over the whole cake to trap crumbs, and chill it for twenty minutes or so. The second coat will then go on cleanly. Use a palette knife and turn the plate as you go. Strips of baking paper tucked under the edges keep the plate tidy and slide out afterwards. Rustic swirls hide small flaws beautifully.
Common mistakes
- Frosting warm cake. The buttercream will melt and slide. Cool the layers completely.
- Overbaking. Start checking at 28 minutes. Every oven is different.
- Lumpy cocoa. Whisk or sift the dry ingredients thoroughly before adding the wet ones.
- Skipping the crumb coat. A thin first layer of frosting, chilled, traps crumbs and gives a much neater finish.
- Cold butter in the buttercream. It forms lumps and will not become fluffy. It should be soft enough to press easily.
Variations
- Chocolate ganache topping: pour 200 g chopped dark chocolate melted with 200 ml hot double cream over the cake instead of buttercream.
- Chocolate orange cake: add the finely grated zest of 2 oranges to the batter and replace the milk in the frosting with orange juice.
- Mocha cake: dissolve 2 tsp instant espresso in the milk for the buttercream.
Serving
Serve at room temperature, when the cake is softest and the chocolate flavour strongest. A spoonful of lightly whipped cream or crème fraîche, or fresh berries, cuts through the richness. A 20 cm two-layer cake gives 12 generous slices or 16 smaller ones.
Storing and freezing
Keep the frosted cake covered at cool room temperature for up to 3 days. In warm weather, refrigerate it and bring it back to room temperature for an hour before serving. Unfrosted layers freeze well for up to 3 months, wrapped tightly in cling film and foil. Frosted slices can also be frozen; freeze them uncovered until firm, then wrap.
Dietary and allergen information
As written, this classic chocolate layer cake recipe is vegetarian. Labels describe the recipe as written; brands of packaged ingredients differ, so always check labels when cooking for someone with an allergy or a medical diet.
Read our recipe disclaimer for more on allergens, cross-contamination and food safety.
Skills and guides for this recipe
These guides explain the ingredients and techniques this recipe relies on, so you can cook it with confidence and use the same skills in other dishes.
FlourA guide to wheat flour: plain, bread, cake, self-raising, tipo 00 and wholemeal, what protein content means, how to measure and store it.Read the guide →
ButterA guide to butter: salted vs unsalted, softened butter, brown butter, clarified butter and ghee, smoke points, storage and dairy-free swaps.Read the guide →
EggsEverything about cooking with eggs: sizes and grades, how to test freshness, safe storage, how egg proteins set at different temperatures, and egg substitutes.Read the guide →
Creaming Butter and SugarHow to cream butter and sugar: the right butter temperature, how long to beat, why it matters for cakes and cookies, and fixing curdled batter.Read the guide →
Frequently asked questions
Why use oil instead of butter in chocolate cake?
Oil stays liquid at room temperature, so the cake stays soft and moist even after a few days. Butter gives more flavour but firms up as it cools, making the crumb slightly drier. Cocoa supplies plenty of flavour, so oil works especially well here.
Why is my chocolate cake dry?
Most often it was overbaked, or too much flour was used. Weigh the flour, start checking a few minutes before the stated time, and take the cakes out as soon as a skewer comes out clean.
Can I use Dutch-process cocoa?
Yes, but the result changes slightly. This recipe uses bicarbonate of soda, which needs acid; natural cocoa and buttermilk both provide it. With Dutch-process cocoa, which is less acidic, the cake may rise a little less and be darker.
Can I make the cake ahead?
Yes. Wrap the cooled, unfrosted layers tightly and keep them at room temperature for 1 day, or freeze for up to 3 months. Thaw before frosting.
Can I bake this as a sheet cake or cupcakes?
Yes. For a 23 x 33 cm (9 x 13 inch) tin, bake for 35 to 40 minutes. For 24 cupcakes, fill the cases two-thirds full and bake for 18 to 22 minutes.











