Dark Chocolate Peanut Butter Cake

This super moist dark chocolate peanut butter cake marries the flavors of rich dark chocolate and sweet creamy peanut butterโ€”a match made in heaven if ever there was one. Fill and coat the cake with peanut butter frosting, then cover the whole dessert with semi-sweet chocolate ganache, pipe more peanut butter frosting on top… and get ready to swoon, because this is love at first bite.

slice of dark chocolate peanut butter cake on white plate set on red checkered napkin.

One reader, Julia, commented: “This recipe is incredible! The cake texture and crumb is moist and delicately fluffy. The peanut butter frosting is perfectโ€”not too sweet or strong. It was a hit at our little after graduation party. And it was gorgeous! Thank you for such an amazing recipe with simple ingredients! โ˜…โ˜…โ˜…โ˜…โ˜…“

Meet our newest most eligible bachelor: the dark chocolate peanut butter cake. This cake is rich. Like, ultra-rich. I think the term “filthy rich” might even apply here.


Here’s Why You’ll Swoon Over This Cake

  • Cake crumb is fudge-like and moist, yet a little light and spongey.
  • Enjoy extra texture from the chocolate chips. (I insist you don’t leave these out! Taste testers said the chocolate chips are a welcome contrast to the smooth frosting and cake… and I agree.)
  • Peanut butter frosting packs BIG flavor.
  • It’s sweet, but not overly so; the lightly sweetened peanut butter frosting and dark chocolate ganache is a nice break from cloyingly sweet buttercream.
  • Very rich! If you’re going to indulge in dessert, put this layer cake on the menu.

This spectacularly rich chocolate ganache-enrobed cake is such a personal and reader favorite that I knew I had to include it in my cookbook,ย Sallyโ€™s Baking 101 (which has become a New York Times Best Seller!). The cakes chapter just would not have been complete without it!

Itโ€™s actually the first recipe in that chapter, and in the book itโ€™s titled โ€œChocolate Ganache Cake: 2 Ways,โ€ because I include a second filling optionโ€”chocolate mousse, just like this recipe for dark chocolate mousse cake. Both versions of ganache-topped chocolate layer cakes have received such glowing reviews on my website, I simply couldnโ€™t choose between themโ€ฆ so I found a way to include them both!


3 Parts to Chocolate Peanut Butter Cake

Letโ€™s break down each component of this unapologetically indulgent cake:

  1. Dark Chocolate Cake: We’re starting with the same cake batter from dark chocolate mousse cake and chocolate raspberry cake, both reader favorites. The cake batter is essentially the same as this chocolate cake, but we’re using the sour cream variation because it produces a sturdier cakeโ€”certainly beneficial for tall and towering layers.
  2. Peanut Butter Frosting: Slather on a layer of creamy peanut butter frosting between each cake layer, and use it to apply a crumb coat to the exterior of the cake. It’s a scaled-up version of my original peanut butter frosting recipe.
  3. Chocolate Ganache: Top the whole cake with 2-ingredient semi-sweet chocolate ganache. I originally frosted this cake with a chocolate buttercream, but all of my taste testers said it was simply too rich and too sweet. “Hard to finish a slice,” most said. With chocolate ganache, one taster distinctly said, “I cannot stop eating this.”

My team and I made at least 6 of these cakes during the testing phase and we had some VERY happy neighbors and friends.


A Cake With Serious Chocolate Flavor

You need a handful of basic baking ingredients for the cake batter. The acidity in both sour cream and buttermilk is a must to provide proper leavening. (If desired, see my Baking Powder vs Baking Soda and Baking with Buttermilk posts for more information.) A touch of espresso powder and hot coffee further enhances the chocolate flavor. The cake will not taste like coffeeโ€”rather, the two add depth to the cakeโ€™s dark chocolate flavor. Feel free to skip the espresso powder and replace hot coffee with hot water.

  • Why hot liquid? The hot liquid encourages the cocoa powder to bloom and dissolve.

