Chocolate Peanut Butter Cake is the kind of dessert that makes the table go quiet for a second. It has deep cocoa flavor, soft cake layers, creamy peanut butter frosting, and that bakery-style richness people expect from a celebration cake, without needing complicated decorating skills.

This cake is perfect for birthdays, weekend baking, potlucks, family dinners, or any moment when chocolate and peanut butter sounds like the right answer. The crumb stays moist, the frosting spreads smoothly, and every slice gives you that sweet-salty balance that makes this flavor combination so loved.
Why You’ll Love This Chocolate Peanut Butter Cake
This Chocolate Peanut Butter Cake feels impressive, but it is still very doable for a home baker. The chocolate cake layers are soft and tender, while the peanut butter frosting adds a creamy, nutty finish that makes each bite taste rich without feeling overly heavy.
You’ll also love how flexible it is. You can keep it simple with a smooth frosting finish, dress it up with chocolate ganache, add chopped peanuts for crunch, or decorate the top with peanut butter cups. It works as a party cake, a weekend dessert, or a make-ahead treat when you want something reliable and crowd-pleasing.
Another reason this cake is worth making is the texture. The cocoa gives the cake a bold chocolate base, but the peanut butter frosting keeps the flavor warm and familiar. It slices beautifully once chilled, yet tastes soft and creamy once it sits at room temperature for a few minutes.
What Makes Chocolate and Peanut Butter So Good Together?
Chocolate and peanut butter work so well together because they balance each other. Chocolate brings deep, slightly bitter richness, while peanut butter adds saltiness, creaminess, and roasted flavor. When they meet in a cake, the result tastes fuller than either flavor on its own.
For the best flavor, use unsweetened cocoa powder in the cake and creamy peanut butter in the frosting. A little salt in both parts helps the sweetness stay balanced. This is especially helpful in a layered cake, where every component needs enough flavor to stand out after baking, cooling, and frosting.
Ingredients for the Chocolate Peanut Butter Cake

