Chocolate Cake Recipe 🍫🍰
This is the chocolate cake you make when nobody’s asking for a cake and you want one anyway. No birthday, no occasion, just a Tuesday and a craving. It’s one bowl, one whisk, pantry ingredients you already own, and it comes together in the time it takes to preheat the oven and clean up the counter. The crumb is soft and fudgy, the chocolate flavor is deep and dark, and it stays moist for days — better on day two, honestly. There’s no mixer, no creaming butter and sugar, no torting layers, no crumb coat. Just a square pan, a bowl, and 30 minutes of baking. This is the everyday chocolate cake recipe you’ll memorize by your third batch.

Why This Recipe Works
Three small decisions make this cake taste like something from a bakery, and none of them require skill.
- Hot coffee (or boiling water) blooms the cocoa. Cocoa powder is full of starches and flavor compounds that cold milk can’t fully dissolve. Pouring hot liquid into the batter unlocks deeper chocolate flavor and gives the crumb its dark, moist texture. You’re not making a coffee cake — you’re making the chocolate taste more like chocolate.
- Oil instead of butter. Butter firms up in the fridge and turns cake dry-tasting the next day. Oil stays liquid even when cold, so this cake is still tender straight from the refrigerator.
- An 8×8 square pan. You get the tall, generous slices of a two-layer cake with zero layer-cake stress. Ready in 30 minutes, no torting, no crumb coat, no chilling between steps.
- It’s better on day two. Give it 48 hours in an airtight container and the crumb tightens into something fudgier. This is a genuine make-ahead winner, not a cake that peaks in the first hour.
Servings: 4 generous squares (or 9 smaller ones) | Prep time: 15 minutes | Cook time: 30 minutes | Total time: 45 minutes plus cooling
Ingredients
For the cake:
- 1 cup all-purpose flour
- 1 cup granulated sugar
- 1/3 cup unsweetened natural cocoa powder (not Dutch-process)
- 3/4 teaspoon baking soda
- 1/2 teaspoon baking powder
- 1/2 teaspoon fine salt
- 1 large egg, room temperature
- 1/2 cup whole milk
- 1/4 cup neutral oil (canola or vegetable)
- 1 teaspoon vanilla extract
- 1/2 cup hot brewed coffee or boiling water
For the chocolate buttercream:
- 6 tablespoons unsalted butter, softened
- 1 1/2 cups powdered sugar
- 1/4 cup unsweetened cocoa powder
- 2 to 3 tablespoons heavy cream or milk
- 1/2 teaspoon vanilla extract
- Pinch of fine salt
- Flaky sea salt, for the top (optional)
Instructions
- Preheat and prep the pan. Heat the oven to 350°F (175°C) with a rack in the middle. Grease an 8×8-inch metal pan and line it with a parchment sling: cut a strip wide enough to cover the bottom and leave two overhanging handles on opposite sides. Metal gives the best rise and browning. If you only have glass, drop the temperature to 325°F and add 5 minutes to the bake.
- Whisk the dry ingredients. In a large bowl, whisk 1 cup flour, 1 cup sugar, 1/3 cup cocoa, 3/4 teaspoon baking soda, 1/2 teaspoon baking powder, and 1/2 teaspoon salt for a full 30 seconds. Cocoa likes to clump — press any lumps against the side of the bowl with the whisk until the mixture looks like evenly colored, lump-free sand.
- Add the wet ingredients (except the coffee). Crack in the egg, then add 1/2 cup milk, 1/4 cup oil, and 1 teaspoon vanilla. Whisk just until the batter is smooth and glossy, about 30 seconds. It will look thick, like brownie batter — that’s correct. Stop as soon as it’s uniform. Over-whisking at this stage builds gluten and makes the cake bouncy rather than tender.
- Bloom the cocoa with hot coffee. Pour in 1/2 cup hot coffee (or boiling water) and whisk gently. The batter will thin dramatically and turn a deep, glossy brown. This step is the whole trick: hot liquid dissolves the cocoa’s starches and unlocks flavor that cold milk can’t. Do it right before baking — don’t let the batter sit around, or the baking soda starts working early.
- Bake until the center springs back. Pour into the prepared pan and smooth the top. Bake 28 to 33 minutes, until a toothpick inserted into the center comes out with a few moist crumbs — not wet batter — and the cake springs back when you press the middle lightly with a fingertip. Start checking at 28 minutes; every oven runs hot or cold.
- Cool completely in the pan. Set the pan on a wire rack and leave the cake alone for at least 45 minutes. It firms up as it cools and finishes setting in the middle. If you cut it warm you’ll get a gummy, collapsed slice. Use the parchment handles to lift it out once fully cool.
- Make the chocolate buttercream. Beat 6 tablespoons softened butter for 1 minute until creamy. Add 1 1/2 cups powdered sugar, 1/4 cup cocoa, 2 tablespoons cream, 1/2 teaspoon vanilla, and a pinch of salt. Beat on low to combine, then on medium-high for 2 minutes, scraping the bowl once. Add the last tablespoon of cream only if it looks stiff — you want a spreadable frosting that holds a swirl.
- Frost, salt, and serve. Spread the frosting over the cooled cake with an offset spatula, making loose swoops. Scatter flaky sea salt over the top if you like — it makes the chocolate taste darker and less sweet. For the cleanest slices, chill the frosted cake for 20 minutes, then cut with a hot knife wiped between cuts.


