Bake & Savor Recipes

  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
menu icon
go to homepage
  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
search icon
Homepage link
  • All Recipes
  • Cakes & Cupcakes
  • Cookies
  • Pies & Tarts
  • About Bake & Savor
×

Best Chocolate Peanut Butter Cake

Published: Jun 11, 2025 by Emily Johnson · This post may contain affiliate links · Leave a Comment

Two birthdays ago, Liam announced he wanted a cake that tasted like his favorite candy bar. Not store-bought, not from a box, but something that would make his friends' jaws drop when I brought it to his class party. After ruining three attempts (including one memorable disaster where I confused salt for sugar), I finally figured out this chocolate peanut butter cake that's become our go-to celebration dessert.

A realistic slice of homemade chocolate peanut butter cake with dark, moist layers, creamy peanut butter frosting, glossy chocolate ganache, and a topping of peanuts and chocolate candies on a white plate.
A rich, moist Chocolate Peanut Butter Cake layered with smooth peanut butter frosting that stays tender for days—thanks to a secret ingredient! This crowd-pleaser is easy to make, forgiving for beginners, and always gets rave reviews at parties.
Jump to Recipe Print Recipe
A realistic slice of homemade chocolate peanut butter cake with dark, moist layers, creamy peanut butter frosting, glossy chocolate ganache, and a topping of peanuts and chocolate candies on a white plate.

Why You'll Love This Chocolate Peanut Butter Cake

This chocolate peanut butter cake fixes every problem I've ever had with homemade cakes. You know how some chocolate cakes are dry by the second day? This one stays moist for almost a week thanks to a trick I learned from my neighbor who used to run a bakery. The peanut butter frosting doesn't get that weird grainy texture that happens when you mess up the butter temperature - I've figured out the exact method that makes it smooth every single time.

The best part is how forgiving this recipe is. I've made it when I was distracted, when Liam was "helping" and dumping in extra ingredients, and even when I forgot it in the oven for an extra five minutes. It still comes out great every time. No fancy techniques, no temperamental ingredients, just a solid cake that makes people think you know way more about baking than you actually do. Plus, you can make the layers ahead of time and freeze them, which is a lifesaver when you're planning a party.

Jump to:
  • Why You'll Love This Chocolate Peanut Butter Cake
  • Ingredients For Chocolate Peanut Butter Cake
  • How To Make Chocolate Peanut Butter Cake
  • Storage Tips For Chocolate Peanut Butter Cake
  • Equipment
  • Creative Variations on Chocolate Peanut Butter Cake
  • Substitutions
  • Top Tip
  • What to Serve With Chocolate Peanut Butter Cake
  • FAQ
  • Time to Bake Your New Favorite Cake!
  • Related
  • Pairing
  • Chocolate Peanut Butter Cake

Ingredients For Chocolate Peanut Butter Cake

For the Chocolate Cake:

  • All-purpose flour
  • Cocoa powder
  • Granulated sugar
  • Brown sugar
  • Eggs
  • Vegetable oil
  • Buttermilk
  • Hot coffee
  • Vanilla extract
  • Baking soda
  • Baking powder
  • Salt
Overhead view of chocolate cake ingredients on a wooden table, including flour, sugar, cocoa powder, eggs, milk, oil, and vanilla, in a cozy homemade kitchen setting.

For the Peanut Butter Frosting:

  • Creamy peanut butter
  • Butter
  • Powdered sugar
  • Heavy cream
  • Vanilla extract
  • Pinch of salt

Optional Extras:

  • Mini chocolate chips
  • Chopped peanuts
  • Chocolate ganache for drizzling
  • Crushed peanut butter cups

See recipe card for quantities.

Overhead view of peanut butter cake ingredients on a wooden surface, including peanut butter, butter, powdered sugar, chocolate chunks, peanuts, and chocolate chips in rustic bowls.

How To Make Chocolate Peanut Butter Cake

Prep Work:

  • Preheat oven to 350°F
  • Grease two 9-inch cake pans
  • Line bottoms with parchment paper
  • Brew hot coffee and let it cool slightly