The ingredients for this Chocolate Peanut Butter Cake are simple, familiar, and easy to find. In this section, the focus is on what each ingredient does, so you understand how the cake gets its soft texture, rich flavor, and creamy finish. The exact quantities are saved for the printable recipe card later.
All-purpose flour gives the cake structure. It holds the layers together while still allowing the crumb to stay soft when measured properly.
Unsweetened cocoa powder creates the deep chocolate flavor. A good cocoa powder makes the cake taste richer and more intense.
Granulated sugar sweetens the cake and helps keep the crumb moist. It also supports a tender texture once baked.
Brown sugar adds a little extra moisture and warmth. It gives the chocolate cake a softer, slightly deeper flavor.
Baking powder and baking soda help the cake rise. Using both gives lift, softness, and an even crumb.
Salt balances the sweetness and makes the chocolate and peanut butter flavors stronger.
Eggs add structure, richness, and stability. They help the cake layers bake up soft but sliceable.
Buttermilk adds moisture and a gentle tang that works beautifully with cocoa. It also helps create a tender crumb.
Vegetable oil keeps the cake moist even after chilling. Oil-based chocolate cakes tend to stay soft longer than butter-based ones.
Vanilla extract rounds out the chocolate flavor and gives the cake a warm bakery-style aroma.
Hot coffee or hot water blooms the cocoa powder, making the chocolate flavor deeper. Coffee will not make the cake taste like coffee, but it can make the cocoa taste more intense.
Creamy peanut butter is the star of the frosting. Use a smooth, shelf-stable peanut butter for the best texture, since natural peanut butter can separate and make the frosting oily.
Unsalted butter gives the frosting body and a smooth, creamy base.
Powdered sugar sweetens and thickens the frosting so it spreads easily between the layers.
Heavy cream or milk loosens the frosting and makes it fluffy. A little at a time helps you control the final texture.
Chocolate chips or chopped chocolate can be used for a glossy ganache topping if you want a more dramatic finish.
Chopped peanuts or peanut butter cups are optional toppings that add crunch, texture, and a fun bakery-style look.
How To Make the Chocolate Peanut Butter Cake
Making this Chocolate Peanut Butter Cake is easier when you work in stages. Bake the chocolate cake layers first, let them cool completely, then whip the peanut butter frosting until smooth and fluffy. Once the cake is assembled, a short chill helps the layers set and makes slicing cleaner.
Step 1: Prepare the Cake Pans
Preheat the oven and prepare two round cake pans with nonstick spray or butter. Line the bottoms with parchment paper so the cakes release cleanly after baking. This small step makes a big difference, especially with moist chocolate cake layers.
Step 2: Mix the Dry Ingredients
In a large bowl, whisk together the flour, cocoa powder, sugars, baking powder, baking soda, and salt. Whisking helps break up any cocoa lumps and spreads the leavening evenly through the batter. This gives the cake a more even rise.
Step 3: Combine the Wet Ingredients
In a separate bowl, whisk the eggs, buttermilk, oil, and vanilla until smooth. The mixture should look glossy and well blended. Keeping the wet ingredients smooth before adding them to the dry ingredients helps prevent overmixing later.
Step 4: Make the Chocolate Batter
Pour the wet ingredients into the dry ingredients and mix until just combined. Add the hot coffee or hot water slowly and stir until the batter is thin and smooth. A thin chocolate cake batter is normal here, and it helps create a soft, moist crumb.
Step 5: Bake the Cake Layers
Divide the batter evenly between the prepared pans. Bake until the centers spring back lightly and a toothpick inserted in the middle comes out with a few moist crumbs. Avoid overbaking, since chocolate cake can dry out if left in the oven too long.
Step 6: Cool Completely
Let the cakes cool in the pans for a short time, then turn them out onto a wire rack. Allow the layers to cool completely before frosting. Warm cake will melt the peanut butter frosting and make the layers slide.
Step 7: Make the Peanut Butter Frosting
Beat the butter and creamy peanut butter together until smooth and fluffy. Add powdered sugar gradually, then mix in vanilla, salt, and a little cream or milk until the frosting is spreadable. The frosting should be creamy, thick, and easy to swirl.
Step 8: Assemble the Cake
Place one cake layer on a serving plate or cake stand. Spread a generous layer of peanut butter frosting over the top, then place the second cake layer over it. Frost the top and sides with the remaining frosting, smoothing it with an offset spatula.
Step 9: Add the Final Touches
For a simple finish, swirl the frosting on top and add chopped peanuts. For a richer cake, spoon chocolate ganache over the top and let it drip slightly down the sides. Peanut butter cups, chocolate curls, or a sprinkle of flaky salt can make the cake look extra special.
Step 10: Chill and Slice
Chill the cake briefly so the frosting can set. Before serving, let it sit at room temperature for a little while so the cake softens and the frosting becomes creamy again. Use a sharp knife for clean slices.
How To Serve Chocolate Peanut Butter Cake
This Chocolate Peanut Butter Cake feeds about 10 to 12 people, depending on how large you cut the slices. Because the cake is rich, smaller slices usually feel satisfying, especially if you serve it after dinner or alongside other desserts.
Serve it slightly chilled for neat slices or closer to room temperature for the softest texture. A cold glass of milk, hot coffee, or a scoop of vanilla ice cream pairs beautifully with the chocolate and peanut butter flavors. If you are serving it for a party, slice the cake after it has chilled, then let the slices rest for a few minutes before guests dig in.
For a dessert table, this cake looks beautiful with a drizzle of ganache, chopped peanuts, mini peanut butter cups, or chocolate shavings on top. You can also serve it with fresh strawberries or raspberries to add a bright contrast to the richness.
How To Store Chocolate Peanut Butter Cake
Store Chocolate Peanut Butter Cake in an airtight cake container in the refrigerator for up to 5 days. Because the frosting contains butter and cream, refrigeration helps keep the cake fresh and stable. Let slices sit at room temperature for 15 to 25 minutes before serving so the frosting softens.
If you need to make it ahead, bake the cake layers one day in advance. Wrap the cooled layers tightly in plastic wrap and keep them at room temperature overnight, or refrigerate them if your kitchen is warm. Frost the cake the next day for the freshest look.
You can also freeze the unfrosted cake layers. Wrap each cooled layer tightly in plastic wrap, then place them in freezer bags or wrap again with foil. Freeze for up to 2 months. Thaw in the refrigerator overnight before frosting.
Leftover frosted slices can be frozen too. Place slices on a parchment-lined tray and freeze until firm, then wrap individually. Thaw in the refrigerator, then bring to room temperature before serving. The texture may be slightly softer after freezing, but the flavor will still be delicious.
Frequently Asked Questions
Can I use natural peanut butter for the frosting?
It is better to use creamy, shelf-stable peanut butter for this frosting. Natural peanut butter often separates, which can make the frosting greasy, grainy, or too loose. A classic creamy peanut butter gives the frosting a smoother texture and more reliable structure.
Can I make this Chocolate Peanut Butter Cake without coffee?
Yes. You can use hot water instead of hot coffee. Coffee deepens the cocoa flavor, but it is not required. The cake will still taste rich and chocolatey with hot water, especially if you use a good cocoa powder.
Can I bake this cake in a 9×13 pan?
Yes, this batter can be baked in a 9×13 pan for a simpler sheet cake. The baking time will be different, so start checking once the center looks set and a toothpick comes out with moist crumbs. Once cooled, spread the peanut butter frosting over the top instead of layering.
Why is my cake crumbly?
A crumbly cake can happen if too much flour is added, the cake is overbaked, or the layers are cut while still warm. Spoon and level the flour rather than packing it into the measuring cup, check the cake early, and let the layers cool fully before assembling.
Can I add ganache on top?
Absolutely. A simple chocolate ganache makes this cake look bakery-worthy and adds extra chocolate flavor. Let the ganache cool slightly before pouring it over the frosting, so it drips slowly instead of melting the peanut butter layer.
Want More Cake Ideas with a Twist?
If you love this Chocolate Peanut Butter Cake, you’ll probably enjoy these other sweet bakes and dessert favorites:
• Salted Caramel Cake That Melts in Your Mouth for buttery caramel flavor and a soft celebration-style crumb.
• Classic Coffee Cake Recipe when you want a cozy slice with your morning coffee or afternoon tea.
• Pumpkin Coffee Cake with Cinnamon Streusel Crumble for warm spice, tender cake, and a crumbly cinnamon topping.
• Red Velvet Cheesecake Brownies if you want a rich chocolate-style dessert with a creamy swirl.
Save This Pin For Later
📌 Save this Chocolate Peanut Butter Cake to your Pinterest dessert board so you can come back to it whenever a chocolate-peanut butter craving hits.
For more daily recipes, cozy dessert ideas, and easy food inspiration, follow Life With Mira.
And let me know in the comments how yours turned out. Did you add ganache, chopped peanuts, or peanut butter cups on top? Did you serve it chilled or let it soften first?
I love hearing how others make these recipes their own. Questions are welcome too, and your tips might help another baker make their cake even better.
Chocolate Peanut Butter Cake
- Total Time: 55 minutes
- Yield: 12 servings
Description
This Chocolate Peanut Butter Cake is a rich, moist, and unforgettable dessert made with soft chocolate cake layers and creamy peanut butter frosting. It is perfect for birthdays, holidays, potlucks, weekend baking, and easy dessert ideas when you want a homemade cake that tastes bakery-worthy. With deep cocoa flavor, smooth peanut butter cream, and optional chocolate ganache, this easy recipe is one of those sweet food ideas that always feels special.
Ingredients
2 cups all-purpose flour
3/4 cup unsweetened cocoa powder
1 cup granulated sugar
1 cup packed brown sugar
2 teaspoons baking powder
1 teaspoon baking soda
1 teaspoon salt
2 large eggs
1 cup buttermilk
1/2 cup vegetable oil
2 teaspoons vanilla extract
1 cup hot coffee or hot water
1 cup creamy peanut butter
1 cup unsalted butter, softened
3 1/2 cups powdered sugar
1/4 cup heavy cream or milk
1 teaspoon vanilla extract for frosting
1/4 teaspoon salt for frosting
1/2 cup chocolate chips or chopped chocolate, optional for ganache
1/4 cup heavy cream, optional for ganache
1/3 cup chopped peanuts or peanut butter cups, optional topping
Instructions
1. Preheat the oven to 350°F and grease two 9-inch round cake pans. Line the bottoms with parchment paper.
2. In a large bowl, whisk together the flour, cocoa powder, granulated sugar, brown sugar, baking powder, baking soda, and salt.
3. In another bowl, whisk the eggs, buttermilk, vegetable oil, and vanilla extract until smooth.
4. Pour the wet ingredients into the dry ingredients and mix until just combined.
5. Slowly stir in the hot coffee or hot water until the batter is smooth and thin.
6. Divide the batter evenly between the prepared cake pans.
7. Bake for 28 to 32 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs.
8. Let the cakes cool in the pans for 10 minutes, then transfer them to a wire rack to cool completely.
9. Beat the softened butter and creamy peanut butter together until smooth and fluffy.
10. Add powdered sugar gradually, then mix in heavy cream or milk, vanilla extract, and salt until creamy and spreadable.
11. Place one cake layer on a serving plate and spread peanut butter frosting over the top.
12. Add the second cake layer, then frost the top and sides of the cake.
13. If using ganache, heat the heavy cream until warm, pour it over the chocolate chips, let it sit for 2 minutes, then stir until smooth.
14. Drizzle the ganache over the frosted cake and decorate with chopped peanuts or peanut butter cups.
15. Chill the cake for 20 to 30 minutes before slicing for cleaner pieces.
Notes
Use creamy shelf-stable peanut butter for the smoothest frosting. Natural peanut butter can separate and make the frosting oily.
Do not overbake the cake. Pull it from the oven when a toothpick comes out with a few moist crumbs.
Let the cake layers cool completely before frosting so the peanut butter frosting stays fluffy and stable.
- Prep Time: 25 minutes
- Cook Time: 30 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 slice
- Calories: 560
- Sugar: 51g
- Sodium: 360mg
- Fat: 31g
- Saturated Fat: 12g
- Unsaturated Fat: 17g
- Trans Fat: 0g
- Carbohydrates: 68g
- Fiber: 4g
- Protein: 9g
- Cholesterol: 65mg
Keywords: Chocolate Peanut Butter Cake, chocolate cake, peanut butter frosting, easy dessert, homemade cake, birthday cake, dessert ideas, food ideas

