- 2 sticks unsalted butter, softened, plus more for greasing pan
- 2 cups all-purpose flour
- 3/4 cup unsweetened cocoa powder (not Dutch processed)
- 1 1/2 teaspoons baking soda
- 1/2 teaspoon sea salt
- 1 1/4 cup packed light brown sugar
- 1/2 cup granulated sugar
- 4 eggs, at room temperature for 30 minutes
- 1/3 cup semisweet chocolate, melted and cooled
- 2 teaspoons pure vanilla extract
- 1 1/2 cups well-shaken buttermilk (or 1 cup milk plus 1 tablespoon lemon juice
Put a rack in the middle of the oven and preheat the oven to 350 degrees F. Butter 2 (9 by 2-inch) nonstick round cake pans. Line the bottom of each with a round of parchment paper, and then butter the paper.
Sift the flour, cocoa, baking soda and salt together onto parchment paper. With an electric mixer on medium-high speed, cream the butter and sugars until light and fluffy, 4 or 5 minutes. Add your eggs, 1 at a time, mixing until completely incorporated before adding each additional egg. Mix in the chocolate and vanilla, making sure to combine really well. Turn the mixer to low and slowly add the dry ingredients, alternating with the buttermilk, in 3 batches, starting and ending with the flour mixture. Make sure to let it mix thoroughly.
Pour half the batter in each pan and spread it evenly with a spatula or butter knife. Bake until a toothpick comes out clean, 25 minutes. Remove the pans to racks and allow the cakes to cool for 10 minutes or so. Loosen the edges of the cake from the pan with a knife, then turn them onto the racks. Remove the paper and let the cakes completely cool.