Make the Chocolate Cake:

Overhead view of a glass mixing bowl filled with thick chocolate cake batter and a metal whisk, set on a rustic wooden surface, capturing a real homemade baking moment.
  • Mix all dry ingredients in large bowl
  • Whisk eggs, oil, and buttermilk in separate bowl
  • Add wet ingredients to dry ingredients
  • Slowly stir in hot coffee
  • Divide between prepared pans
  • Bake 28-32 minutes until toothpick comes out clean

Cool Completely:

  • Cool in pans 10 minutes
  • Turn out onto wire racks
  • Cool completely before frosting (this is important!)

Make Peanut Butter Frosting:

Top-down view of a glass bowl filled with thick, creamy peanut butter frosting and a red silicone spatula, set on a rustic wooden surface, showing a real homemade baking scene.
  • Beat butter until fluffy
  • Add peanut butter and beat well
  • Gradually add powdered sugar
  • Add cream and vanilla
  • Beat until smooth and spreadable

Assembly:

  • Place one layer on serving plate
  • Spread frosting on top
  • Add second layer
  • Frost top and sides

Storage Tips For Chocolate Peanut Butter Cake

Counter Storage (3-4 days):

  • Cover with cake dome or plastic wrap
  • Keep at room temperature
  • Don't refrigerate unless it's really hot outside
  • Cake stays moist this way

Fridge Storage (1 week):

  • Wrap tightly in plastic wrap
  • Bring to room temperature before serving
  • Frosting might get a bit firm
  • Still tastes great cold though

Freezer Magic (3 months):

  • Wrap individual slices in plastic wrap
  • Store in freezer bags
  • Thaw at room temperature
  • Great for midnight cake cravings

Make-Ahead Tips:

  • Bake cake layers and freeze unfrosted
  • Make frosting day before and refrigerate
  • Assemble day of serving for best results
  • Cake layers freeze really well

Party Planning:

  • This cake actually tastes better the second day
  • Flavors blend together overnight
  • Perfect for stress-free entertaining

Equipment

  • Two 9-inch round cake pans
  • Electric mixer (hand or stand mixer)
  • Large mixing bowls
  • Measuring cups and spoons
  • Wire cooling racks

Creative Variations on Chocolate Peanut Butter Cake

Reese's Lover's Dream:

  • Fold chopped peanut butter cups into batter
  • Add mini Reese's pieces to frosting
  • Drizzle melted chocolate on top
  • Garnish with whole peanut butter cups

Birthday Party Special:

  • Make as cupcakes instead of layers
  • Swirl peanut butter into chocolate batter
  • Top with sprinkles and candles
  • Perfect individual portions

Banana Twist:

  • Add mashed ripe banana to cake batter
  • Mix banana extract into frosting
  • Layer sliced bananas between cake layers
  • Tastes like Elvis would approve

Cookie Crumb Madness:

  • Crush chocolate sandwich cookies into frosting
  • Press cookie crumbs around cake sides
  • Add whole cookies as decoration
  • Kids go crazy for this version

Adult Party Version:

  • Add splash of bourbon to frosting
  • Garnish with salted peanuts
  • Drizzle salted caramel sauce
  • More sophisticated flavor profile

Substitutions

