Chocolate Peanut Butter Layer Cake
This cake is a classic three-layer chocolate cake filled and frosted with creamy peanut butter buttercream and finished with a glossy chocolate ganache — rich, slightly salty, and fudgy in texture. It’s worth making when you want something that feels special without needing fancy techniques: the flavors are foolproof and the textures contrast nicely.
A simple note: this recipe is forgiving — you can bake the layers a day ahead and whip up the frosting the next morning. I often make the cake layers ahead and assemble the day of serving for the freshest finish.
Why This Chocolate Peanut Butter Layer Cake Works
1. The chocolate layers are moist and tender from a balance of cocoa and a little oil or butter, which keeps the crumb soft.
2. Peanut butter buttercream adds a creamy, slightly salty counterpoint that cuts the chocolate richness.
3. A thin chocolate ganache glaze gives a glossy finish and concentrated chocolate flavor without overwhelming the peanut butter.
4. The recipe is modular: layers, buttercream, and ganache can each be made ahead for easy timing.
Ingredients
These are the essential groups and what to look for.
MORE OF OUR FAVORITE…
– All-purpose flour: Gives structure; spoon and level or weigh for best results.
– Cocoa powder: Use natural or Dutch-process consistently; affects depth of chocolate flavor and acidity with leaveners.
– Sugar: Granulated sugar keeps the crumb tender and helps with browning; you can use part brown sugar for a touch of caramel note.
– Eggs and milk or buttermilk: Provide moisture and help with rise and texture; buttermilk gives a slight tang and extra tenderness.
– Butter and/or neutral oil: Butter adds flavor; a bit of oil keeps the cake extra moist. Use a mix if you like both flavor and softness.
– Creamy peanut butter: Use smooth, stirred if natural. Stabilized or commercial peanut butter gives a firmer buttercream.
– Chocolate and heavy cream: For the ganache — choose dark chocolate for a balanced finish or milk chocolate for a sweeter glaze.
Substitutions and Variations
– Use natural peanut butter (stirred) for a more pronounced peanut flavor; buttercream may be slightly looser and benefit from extra powdered sugar.
– Swap peanut butter for almond or cashew butter for a different nut profile; expect a milder, less salty finish.
– Replace some butter with neutral oil (vegetable or canola) to keep layers very moist; texture becomes a bit denser and softer.
– Use Greek yogurt or sour cream instead of buttermilk for richness and a slight tang; crumb will be tender.
– Make a peanut butter swirl into the batter for ribbons of flavor instead of a full peanut butter frosting; cake will be less sweet overall.
How to Make Chocolate Peanut Butter Layer Cake
This is a summary — the full recipe card has exact amounts, oven temp, and baking times.
1. Preheat oven and prepare three 8-inch cake pans by greasing, lining bottoms with parchment, and dusting with a little cocoa.
2. Whisk dry ingredients (flour, cocoa, sugar, baking soda/powder, salt) in a bowl.
3. Mix wet ingredients (eggs, buttermilk, melted butter and/or oil, vanilla) and combine with dry just until smooth — avoid overmixing.
4. Divide batter evenly into pans and bake until a toothpick comes out with a few moist crumbs; cool 10 minutes in pans, then turn out to finish cooling on a rack.
5. Make peanut butter buttercream by creaming butter, adding peanut butter, then powdered sugar and a splash of cream until pipeable; adjust salt to taste.
6. Make ganache by heating cream and pouring over chopped chocolate, stirring until smooth; cool until slightly thickened for pouring.
7. Level the cooled layers, spread peanut butter buttercream between layers, crumb coat the cake, chill briefly, then finish with a smooth outer frosting and pour or drip the ganache over the top.
Tips for the Best Results
1. Use room-temperature eggs and butter so they incorporate evenly and you don’t overwork the batter.
2. Check doneness with a toothpick at the center — remove when it comes out with a few moist crumbs for the juiciest cake.
3. Chill the cake after the crumb coat; a cold surface makes final frosting and ganache application much easier.
4. If your peanut butter is salty, taste the buttercream before adding more salt; a little salt enhances flavor but too much overwhelms.
5. Warm the knife or spatula under hot water and dry it before slicing for cleaner cake slices.
Common Mistakes
– Batter overmixed → dense cake. Fix: stop mixing as soon as dry ingredients are incorporated.
– Overbaked layers → dry cake. Fix: start checking 5 minutes before the recipe time and remove when a few moist crumbs cling to a skewer.
– Buttercream too soft → droopy, hard to stack. Fix: chill briefly or add a bit more powdered sugar to stiffen.
– Ganache too thin → runs off cake. Fix: let ganache cool until slightly thickened, or add more chopped chocolate and rewarm gently.
– Uneven layers → wobbly cake. Fix: level each layer with a serrated knife or cake leveler before stacking.
Storage
Storing: Store the finished cake in an airtight cake container or under a dome in the refrigerator for up to 4–5 days because of the buttercream and ganache. Let slices come to room temperature for 20–30 minutes before serving for best texture.
Freezing: You can freeze individual layers (well-wrapped) for up to 2 months; thaw overnight in the fridge before assembling. A fully assembled cake can be frozen briefly — wrap tightly and thaw in the fridge to avoid condensation on the ganache.
Reheating or serving later: If chilled, bring cake to room temperature before serving so flavors open up and the buttercream softens slightly; warm-slice with a knife dipped in hot water and wiped dry between cuts.
How to Serve Chocolate Peanut Butter Layer Cake
– Serve slices with a sprinkle of crushed salted peanuts or flaky sea salt for texture and contrast.
– Pair with vanilla or coffee ice cream for a classic dessert combo.
– Add a small drizzle of extra warm ganache or caramel for a more decadent presentation.
– Serve with a strong coffee or a cold glass of milk to balance the richness.
More Helpful Notes
– Weigh ingredients if you can — it improves consistency between bakes.
– A thin layer of jam (like raspberry) between cake and peanut butter is optional if you want a bright counterpoint.
– If using natural peanut butter, warm it slightly to blend smoothly into the buttercream.
– For clean edges, chill the cake between frosting steps and use a straight-edge spatula.
Frequently Asked Questions

