Skip to main content

Basic Chocolate Cake

The cake layers can be wrapped well in plastic and refrigerated for up to 2 days; trim tops just before assembling. The frosting can be refrigerated in an airtight container for up to 3 days. Before using, bring to room temperature; beat with the paddle attachment on medium-low speed until smooth. The frosting can be refrigerated in an airtight container for up to 3 days. Before using, bring to room temperature; beat with the paddle attachment on medium-low speed until smooth.

Recipe information

  • Yield

    Makes one 8-inch layer cake

Ingredients

Unsalted butter, for pans
1 1/4 cups unsweetened cocoa powder, plus more for dusting
2 1/2 cups all-purpose flour
2 1/2 cups sugar
2 1/2 teaspoons baking soda
1 1/4 teaspoons baking powder
1 1/4 teaspoons salt
2 large eggs plus 1 large yolk
1 1/4 cups warm water
1 1/4 cups buttermilk
1/2 cup plus 2 tablespoons vegetable oil
1 1/4 teaspoons pure vanilla extract
Vanilla Buttercream Frosting (recipes follow) or Chocolate Buttercream Frosting (recipes follow)

Vanilla Buttercream Frosting

1 1/3 cups sugar
1 vanilla bean, halved lengthwise
7 large egg whites
Pinch of salt
1 1/4 pounds (5 sticks) unsalted butter, cut into tablespoon-size pieces, softened
2 teaspoons pure vanilla extract
(makes about 6 cups)

Chocolate Buttercream Frosting

1 1/2 cups sugar
6 large egg whites
Pinch of salt
1 pound 6 ounces (5 1/2 sticks) unsalted butter, cut into tablespoon-size pieces, softened
6 ounces semisweet chocolate, melted and cooled
(makes about 6 cups)

Preparation

  1. Step 1

    Preheat the oven to 350°F, with racks in the upper and lower thirds. Cut 2 8-inch rounds of parchment paper to line the bottoms of 2 8-inch (2 inches deep) round cake pans. Butter and line the pans. Butter the linings. Dust the pans with cocoa, tapping out excess. Set aside.

    Step 2

    Sift together the cocoa, flour, sugar, baking soda, baking powder, and salt into the bowl of an electric mixer. Return the bowl to the mixer. Fit the mixer with the paddle attachment. Add the eggs, yolk, warm water, buttermilk, oil, and vanilla. Mix on low speed until smooth, about 3 minutes.

    Step 3

    Divide the batter evenly between the prepared pans. Bake, switching the positions of the pans and rotating them halfway through, until a cake tester inserted into the centers comes out clean, about 40 minutes. Let cool in the pans on wire racks 30 minutes. Run a thin knife around the edges of the cakes to loosen. Unmold; peel off the parchment. Let cool completely, top sides up, on the racks.

    Step 4

    Trim the tops of the cake layers with a long serrated knife to make them level. Using a small offset spatula, cover the top of one cake layer evenly with 1 1/2 cups frosting; spread the frosting so it extends just beyond the edges of the cake.

    Step 5

    Place the second layer, cut side down, on top; press gently to level. Frost the top and sides of the assembled cake with the remaining frosting.

  2. Vanilla Buttercream Frosting

    Step 6

    Put the sugar in the bowl of a food processor, and scrape in the vanilla seeds. Process until combined. Sift into a bowl, and discard any large pieces of vanilla.

    Step 7

    Put the egg whites, vanilla-sugar mixture, and salt in the heatproof bowl of an electric mixer. Set over a pan of simmering water. Whisk constantly until the sugar has dissolved and the mixture registers 160°F on an instant-read thermometer.

    Step 8

    Return the bowl to the mixer; fit the mixer with the whisk attachment. Beat on medium-high speed until stiff, glossy peaks form and the mixture is cool, about 10 minutes.

    Step 9

    Switch to the paddle attachment. With the mixer on medium speed, add the butter, 1 or 2 tablespoons at a time, mixing well after each addition. Mix, scraping down the sides of the bowl as needed, until the mixture is smooth. Mix in the vanilla extract. Use immediately, or cover and refrigerate.

  3. Chocolate Buttercream Frosting

    Step 10

    Put the sugar, egg whites, and salt in the heatproof bowl of an electric mixer. Set over a pan of simmering water. Whisk constantly until the sugar has dissolved and the mixture registers 160°F on an instant-read thermometer.

    Step 11

    Return the bowl to mixer; fit the mixer with the whisk attachment. Beat on medium-high speed until stiff, glossy peaks form, and the mixture is cool, about 10 minutes.

    Step 12

    Switch to the paddle attachment. With the mixer on medium speed, add the butter, 1 or 2 tablespoons at a time, mixing well after each addition. Mix, scraping down the sides of the bowl as needed, until the mixture is smooth. Mix in the chocolate. Use immediately, or cover and refrigerate.

The cookbook cover with a blue background and fine typeface.
Reprinted with permission from The Martha Stewart Living Cookbook: The New Classics by Martha Stewart Living Magazine, copyright © 2007. Published by Clarkson Potter, a division of The Crown Publishing Group. Buy the full book from Amazon.
Read More
Khao niaow ma muang, or steamed coconut sticky rice with ripe mango, is a classic in Thai cuisine—and you can make it at home.
With just a handful of ingredients, this old-fashioned egg custard is the little black dress of dinner party desserts—simple and effortlessly chic.
This classic 15-minute sauce is your secret weapon for homemade mac and cheese, chowder, lasagna, and more.
With rich chocolate flavor and easy customization, this hot cocoa recipe is just the one you want to get you through winter.
Crunchy and crowd-pleasing, this salad can be prepared in advance and customized to your heart’s content.
Make this versatile caramel at home with our slow-simmered method using milk and sugar—or take one of two sweetened condensed milk shortcuts.
Juicy peak-season tomatoes make the perfect plant-based swap for aguachile.
A garlicky pistachio topping takes this sunny summer pasta from good to great.