Time: 1 hr 15 min · Serves: 12 · The key step: Bake the cake layers until a toothpick comes out clean, then cool completely before frosting. This is a moist chocolate layer cake with a rich cocoa frosting, perfect for birthdays, potlucks, or a weekend treat.
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 cups (400 g) granulated sugar
- 3/4 cup (75 g) unsweetened cocoa powder
- 2 tsp baking soda
- 1 tsp baking powder
- 1 tsp salt
- 1 cup (240 ml) buttermilk, at room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, at room temperature
- 2 tsp vanilla extract
- 1 cup (240 ml) hot coffee or hot water
For the frosting:
- 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
Serves 12 · Prep 25 min · Cook 30 min · Total 1 hr 15 min
Ingredients
- 2 cups (250 g) all-purpose flour
- 2 cups (400 g) granulated sugar
- 3/4 cup (75 g) unsweetened cocoa powder
- 2 tsp baking soda
- 1 tsp baking powder
- 1 tsp salt
- 1 cup (240 ml) buttermilk, at room temperature
- 1/2 cup (120 ml) vegetable oil
- 2 large eggs, at room temperature
- 2 tsp vanilla extract
- 1 cup (240 ml) hot coffee or hot water
For the frosting:
- 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
Instructions
- Preheat oven to 350°F (175°C). Grease and flour two 9-inch (23 cm) round cake pans.
- In a large bowl, whisk together flour, sugar, cocoa, baking soda, baking powder, and salt.
- Add buttermilk, oil, eggs, and vanilla. Beat on medium speed for 2 minutes, scraping sides as needed. The batter will be thin.
- Stir in hot coffee or hot water. The batter will be very thin; that’s correct.
- Pour batter evenly into prepared pans. Bake for 30-35 minutes, until a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Cool in pans on a wire rack for 10 minutes, then turn out onto racks to cool completely. This is essential before frosting.
- For the frosting: Beat butter until creamy. Add powdered sugar, cocoa, cream, vanilla, and salt. Beat until light and fluffy, about 2 minutes. If too thick, add more cream 1 tablespoon at a time.
- Place one cake layer on a plate. Spread about 1 cup of frosting on top. Place the second layer on top. Frost the top and sides. Refrigerate for 30 minutes before slicing for cleaner cuts.
Scale the Cake for Different Crowds
This recipe makes a 2-layer 9-inch cake that serves 12. For a smaller gathering, halve all ingredients and use two 6-inch (15 cm) pans; bake for 25-30 minutes. For a crowd, double the recipe and use three 9-inch pans; bake for 35-40 minutes. Check doneness with a toothpick.
Variations: Change the Flavor Without Changing the Method
Mocha Cake: Use strong brewed coffee instead of hot water in the batter. The coffee deepens the chocolate flavor without making it taste like coffee.
Peanut Butter Frosting: Swap the cocoa in the frosting for 1/2 cup (130 g) creamy peanut butter. Reduce butter to 1/2 cup (1 stick, 113 g). This makes a sweeter, nuttier frosting that pairs well with the chocolate cake.
What to Serve With This Cake
Serve slices with a scoop of vanilla ice cream or a dollop of whipped cream. A glass of cold milk is the classic pairing. For a dessert board, add fresh raspberries or strawberries on the side; their tartness cuts the richness.
Storage and Leftovers
Store the frosted cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 5 days. Bring to room temperature before serving for best flavor. The cake can be frozen unfrosted for up to 3 months: wrap each layer tightly in plastic wrap, then foil. Thaw overnight in the fridge before frosting. Frosted cake can be frozen for up to 1 month, but the texture may soften slightly.
Why the Coffee Makes It Better
The hot coffee or water helps bloom the cocoa, which intensifies the chocolate flavor and makes the cake more tender. If you skip the coffee, the cake will be less moist and slightly less chocolatey. You can use decaf coffee if you prefer.
Common Mistake: Overmixing the Batter
Overmixing after adding the hot liquid can develop gluten, making the cake tough. Mix just until the batter is smooth, about 30 seconds. Also, don’t open the oven door during the first 20 minutes of baking; the cake may sink.
How to Check If the Cake Is Done
Insert a toothpick into the center of the cake. It should come out clean or with a few moist crumbs, not wet batter. The cake should also pull away slightly from the edges of the pan. If the top springs back when lightly pressed, it’s done.
Frequently Asked Questions
Can I use water instead of buttermilk? Yes, but the cake will be less tender. Mix 1 cup (240 ml) milk with 1 tablespoon lemon juice or vinegar and let sit for 5 minutes to make a quick buttermilk substitute.
Can I make this as a sheet cake? Yes, pour the batter into a greased 9x13-inch (23x33 cm) pan and bake for 35-40 minutes. Frost as desired.
Why is my cake dry? Overbaking is the most common cause. Check at 30 minutes, and remove as soon as the toothpick comes out clean. Also, measure flour correctly by spooning it into the cup and leveling off.
Final Word
This chocolate layer cake is a dependable recipe for any celebration. The moist crumb and rich frosting are a crowd-pleaser, and the method is straightforward. Enjoy baking!