This post may contain affiliate links. Please read our disclosure policy.
Peanut butter cake with a delicate crumb and true peanut butter flavor in every bite! It bakes in 20–22 minutes and finishes with a light, fluffy peanut butter buttercream.


A Quick Look At The Recipe
This is a brief summary of the recipe. Jump to the recipe to get the full details.
Jump to RecipePrep Time
25 minutes
Cook Time
20 minutes
Total Time
45 minutes
Servings
16 slices
Difficulty
Intermediate but straightforward.
Calories *
643 kcal per serving
Technique
Creaming method for a tender cake; whipped buttercream made with powdered peanut butter for balanced sweetness.
Flavor Profile
Buttery, nutty cake with a fluffy frosting and rounded peanut butter flavor.
* Based on nutrition panel
I pulled the cakes at 21 minutes like you suggested and the crumb was so soft. Finishing the batter by hand really helped keep it tender. The buttercream truly tastes like the inside of a peanut butter cup but it’s not heavy at all. I added the chopped salted peanuts on top and loved the crunch! ⭐⭐⭐⭐⭐
Lauren
Why You’ll Love this Recipe
- Soft, delicate crumb. Cake flour and proper creaming keep the texture tender rather than dense.
- Balanced peanut butter flavor. Peanut butter is in both the cake and frosting, but the peanut butter buttercream uses powdered peanut butter to prevent greasiness.
- Light buttercream texture. Whipping with cream and finishing with the whisk keeps it airy, not cloying.
- Flexible format. Bake as a 9×13-inch cake, two 9-inch layers, or 24 cupcakes.
Table of Contents
Peanut butter cake can easily become heavy if the ratios are off. I based this structure on a classic moist vanilla cake and my favorite vanilla cupcakes, and adjusted the fat and flour carefully so the peanut butter adds flavor without weighing down the crumb. The result is tender but stable enough for layers.
Is chocolate with peanut butter your thing? A drizzle of warm chocolate fudge sauce over each slice is wonderful. A thin layer of chocolate ganache between the cake layers also works beautifully! If you love rich layer cakes with distinct flavor profiles, my german chocolate cake recipe follows a similarly structured approach with a completely different flavor payoff.
Ingredients & Substitutions

- Unsalted Butter: Soft and pliable for proper creaming. This creates structure and traps air for lift.
- Smooth Peanut Butter: I prefer creamy peanut butter like Skippy or Jif for consistent structure and sweetness!
- Granulated Sugar: Provides structure and tenderness.
- Eggs: Bind and emulsify the batter.
- Vanilla Extract: Enhances the nutty flavor.
- Whole Milk: Adds moisture and richness. You can substitute buttermilk for the whole milk if you prefer a slightly tangier crumb.
- Cake Flour: Essential for a soft, delicate crumb. All-purpose flour can work, but the cake will be slightly less tender.
- Baking Powder & Baking Soda: Work together to provide lift.
- Kosher Salt: Balances sweetness and sharpens peanut flavor.
- PB2 Powdered Peanut Butter: Intensifies peanut flavor without adding excess fat.
- Confectioners’ Sugar: Sweetens and structures the frosting.
- Heavy Cream: Whipped in at the end for a lighter texture.
- Roasted Salted Peanuts: Optional but highly recommended for garnish and texture.
See the recipe card below for full ingredients and quantities.
Variations on Peanut Butter Cake with Peanut Butter Frosting
- Add caramel. If you enjoy lighter, less sweet frostings, my caramel swiss meringue buttercream balances richness with structure!
- Make it a sheet cake. Bake in a 9×13-inch pan and finish with simple swirls and chopped peanuts.
- Turn it into cupcakes. Bake for 18–20 minutes and pipe rosettes on top. If you love transforming layer cakes into cupcakes, you’ll enjoy my german chocolate cupcakes as well. Or, a smaller-format peanut butter dessert, try my peanut butter chocolate chip cookies!
- Add jam. A thin layer of raspberry or easy strawberry jam between layers gives a nostalgic peanut butter and jelly note.

