
This one-bowl chocolate cake is a straightforward, from-scratch layer cake made with familiar pantry ingredients. A whisk and one mixing bowl are enough for the batter, and a little boiling water makes it easy to mix and helps the cocoa deliver a deep chocolate flavor.
The finished cake is soft, moist, and chocolate-forward without being heavy. Bake it as two layers for a classic frosted cake, or use a 9-by-13-inch pan for an easy sheet cake; either way, it’s a practical dessert to make today.
Why This Recipe Works
Mixing the dry ingredients first spreads the baking powder, baking soda, and salt evenly through the flour and cocoa. That matters in a one-bowl cake: once the liquid goes in, the leaveners start working, so an even start helps the cake rise consistently.
Oil supplies fat without needing to soften or cream butter. It coats flour particles and helps the crumb stay tender after the cake cools. Whole milk adds moisture and gives the batter enough liquid to hydrate the dry ingredients, while eggs help bind the batter and support its structure.
The boiling water is an important addition to the listed ingredients. It loosens the batter and helps disperse the cocoa, so don’t be alarmed when the finished batter looks much thinner than a typical butter cake batter. Pour it carefully, mix just until uniform, and get the pans into the oven promptly.
Use natural, unsweetened cocoa powder for the most dependable rise with this combination of baking soda and baking powder. Natural cocoa is acidic; that acidity reacts with baking soda. Dutch-process cocoa is treated to reduce acidity, so substituting it can change the cake’s lift and flavor.
Ingredients
- 1 ¾ cups all-purpose flour, spooned into the measuring cup and leveled
- 1 ¾ cups granulated sugar
- ¾ cup unsweetened natural cocoa powder
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon fine salt
- 2 large eggs, preferably at room temperature
- 1 cup whole milk
- ½ cup neutral vegetable oil
- 2 teaspoons vanilla extract
- 1 cup boiling water
- Butter or baking spray, for greasing the pans
- All-purpose flour or cocoa powder, for dusting the pans if not using parchment
Ingredient Notes
Flour: All-purpose flour gives the cake enough structure to hold together while staying tender. Measure by spooning flour into the cup and leveling it rather than packing it down. A one-to-one gluten-free baking flour blend may work if its package says it can replace all-purpose flour cup for cup, though the crumb can differ. Don’t substitute bread flour, which can make the cake tougher.
Sugar: Granulated sugar sweetens the cocoa and helps keep the crumb moist. Keep the amount as written; reducing sugar can affect both texture and flavor, not just sweetness.
Cocoa powder: Choose unsweetened natural cocoa for this recipe. Cocoa gives the cake its chocolate flavor and contributes to its dry ingredients. Dutch-process cocoa can be less acidic and may not react with the baking soda in the same way. Sweetened drink mix is not a substitute.
Baking powder and baking soda: These are separate leaveners, not interchangeable amounts. Baking powder provides lift, while baking soda works with the acidity in natural cocoa. Check that both are fresh; old leaveners may leave the cake dense.
Eggs and milk: Large eggs bind the batter and help it set. Whole milk adds liquid and richness. If needed, use 2% milk; the result may be slightly less rich. Letting cold eggs and milk sit out briefly can help the batter mix evenly, but don’t leave them out for an extended period.
Oil, vanilla, and water: Use a neutral oil such as canola or standard vegetable oil; strongly flavored oils will show through. Vanilla rounds out the chocolate flavor. Boiling water helps the cocoa disperse and makes the batter pourable. Add it slowly to avoid splashing.
Instructions
- Prepare the oven and pans. Heat the oven to 350°F (175°C). Grease two 9-inch round cake pans, line their bottoms with parchment rounds, and grease the parchment. If you don’t have parchment, grease and lightly flour the pans. The pans should look evenly coated, with no bare patches, so the layers release cleanly.
- Whisk the dry ingredients. In a large mixing bowl, whisk together the flour, sugar, cocoa, baking powder, baking soda, and salt for about 30 seconds, breaking up any cocoa lumps. The mixture should be an even brown with no visible pockets of leavener; this distributes the rising agents before the batter becomes wet.
- Add the eggs, milk, oil, and vanilla. Add both eggs, the milk, oil, and vanilla to the bowl. Beat with a hand mixer on medium speed for about 1½ to 2 minutes, or whisk firmly until the batter is smooth and no dry streaks remain. Scrape the bowl once if flour or cocoa is clinging to the sides. Mixing at this point hydrates the flour; stop when the batter is uniform rather than continuing to beat it.
- Stir in the boiling water. Carefully pour in the boiling water in a slow, steady stream while mixing on low, or stir by hand until combined. The batter will become thin and glossy. That loose texture is expected; check the bottom of the bowl for unmixed cocoa, then stop stirring as soon as the batter is even.
- Fill the pans and bake. Divide the batter evenly between the prepared pans and place them on the center oven rack. Bake for 30 to 35 minutes. Begin checking at 30 minutes: the tops should spring back lightly when touched, and a toothpick inserted in the center should come out clean or with a few moist crumbs, not wet batter. If batter clings to it, bake for a few more minutes and check again.
- Cool before removing. Set the pans on a cooling rack for 10 to 15 minutes. The edges should begin to pull slightly from the sides, and the layers should feel firm enough to handle. Run a thin knife around the edges if needed, then turn the cakes out and peel away the parchment. Cooling in the pans briefly helps the delicate hot layers hold their shape.
- Cool completely, then finish as desired. Let the layers cool completely on the rack before frosting; warm cake can melt frosting and shed crumbs. Stack and frost the layers, or serve slices plain with a dusting of powdered sugar or a spoonful of whipped cream.
For a 9-by-13-inch cake: Grease and line or flour one 9-by-13-inch pan, pour in all the batter, and bake at 350°F (175°C) for about 35 to 40 minutes. Start checking at 35 minutes using the same toothpick and spring-back cues. Pan material and oven variation affect timing, so use the doneness cues rather than relying on the clock alone.
Tips for Success
- Measure flour lightly. Scooping directly from a packed flour bag can add too much. Spoon it into the measuring cup and level the top for a more reliable cake texture.
- Break up cocoa lumps early. Whisk the cocoa thoroughly with the dry ingredients before adding liquid. Once the batter is wet, stubborn cocoa pockets are harder to smooth out without overmixing.
- Use boiling, not merely warm, water. Measure it after heating and pour carefully. The heat helps the cocoa disperse; it does not mean the batter needs a long mixing session.
- Mix only until smooth. A few seconds to scrape the bowl is useful, but prolonged beating after the flour is hydrated can make the crumb less tender.
- Divide the batter evenly. A kitchen scale makes it simple to split the batter between round pans. Otherwise, alternate spoonfuls between pans and compare the fill levels before baking.
- Check your oven and pan placement. Bake on the center rack with space around the pans. If your oven browns unevenly, rotate the pans once near the end of baking, after the layers have started to set.
- Wait to frost. Even slightly warm layers can melt frosting or break when stacked. Cool them fully, and chill briefly if you need a firmer surface for decorating.
Troubleshooting
The cake is dry. It may have baked too long, or the flour may have been packed into the measuring cup. Check the cake at the early end of the baking window and remove it when a toothpick shows moist crumbs rather than wet batter. Measure flour by spooning and leveling.
The center sank. A sunken center can result from opening the oven too early, underbaking, or using leaveners that have lost strength. Keep the oven door closed until the cake is near its minimum bake time, check the center for doneness, and replace baking powder or soda if you’re unsure how old they are.
The cake is dense or didn’t rise much. Check that you used both the baking powder and baking soda in the stated amounts and that the cocoa is natural rather than Dutch-process. Also make sure the oven was fully heated before the pans went in. Stirring very aggressively or for a long time after adding the flour can affect tenderness.
The layers stuck to the pans. Grease the pan sides and bottom, and use parchment on the bottom of round pans. Let the cakes rest for 10 to 15 minutes before turning them out; unmolding immediately can cause breakage, while leaving them in the pans until fully cold can make release harder.
The batter looks unusually thin. That is normal after the boiling water is added. Don’t add extra flour to thicken it. Pour it carefully into the pans and bake promptly so the leaveners can do their work in the oven.
The cake tastes bitter. Confirm that you used unsweetened cocoa powder rather than a sweetened baking mix, and measure the salt and leaveners accurately. A strongly flavored or rancid oil can also affect the taste; use fresh neutral oil.
Variations
Make a sheet cake. Bake the batter in one greased 9-by-13-inch pan, following the timing and doneness cues above. It’s easy to frost in the pan and convenient to cut into squares.
Add chocolate chips. Fold up to ¾ cup of semisweet chocolate chips into the batter after adding the boiling water. Stir just enough to distribute them; extra chips add sweetness and may settle slightly in the thin batter.
Use coffee instead of water. Replace the boiling water with an equal amount of hot brewed coffee. Coffee can make chocolate taste more pronounced without turning the cake into a coffee-flavored dessert. Use plain, unsweetened coffee.
Add a simple topping. Serve the cooled cake with powdered sugar, whipped cream, fresh berries, or a chocolate frosting you already enjoy. The cake itself is not frosted by the ingredient list, so choose a topping separately if you want a finished layer cake.
Make cupcakes. Divide the batter among lined muffin cups, filling each about halfway to two-thirds full. Bake at 350°F (175°C), beginning to check around 18 minutes. They’re ready when the centers spring back lightly and a toothpick comes out without wet batter; the exact time depends on the pan and fill level.
What to Serve With It
For a simple dessert, serve a slice plain or with a little whipped cream. Strawberries, raspberries, or sliced bananas provide fresh contrast to the rich cocoa flavor. A scoop of vanilla ice cream is an easy choice when serving the cake warm, though the cake is also good at room temperature.
If you’re making a layer cake, use a frosting that suits the occasion: chocolate buttercream for a fully chocolate dessert, vanilla buttercream for contrast, or lightly sweetened whipped cream for a softer finish. Frost only after the cake is completely cool.
Make-Ahead, Storage and Reheating
Make ahead: Bake the layers a day in advance, cool them completely, and wrap them well. Keep unfrosted layers covered at room temperature for up to 1 day if your kitchen is cool, or refrigerate them for up to 3 to 4 days. Chilling can make cake feel firmer, so bring it toward room temperature before serving for a softer crumb.
Storage: Store plain cake in an airtight container. If the cake has cream cheese frosting, whipped cream, custard, or another perishable topping, refrigerate it within 2 hours; in temperatures above 90°F, refrigerate within 1 hour. Keep refrigerated leftovers for 3 to 4 days. When you’re unsure whether a topping is perishable, refrigerate the cake.
Freezing: Freeze unfrosted, completely cooled layers wrapped tightly, or freeze individual slices in airtight wrapping. For best quality, use within 2 to 3 months. Thaw wrapped cake in the refrigerator or at room temperature; keeping it wrapped as it thaws helps limit drying.
Reheating: This cake is usually served at room temperature. To warm an individual plain slice, microwave it for about 10 seconds, then add a few seconds if needed. Avoid heating a slice with whipped cream or another topping that should stay cold.
Recipe Card
Servings: 12 to 16 slices
Prep time: 15 minutes
Cook time: 30 to 35 minutes for two 9-inch layers
Total time: About 50 minutes, not including cooling or frosting
Ingredients
- 1 ¾ cups all-purpose flour
- 1 ¾ cups granulated sugar
- ¾ cup unsweetened natural cocoa powder
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon fine salt
- 2 large eggs
- 1 cup whole milk
- ½ cup neutral vegetable oil
- 2 teaspoons vanilla extract
- 1 cup boiling water
- Butter or baking spray, for greasing the pans
- Flour or cocoa powder, for dusting if needed
Condensed Instructions
- Heat the oven to 350°F (175°C). Grease two 9-inch round pans and line their bottoms with parchment.
- Whisk the flour, sugar, cocoa, baking powder, baking soda, and salt in a large bowl.
- Add the eggs, milk, oil, and vanilla. Beat on medium for 1½ to 2 minutes, until smooth and no dry streaks remain.
- Slowly mix in the boiling water. The batter will be thin. Divide it between the pans.
- Bake for 30 to 35 minutes, until the tops spring back and a center toothpick comes out clean or with a few moist crumbs.
- Cool in the pans for 10 to 15 minutes, turn out onto racks, and cool completely before frosting or serving.
Frequently Asked Questions
Can I make this cake in one pan?
Yes. Use a greased 9-by-13-inch pan and bake at 350°F (175°C) for about 35 to 40 minutes. Begin checking at 35 minutes and use the center toothpick and spring-back cues to judge doneness.
Do I have to add the boiling water?
For the recipe as written, yes. It is included to loosen the batter and help disperse the cocoa. The batter will look thin after it goes in, but that is expected; don’t compensate by adding more flour.
Can I use Dutch-process cocoa?
Natural cocoa is the dependable choice here because its acidity works with the baking soda. Dutch-process cocoa has less acidity and may change the rise. If Dutch-process is all you have, a recipe formulated for it is a better option than changing the leaveners by guesswork.
Can I use a different kind of milk?
Two-percent milk can replace whole milk, though the cake may be a little less rich. Unsweetened, unflavored plant milk may also work, but results vary by product. Avoid sweetened or flavored milk, which changes the flavor and sweetness.
Can I make the batter ahead?
It’s best to bake the batter soon after mixing. Once the liquids meet the baking soda and baking powder, their reactions begin; letting the batter sit can reduce its lift. To work ahead, measure the dry ingredients and wet ingredients separately, then combine them when you’re ready to bake.
How do I know the cake is done without a toothpick?
Look for a center that springs back lightly when touched and a top that no longer looks wet. The edges may pull slightly from the pan. If the center still feels soft or leaves a dent, give it a few more minutes and check again.
Can I frost the cake while it’s warm?
Wait until the layers are completely cool. Warm cake can melt frosting and is more likely to break as you spread it. If you’re short on time, cool the layers on a rack and chill them briefly once they’re no longer hot.
Can I freeze the baked cake?
Yes. Cool it completely, wrap the unfrosted layers or slices tightly, and freeze in an airtight container. For best quality, use within 2 to 3 months and thaw before serving.