Chocolate Peanut Butter Layer Cake
Ingredients
Chocolate Cake Layers
- 1 1/3 cups granulated sugar
- 1/4 cup light brown sugar, packed
- 2/3 cup vegetable oil
- 3 large eggs at room temperature
- 2 teaspoons pure vanilla extract
- 2/3 cup sour cream at room temperature
- 2 cups all-purpose flour sifted
- 2/3 cup unsweetened cocoa powder sifted
- 2 teaspoons baking powder
- 3/4 teaspoon baking soda
- 3/4 teaspoon fine sea salt
- 1 teaspoon instant coffee granules stirred into hot coffee
- 1 1/4 cups very hot brewed coffee
Peanut Butter Frosting
- 1 3/4 cups unsalted butter, softened
- 1 cup creamy peanut butter
- 6 1/4 cups powdered sugar
- 6 tablespoons whole milk plus more as needed
- 2 teaspoons pure vanilla extract
- 1/8 teaspoon fine sea salt
Chocolate Ganache & Finish
- 4 ounces dark or semisweet chocolate, finely chopped
- 1/2 cup heavy cream
- 1/3 cup roasted salted peanuts, chopped for garnish
- 4-6 peanut butter cups, chopped (optional) for garnish
Instructions
Preparation Steps
- Heat oven to 345°F (175°C). Grease and line two 9-inch round cake pans with parchment rounds; lightly dust the sides with cocoa or flour and tap out excess.
- Start the ganache: Place chopped chocolate in a heatproof bowl. Warm cream in a small saucepan until steaming (just below a simmer), then pour over chocolate. Let stand 2 minutes, then stir until smooth and glossy. Set aside to cool to a thick, pourable consistency while you bake and frost.
- Whisk the dry ingredients: In a medium bowl, combine flour, baking powder, baking soda, and salt.
- Bloom the cocoa: In a separate bowl, whisk cocoa powder with the very hot coffee and instant coffee granules until completely smooth and lump-free; this intensifies the chocolate flavor. Cool 3–4 minutes until very warm but not scalding.
- Make the batter: In a large bowl, whisk together granulated sugar, brown sugar, and oil until silky, 1 minute. Whisk in eggs one at a time, then vanilla. Whisk in sour cream until smooth and slightly thickened.
- Combine: Add half the dry mixture to the wet and whisk just to incorporate. Stream in half the warm cocoa-coffee mixture. Repeat with remaining dry ingredients and cocoa mixture, whisking only until no flour streaks remain. Let the batter rest 5 minutes to allow bubbles to settle for flatter layers.
- Bake: Divide batter evenly between the prepared pans and smooth the tops. Bake 28–33 minutes, rotating pans once halfway, until the centers spring back and a toothpick comes out with a few moist crumbs.
- Cool completely: Set pans on a rack 15 minutes, then turn cakes out, peel away parchment, and cool fully before frosting.
- Make the frosting: In a stand mixer with paddle (or a large bowl with a hand mixer), beat butter on medium-high until very pale and fluffy, 4–5 minutes, scraping bowl. Add peanut butter and beat 1 minute more. Mix in vanilla and salt. Add powdered sugar in 3 additions, alternating with milk, beating on low until combined after each, then on medium for 30–45 seconds to aerate. Adjust with a splash more milk for a smooth, spreadable texture.
- Assemble: If needed, level the cake tops. Place one layer on a board and spread about 1/3 of the frosting over it, pushing to the edges. Top with the second layer, then apply a thin crumb coat over the top and sides. Chill 15 minutes to set.
- Finish frosting: Apply a generous final coat and smooth the sides and top. Tip: For a glassy finish, warm your offset spatula under hot water, wipe dry, and glide it around the cake.
- Drip and garnish: Stir the ganache; if too thick, warm 5–10 seconds; if too thin, let cool briefly. Spoon or pipe a drip around the top edge, then fill the center and smooth. Decorate with swirls of any remaining frosting, scatter chopped roasted peanuts, and add chopped peanut butter cups if using.
Notes
Featured Comments
“Made this last night and it was so flavorful. Loved how the juicy came together.”
“Super easy and will make again! My family asked for seconds. Saving this one.”
“Super easy and will make again! My family asked for seconds. Saving this one.”
“New favorite here — will make again. bold was spot on.”
“This tender recipe was so flavorful — the refreshing really stands out. Thanks!”
“New favorite here — will make again. cheesy was spot on.”
“This juicy patty recipe was absolutely loved — the fluffy really stands out. Thanks!”
“New favorite here — will make again. warm was spot on.”
“This handheld recipe was family favorite — the creamy really stands out. Thanks!”
“Super easy and absolutely loved! My family asked for seconds. Saving this one.”