Chocolate chips take the chocolate flavor to the next level, and, as I mentioned above, they also supply phenomenal texture. Toss them in a little flour before folding into the batter.

flour, baking powder, baking soda, vegetable oil, sour cream, eggs, and other ingredients.
chocolate chocolate chip cake batter in bowl and in cake pans.

Creamy Peanut Butter Frosting

I played around with the ingredients in my usual creamy peanut butter frosting recipe, and made some adjustments in order to yield just the right amount for this cake. You need 5 ingredients:

  1. Butter
  2. Peanut Butter: Use the conventional kind, like Jif or Skippy, rather than natural.
  3. Confectioners’ Sugar: I know you’ll appreciate that there’s less than 2 cups of confectioners’ sugar, a far cry from the usual 6 or 7 cups required for buttercream on a tall layer cake.
  4. Heavy Cream: You also need this for the chocolate ganache.
  5. Vanilla Extract

You’ll end up with 3.5โ€“4 cups (about 850g), which is enough frosting for filling, crumb-coating, and some basic piping on the exterior. This frosting has incredible peanut butter flavor because it’s packed with nearly 2 cups of it! There’s no other way to make it. ๐Ÿ˜‰

peanut butter frosting in glass bowl with red spatula.
spreading peanut butter frosting on and around chocolate layer cake.

2-Ingredient Chocolate Ganache

I wonโ€™t go into a lot of detail about how to make the ganache because I have a complete chocolate ganache tutorial for you. You need just 2 ingredients: chopped semi-sweet baking chocolate (about 56โ€“60% cacao) and warm heavy cream.

#1 Success Tip: Wait 20โ€“30 minutes for the ganache to thicken before pouring or spooning onto the cake, which is convenient because you also have to wait for the crumb-coated cake to chill.

As you can watch in the video tutorial below, a chilled cake helps set or solidify the ganache as you’re applying it, which helps prevent major drips/big messes.

chocolate ganache in bowl and spreading on exterior of cake.

How to Assemble & Decorate This Chocolate Peanut Butter Cake

I’m NOT a professional cake decorator and with all of my layer cakes, I prefer simplicity. This detailed how to assemble and decorate a layer cake post is a great guide. Let me share how I stack and decorate this beauty:

Assemble: Place the bottom cooled cake layer on your cake stand or serving plate. Using a large icing spatula or small offset spatula, evenly cover the top with about 1 cup of peanut butter frosting. Top with 2nd cake layer and another 1 cup of frosting. Top with the third cake and then spread a thin layer of the peanut butter frosting on top and around the sides as a crumb coat. Run a bench scraper around the cake to smooth it out. Refrigerate the cake for at least 30 minutes and up to 3 hours to set the crumb coat.

Decorate: Pour slightly cooled chocolate ganache on top, then, once again, run a bench scraper around the sides to smooth it out. Finally, fill a piping bag (reusable or disposable) with the remaining peanut butter frosting and pipe around the edges of the cake. I use Wilton 1M for the piped detail. If desired, you can finish off this chocolate peanut butter bombshell with peanut butter cups.

If youโ€™re just learning how to use piping tips, my piping tips guide is a helpful resource, and don’t miss these complete lists of cake success tips and cake decorating tools.

removing a slice of chocolate peanut butter cake with cake server.
slice of dark chocolate peanut butter cake on white plate set on red checkered napkin.

Now it’s your turn! Swoooon.


Recommended Tools

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
3 layer chocolate cake with peanut butter frosting and dark chocolate ganache on wood cake stand.

Chocolate Peanut Butter Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.8 from 132 reviews
  • Author: Sally McKenney
  • Prep Time: 1 hour, 30 minutes (includes chilling)
  • Cook Time: 25 minutes
  • Total Time: 4 hours (includes cooling)
  • Yield: serves 12-14
  • Category: Cake
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

This super rich chocolate peanut butter cake combines moist chocolate cake with creamy peanut butter frosting and smooth chocolate ganache. Crumb-coated cake and ganache must chill before assembling and decorating the cake. See recipe Notes for further information about some ingredients. This recipe is also in my New York Times best-selling cookbook, Sally’s Baking 101.


