Chocolate Peanut Butter Cake – Rich, Moist, and Crowd-Pleasing
Chocolate and peanut butter are a classic match for a reason. This cake brings them together in a way that feels indulgent but still easy enough for a weeknight bake. You’ll get a moist chocolate crumb, a creamy peanut butter frosting, and a glossy chocolate ganache on top.
It looks special without fussy steps, and it tastes like a bakery treat. If you love that sweet-salty balance, this cake will hit every note.

Chocolate Peanut Butter Cake – Rich, Moist, and Crowd-Pleasing
Ingredients
Method
- Prep the pans and oven. Heat the oven to 350°F (175°C).Grease and line two 8-inch round cake pans with parchment. Lightly dust with cocoa powder to prevent sticking.
- Mix the dry ingredients. In a large bowl, whisk flour, cocoa, sugar, baking soda, baking powder, and salt until evenly combined. This prevents clumps and ensures even rise.
- Combine the wet ingredients (except coffee). In a separate bowl, whisk eggs, buttermilk, oil, and vanilla until smooth.
- Make the batter. Pour the wet mixture into the dry ingredients and whisk just until combined.Slowly stream in the hot coffee, whisking until the batter is smooth and thin. Do not overmix.
- Bake. Divide the batter evenly between the pans. Bake 28–32 minutes, until a toothpick comes out with a few moist crumbs. Rotate pans halfway for even baking.
- Cool completely. Let cakes cool in the pans for 10 minutes.Turn out onto a rack, remove parchment, and cool fully before frosting. Slightly warm cakes can melt frosting.
- Make the peanut butter frosting. Beat cream cheese and butter on medium-high until fluffy, 2–3 minutes. Mix in peanut butter until smooth.Add powdered sugar in stages, beating on low, then increase speed. Add vanilla, salt, and enough cream to reach a spreadable, silky texture.
- Level and crumb coat. If the cake domes, level the tops with a serrated knife. Place one layer on a board, spread a generous layer of frosting, then top with the second layer.Apply a thin crumb coat over the whole cake and chill 15–20 minutes.
- Finish frosting. Add a thicker layer of frosting, smoothing the sides and top with an offset spatula. Create swirls if you like; they catch the ganache beautifully.
- Make the ganache. Heat cream until steaming (not boiling). Pour over chocolate and let sit 2 minutes.Add corn syrup if using. Stir gently until glossy and smooth. Let cool 5–10 minutes until slightly thickened.
- Glaze the cake. Spoon ganache over the top and nudge it to the edges so it drips down naturally.Work slowly for neat drips. Add toppings like chopped peanuts while the ganache is still soft.
- Set and serve. Chill the cake 20–30 minutes to set the ganache. Slice with a warm knife for clean cuts.Serve at room temperature for the best texture and flavor.
Why This Recipe Works

This cake uses oil and buttermilk for a tender, moist crumb that stays soft for days. The batter includes hot coffee, which enhances the chocolate flavor without making the cake taste like coffee.
The peanut butter frosting is whipped with cream cheese and powdered sugar, giving it structure that spreads smoothly and holds its shape. A simple ganache glaze adds shine and a little snap, balancing the creamy frosting. Each layer is simple, but together they create a dessert that feels elegant and satisfying.
What You’ll Need (Ingredients)
- For the chocolate cake:
- 1 3/4 cups (220 g) all-purpose flour
- 3/4 cup (65 g) unsweetened cocoa powder
- 1 3/4 cups (350 g) granulated sugar
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon fine salt
- 2 large eggs, room temperature
- 1 cup (240 ml) buttermilk, room temperature
- 1/2 cup (120 ml) neutral oil (canola or vegetable)
- 2 teaspoons vanilla extract
- 1 cup (240 ml) hot brewed coffee or hot water
- For the peanut butter frosting:
- 8 ounces (225 g) cream cheese, softened
- 1/2 cup (115 g) unsalted butter, softened
- 1 cup (260 g) creamy peanut butter (no-stir)
- 3–4 cups (360–480 g) powdered sugar, sifted
- 2–3 tablespoons heavy cream or milk
- 1 teaspoon vanilla extract
- Pinch of salt
- For the chocolate ganache:
- 1 cup (170 g) semi-sweet chocolate chips or chopped chocolate
- 1/2 cup (120 ml) heavy cream
- 1 tablespoon corn syrup or honey (optional, for shine)
- Optional toppings: Chopped roasted peanuts, mini peanut butter cups, flaky sea salt
Step-by-Step Instructions

