Peanut Butter Cake

5 from 3 votes

I may receive compensation in the form of payment or products to supplement my posts, but all opinions remain my own. Read our disclosure policy.

This peanut butter cake is the perfect recipe for true peanut butter lovers! Layers of moist and tender cake with the perfect peanut butter flavor and creamy peanut butter frosting – it’s surprisingly not too sweet and loaded with peanut butter.

Slice of peanut butter layer cake with peanut butter frosting with glass of milk.

**This post was updated October 1, 2024 with new photos and recipe tips**

The Best Peanut Butter Cake Recipe

I’ve been working on the perfect peanut butter cake recipe for years – and I can finally say that the recipe is perfected. It’s extremely moist and tender with cake crumb that’s soft and slightly dense, without being heavy. The flavor packs a serious peanut butter punch because the cake is made with peanut butter in the batter and it’s topped with peanut butter frosting.

To ensure that it didn’t end up too sweet, the frosting has just a touch of cream cheese to cut the sweetness and make the frosting extra creamy. Alternatively, you could frost the cake with chocolate frosting – but I love the double dose of peanut butter.

After testing and retesting, I found that peanut butter can really dry out the cake and make it too dense – since peanut butter is very heavy. To ensure that the cake is moist and tender, but still with enough of a peanut butter flavor, there’s 3 important components to this recipe:

  1. We’re using oil instead of butter. Since oil is liquid and room temperature (instead of butter, which is solid) it ensures that the cake isn’t too dense. It also adds more moisture. You won’t taste the oil at all, since the peanut butter covers it up.
  2. The right ratio of dry ingredients to wet ingredients – otherwise the cake is too dry. Be sure to measure the flour carefully as too much flour ends with a dry cake.
  3. Mix in the dry ingredients and wet ingredients by hand with a wire whisk. Over mixing will make the batter tough.

Making the Cake – Step by Step Photos

To ensure success – I recommend reading through the details and explanation of each step below. If you’ve made this cake multiple times, then feel free to skip straight down below to the recipe.

  1. Start by preheating the oven to 350F (180C) and preparing your pans. You’ll line the bottom of your pans with rounds of parchment paper then lightly grease the sides.
    • I do not recommend using the convection setting on your oven for this recipe as I find the cake layers are less likely to have domed tops.
  2. To get started, first you’ll whisk together the dry ingredients. I almost always do this first when making a cake because it ensures that the leaveners (baking soda and baking powder) are evenly distributed and helps to remove any lumps.
  3. Then in a separate large bowl you’ll beat together the oil, light brown sugar and peanut butter until smooth. This can easily be done by hand too if you want to avoid your electric mixer altogether. If you don’t have light brown sugar you can also substitute with a combination of dark brown sugar and granulated sugar. I’ve included the details in the recipe notes below.
Bowl of dry ingredients and bowl of oil, peanut butter and light brown sugar.
  1. Mix in the eggs and vanilla extract. The eggs add tenderness and also help the cake to rise. Be sure to keep whisking until you no longer see pieces of egg.
  2. Then whisk the milk into the peanut butter mixture. At this point – the mixture will smooth and thin.
  1. Carefully, whisk the flour mixture into the peanut butter mixture. I do this about 1/2 at a time. Whisk until you no longer see lumps of flour, but do not continue whisking as overmixing with cause the cake to become tough and air tunnels to form. Again – do this by hand. If you notice lumps of flour, I recommend sifting the dry ingredients into the batter. 
  2. Divide the batter evenly between 2 prepared cake pans, and then they’ll go in the oven to bake.
Bowl of flour being added to peanut butter cake batter and 2 pans of peanut butter cake batter

Pan Sizes and Bake Times: I used two 8-inch round pans with 2 inch sides ( 20-cm round with 5-cm sides). They bake for about 28-34 minutes at 350F. If you only have sandwich tins with low sides (about 1.5 inches) – then use three 8-inch round pans. They’ll need about 22-26 minutes. Alternatively, you could use two 9-inch (23-cm) pans. They’ll need about 22-26 minutes to bake.