Ingredients

  • 1 and 3/4 cups (219g) all-purpose flourย (spooned & leveled)
  • 3/4 cup (64g) unsweetened natural cocoa powder*
  • 1 and 3/4 cups (350g) granulated sugar
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • 1 teaspoon salt
  • 2 teaspoons instant espresso powder (optional)*
  • 1/2 cup (113g/120ml) canola or vegetable oil
  • 2 large eggs, at room temperature
  • 3/4 cup (180g) full-fat sour cream, at room temperature
  • 1/2 cup (120g/ml) buttermilk, at room temperature*
  • 2 teaspoons pure vanilla extract
  • 1/2 cup (120g/ml) hot water or black coffee*
  • 1 cup (170g) mini semi-sweet chocolate chips, tossed in 1 Tablespoon flour

Peanut Butter Frosting

  • 3/4 cup (12 Tbsp; 170g) unsaltedย butter, softened to room temperature
  • 1 and 3/4 cups (440g) creamy peanut butter*
  • 1 and 3/4 cups (210g) confectioners’ sugar
  • 1 teaspoon pure vanilla extract
  • pinch of salt
  • 3 Tablespoons (45g/ml) heavy cream, at room temperature

Chocolate Ganache

  • 8 ounces (226g) quality semi-sweet chocolate, finely chopped*
  • 1 cup (240g/ml) heavy cream
  • optional garnish: chopped or mini peanut butter cups

Instructions

  1. Preheat oven to 350ยฐF (177ยฐC). Grease three 9-inch cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakesย video & post.)
  2. Make the cake:ย Whisk the flour, cocoa powder, sugar, baking soda, baking powder, salt, and espresso powder (if using) together in a large bowl. Set aside. Using a handheld or stand mixer fitted with a whisk attachment (or you can use a whisk), mix the oil, eggs, and sour cream together on medium-high speed until combined. Add the buttermilk and vanilla and beat until combined. Pour the wet ingredients into the dry ingredients, add the hot water/coffee, and whisk or beat on low speed until the batter is completely combined. Fold in the flour-coated chocolate chips. Batter is thin and you may see some air bubbles on the surfaceโ€”that’s normal. You should have about 6โ€“6.5 cups of batter, or around 1400g.ย Divide batter evenly between 3 pans.
  3. Bake for 24โ€“26 minutes or until a toothpick inserted in the center comes out clean. Cool the cakes in the pans set on a cooling rack for 1 hour. Run a knife around the edges to help loosen the sides, remove the cakes from the pans, peel off the parchment, and place on the rack to finish cooling. The cakes may slightly sink in the middle as they coolโ€”that’s expected.
  4. As the cakes cool, make the peanut butter frosting: With a handheld or stand mixer fitted with a paddle attachment, beat the butter on medium high speed until creamy and smooth, about 2 minutes. With a spatula, scrape down the sides and bottom of the bowl as needed. Add the peanut butter and beat until completely combined, about 1โ€“2 minutes. Scrape down the sides and bottom of the bowl as needed to help combine. Mixture will be thin. Add confectioners’ sugar, vanilla extract, and salt and then pour in the heavy cream with the mixer running on low speed. After all of the cream has been added, turn the mixer up to medium-high speed and beat for 1โ€“2 minutes, or until fully combined and creamy. Add up to 1/4 cup more confectioners’ sugar if frosting seems quite thin. You should end up with about 3.5โ€“4 cups (850g) of peanut butter frosting. This amount makes enough for the filling, crumb coat, and for a little piping on top.
  5. Assemble cake + apply crumb coat: (For extra help with this step, see this video & post on how to assemble a layer cake.) Place 1 cake layer on your cake stand, cake turntable, or serving plate. Using a large icing spatula or small offset spatula, evenly cover the top with about 1 cup (240g) peanut butter frosting. Repeat with 2nd and 3rd cake layers, spreading about 1 cup of peanut butter frosting in between each layer. Spread a thin layer of frosting on the top and around the sides as a crumb coat. Run a bench scraper around the cake to smooth out the sides. Chill uncovered in the refrigerator for at least 30 minutes and up to 3 hours to set the crumb coat.
  6. As your crumb coat sets, make the chocolate ganache: Place finely chopped chocolate in a medium heat-proof bowl. Heat the cream in a small saucepan over medium heat until it begins to gently simmer. (Do not let it come to a rapid boilโ€”thatโ€™s too hot!) Pour over chocolate, then let it sit for 2โ€“3 minutes to gently soften the chocolate. With a metal spoon or small rubber spatula, very slowly stir until chocolate has melted and mixture is smooth. Ganache is thin. The finer you chopped the chocolate, the quicker it will melt with the cream. If itโ€™s not melting, do not microwave it. If needed, see Troubleshooting Chocolate Ganache. Once the ganache is smooth, refrigerate for at least 30 minutes or up to 1 hour to thicken before spreading on the crumb-coated cake.
  7. Pour/spoon thickened ganache on chilled cake. Smooth the top with an icing spatula and the sides with a bench scraper. If desired, pipe remaining peanut butter frosting around the edge of the cake. I usedย Wilton 1M piping tip on the pictured cake. Garnish with peanut butter cups, if desired. Serve cake immediately or chill, uncovered, for up to 4โ€“6 hours before serving. Cake can be served at room temperature or chilled.
  8. Cover leftover cake tightly and store in the refrigerator for up to 5 days. I always use a cake carrier for storing and transporting.