- Prep the pans and oven. Heat the oven to 350°F (175°C).
Grease and line two 8-inch round cake pans with parchment. Lightly dust with cocoa powder to prevent sticking.
- Mix the dry ingredients. In a large bowl, whisk flour, cocoa, sugar, baking soda, baking powder, and salt until evenly combined. This prevents clumps and ensures even rise.
- Combine the wet ingredients (except coffee). In a separate bowl, whisk eggs, buttermilk, oil, and vanilla until smooth.
- Make the batter. Pour the wet mixture into the dry ingredients and whisk just until combined.
Slowly stream in the hot coffee, whisking until the batter is smooth and thin. Do not overmix.
- Bake. Divide the batter evenly between the pans. Bake 28–32 minutes, until a toothpick comes out with a few moist crumbs. Rotate pans halfway for even baking.
- Cool completely. Let cakes cool in the pans for 10 minutes.
Turn out onto a rack, remove parchment, and cool fully before frosting. Slightly warm cakes can melt frosting.
- Make the peanut butter frosting. Beat cream cheese and butter on medium-high until fluffy, 2–3 minutes. Mix in peanut butter until smooth.
Add powdered sugar in stages, beating on low, then increase speed. Add vanilla, salt, and enough cream to reach a spreadable, silky texture.
- Level and crumb coat. If the cake domes, level the tops with a serrated knife. Place one layer on a board, spread a generous layer of frosting, then top with the second layer.
Apply a thin crumb coat over the whole cake and chill 15–20 minutes.
- Finish frosting. Add a thicker layer of frosting, smoothing the sides and top with an offset spatula. Create swirls if you like; they catch the ganache beautifully.
- Make the ganache. Heat cream until steaming (not boiling). Pour over chocolate and let sit 2 minutes.
Add corn syrup if using. Stir gently until glossy and smooth. Let cool 5–10 minutes until slightly thickened.
- Glaze the cake. Spoon ganache over the top and nudge it to the edges so it drips down naturally.
Work slowly for neat drips. Add toppings like chopped peanuts while the ganache is still soft.
- Set and serve. Chill the cake 20–30 minutes to set the ganache. Slice with a warm knife for clean cuts.
Serve at room temperature for the best texture and flavor.
Keeping It Fresh
Store the cake covered at room temperature for up to 2 days if your kitchen is cool. For warmer kitchens or longer storage, refrigerate it tightly covered for up to 5 days. Bring to room temperature before serving so the frosting softens. To freeze, wrap unfrosted cake layers in plastic and foil, then freeze up to 2 months.
Thaw in the fridge overnight, then frost and finish as usual.

Why This is Good for You
This cake is a treat, but it still offers some perks. Peanut butter provides protein and healthy fats, which help you feel satisfied and keep the sweetness from feeling overwhelming. Cocoa brings natural antioxidants and deep chocolate flavor without extra sugar. Using oil and buttermilk creates a moist crumb, so you don’t need excessive frosting to make each bite feel rich.
Enjoyed mindfully, a slice can fit into a balanced approach to dessert.
Common Mistakes to Avoid
- Overmixing the batter: This can make the cake dense. Mix until just combined, especially after adding the hot coffee.
- Using natural peanut butter in frosting: The oil can separate. Choose a no-stir, creamy style for the smoothest texture.
- Frosting warm cakes: Heat melts frosting and causes sliding.
Cool layers completely.
- Ganache too thin or too hot: Let it cool slightly so it drips slowly and sets cleanly.
- Skipping the crumb coat: A quick thin layer locks in crumbs and makes the final coat look polished.
- Cold serving temperature: Peanut butter frosting firms up in the fridge. Let the cake sit out 30–45 minutes before slicing.
Variations You Can Try
- Peanut crunch: Stir 1/2 cup chopped roasted peanuts into the frosting between layers for texture.
- Extra peanut butter swirl: Warm 2–3 tablespoons peanut butter and drizzle over the ganache, then swirl with a skewer.
- Salted caramel twist: Add a thin layer of caramel sauce between the cake and frosting, and finish with flaky sea salt.
- Cupcake version: Bake the batter in lined muffin tins at 350°F (175°C) for 18–22 minutes. Pipe on the frosting and spoon a touch of ganache.
- Gluten-free: Use a 1:1 gluten-free baking flour blend and check labels on cocoa and chocolate.
- Dairy-free: Swap buttermilk for almond milk mixed with 1 tablespoon vinegar, use dairy-free cream cheese and butter, and make ganache with coconut cream and dairy-free chocolate.
- Sheet cake: Bake in a 9×13-inch pan for 30–35 minutes.
Frost the top, then pour a thinner layer of ganache.
FAQ
Can I make the cake ahead?
Yes. Bake the layers up to two days in advance, wrap tightly, and keep at room temperature. You can also freeze the layers for up to two months and frost the day you plan to serve.
What if I don’t have buttermilk?
Make a quick substitute by mixing 1 tablespoon white vinegar or lemon juice with enough milk to make 1 cup.
Let it sit for 5 minutes before using.
Can I replace the coffee?
Absolutely. Use hot water or hot milk. Coffee deepens the chocolate flavor, but the cake will still taste rich without it.
Which peanut butter is best?
Use a creamy, no-stir peanut butter for consistent texture.
Natural styles with separated oil can cause a greasy or loose frosting.
How do I get clean slices?
Use a long, sharp knife warmed under hot water and wiped dry between cuts. This keeps the ganache and frosting from dragging.
Can I skip the ganache?
Yes. The cake is great with just the peanut butter frosting.
If you skip ganache, add a handful of chopped peanuts or chocolate shavings for a finished look.
How do I prevent dry cake?
Measure flour accurately, don’t overbake, and stick to oil and buttermilk as written. Pull the cake when a toothpick shows a few moist crumbs, not bone dry.
Wrapping Up
This chocolate peanut butter cake brings bakery-level flavor with simple, reliable steps. The moist chocolate layers, creamy peanut butter frosting, and shiny ganache make every slice feel special.
Keep the process relaxed, follow the tips, and you’ll have a showstopper that’s as good on day three as it is fresh. Bake it for birthdays, potlucks, or just because you’re craving something irresistible. It’s the kind of cake people ask you to make again—and again.
Printable Recipe Card
Want just the essential recipe details without scrolling through the article? Get our printable recipe card with just the ingredients and instructions.