Cake Substitutions:

  • Buttermilk → Regular milk + 1 tablespoon vinegar
  • Hot coffee → Hot water (won't be as rich)
  • Vegetable oil → Melted butter or applesauce
  • All-purpose flour → Gluten-free flour blend

Frosting Alternatives:

  • Creamy peanut butter → Crunchy peanut butter
  • Butter → Vegan butter substitute
  • Heavy cream → Whole milk
  • Powdered sugar → Make your own from granulated sugar

Flavor Twists:

  • Add almond extract to frosting
  • Use dark cocoa powder for deeper chocolate
  • Mix in mini chocolate chips to cake batter
  • Try natural peanut butter for less sweet frosting

Dairy-Free Version:

  • Use plant-based milk
  • Coconut oil instead of butter
  • Dairy-free chocolate chips

Top Tip

  • About a year ago, I discovered the weirdest trick that makes this chocolate peanut butter cake absolutely incredible. I was running low on eggs and remembered something my neighbor mentioned about using mayonnaise in chocolate cake. It sounded gross, but I was desperate and had promised Liam's class a cake for their party the next day.
  • I added just one tablespoon of mayonnaise to the batter, figuring if it was terrible, I'd have to make a midnight run to the grocery store. But when that cake came out of the oven, it was the moistest, richest chocolate cake I'd ever made. The mayo doesn't make it taste weird at all - it just makes everything more tender and keeps it from drying out.
  • The science makes sense when you think about it. Mayonnaise is basically eggs and oil, which are already in the recipe anyway. But there's something about how it's emulsified that works differently than adding those ingredients separately. This moist chocolate cake now stays perfect for almost a week, and nobody can figure out what my secret is.

What to Serve With Chocolate Peanut Butter Cake

After serving this Chocolate Peanut Butter Cake at tons of birthday parties and family gatherings, I've figured out what works best alongside it. Cold milk is obviously the winner here - nothing cuts through rich chocolate and peanut butter like an ice-cold glass of milk. Vanilla ice cream is another no-brainer, especially if you serve the cake slightly warm. Coffee works great for adult parties, and hot chocolate is good for kids' winter birthdays. Fresh strawberries add a nice tart contrast that balances out all the sweetness.

For birthday parties, I like to put out some fresh fruit like grapes or apple slices so parents don't feel totally guilty about the sugar overload. Pretzels work surprisingly well - the saltiness plays off the sweet cake in a really good way. If you're doing a dessert buffet, keep things simple since this cake is already pretty rich. Maybe some plain vanilla cupcakes for the kids who don't like Chocolate Peanut Butter Cake, and definitely have napkins everywhere because this chocolate and peanut butter dessert can get messy.

FAQ

What is a secret ingredient for cakes?

My secret ingredient for this chocolate peanut butter cake is one tablespoon of mayonnaise in the batter. It sounds weird, but mayo is just eggs and oil emulsified, which makes the cake incredibly moist. The cake stays tender for almost a week, and nobody can taste it.

What is the secret to keep cake moist?

The hot coffee in this recipe is key - it enhances chocolate flavor while adding moisture. Also, don't overbake (check with toothpick at 28 minutes), and store covered at room temperature. The combination of oil, buttermilk, and coffee keeps this rich chocolate dessert moist for days.

How do you make a cake super moist?

Use a combination of oil and buttermilk instead of just butter. Add hot liquid (coffee works great), don't overmix the batter, and bake at the right temperature. For this chocolate layer cake, the thin batter might look wrong, but it creates the perfect texture.

Which ingredient makes cake soft and fluffy?

Proper leavening is key - this recipe uses both baking soda and baking powder. The buttermilk reacts with baking soda for lift, while baking powder gives extra rise. Room temperature ingredients and not overmixing also help create that perfect soft, fluffy texture in this homemade peanut butter cake.

Time to Bake Your New Favorite Cake!

Now you have all the secrets to creating the best chocolate peanut butter cake - from the mayo trick that keeps it moist to the long beating method for silky frosting. This cake has become our family's go-to celebration dessert, and I know it'll become yours too. Every time I make it, I'm reminded that the best recipes come from trying weird things and not being afraid to mess up a few times.

Craving more show-stopping desserts? Try our Easy No Bake Lemon Pie that's perfect when you want something impressive without turning on the oven. Looking for fun party treats? Our Easy Taco Cupcakes Recipe brings the same creativity to savory appetizers. For chocolate lovers who want something different, our Easy Tiramisu Brownies in 7 Steps combines two classics into one amazing dessert!

Share your chocolate peanut butter cake success! We love seeing your birthday celebrations and special occasions!

Rate this Chocolate Peanut Butter Cake and join our baking community!

Related

Looking for other recipes like this? Try these:

  • Three stacked Frosted Strawberry Cookies with pink frosting and fresh sliced strawberries on top, soft and chewy texture visible.
    Frosted Strawberry Cookies Recipe
  • A stack of three baked Peanut Butter Blondies with chocolate chips and candy pieces, surrounded by scattered candies on parchment paper.
    Easy Peanut Butter Blondies Recipe
  • Slice of Cranberry Curd Tart with graham cracker crust, topped with whipped cream and sugared cranberries on a white plate with a fork.
    Best Cranberry Curd Tart Recipe
  • Slices of baked Savory Quick Bread with herbs and sun-dried tomatoes on a plate.
    Easy Savory Quick Bread Recipe

Pairing

These are my favorite dishes to serve with Chocolate Peanut Butter Cake

  • Bite-sized Blueberry Cream Cupcakes with frosting, blueberries, and mint.
    Blueberry Cream Cupcakes Recipe
  • Slice of homemade butterscotch pie topped with whipped cream and drizzled caramel sauce, served on a white plate with a fork.
    Easy Homemade Butterscotch Pie
  • Stack of baked Flourless Monster Cookies with red and green M&M's and chocolate chips, one cookie on top is broken in half showing the chewy interior.
    Easy Flourless Monster Cookies Recipe
  • A slice of Fresh Fruit Tart topped with vibrant strawberries, oranges, and kiwi on a smooth, creamy filling with a crumbly tart crust.
    Fresh Fruit Tart Recipe with Mascarpone Cream
A realistic slice of homemade chocolate peanut butter cake with dark, moist layers, creamy peanut butter frosting, glossy chocolate ganache, and a topping of peanuts and chocolate candies on a white plate.

Chocolate Peanut Butter Cake

5 from 1 vote
A rich, moist Chocolate Peanut Butter Cake layered with smooth peanut butter frosting that stays tender for days-thanks to a secret ingredient! This crowd-pleaser is easy to make, forgiving for beginners, and always gets rave reviews at parties.
Print Recipe Pin Recipe
Prep Time 25 minutes mins
Cook Time 30 minutes mins
Cooling Time 1 hour hr
Total Time 1 hour hr 55 minutes mins
Servings: 12
Course: Dessert
Cuisine: American
Calories: 480
Ingredients Equipment Method Nutrition Notes

Ingredients
  

For the Chocolate Cake:
  • 1¾ cups All-purpose flour
  • ¾ cup Cocoa powder - Unsweetened
  • 1 cup Granulated sugar
  • ½ cup Brown sugar - Light or dark
  • 2 Eggs - Room temperature
  • ½ cup Vegetable oil - Or melted butter
  • 1 cup Buttermilk - Or milk + 1 tablespoon vinegar
  • 1 cup Hot coffee - Slightly cooled
  • 2 teaspoon Vanilla extract
  • 1½ teaspoon Baking soda
  • 1½ teaspoon Baking powder
  • ½ teaspoon Salt
  • 1 tablespoon Mayonnaise - Optional for extra moisture
For the Peanut Butter Frosting:
  • 1 cup Creamy peanut butter - Or crunchy if preferred
  • ½ cup Butter - Softened
  • 2½ cups Powdered sugar
  • 2-4 tablespoon Heavy cream - Adjust for consistency
  • 1 teaspoon Vanilla extract
  • 1 pinch Salt - Optional
Optional Extras:
  • ½ cup Mini chocolate chips - For garnish or mix-in
  • ½ cup Chopped peanuts - For texture
  • ¼ cup Chocolate ganache - For drizzling
  • ½ cup Crushed peanut butter cups - For topping

Equipment

  • 2 9-inch round cake pans (Greased and lined with parchment)
  • 1 Electric mixer (Hand or stand)
  • 2-3 Mixing bowls (Large)
  • 1 set Measuring cups & spoons
  • 1-2 Wire cooling racks

Method
 

  1. Preheat the oven to 350°F, grease two 9-inch pans, and line the bottoms with parchment paper.
  2. In separate bowls, mix the dry ingredients and whisk the wet ingredients, then combine and stir in hot coffee.
  3. Pour the batter evenly into the pans and bake for 28-32 minutes, or until a toothpick comes out clean.
  4. Let cakes cool in the pans for 10 minutes, then turn out onto wire racks to cool completely.
  5. Beat butter until fluffy, add peanut butter, then gradually mix in powdered sugar, cream, and vanilla.
  6. Place one cake layer on a plate, spread frosting, add the second layer, frost the top and sides, and decorate.

Nutrition

Serving: 125gCalories: 480kcalCarbohydrates: 55gProtein: 7gFat: 26gSaturated Fat: 9gPolyunsaturated Fat: 4gMonounsaturated Fat: 10gTrans Fat: 0.1gCholesterol: 55mgSodium: 310mgPotassium: 280mgFiber: 3gSugar: 38gVitamin A: 420IUVitamin C: 0.1mgCalcium: 75mgIron: 3mg

Notes

Nutrition information is automatically calculated and should be considered an approximation. Actual values may vary based on specific ingredients used and portion sizes

Tried this recipe?

Let us know how it was!

More Cakes & Cupcakes

  • A close-up of a Snickerdoodle Cupcakes with a bite taken out, revealing the cinnamon swirl inside. The cupcake is topped with a swirl of cinnamon buttercream frosting and a cinnamon sugar cookie.
    Snickerdoodle Cupcakes with Cinnamon Swirl Frosting
  • A slice of Fresh Peach Cake dusted with powdered sugar, placed on a green plate.
    Fresh Peach Cake Recipe
  • Pistachio Cupcakes topped with strawberry buttercream and pistachio bits.
    Pistachio Cupcakes with Strawberry Buttercream
  • Slice of Gingerbread Layer Cake with frosting and decorations.
    Moist Gingerbread Layer Cake
5 from 1 vote (1 rating without comment)

Leave a Reply Cancel reply

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

Recipe Rating




emily seo and founder of bake and savor

Hi bakers!

I'm Emily, the baker and creator behind Bake and Savor. I transform classic recipes into foolproof treats that bring joy to every kitchen. From my family's treasured recipes to modern favorites, I'm here to share the sweet science of baking with you! 🧁

More about me

Popular

  • Fried Berry Fritters with a glossy glaze, stacked on top of each other with a strawberry on the side.
    Homemade Berry Fritters Recipe
  • Sliced Cranberry Nut No-Knead Bread with a soft, airy interior, served with butter.
    Cranberry Nut No-Knead Bread Recipe
  • Two Mocha Cheesecake Brownies stacked on top of each other, with a visible cheesecake layer in the center, topped with chocolate chips, and showing the rich layers of brownie and cheesecake.
    Mocha Cheesecake Brownies Recipe
  • A close-up of decorated heart-shaped Chocolate Sugar Cookies, with thick white frosting topped with colorful sprinkles. One cookie is partially bitten, revealing the soft texture inside.
    Cut-Out Chocolate Sugar Cookies

Seasonal

  • A slice of Nutella Cream Pie topped with whipped cream swirls, crushed hazelnuts, and a sprinkle of sea salt.
    The Best Nutella Cream Pie Recipe
  • Salted Quinoa Granola Bars drizzled with chocolate on parchment paper.
    Salted Quinoa Granola Bars Recipe
  • Sliced potato candy pieces on a plate, showcasing the spiral of peanut butter in each slice.
    The Best Potato Candy Recipe
  • Mini Lemon Meringue Tarts with golden, toasted meringue swirls on top, showcasing the bright yellow lemon curd filling inside a golden tart shell.
    Easy Mini Lemon Meringue Tarts

Footer

Logo bake and savor recipes
↑ back to top

Explore

  • About
  • Contact
  • Subscribe

Legal

  • Privacy Policy
  • Terms & Conditions
  • Accessibility

Copyright © 2025 Bake and Savor. All recipes developed and tested by Emily. Bake with love, serve with joy.

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.