Notes

  1. Make Ahead & Freezing Instructions: Prepare cake through step 3. Wrap the individual baked and cooled cake layers tightly and refrigerate for up to 2 days or freeze for up to 3 months. Bring to room temperature, then continue with step 4. You can prepare the peanut butter frosting in advance. Cover and refrigerate for up to 3 days. Bring to room temperature before using and beat in a little more room-temperature heavy cream to thin out if necessary. You can also prepare the chocolate ganache ahead of time. Refrigerate prepared ganache for up to 3 days. Bring to room temperature before spreading onto cake. Frosted cake freezes well, up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature or serve cold. See this post on how to freeze cakes.
  2. Special Tools (affiliate links): 9-inch Cake Pans | Glass Mixing Bowl | Whisk | Electric Mixer (Handheld or Stand) |ย Large Icing Spatulaย and/orย Small Offset Spatula | Cake Turntable, Cake Stand, or Serving Platter |ย Bench Scraper | Piping Bag (Disposable orย Reusable) | Wilton 1M Piping Tip | Cake Carrier (for storing)
  3. Cocoa Powder: This recipe requires natural cocoa powder for its acidity, so do not use Dutch-process. Learn about the difference in this post on Dutch-process vs. natural cocoa powder.
  4. Espresso Powder/Coffee:ย Espresso powder and coffee will not make the cake taste like coffee. Rather, they deepen the chocolate flavor. I highly recommend them both. If coffee isnโ€™t your thing, you can leave out the espresso powder and use extra hot water instead of the hot coffee.
  5. Sour Cream: Instead of sour cream, you can use plain Greek yogurt. The cake wonโ€™t taste as rich, but itโ€™s a fine substitute.
  6. Buttermilk: Buttermilk is required for this recipe. You can make your own DIY buttermilk substitute if needed. Add 1 teaspoon of white vinegar or lemon juice to a liquid measuring cup. Then add enough whole milk to the same measuring cup until it reaches 1/2 cup. (In a pinch, lower-fat or nondairy milks work for this soured milk, but the cake wonโ€™t taste as moist or rich.) Stir it around and let sit for 5 minutes. The homemade โ€œbuttermilkโ€ will be somewhat curdled and ready to use in the recipe.
  7. Peanut Butter: To prevent the frosting from separating or coming out too thin or oily, use processed creamy peanut butter such as Jif or Skippy.
  8. Why Room Temperature? All refrigerated items should be at room temperature so the batter and frosting mix together easily and evenly. Read more about why room-temperature ingredients are important.
  9. Chocolate Ganache: You can use high-quality dark or semi-sweet chocolate chips if needed, but when melting chocolate, I recommend using pure chocolate baking bars (chocolate chips have stabilizers). You can find them right next to the chocolate chips in the baking aisle. I like Baker’s or Ghirardelli brands, the ones labeled semi-sweet (56% cacao), which come in 4-ounce (113g) bars.
  10. Cupcakes: Here’s a very similar recipe for dark chocolate cupcakes with peanut butter frosting. Feel free to fill them with the peanut butter frosting (instead of frosting them with it) and top each with chocolate ganache. Or use this recipe for ganache-topped cream-filled chocolate cupcakes, and replace the cream filling with peanut butter frosting.
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Reader Comments and Reviews

  1. Jen says:
    November 24, 2026

    This looks like a delicious recipe!
    Is it possible to make it dairy free?

    Reply
    1. Trina @ Sally's Baking says:
      November 24, 2026

      Hi Jen! We haven’t tested this recipe with any dairy free swaps. Let us know if you do!

      Reply
  2. Kathleen says:
    November 22, 2026

    This cake was a huge hit! So delicious! Does anyone have a tip for getting even cake layers? Looking for a method that is not messy and saves batter. Thanks!

    Reply
  3. Kathleen Crossman says:
    November 22, 2026

    This cake was a huge hit! So delicious! Does anyone have a tip for getting even cake layers? Looking for a method that is not messy and saves batter. Thanks!

    Reply
  4. Vivienne Eve says:
    November 14, 2026

    I made this for a birthday and everyone is begging me to make it again!!! Not lying lol

    Reply
  5. Dee Anne says:
    November 13, 2026

    Everybody knows Sallyโ€™s is the place for baking recipes, so Iโ€™m surprised to find myself disappointed in this one. The cake was just too much โ€” too much sour cream, buttermilk, coffee and chocolate chips. Even my son (whose birthday prompted this bake) politely commented that he shouldโ€™ve taken a smaller slice. It did look quite impressive, however.

    Reply
  6. Lucas says:
    November 11, 2026

    Hi, I love your recipes!
    Could I make this cake but use the cake batter from your Guinness Chocolate Cake instead of this chocolate cake? I’d still keep the peanut butter frosting as the filling and for piping on top, with the chocolate ganache on the outside.
    Is there anything I should change or be aware of?
    Could I keep the chocolate chips too or would that not work?
    I’m using three 8-inch pans. Is there anything I should change for the batter amount, bake time, or frosting quantity?

    Apologies for sending so many questions and thank you in advance! ๐Ÿ™‚

    Reply
    1. Lexi @ Sally's Baking says:
      November 11, 2026

      Hi Lucas, definitely! You can use our Guinness Chocolate Cake for the cake layers and then use this ganache/frosting and decorating method. You could bake the Guinness Chocolate Cake bater in three 8 inch cake pans. Weโ€™re unsure of the exact bake time needed, but the bake time will be a little shorter. Let us know how it turns out for you!

      Reply
  7. Rebecca Buckner says:
    November 5, 2026

    Hi, I plan on making this tomorrow. I see a few comments saying itโ€™s okay to make the day before, fully assembled and frosted, and keep in the refrigerator until serving but I just want to confirm thatโ€™s the best way to do it. Would it be better to wait till day of to assemble and frost? Just donโ€™t want to dry it out/make the frosting hard. (I have zero experience making cakes) thanks!

    Reply
    1. Beth @ Sally's Baking says:
      November 6, 2026

      Hi Rebecca, you can do it either way! 1 day/night in the refrigerator won’t cause this cake to dry out, as it’s very moist. Just be sure to allow some time for the cake to sit out at room temperature before serving, so it softens back up after refrigeration. Enjoy!

      Reply
  8. Yanina says:
    November 1, 2026

    Hi Sally! Would I be able to make it into a 2 layer cake? How should I modify the ingredients?

    Reply
    1. Trina @ Sally's Baking says:
      November 1, 2026

      Hi Yanina! You could bake this in two 9 inch cake pans – follow the bake times from this two layer chocolate cake recipe.

      Reply
  9. Kim Kelly says:
    October 30, 2026

    Love this recipe. First time I made with the mousse from the recipe book (which I love) and whipped the ganache. I just made yesterday and the ganache was perfect, but I refrigerated before serving and the ganache almost seemed to seize up. Think I overworked it when frosting? That never has happened before.

    Reply
    1. Lexi @ Sally's Baking says:
      October 30, 2026

      Hi Kim, over working the ganache could be the culprit, as could the temperature change if your ganache was still a bit warm when it went into the refrigerator. We’re glad this cake is a favorite for you!

      Reply
  10. Suzanne Kelly says:
    October 28, 2026

    Just finished making the batter and placed it in the pan. It is thick and not as thin as it should be. I really had to stretch it to make it fill the three pans. I followed the directions to a T. What do you think I might have done wrong?

    Reply
    1. Lexi @ Sally's Baking says:
      October 28, 2026

      Hi Suzanne, were any of the ingredients left out by chance? Perhaps the buttermilk and/or hot coffee? The photos and video will give you an idea of the consistency you’re aiming for. Or, was your flour over measured by chance? Be sure to spoon and level (or use a kitchen scale), to ensure the flour isn’t over measured, which will lead to a thicker, drier batter.

      Reply
      1. Suzanne kelly says:
        October 31, 2026

        My cake to my surprise turned out to be a total Hit!
        It was absolutely delicious! I will be making this again. THANK YOU! Best birthday cake

  11. Hope Keyes says:
    October 23, 2026

    Hi there! Is it possible to use a shot of espresso instead of espresso powder?

    Reply
    1. Erin @ Sally's Baking says:
      October 23, 2026

      Hi Hope, the espresso powder is optional here, but we donโ€™t recommend using liquid espresso in its place because of the added moisture it will bring to the cake. If you’d like to use it to replace the coffee, you could water it down a bit before using since espresso is usually stronger than coffee. Hope you enjoy this cake!

      Reply
  12. Jovanka Childs says:
    October 22, 2026

    Has anyone thought about adding Oreos to this recipe?? Maybe crushed Oreos to the batter and then on top!? Chocolate PB Oreo sounds like a great combo! Have made this recipe before as is but thought about this addition.

    Reply
  13. Claire P says:
    October 22, 2026

    Hi Sally! I plan to make this for someone who loves nuts. Do you think walnuts or another type of nut would be good either inside or decorated on the outside?

    Reply
    1. Trina @ Sally's Baking says:
      October 22, 2026

      Hi Claire, chopped peanuts would be a wonderful addition to the filling or outside of this cake!

      Reply
    2. Kim Kelly says:
      October 30, 2026

      I added crushed Oreo crust to the pan before added batter. It was delicious!

      Reply
  14. Nichelle Schindler says:
    October 19, 2026

    In the event that there’s any left, do you have storage suggestions? Should we refrigerate leftovers?

    Reply
    1. Stephanie @ Sally's Baking says:
      October 20, 2026

      Hi Nichelle, You can cover leftover cake tightly and store in the refrigerator for up to 5 days. You can also freeze leftovers for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature or serve cold.

      Reply
  15. Gayle says:
    October 18, 2026

    Hi Sally. Im planning to make a 3 layer 6″ cake. Would half recipe of the frosting be enough for filling and frosting the sides? I plan to only ganache the top with drips down the side.

    Reply
  16. Dave Banfield says:
    October 17, 2026

    Hi Sally,

    Can I use this same cake batter recipe for a single layer 9 by 13 inch, fairly deep sheet pan?

    Reply
    1. Beth @ Sally's Baking says:
      October 17, 2026

      Hi Dave, you could bake this batter in on 9ร—13-inch pan for a sheet cake. Same oven temperature, about 35โ€“40 minutes bake time. Enjoy!

      Reply