For Flat Cake Tops: I use cake strips which are soaked in water and then wrap around the outsides of your sandwich tins. They help prevent the cakes from baking with domed tops. They can be purchased online or at a specialty cake shop. Mine are from Wilton.

Frosting & Assembling the Cake

The frosting for this peanut butter layer cake is a creamy peanut butter frosting with just a hint of cream cheese. There isn’t enough cream cheese for that super tangy flavor. But it’s enough to cut the sweetness. If you want to skip the cream cheese, feel free to substitute with more butter.

To assemble the cake, always wait for the cake layers to cool fully. If the top of your cake layers are domed, gently saw off the rounded top using a serrated knife (again, only do this after they’ve cooled). This ensures that your cake layers site evenly on top of each other.

Place the first layer bottom side up on the plate or cake stand that you plan to serve it on. You’ll frost the top with about 3/4 to 1 cup of frosting. Then place the second cake layer, bottom side up, on top. I do a thin layer of frosting around the edges to seal in any crumbs then pop the cake in the fridge for about 20 minutes for the frosting to firm up and fully “seal” those crumbs in.

2 photos showing how to frost a layer cake

Then frost the sides and top with swirls of creamy frosting. This cake stands tall, tastes incredible and makes the perfect birthday cake for anyone who loves peanut butter. I topped mine with chopped peanut butter cups – but Reese’s pieces would be equally delicious.

8-inch round peanut butter cake frosted with creamy peanut butter frosting and decorated with Reese's Pieces

For more layer cakes, be sure to check  out:

Slice of peanut butter cake on its side with glass of milk
5 from 3 votes

The Best Peanut Butter Cake

This peanut butter cake is the perfect recipe for true peanut butter lovers! With layers of moist and tender cake that's infused with peanut butter and creamy peanut butter frosting – it's surprisingly not too sweet and has the most delicious peanut butter flavor.
Prep: 1 hour
Cook: 30 minutes
Cooling: 1 hour
Total: 3 hours 30 minutes
Servings: 10 slices
Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Equipment

  • Two 8-inch round cake pans (with high sides)*

Ingredients

Peanut Butter Cake

  • 2 cups all-purpose flour (250 grams)
  • 1 1/2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1/4 teaspoon salt
  • 3/4 cup vegetable oil (180 ml) , canola oil works too
  • 1 1/2 cups light brown sugar (300 grams) , or 3/4 cup dark brown sugar and 3/4 cup granulated sugar
  • 3/4 cup smooth peanut butter (180 grams)
  • 3 large eggs, room temperature
  • 2 teaspoons vanilla extract
  • 1 1/4 cup milk (180 ml), room temperature

Peanut Butter Frosting

  • 3/4 cup unsalted butter (170 grams) , softened but still slightly firm to the touch
  • 2 ounces cream cheese (56 grams) , full-fat, brick style
  • 3/4 cup peanut butter (180 grams)
  • 1/4 teaspoon salt
  • 1 teaspoon vanilla extract
  • 3 1/2 -4 1/2 cups powdered sugar (420 – 540 grams)
  • 1-2 tablespoons heavy cream (15-30 ml), if needed

Instructions 

Peanut Butter Cake

  • Preheat the oven to 350F (180C or 160C fan-forced).
  • Line the bottom of two 8-inch round cake pans with baking paper. Lightly grease and flour the sides. Be sure that the sides of the pans are at least 2 inches (5 cm). See recipe notes for pan size options.
  • Whisk together the flour, baking powder, baking soda and salt in a medium bowl. Set aside.
  • In a separate large bowl, beat together the oil, light brown sugar and peanut butter until smooth.
  • Mix eggs and vanilla extract into the peanut butter mixture. Stop mixing once you no longer see pieces of egg.
  • Using a hand-held metal whisk, whisk the milk into the peanut butter mixture.
  • Carefully whisk the flour mixture into the peanut butter mixture. Until
  • Divide the batter evenly between the 2 prepared pan. Bake both on the middle rack of the oven for about 28-33 minutes, or until an inserted toothpick comes out clean and you see the edges starting to pull away from the pan.
  • Cool the cakes fully.

