This chocolate cake suits birthdays, weekend baking, and any gathering where a dependable dessert is welcome. Serve it plain, with whipped cream, or with a scoop of vanilla ice cream; it also holds up well under a thick layer of frosting. The cake keeps for days, so you can bake it ahead and frost when ready.
Prep the Batter and Pans
Before you start, bring the eggs, buttermilk, and coffee to room temperature (about 30 minutes on the counter). This helps the batter emulsify and rise evenly. Grease two 9-inch round cake pans (2 inches deep) with butter or nonstick spray, then line the bottoms with parchment paper.
Dry Ingredients
- 2 cups (240 g) all-purpose flour
- 1 3/4 cups (350 g) granulated sugar
- 3/4 cup (75 g) unsweetened cocoa powder (natural or Dutch-processed)
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1 tsp salt
Wet Ingredients
- 2 large eggs, room temperature
- 1 cup (240 ml) buttermilk, room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 tsp vanilla extract
- 1 cup (240 ml) hot coffee or hot water
- Heat the oven to 350°F (175°C). Whisk the dry ingredients in a large bowl until no lumps remain.
- In a second bowl, whisk the eggs, buttermilk, oil, and vanilla until combined.
- Pour the wet mixture into the dry ingredients and whisk until just combined—a few streaks of flour are fine.
- Slowly pour in the hot coffee while whisking. The batter will be thin; that is correct. Whisk until smooth, about 30 seconds.
- Divide the batter evenly between the prepared pans (about 3 cups each).
- Bake for 28–32 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Cool in the pans on a wire rack for 15 minutes, then turn out onto the rack to cool completely before frosting.
Make the Frosting and Fill
This cake pairs well with a classic chocolate buttercream or a lighter whipped ganache. For a shiny, pourable glaze, use the ganache below; for a fluffy frosting, whip it longer.
Chocolate Buttercream
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 1/2 cup (50 g) unsweetened cocoa powder
- 1/4 cup (60 ml) heavy cream or milk
- 2 tsp vanilla extract
- Pinch of salt
- Beat the butter with an electric mixer on medium speed until creamy, about 2 minutes.
- Sift the powdered sugar and cocoa together, then add to the butter in three additions, beating on low after each.
- Add the cream, vanilla, and salt. Beat on medium-high for 2–3 minutes until light and fluffy. If too thick, add more cream a teaspoon at a time.
Assemble
- Place one cake layer on a serving plate. Spread about 1 cup of frosting evenly over the top.
- Place the second layer on top. Apply a thin crumb coat (a thin layer of frosting) over the whole cake, then refrigerate for 15 minutes to set.
- Frost the top and sides with the remaining frosting. Use a bench scraper for smooth sides or leave swirls for a rustic look.
Bake Ahead and Store
This cake is a good make-ahead dessert. The layers can be baked, cooled, wrapped tightly in plastic wrap, and kept at room temperature for 1 day, or refrigerated for up to 3 days. Frosted cake keeps in the refrigerator for up to 4 days; bring to room temperature before serving for the best texture.
Freezing
Wrap unfrosted layers in plastic wrap and then foil. Freeze for up to 3 months. Thaw in the refrigerator overnight before frosting. Frosted cake can also be frozen for up to 1 month, but the frosting may soften slightly on thawing.
Variations and Adjustments
Gluten-Free Chocolate Cake
Replace the all-purpose flour with a 1:1 gluten-free baking flour blend that contains xanthan gum. Bake as directed; the texture will be slightly more tender, so handle the layers gently.
Chocolate Cupcakes
Divide the batter among 24 lined muffin cups, filling each two-thirds full. Bake at 350°F (175°C) for 18–22 minutes, until a toothpick comes out clean. Cool completely before frosting.
Chocolate Cake Troubleshooting
If the cake domes too much, your oven may run hot or the batter was overmixed. Use an oven thermometer to check the actual temperature. If the cake sticks to the pan, let it cool longer (at least 20 minutes) before turning out. A sunken center often means the cake was underbaked or the oven door was opened too early.
Chocolate Cake for Large Batches and Kids
For a sheet cake, double the recipe and bake in a 13x18-inch half-sheet pan at 350°F (175°C) for 25–30 minutes. For a kid-friendly version, reduce the coffee to 1/2 cup and add 1/2 cup milk; the coffee flavor will be less pronounced. Let kids help by sifting dry ingredients and measuring vanilla—just keep them away from the hot oven and coffee.