Professional Tips
- Watch the bake time carefully. I would pull the cakes at 20–21 minutes for maximum tenderness.
- Stop the mixer early and finish folding the batter by hand to avoid overmixing.
- Chill the filled cake for about 20 minutes before finishing the outside frosting. This keeps the layers stable.
- The cake is best served at room temperature. The texture is softest and most delicate once the buttercream has warmed slightly.
How to make peanut butter cake from scratch?
Use these instructions to make the perfect peanut butter cake every time. Further details and measurements can be found in the recipe card below.
Step 1: Prepare the pans. Preheat the oven to 350°F conventional (no fan) or 325°F convection. Spray two 9-inch cake pans and line with parchment circles.




Step 2: Sift the dry ingredients. In a large bowl, sift together the cake flour, baking powder, baking soda, and salt. Set aside (photo 1).
Step 3: Cream butter mixture. In the bowl of a stand mixer fitted with the paddle attachment, cream the butter, peanut butter, and sugar. This peanut butter mixture should be light and fluffy (photo 2).
An electric mixer makes creaming easier, but you can also use a stand mixer with the paddle attachment.
Step 4: Add eggs and vanilla. Beat in the eggs and vanilla extract until fully incorporated (photo 3).




Step 5: Alternate milk and flour mixture. Add the milk and dry ingredients alternately, beginning and ending with the dry ingredients. I often stop the mixer early and finish folding by hand (photos 4-6).
Step 6: Divide the batter. Divide evenly between prepared pans. You can eyeball it or use a scale for accuracy (photo 7).
Step 7: Bake the cakes. Bake immediately for 20–22 minutes. Test the center of the cake with a toothpick; it should come out with a few clinging crumbs. Do not overbake.
Step 8: Cool completely. Cool 10 minutes in the pans, loosen the edges, invert onto a wire rack, remove parchment, and cool completely before frosting (photo 8).




While the cakes cool, prepare the buttercream.
Step 9: Beat the butter. Beat the butter on medium-high speed until smooth and lightened (photo 9).
Step 10: Add powdered peanut butter. Reduce speed to low and add the powdered peanut butter gradually, mixing between additions (photo 10).
Step 11: Incorporate powdered sugar. Add the powdered sugar gradually, mixing fully before each addition (photo 11).
Step 12: Add peanut butter and vanilla. Mix in the vanilla and smooth peanut butter until cohesive (photo 12).




Step 13: Whip with cream. Switch to the whisk attachment. Pour in the cold cream and whip on medium-high until light and fluffy (photos 13 & 14).
Step 14: Fill the first layer. Place one cake layer on a cake stand and spread about 1 cup of buttercream evenly over the top (photo 15).
Step 15: Chill briefly. Place the second layer on top and refrigerate for about 20 minutes.
Step 16: Finish frosting. Frost the top and sides. Smooth with a bench scraper or swirl decoratively. Garnish with chopped salted peanuts. (photo 16).
If you’re warming fudge sauce to pour over the cake, heat it gently in a small saucepan over medium heat until smooth and then drizzle generously!
Chef Lindsey’s Recipe Tip
Most peanut butter frostings become heavy because of the added fat from peanut butter combined with large amounts of powdered sugar. Replacing part of the sugar with powdered peanut butter keeps the flavor strong without making the frosting greasy or overly sweet.
Recipe FAQs
Yes, you can add peanut butter to cake mix, but it changes the texture significantly. Peanut butter adds fat and density, which can make cakes heavy if the ratios aren’t adjusted.
In this peanut butter cake recipe, the fat, flour, and leavening are carefully balanced so the cake stays soft and tender instead of dense. Simply stirring peanut butter into a standard cake mix will not produce the same delicate crumb.
Store this peanut butter cake covered at room temperature for up to 1 day. After that, refrigerate it for up to 4 days. Bring slices to room temperature before serving for the softest crumb and lightest buttercream texture. Wrap unfrosted cake layers tightly in plastic wrap and freeze for up to 2 months. Frosted peanut butter cake can also be frozen; thaw overnight in the refrigerator.
Yes. Bake the peanut butter cake layers 1–2 days in advance and wrap tightly once cooled. Frost the cake the day you plan to serve it for the best texture!

