The Ultimate Chocolate Peanut Butter Cake

With chocolate and peanut butter in the tender, thick cake layers and in the silky, smooth buttercream, this Ultimate Chocolate Peanut Butter Cake is the real deal!

Chocolate Peanut Butter Buttercream

Chocolate and peanut butter are my love language! Separate or together, there’s really no day or time I’ll say no to either. Put them together and I’m even more obsessed! I’ve used these flavors in two other cakes: Chocolate Cake with Peanut Butter Frosting and Peanut Butter Cake with Chocolate Buttercream… but it was time to finally combine both flavors and add them both to the cake layers and buttercream.

How to Make Chocolate Peanut Butter Cake

You will love how easy this cake is to make. We have two elements: cake layers and buttercream.

We’ll start by making the chocolate peanut butter cake batter and baking it in three 8-inch cake pans for about 30 to 35 minutes.

Chocolate peanut butter cake layers with chocolate peanut butter buttercream frosting.

Ingredients You’ll Need for the Chocolate Peanut Butter Cake

  • Unsalted butter
  • Peanut butter
  • Granulated sugar
  • Eggs
  • Cake flour
  • Dark cocoa powder
  • Salt
  • Buttermilk
  • White distilled vinegar
  • Baking soda

I’m sharing my go-to tips for making moist cakes from scratch below but just wanted to take a minute to talk about number 4 on that list: beat butter, sugar, and eggs on high for a few minutes.

With this type of cake batter, it is super important to spend some time beating these three ingredients on medium-high. We want to create volume in the batter at this point, so mix at a 6-8 on your Kitchen Aid, until the mixture is lighter in color and bigger in volume.

Once you add the dry ingredients, however, make sure to mix on low so you don’t over-mix your batter. Over-mixing your batter will cause it to be dense.

At the end, you’ll fold in the baking soda and vinegar mixture. This will help the cake layers to rise beautifully.

Delicious chocolate peanut butter cake layers with Chocolate peanut butter frosting


  • Preheat the oven 30 minutes before baking.
  • Use room temperature ingredients.
  • Spray your pan. Line with parchment paper.
  • Beat butter, sugar, and eggs on high for a few minutes.
  • Turn the mixer to LOW once you add dry ingredients.
  • Bake at 325 degrees F. (This is my new normal and gets beautifully level cakes!)
  • Don’t overbake your cake layer. When you insert a toothpick into the center of the cake it should come out with a few moist crumbs on it.

Chocolate Peanut Butter Buttercream

This chocolate peanut butter buttercream is pure decadence! We’re using my favorite chocolate buttercream recipe and adding peanut butter to it. It’s simple and it’s delicious.

Ingredients You Need for the Frosting

  • Unsalted butter
  • Peanut butter
  • Dark chocolate chips
  • Heavy whipping cream
  • Powdered sugar


To get a light and fluffy homemade buttercream frosting for this cake, I have a detailed post: HOW TO MAKE THE BEST BUTTERCREAM to give you in-depth instructions for making your buttercream unreal! Here’s a quick overview.

  • Sift your powdered sugar
  • Use slightly cold butter and mix on its own for 2 to 3 minutes
  • Use heavy whipping cream
  • Beat for 5 minutes
  • Stir by hand

Other Cakes You’ll Love

Chocolate Peanut Butter Buttercream

The Ultimate Chocolate Peanut Butter Cake

