I’ll be honest with you—this cake was not planned. One day, I was craving chocolate, and the next day I was craving peanut butter.
So, I thought, why not put them together in one cake? That’s how this recipe was born. And let me tell you, it’s the kind of cake that makes you stop after the first bite and go, “Wow… this is it.”
If you love the rich taste of chocolate and the creamy goodness of peanut butter, this cake is going to be your new favorite. It’s moist, sweet, and just the right amount of nutty. Let me walk you through it.
Why Chocolate and Peanut Butter Make the Perfect Pair

Chocolate is sweet, rich, and deep in flavor. Peanut butter is salty, creamy, and nutty. When you mix them together, it’s like they were made for each other.
That salty-sweet combo just hits the spot every time. This cake balances both flavors so well—you won’t feel it’s too sweet or too heavy.
Ingredients You’ll Need
Here’s everything you’ll need for this recipe. Don’t worry, these are all simple, everyday ingredients.
For the Cake
- 1 ¾ cups all-purpose flour
- 1 ½ cups sugar
- ¾ cup unsweetened cocoa powder
- 1 ½ tsp baking powder
- 1 ½ tsp baking soda
- ½ tsp salt
- 2 large eggs
- 1 cup milk
- ½ cup vegetable oil
- 2 tsp vanilla extract
- 1 cup boiling water
For the Peanut Butter Frosting

- 1 cup creamy peanut butter
- ½ cup unsalted butter (softened)
- 2 cups powdered sugar
- 2–3 tbsp milk
For Chocolate Ganache (Optional, but so good!)
- 1 cup heavy cream
- 1 cup semi-sweet chocolate chips
Step-by-Step Instructions
Step 1: Make the Cake Batter
Start by mixing all the dry ingredients in one bowl—flour, cocoa, sugar, baking powder, baking soda, and salt.
In another bowl, whisk together eggs, milk, oil, and vanilla. Slowly add the dry mix into the wet mix. Stir until smooth. Finally, add the boiling water (the batter will look thin, but that’s okay—it makes the cake moist).
Step 2: Bake the Cake
Pour the batter into two greased round cake pans. Bake at 350°F (175°C) for about 30–35 minutes. Check with a toothpick—if it comes out clean, your cake is ready. Let it cool completely before frosting.
Step 3: Make the Peanut Butter Frosting

Beat peanut butter and butter together until smooth. Add powdered sugar slowly, then milk until it’s creamy and spreadable.
Step 4: Make the Ganache (Optional but Amazing)
Heat cream until it’s hot but not boiling. Pour it over chocolate chips, let sit for 2 minutes, then stir until smooth. This creates a shiny chocolate glaze.
Step 5: Assemble the Cake
Place one cake layer on a plate. Spread a thick layer of peanut butter frosting on top. Place the second cake layer, frost the whole cake, and pour ganache over it if you’re using it.
Tips to Make It Even Better
- Use creamy peanut butter, not chunky, for smooth frosting.
- Chill the cake for 20 minutes before adding ganache, so it sets beautifully.
- Add chopped peanuts or chocolate chips on top for crunch.
- Want it extra rich? Add a thin layer of peanut butter between cake and ganache.
Why You’ll Love This Cake
This cake is not just a dessert—it’s comfort food. The chocolate is moist and rich, the peanut butter frosting is creamy and dreamy, and the ganache just ties it all together. Every bite feels like a celebration. If you serve this at a party, trust me, people will ask for the recipe.

FAQs About Chocolate Peanut Butter Cake
Q: Can I make this cake ahead of time?
Yes! You can bake the cake a day earlier and frost it the next day. Store it in the fridge.
Q: Can I use natural peanut butter?
I don’t recommend it. Natural peanut butter can separate and make the frosting oily. Stick with creamy peanut butter.
Q: How do I store leftovers?
Keep it in an airtight container in the fridge for up to 4 days. Let it sit at room temp before eating for the best texture.
Q: Can I turn this into cupcakes?
Absolutely. Just bake in cupcake tins for about 18–20 minutes and frost as usual.
Q: What if I don’t want ganache?
You can skip it, and the cake will still taste amazing with just peanut butter frosting.