Tips & Variations
- Weigh your cocoa and flour if you can. 1 cup cocoa is about 85 g and 1 cup flour is about 120 g. Scooping straight from the bag can pack in 20% extra flour and give you a dry cake.
- Hot coffee doesn’t make it taste like coffee. It amplifies chocolate. If you’re avoiding caffeine or serving kids, boiling water works exactly the same. Instant espresso dissolved in water is a middle ground.
- Swap the buttercream for a simple ganache. Heat 3/4 cup heavy cream, pour it over 1 cup chopped semisweet chocolate, wait 2 minutes, then stir smooth. Pour it over the cooled cake and let it set.
- Add-ins: 1/2 cup mini chocolate chips to the batter for molten pockets, or 1/2 teaspoon cinnamon for a warm, Mexican-chocolate slant.
- For cupcakes: use the same batter, fill liners two-thirds full, and bake 18 to 20 minutes at 350°F. Makes 12.
- Underbaking by 2 minutes is the difference between good and great. Err on the side of slightly moist crumbs over a bone-dry toothpick.
- Level the cake with a serrated knife only if it domed unevenly. A gentle dome is normal and frosting hides it.
Storage & Make-Ahead
Once frosted, store at room temperature in an airtight container for up to 3 days, or refrigerate for 5. Let slices sit out 20 minutes before eating — cold cake tastes drier than it is. Unfrosted cake keeps 2 days wrapped tightly at room temperature. It freezes beautifully: wrap in plastic, then foil, for up to 2 months and thaw at room temperature. Freeze frosted slices on a tray, then transfer to a zip-top bag; reheat single slices in the microwave for 15 to 20 seconds.
Nutrition Information
- Calories: 465
- Carbohydrates: 72 g
- Protein: 5 g
- Fat: 19 g
- Saturated Fat: 7 g
- Fiber: 3 g
- Sugar: 52 g
- Sodium: 330 mg
Nutrition values are an estimate and will vary with portion size, frosting amount, and substitutions.
FAQs
Can I use Dutch-process cocoa instead of natural cocoa?
You can, but the cake won’t rise quite as high because Dutch cocoa is less acidic and needs acid to activate baking soda. If that’s all you have, swap 1/4 teaspoon of the baking soda for an extra 1/4 teaspoon baking powder (so 1/2 teaspoon soda and 3/4 teaspoon powder), and the rise will be close enough.
My cake came out dry — what went wrong?
It’s almost always overbaking, not the recipe. Ovens vary by 25°F or more, so start checking at 28 minutes and pull it as soon as the center springs back and the toothpick has moist crumbs. Also measure flour by fluffing it with a spoon and leveling with a knife, never packing it into the cup.
Do I really have to use hot coffee?
No — boiling water works just as well, and no, the cake won’t taste like coffee. The hot liquid is doing chemistry, not flavoring: it dissolves the cocoa solids so the chocolate flavor comes through fully instead of tasting flat and dusty.
Can I double this for a 9×13 pan or two round layers?
Yes. Double every ingredient and bake in a greased 9×13 at 350°F for 32 to 38 minutes, or divide between two greased 8-inch round pans and bake 25 to 30 minutes, until a toothpick comes out with moist crumbs.
How do I get clean, even slices?
Chill the frosted cake for 20 minutes first, then use a thin, sharp knife that you wipe clean and dip in hot water between every cut. One firm downward motion — don’t saw back and forth — and you’ll get bakery-looking slices.