Chocolate peanut butter cake layers with chocolate peanut butter buttercream.
4.93 from 28 votes
Course Dessert
Cuisine Cake
Servings 20 people



  • 3 1/4 cups (373.75 g) cake flour
  • 3/4 cup (75 g) dark cocoa powder
  • 1 1/2 teaspoons (8 g) salt
  • 3/4 cup (169.5 g) unsalted butter at room temperature
  • 1 cup (240 g) smooth peanut butter
  • 1 3/4 cups (350 g) granulated sugar
  • 5 large eggs at room temperature
  • 2 cups (480 g) buttermilk at room temperature
  • 1 1/2 tablespoons (21 g) white distilled vinegar
  • 2 1/2 teaspoons (10 g) baking soda


  • 1/4 cup (60 g) heavy whipping cream
  • 8 ounces dark chocolate
  • 2 cups (452 g) unsalted butter slightly cold
  • 5 cups (625 g) powdered sugar measured then sifted
  • 1/2 cup (120 g) smooth peanut butter
  • *This buttercream recipe makes enough to fill and cover your cake. If you want to add additional piping, you’ll want to make an extra ½ batch.



  • Preheat your oven to 325 degrees F. Spray three 8-inch round pans with nonstick spray, line the bottom with parchment paper and spray again. Set aside.
  • In a medium bowl, whisk together flour, salt, and cocoa powder. Set aside.
  • In the bowl of an electric mixer, fitted with the paddle attachment, combine the butter, peanut butter, and sugar. Beat on medium speed until light and fluffy, about 2 minutes. Scrape down the sides of the bowl and mix again for another minute.
  • Add the eggs, one at a time, being sure to mix and scrape down the sides of the bowl between each addition. Once all of the eggs are added, continue to beat on medium-high speed for about two mintues, until the mixture gets lighter in color and bigger in volume.
  • With the mixer on low speed, add ⅓ of the flour mixture, followed by 1 cup of the buttermilk. Continue with another ⅓ of the flour, the second half of the buttermilk and then the remaining flour mixture. Stir until combined.
  • In a small bowl, combine the vinegar and baking soda. The mixture will bubble. Add the mixture to the cake batter and stir on low until combined. Scrape down the sides of the bowl and mix again for another 20 seconds.
  • Divide the batter evenly between the prepared pans (21 ounces in each of the 8-inch pans). Bake for about 30 to 35 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs on it.
    Allow to cool in pans for 15 minutes before inverting onto wire racks to cool completely.


  • Heat the cream and chocolate chips together in the microwave for about 45 to 60 seconds. Stir the mixture until the chips are melted. If the chocolate isn't melting enough, heat the mixture again for another 30 seconds. Stir until smooth. Set aside to cool. We want the ganache to be close to room temperature before adding it to the butter.
  • In the bowl of a stand mixer fitted with the paddle attachment, beat the butter and peanut butter on medium-high until it's light and fluffy, about 2 minutes.
  • With the mixer on medium speed, gradually add the ganache mixture, scraping down the sides and bottom of the bowl as needed. Beat until silky, smooth.
  • With the mixer on low speed, gradually add the powdered sugar. Turn the mixer to medium-high and beat the buttercream for about 3 to 5 minutes.


  • Place the first cake layer top side up, in the center of the cake board. Evenly spread 1 cup of the buttercream over the cake layer.
  • Repeat for second cake layer.
  • Place the final cake layer, top side down, on the second layer of filling.
  • Apply a thin layer of buttercream around the cake. Freeze the cake for 15 minutes to set the crumb coat.
  • Once the crumb coat is set, continue frosting the cake with the remaining buttercream.
Keyword chocolate, Chocolate Cake, Chocolate Peanut Butter Cake, Peanut Butter
Tried this recipe?Let us know how it was!

Courtney Rich

I’m a self-taught baker, obsessed with cake.

I long ago ditched box mixes in pursuit of melt-in-your-mouth, to-die-for flavor combinations, fillings and textures. I believe cake must be decadent, life-changing and worthy of celebration! And I believe anyone should be able to bake that kind of cake – and I’m here to teach you just that!

Get my free cake decorating guide
Everything you need to know about decorating a cake like a pro!

You Might Also Like

Leave a Comment

Recipe Rating


  1. 5 stars
    Wow. Wow wow wow, this was so good! The texture and flavor of the cake itself was seriously top notch. Amazingly fluffy and completely delicious! I have loved every cake I’ve made of yours, Courtney!

  2. Can I use 2 9” pans?

    Also, can I use whey that I strained from my homemade yogurt as 1/2 of the buttermilk OR a cup of my homemade Greek yogurt as half of the buttermilk?

  3. 5 stars
    Oh!!!! This cake is absolutely divine. The buttercream is so light and fluffy with a hint of chocolate and peanut butter. The cake is moist and delicious. I only have 2 8” cake pans so I made 17 cupcakes and 2 layers. Lots of buttercream left over. I’m so happy to find scratch cake recipes that work at our altitude. Strawberry Shortcake is next on the list of cakes to make.

  4. What type of peanut butter, natural with no sugar or a skippy type peanut butter? Does dark cocoa mean dutch processes?

  5. I’m making this cake for my sons birthday because he LOVES peanut butter and chocolate. I only have two nine inch cake pans. How long would the bake time be for that? I’ve had cakes collapse in the past from incorrect baking times and don’t want it to happen with this cake.

  6. 4 stars
    I have the cakes in the freezer till I’m ready to make the buttercream. I cut off the slightly domed part and tasted it. It was pretty good but I gave it 25 mins and it seemed a little dry-I think my oven must run too hot. Anyways I have a couple questions before I make the buttercream and assemble: Is there anything you would recommend adding for extra texture? I wondered about peanut butter cups chopped in the buttercream. I also wondered about spreading Nutella on each layer or a chocolate ganache and piping the buttercream around it to elevate the chocolatey-ness as I found the cake part more peanuty than chocolatey. Would this work? Is it worth doing or does the buttercream highlight chocolate more?

    1. Shoot, sorry to hear it may be a little dry. I wish all of our ovens worked exactly the same, but yes, sometimes our ovens run hot or cold and you have to adjust the time. Try a few minutes less next time. I think the peanut butter cups would be so yummy. And nutella sounds delish too. I love that you’re getting creative. Can’t wait to hear how it all turns out.

  7. 5 stars
    This cake is divine. I made the layers in advance and froze them but cut off some of the top that had ‘domed’ and initially I didn’t love the flavour as it seemed not very sweet this almost led me to change the buttercream to some other toping but I’m so glad I didn’t because when I put them together it was delicious like a marriage made in cake heaven. I then finished off mine with a mirror glaze as it was for a birthday. It was a hit and my brother (whose birthday it was) said it was the best birthday cake they’d ever tasted