Chocolate and peanut butter make a lovely layer cake, especially when there’s a generous ribbon of frosting in the middle. This one starts with a simple chocolate batter made with buttermilk, oil, and hot coffee for a moist, tender crumb.
The peanut butter frosting spreads easily, and the chocolate ganache makes a pretty finish without much fuss. Bake the layers ahead if you like, then take your time frosting them once they’re completely cool.
Tips
- Use natural unsweetened cocoa powder, not Dutch-process, and spoon the flour into your measuring cup before leveling it off.
- Choose a creamy, no-stir peanut butter such as Jif or Skippy. Peanut butter that separates can make the frosting oily or uneven.
- The batter will be thin after you add the hot coffee. That’s normal. Hot water works in the same amount if you prefer not to use coffee.
- Cool the cake layers completely before frosting. Let the ganache cool until thickened but still pourable so it won’t melt the peanut butter frosting.
Storing
Cover and refrigerate the finished cake within 2 hours of assembly, or within 1 hour if the room is above 90°F. Keep refrigerated for up to 4 days. For the best texture, let individual slices stand at room temperature for about 20–30 minutes before serving. Freeze wrapped slices in an airtight container for up to 2 months and thaw overnight in the refrigerator.

Chocolate Peanut Butter Layer Cake
Want This Recipe Later?
Ingredients
- 1 3/4 cups all-purpose flour For the cake; spooned and leveled
- 2 cups granulated sugar For the cake
- 3/4 cup natural unsweetened cocoa powder For the cake; not Dutch-process
- 1 1/2 teaspoons baking powder For the cake
- 1 1/2 teaspoons baking soda For the cake
- 1 teaspoon salt For the cake
- 2 large eggs For the cake; at room temperature
- 1 cup buttermilk For the cake; at room temperature
- 1/2 cup vegetable oil For the cake
- 2 teaspoons vanilla extract For the cake
- 1 cup hot brewed coffee For the cake; hot water may be substituted
- 1 cup unsalted butter For the frosting; softened but not melted
- 1 cup creamy peanut butter For the frosting; use a no-stir variety
- 4 cups powdered sugar For the frosting; sift if lumpy
- 1/4 cup heavy whipping cream For the frosting
- 1 teaspoon vanilla extract For the frosting
- 1/4 teaspoon salt For the frosting
- 6 ounces semisweet baking chocolate For the ganache; finely chopped
- 3/4 cup heavy whipping cream For the ganache
Instructions
- Heat the oven to 350°F. Grease two 9-inch round cake pans that are at least 2 inches deep. Line the bottoms with parchment paper, then grease the parchment and lightly dust the pans with flour, tapping out the excess.
- In a large bowl, whisk together the flour, granulated sugar, cocoa powder, baking powder, baking soda, and cake salt until evenly combined.
- Add the eggs, buttermilk, oil, and cake vanilla. Beat with an electric mixer on medium speed for 2 minutes, scraping the bowl as needed. With the mixer on low, carefully mix in the hot coffee just until combined. The batter will be thin.
- Divide the batter evenly between the prepared pans. Bake for 30–35 minutes, until the centers spring back lightly when touched and a toothpick inserted in the center comes out clean or with a few moist crumbs, not wet batter.
- Let the cakes cool in their pans for 10 minutes. Run a thin knife around the edges, turn the layers onto wire racks, and remove the parchment. Cool completely before frosting, about 1–1 1/2 hours.
- For the frosting, beat the softened butter and peanut butter on medium speed for about 2 minutes, until smooth. Add the powdered sugar gradually on low speed. Add the frosting cream, vanilla, and salt, then beat on medium-high for 2–3 minutes until fluffy, scraping the bowl as needed.
- If needed, trim any domed tops from the cooled cake layers with a serrated knife. Place one layer on a serving plate and spread about 1 cup of frosting over it. Add the second layer and use the remaining frosting to cover the top and sides. Refrigerate for 20–30 minutes while preparing and cooling the ganache.
- Place the chopped chocolate in a heatproof bowl. Heat the ganache cream in a small saucepan over medium heat just until steaming and beginning to bubble around the edges; do not let it boil vigorously. Pour it over the chocolate and let stand for 3 minutes, then stir gently until smooth.
- Let the ganache cool for 15–25 minutes, stirring occasionally, until thickened but still pourable and no longer warm enough to melt the frosting. Spoon it over the chilled cake, gently spreading it toward the edges and allowing a little to drip down the sides.
- Refrigerate the cake for about 20 minutes to help the ganache set. Cut with a sharp knife, wiping the blade between slices. Keep the cake refrigerated when not serving.
Notes
Made this recipe? Tap a star to rate it.