Recommended Peanut Butter Dessert Recipes
Brownies & Bars Recipes
Reese’s Peanut Butter Blondies
Cookie Recipes
Peanut Butter Blossoms
Muffin Recipes
Peanut Butter Banana Muffins
Cookie Recipes
Peanut Butter Cup Cookies
If you tried this recipe and loved it please leave a 🌟 star rating and let me know how it goes in the comments below. I love hearing from you; your comments make my day!

Peanut Butter Cake
Ingredients
For the Cake
- ¾ cup unsalted butter soft and pliable
- ½ cup smooth peanut butter
- 1 cup granulated sugar
- 2 large eggs
- 1 tablespoon vanilla extract
- 1 cup whole milk
- 2 ½ cups cake flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- 1 ½ teaspoons kosher salt
For the Buttercream
- 1 ½ cups unsalted butter softened
- 1 cup PB2 powdered peanut butter
- 4 cups powdered sugar
- 1 teaspoon vanilla extract
- ½ cup heavy cream cold
- 6 tablespoons smooth peanut butter
- ½ cup roasted salted peanuts chopped
Instructions
Make the Cake
- Preheat the oven to 350°F (conventional) or 325°F (convection). Spray two 9-inch cake pans and line with parchment circles.
- In a medium bowl, sift together cake flour, baking powder, baking soda, and salt. Set aside.
- In the bowl of a stand mixer fitted with the paddle attachment, beat butter, peanut butter, and sugar on medium speed until light and fluffy, about 3–4 minutes. Scrape down the bowl.
- Add eggs one at a time, mixing well after each. Beat in vanilla extract.
- With the mixer on low, add dry ingredients in three additions alternating with milk in two additions, beginning and ending with dry ingredients. Mix just until incorporated. Finish folding by hand if needed.
- Divide batter evenly between prepared pans (about 585g per pan for 2 layers). Smooth tops.
- Bake 20–22 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs.
- Cool in pans for 10 minutes. Run a knife around edges, invert onto wire racks, remove parchment, and cool completely before frosting.
Make the Buttercream
- In a stand mixer fitted with the paddle attachment, beat butter on medium-high until smooth and lightened, about 2–3 minutes.
- Reduce speed to low and add powdered peanut butter ½ cup at a time, mixing fully between additions.
- Add powdered sugar ½ cup at a time on low speed until fully incorporated.
- Add vanilla and smooth peanut butter. Mix on medium until cohesive and smooth.
- Switch to whisk attachment. With a mixer on medium-low, slowly add cold heavy cream. Increase speed to medium-high and whip 1–2 minutes until light and fluffy.
Assemble
- Place one cake layer on a cake stand. Spread about 1 cup buttercream evenly over the top.
- Top with a second layer and refrigerate 15–20 minutes to set.
- Frost top and sides with remaining buttercream. Smooth with a bench scraper or swirl decoratively. Garnish with chopped peanuts if desired.
Notes
- Yield: 1 (9×13-inch) cake, 2 (9-inch) layers, or 24 cupcakes
- Technique: Pull the cakes at 20–21 minutes for the softest crumb.
- Storage: Keeps moist for 4 days refrigerated; serve at room temperature.
Nutrition
Before You Go
I hope you enjoyed this soft, tender layer cake. Check out our other foolproof cake recipes, or for something more casual but equally satisfying, try my peanut butter bars recipe next!
















I pulled the cakes at 21 minutes like you suggested and the crumb was so soft. Finishing the batter by hand really helped keep it tender. The buttercream truly tastes like the inside of a peanut butter cup but itโs not heavy at all. I added the chopped salted peanuts on top and loved the crunch!