Peanut Butter Frosting

  • In a large bowl using an electric mixer, beat the butter until smooth.
  • Mix in the cream cheese, followed by the peanut butter.
  • Starting with the mixer on a low speed, beat in about 2 cups of powdered sugar along with the salt and vanilla extract.
  • Mix in the rest of the powdered sugar about 1/2 cup at a time until the desired sweetness is reached. If the frosting seems too thick, beat in 1-2 tablespoons of cream, 1 tablespoon at a time.

Assembling the Cake

  • Ensure the cake layers are fully cooled before assembling the cake.
  • If the tops of your cakes are domed, use a serrated knife to gently saw off the rounded tops.
  • Place 1 cake layer bottom side up on the plate or cake stand that you plan to serve it on.
  • Frost the top with about 3/4 to 1 cup of frosting.
  • Place the second cake layer on top, with the bottom facing up.
  • Frost a thin layer of frosting around the sides to seal in any crumbs. Optionally, place the cake in the fridge for 20-30 minutes for the frosting to firm up.
  • Frost the sides and top with swirls of peanut butter frosting. Optionally, top the cake with peanut butter cups or Reese's Pieces.

Notes

  1. Pan Sizes: If you do not have 8-inch (20 cm) round pans with 2 inch (5 cm) sides, you can alternatively use:
    • two 9-inch (23 cm) round pans – bake time 22-25 minutes at 350F
    • three 8-inch (20 cm) round pans with 1.5 inch sides – bake time 22-25 minutes at 350F
  2. Light Brown Sugar: Feel free to substitute with 3/4 cup dark brown sugar and 3/4 cup granulated sugar for the 1 1/2 cups light brown sugar. Do not use entirely granulated sugar – it won’t provide the moisture and flavor that’s needed.
  3. Peanut Butter: Be sure to use smooth, commercially prepared peanut butter in the cake batter and frosting. Natural or homemade peanut butter can separate and will not provide the proper consistency. 
  4. Cream Cheese: The cream cheese can be substituted with an additional 1/4 cup butter (for a total of 1 cup). The frosting will be slightly sweeter. 
  5. Storage: Store leftovers covered at room temperature for up to 3 days, or in the fridge for up to 4 days. If your kitchen is warm, then I recommend storing in the fridge and letting the cake sit on the counter for about 30 minutes to come to room temperature before enjoyig. 
  6. Make Ahead Tips: Cake layers can be baked the day before. Cool fully, then wrap in plastic and store in an airtight container. Make the frosting and assemble the cake the day you plan to serve. 
  7. Nutrition: Details provided are an estimate only and based on 1 slice of cake with frosting, assuming all the frosting is used and the cake is sliced into 10 equal pieces. You can likely get 12 smaller pieces of cake. 

Nutrition

Calories: 858kcal, Carbohydrates: 105g, Protein: 11g, Fat: 46g, Saturated Fat: 16g, Polyunsaturated Fat: 13g, Monounsaturated Fat: 14g, Trans Fat: 1g, Cholesterol: 107mg, Sodium: 269mg, Potassium: 328mg, Fiber: 2g, Sugar: 82g, Vitamin A: 682IU, Vitamin C: 1mg, Calcium: 114mg, Iron: 2mg
Like this recipe? Rate and comment below!

You Might Also Like

Leave a comment

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

Recipe Rating




10 Comments

    1. I think it would work as tiers because the cake is on the firmer side as opposed to really delicate. However, I’m not sure how you’d need to adjust the amount so that you have enough batter.

  1. Could yogurt be used instead of the sour cream? I rarely have sour cream in the kitchen but I always have yogurt

    Thanks

    1. A full-fat plain Greek yogurt would work. It’s important that the yogurt isn’t a diet version however, as those usually have lots of filler ingredients, so they aren’t as substitute-able as Greek yogurt

  2. 5 stars
    Made this for a friend’s birthday! Added chocolate chips and chocolate frosting and is sooo tasty and moist! I think the oil and brown sugar really did it. Great job!