
There’s nothing quite like a slice of homemade peanut butter cake—it’s the kind of dessert that brings people together and creates those special moments we all cherish. This peanut butter cake recipe is absolutely divine, with layers of moist, tender cake infused with rich peanut butter flavor, topped with a silky peanut butter frosting that’ll have everyone asking for seconds.
I’ve been making this cake for years, and it never fails to impress. The secret is using quality peanut butter and not skimping on the ingredients. The combination of creamy peanut butter in both the cake and frosting creates a depth of flavor that’s simply irresistible. Whether you’re celebrating a birthday, hosting a dinner party, or just treating yourself to something special, this peanut butter cake is absolutely worth the effort.
What makes this recipe so special is how perfectly balanced it is. The cake itself is incredibly moist and tender, thanks to the addition of sour cream and carefully measured dry ingredients. The frosting is smooth, creamy, and packed with peanut butter flavor. Together, they create a dessert that’s elegant enough for special occasions but simple enough for weeknight indulgences. I love serving this cake with a tall glass of cold milk or a cup of hot coffee—it’s the perfect pairing.
If you’re a peanut butter lover like me, you absolutely need to try this recipe. I also recommend checking out my Best Heavy Cream Alfredo Sauce Recipe if you’re looking to expand your recipe collection. And for more baking inspiration, my Delicious Heavy Cream Pasta Recipe offers wonderful flavor combinations. You might also enjoy exploring complementary desserts and side dishes like my Best Pickled Red Onion Recipe for unique flavor pairings. For more recipe ideas, check out Bon Appétit’s collection and Serious Eats for baking techniques. The New York Times also has wonderful cooking resources and recipe inspiration.
Ingredients
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1/2 cup unsalted butter, softened
- 1 cup creamy peanut butter
- 1 1/2 cups granulated sugar
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- 3/4 cup sour cream, room temperature
- 3/4 cup whole milk
- 1/2 cup unsalted butter, softened (for frosting)
- 1 cup creamy peanut butter (for frosting)
- 3 cups powdered sugar
- 1/4 cup heavy cream
- 1 teaspoon vanilla extract (for frosting)
- 1/4 teaspoon salt (for frosting)
- Chocolate shavings or chopped peanuts for garnish (optional)

Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper for easy removal. This ensures your cake won’t stick and will release perfectly.
- In a small bowl, whisk together the all-purpose flour, baking powder, baking soda, and salt. Set this dry mixture aside.
- In a large mixing bowl, cream together the softened butter and peanut butter until light and fluffy, about 2-3 minutes. This step is crucial for incorporating air into your batter.
- Gradually add the granulated sugar to the butter mixture, continuing to beat until well combined and pale, about 2 more minutes.
- Add the eggs one at a time, beating well after each addition. Make sure each egg is fully incorporated before adding the next one.
- Stir in the vanilla extract until just combined.
- Alternate adding the dry ingredients and the wet ingredients (sour cream mixed with milk) to the peanut butter mixture, beginning and ending with the dry ingredients. Start with about 1/3 of the flour mixture, then 1/2 of the sour cream mixture, then another 1/3 flour, then the remaining sour cream, and finally the last 1/3 of flour. Mix on low speed just until combined after each addition—don’t overmix.
- Divide the batter evenly between your prepared pans and smooth the tops with a spatula.
- Bake for 30-35 minutes, or until a toothpick inserted in the center comes out clean or with just a few moist crumbs. The cakes should be golden brown and spring back when lightly touched.
- Remove the cakes from the oven and let them cool in the pans for about 10 minutes. Then turn them out onto wire racks to cool completely before frosting. This usually takes about 1-2 hours.
- While the cakes cool, prepare the frosting by beating together the softened butter and peanut butter in a large bowl until smooth and creamy, about 2 minutes.
- Gradually add the powdered sugar, one cup at a time, beating well after each addition to prevent lumps.
- Add the heavy cream, vanilla extract, and salt. Beat until the frosting is light, fluffy, and spreadable, about 2-3 minutes. If it’s too thick, add a bit more cream; if too thin, add more powdered sugar.
- Once the cakes are completely cool, place the first layer on a cake plate or stand. Spread a thick layer of frosting on top.
- Carefully place the second cake layer on top of the frosting, making sure it’s level.
- Frost the top and sides of the cake with the remaining frosting, using an offset spatula for a smooth finish or creating decorative swirls if desired.
- Garnish with chocolate shavings, chopped peanuts, or additional peanut butter drizzle if desired.
- Chill the cake for at least 30 minutes before serving to allow the frosting to set and the flavors to meld beautifully.

Pro Tips
Don’t overmix the batter once you’ve added the flour. Overmixing develops too much gluten, which can make your cake tough and dense rather than tender and moist.
Sour cream is not optional in this recipe—it adds moisture and helps create that tender crumb structure. Don’t substitute it with Greek yogurt or regular yogurt without adjusting other ingredients.
Use natural or creamy peanut butter for best results. Avoid powdered peanut butter or peanut butter with lots of added sugar. Read labels carefully to ensure quality.
This cake stays moist for 2-3 days when properly stored. Keep it covered at room temperature or in the refrigerator in an airtight container.
You can make this cake ahead of time. The unfrosted layers can be wrapped tightly and frozen for up to 1 month. Thaw completely before frosting.
For a chocolate twist, add 2-3 tablespoons of cocoa powder to the frosting, or drizzle the finished cake with melted chocolate.
If you don’t have two round pans, you can use 9×13-inch rectangular pans and adjust baking time to 35-40 minutes. You won’t have layers, but you’ll still have a delicious cake.
Make sure your oven is properly preheated before baking. Use an oven thermometer to verify the temperature for best results.
The frosting recipe makes enough for a generous frosting between layers and on top and sides. If you prefer a more minimal frosting, reduce the amounts by about 20 percent.

Pingback: How to Make the PERFECT Roasted Chickpea Recipe! – Simple Recipe Finder