Decadent Chocolate Peanut Butter Cake Recipe
In this article
This chocolate peanut butter cake is the ultimate indulgence—a moist, rich chocolate layer cake filled and frosted with a silky, peanut butter buttercream. The combination of deep cocoa and creamy peanut butter is a classic pairing that satisfies any sweet tooth, and the cake is surprisingly straightforward to make from scratch. With a tender crumb and a luscious frosting, this recipe is perfect for birthdays, celebrations, or simply when you want a showstopper dessert.
Ingredients
- For the chocolate cake:
- 1 ¾ cups (220g) all-purpose flour
- ¾ cup (65g) unsweetened cocoa powder (natural or Dutch-process)
- 2 cups (400g) granulated sugar
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons baking soda
- 1 teaspoon salt
- 2 large eggs, at room temperature
- 1 cup (240ml) whole milk, at room temperature
- ½ cup (120ml) vegetable oil
- 2 teaspoons vanilla extract
- 1 cup (240ml) hot water or hot coffee
- For the peanut butter buttercream:
- 1 cup (2 sticks / 226g) unsalted butter, softened
- 1 cup (260g) creamy peanut butter (not natural, to avoid separation)
- 3 cups (360g) powdered sugar, sifted
- ¼ cup (60ml) heavy cream (or milk)
- 2 teaspoons vanilla extract
- Pinch of salt
- Optional garnish: chopped peanuts, chocolate shavings, or a drizzle of melted chocolate
Instructions
- Preheat and prepare pans: Preheat your oven to 350°F (175°C). Grease two 9-inch round cake pans, line the bottoms with parchment paper, and dust with cocoa powder (or flour).
- Mix dry ingredients: In a large bowl, whisk together the flour, cocoa powder, sugar, baking powder, baking soda, and salt until well combined.
- Add wet ingredients: Add the eggs, milk, oil, and vanilla extract to the dry ingredients. Beat on medium speed for 2 minutes, or until the batter is smooth and well combined. The batter will be thick.
- Add hot liquid: Carefully pour in the hot water (or coffee) and mix on low speed until just combined. The batter will be very thin—this is normal. Scrape the bottom of the bowl to ensure everything is incorporated.
- Bake: Divide the batter evenly between the prepared pans. Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean (a few moist crumbs are okay). The cakes should start to pull away from the sides of the pans.
- Cool: Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. They must be fully cool before frosting.
- Make the frosting: In a large bowl, beat the softened butter with an electric mixer until creamy (about 1 minute). Add the peanut butter and beat until smooth and combined.
- Add sugar and cream: Gradually add the powdered sugar, one cup at a time, beating on low speed. Add the heavy cream and vanilla extract. Increase speed to medium-high and beat for 2–3 minutes until light and fluffy. If the frosting is too thick, add a little more cream (1 tablespoon at a time). If too thin, add more powdered sugar.
- Assemble the cake: Place one cake layer on a serving plate. Spread a generous amount of frosting on top (about 1 cup). Place the second layer on top. Frost the top and sides with the remaining buttercream. Use an offset spatula for a smooth finish or leave swirls for a rustic look.
- Garnish (optional): Sprinkle chopped peanuts or chocolate shavings over the top. Refrigerate the cake for at least 30 minutes before slicing to help it set.
Tips
- Use room-temperature ingredients: Cold eggs and milk can make the batter lumpy. Bring them to room temperature before starting.
- Don't overmix after adding hot liquid: Mix just until the hot water is incorporated; overmixing can make the cake tough.
- Peanut butter choice: Use regular creamy peanut butter (like Skippy or Jif) for the frosting. Natural peanut butter can separate and make the frosting grainy.
- For a neater slice: Chill the assembled cake for 30–60 minutes before cutting. Use a sharp, serrated knife and wipe it clean between cuts.
Serving Suggestions
Serve this cake at room temperature for the best flavor and texture. A glass of cold milk or a scoop of vanilla ice cream on the side is a classic pairing. For a more decadent touch, drizzle each slice with warm chocolate sauce or a spoonful of peanut butter. This cake also pairs well with coffee or espresso.
Variations
- Chocolate peanut butter layers: Add ½ cup of mini chocolate chips to the cake batter before baking for extra chocolate pockets.
- Peanut butter filling: Instead of frosting between layers, spread a layer of peanut butter (mixed with a little powdered sugar) and then frost the outside.
- Flourless option: For a gluten-free version, replace the all-purpose flour with a 1-to-1 gluten-free flour blend (ensure it contains xanthan gum).
- Bundt cake: Bake in a greased 10-cup Bundt pan for 45–55 minutes. Cool in pan for 15 minutes, then invert. Dust with powdered sugar instead of frosting.
Storage and Reheating
Store the cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 5 days. If refrigerated, let it sit at room temperature for 30 minutes before serving. You can freeze the unfrosted cake layers (wrapped tightly in plastic wrap and foil) for up to 3 months. Thaw overnight in the refrigerator before frosting. To reheat individual slices, microwave for 10–15 seconds—just enough to warm the chocolate, but not melt the frosting.
Frequently Asked Questions
Can I use natural peanut butter in the frosting?
It's not recommended. Natural peanut butter has a looser texture and can separate, causing the frosting to be oily or grainy. If you only have natural, you can try stirring it well before using, but the result may be less stable.
Why is my cake batter so thin?
That's normal! The hot water or coffee makes the batter very thin, which is what creates a moist, tender crumb. Don't be tempted to add more flour—bake as directed.
Can I make this cake as cupcakes?
Yes. Divide the batter among 24 lined muffin cups and bake at 350°F (175°C) for 18–22 minutes. Cool completely before frosting.
How do I know when the cake is done?
Insert a toothpick into the center. If it comes out clean or with a few moist crumbs, it's done. Also, the cake should feel springy to the touch. Avoid overbaking, which dries it out.
Can I use milk instead of hot water?
Yes, but hot water or coffee helps bring out the chocolate flavor. If using milk, use hot milk (not boiling) to keep the batter thin.
How do I prevent the cake from sticking to the pan?
Grease the pans thoroughly and line the bottoms with parchment paper. Dust with cocoa powder instead of flour to avoid white streaks on the cake.