How to Bake Chocolate Cake From Scratch: A Reliable Recipe and Method
This chocolate cake from scratch uses pantry ingredients and one bowl. Two layers bake at 350°F in 30 to 35 minutes. Full recipe, method and common fixes.
By Galactic News Editorial · Published 2026-11-17T02:18:31+00:00 · Updated 2026-11-17T02:18:31+00:00
How to Bake Chocolate Cake From Scratch: A Reliable Recipe and Method
This chocolate cake uses pantry ingredients, one bowl for the batter, and a 350°F (175°C) oven. Two 9-inch layers bake in 30 to 35 minutes. The crumb is moist, the chocolate flavour is deep, and the method is forgiving. Measure carefully, do not overmix, and test with a toothpick before you take it out. This guide covers the recipe, the method, and how to fix the usual mistakes.
How to Bake Chocolate Cake: Ingredients and Equipment
You need two 9-inch round cake pans, parchment paper, a large bowl, a whisk and a wire rack. A stand mixer helps, but a hand whisk works fine. Gather everything before you start. Baking rewards preparation.
For the cake, you need:
- 2 cups (400 g) granulated sugar
- 1¾ cups (220 g) plain flour
- ¾ cup (75 g) unsweetened cocoa powder
- 1½ teaspoons baking powder
- 1½ teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs, at room temperature
- 1 cup (240 ml) milk or buttermilk
- ½ cup (120 ml) vegetable oil
- 2 teaspoons vanilla extract
- 1 cup (240 ml) boiling water
Room-temperature eggs mix more evenly into the batter. Cold eggs can make the batter lumpy. If yours are cold, put them in a bowl of warm tap water for five minutes. Use natural unsweetened cocoa, not Dutch-processed, because the recipe relies on baking soda for lift. The two react together. Swap the leavening and the cake may not rise properly.
Do not taste or eat raw batter. Flour and raw eggs can carry bacteria. The cake is safe once it is fully baked. That warning comes from university extension guidance, and it applies to every cake, not just this one.
How to Bake Chocolate Cake From Scratch, Step by Step
- Preheat the oven to 350°F (175°C). Put the rack in the middle position. Ovens can run hot or cold by as much as 25°F, so an oven thermometer helps. Grease the pans, line the bottoms with parchment, then grease and flour the sides. Or dust the sides with cocoa powder instead of flour, so no white streaks show on the finished cake.
- Whisk the dry ingredients. Put the sugar, flour, cocoa, baking powder, baking soda and salt in a large bowl. Whisk until the mixture looks uniform and no cocoa lumps remain. This step replaces sifting. It also spreads the leavening evenly, which keeps the rise level.
- Add the wet ingredients. Add the eggs, milk, oil and vanilla. Beat on medium speed for about two minutes, or whisk by hand until the batter is smooth. It will look thin. That is normal for this recipe.
- Add the boiling water last. Pour it in slowly while stirring. The batter becomes very thin, almost like chocolate milk. Do not worry. The hot water blooms the cocoa, which deepens the chocolate flavour. It also loosens the batter so it bakes into a tender crumb.
- Divide and bake. Pour the batter evenly between the two pans. Bake on the middle rack for 30 to 35 minutes. Do not open the oven door in the first 20 minutes. Early opening can make the layers sink in the middle.
- Test for doneness. Insert a toothpick into the centre of a layer. It should come out clean or with a few moist crumbs. The top should spring back when pressed lightly. The internal temperature should reach about 200°F. If the toothpick shows wet batter, bake for three more minutes and test again.
- Cool before frosting. Leave the layers in their pans on a wire rack for 10 to 15 minutes. Run a knife around the edge, then turn them out onto the rack. Cool completely before frosting. Warm cake melts frosting and slides apart. This takes at least an hour.
Frosting and Serving
A simple chocolate buttercream suits this cake. Beat softened butter until creamy, add cocoa and icing sugar, then milk a spoonful at a time until it spreads easily. A thin crumb coat first seals loose crumbs. Chill the cake for 20 minutes, then add the final coat.
The cake serves 12. Store it in an airtight container at room temperature for up to three days, or in the fridge for up to five days. Bring a chilled slice back to room temperature before serving. Cold cake tastes drier than it is.
Common Problems and How to Fix Them
| Problem | Likely cause | Fix |
|---|---|---|
| Dry, crumbly cake | Overbaked or too much flour | Test earlier, spoon flour into the cup |
| Sunk in the middle | Door opened early or underbaked | Do not open before 20 minutes |
| Dense, heavy crumb | Overmixed after adding flour | Mix only until combined |
| Bitter or flat flavour | Stale cocoa or wrong cocoa type | Use fresh natural cocoa |
| Stuck to the pan | Pan not lined or greased | Line with parchment every time |
The two most common mistakes are overbaking and overmixing. A cake that stays in the oven five minutes too long dries out fast. A batter beaten long after the flour goes in develops too much gluten. The result is tough, not tender. Mix until the flour disappears, then stop.
Weighing ingredients beats measuring by volume. A cup of flour can weigh anywhere from 120 g to 150 g depending on how you scoop it. Spoon the flour into the cup and level it off, or use a kitchen scale. That one habit fixes more dry cakes than any other change. The same applies to cocoa. Pack it down and the cake turns bitter and dense.
High altitude changes the rules. Above about 3,500 feet, air pressure is lower and cakes rise faster, then collapse. Reduce the sugar by two tablespoons, add two tablespoons of extra liquid, and raise the oven temperature by 15°F to 25°F. The University of Wyoming Extension recipe used here was tested at 7,200 feet, so it already accounts for altitude in its timing.
Variations Worth Trying
The same batter works in other pans. A 9 by 13-inch pan needs 30 to 35 minutes. Cupcakes need 15 to 18 minutes. Start checking early, since smaller cakes bake faster. For a richer cake, swap the milk for buttermilk. The acid reacts with the baking soda and adds a slight tang. For a mocha note, dissolve a teaspoon of instant coffee in the boiling water. It deepens the chocolate without making the cake taste of coffee.
Bottom line: a good chocolate cake from scratch needs accurate measuring, a hot oven, and restraint with the mixing bowl. This recipe bakes at 350°F for 30 to 35 minutes and gives a moist, reliable result. Follow the steps, test with a toothpick, and let the layers cool fully before frosting.