The Best Peanut Butter Cake Recipe in Just 7 Steps
Published: 18 May 2026
Here is a short video explaining the process, scroll down for detailed ingredients and step by step recipe method. Thanks for coming and do not forget to check other recipes on our homepage.
Table of Contents
Ingredients with Exact Amounts
Getting your measurements right is the single most important thing you can do before you even turn on the oven. Baking is not like cooking β you can’t eyeball it and expect consistent results. Use these amounts exactly and you’ll be in great shape.
For the Cake Batter
These quantities make one 9Γ13-inch sheet cake that serves 18 to 24 squares, depending on how you cut it.
- 2 cups (250g) all-purpose flour, sifted
- 2 cups (400g) granulated white sugar
- 1 teaspoon baking soda
- Β½ teaspoon fine salt
- 1 cup (225g) unsalted butter
- 1 cup (240ml) water
- 1 cup (260g) creamy peanut butter (see note below)
- Β½ cup (120ml) buttermilk, at room temperature
- 2 large eggs, at room temperature
- 1 teaspoon pure vanilla extract
For the Peanut Butter Frosting
- Β½ cup (115g) unsalted butter
- β cup (85g) creamy peanut butter
- β cup (80ml) whole milk
- 3Β½ cups (420g) powdered sugar, sifted
- 1 teaspoon pure vanilla extract
- A pinch of fine salt
Optional Toppings
Toppings are completely optional, but they add a nice texture and visual appeal to the finished cake.
- Β½ cup (65g) honey-roasted peanuts, roughly chopped
- Mini chocolate chips, folded into the batter before baking
- Crushed peanut butter cookies for a crunchy finish
- Chopped Reese’s Peanut Butter Cups pressed into the frosting while it’s still warm
Important Notes on Ingredients
On peanut butter: This is the ingredient that matters most, and the type you choose will affect both the flavor and texture of your cake. Natural unsweetened peanut butter gives the most genuine, deep peanut flavor. However, if you use it, make absolutely sure you stir it thoroughly before measuring β the oil separates in natural peanut butter and if it isn’t properly mixed in, you’ll end up with a greasy, uneven batter. If you use sweetened processed peanut butter like Jif or Skippy, your cake will come out slightly sweeter, so you can reduce the sugar in the batter by about 2 tablespoons to balance it out. Either one will produce a delicious result; just use the type you have and follow the adjustment.
On buttermilk: Buttermilk adds moisture and a subtle tang that balances the richness of the peanut butter. If you don’t have any in the fridge, you can make a quick substitute by combining 1 cup of whole milk with 1 tablespoon of white vinegar or fresh lemon juice. Stir it together and let it sit for 5 to 10 minutes until you see it start to curdle slightly β that’s exactly what you want. Use it just as you would regular buttermilk.
On butter: Make sure your butter is at room temperature when it comes to the frosting, and in solid form for the cake batter (it gets melted on the stovetop). Room temperature means soft enough to leave a fingerprint when pressed but not so soft that it’s greasy or melted. Take it out of the refrigerator at least 45 minutes before you start.
On eggs: Cold eggs don’t incorporate well into batter. Always use room temperature eggs. If you forgot to take them out ahead of time, just place them in a bowl of warm (not hot) water for about 10 minutes and they’ll be ready to go.
Step-by-Step Recipe Method
This is the core of the whole post, and I’m going to walk you through every step in detail. Read through the whole method once before you start. That single step β just reading it first β will save you from scrambling mid-bake and making rushed decisions.
Prep time: 20 minutes Bake time: 30β40 minutes Cooling + frosting: 20 minutes Total time: About 1 hour 15 minutes Yield: One 9Γ13-inch sheet cake, 18β24 servings
Step 1 β Set Up Your Kitchen and Gather Everything
Before you touch a single ingredient, preheat your oven to 350Β°F (180Β°C). If you have a convection or fan-assisted oven, drop the temperature to 320Β°F (160Β°C) because the fan circulates hot air more efficiently and can overbrown the outside of the cake before the inside is cooked through. Preheating is not optional β putting your batter into a cold or partially heated oven throws off the whole chemistry of the rise and you’ll end up with a flat, dense cake. Give the oven at least 20 minutes to reach the right temperature before you slide the pan in.
While the oven heats, prepare your pan. Take a 9Γ13-inch baking pan and grease it generously with butter or nonstick cooking spray. Then line the bottom with a sheet of parchment paper, pressing it flat into the corners. This double layer of protection (the grease plus the paper) means your cake will release cleanly and you won’t lose chunks of it when you’re lifting it out. Set the pan aside and bring all your ingredients to the counter so you’re not hunting for things mid-recipe.
Step 2 β Mix Your Dry Ingredients
In a large mixing bowl, combine the sifted all-purpose flour, granulated sugar, baking soda, and salt. Use a whisk or fork to stir them together until the mixture looks uniform and there are no visible clumps. Sifting the flour before measuring is important because flour compacts in the bag over time, and if you scoop it straight from the bag without sifting, you could end up adding significantly more flour than the recipe calls for. The best way to measure flour is to spoon it into your measuring cup and level the top with a straight edge β never pack it down. Once the dry ingredients are mixed, set the bowl aside and move on to the wet ingredients.
Step 3 β Make the Peanut Butter Base on the Stovetop
This step is what makes this cake unique and incredibly flavorful. In a medium saucepan, combine the 1 cup of unsalted butter, 1 cup of water, and 1 cup of creamy peanut butter. Place the saucepan over medium-high heat and stir everything together with a whisk or wooden spoon as it heats up. Keep stirring steadily and watch for the moment it comes to a full rolling boil β you’ll see big bubbles breaking the surface across the whole pot, not just at the edges. The moment it reaches a boil, take it off the heat immediately. You don’t want to keep cooking it beyond this point.
As soon as you pull the saucepan off the heat, pour the hot peanut butter mixture directly over the dry ingredients in your large mixing bowl. This is important to do right away while it’s still very hot. The heat helps dissolve the sugar and brings everything together more smoothly. Use a hand mixer on low speed to combine the two, mixing until just incorporated β you should see a glossy, smooth batter beginning to form. Stop mixing as soon as there are no dry streaks left. Overmixing at this stage can develop too much gluten in the flour and result in a tougher texture.
Step 4 β Add the Eggs, Buttermilk, and Vanilla
In a separate measuring cup or small bowl, whisk together the 2 eggs, Β½ cup of buttermilk, and 1 teaspoon of vanilla extract until they are fully blended. Pour this mixture into the peanut butter batter and mix on low speed until everything is just smooth and combined. The final batter will be slightly thinner than a typical cake batter β a bit viscous and pourable β and that is completely normal for this style of cake. It might look almost runny, but trust the process. That consistency is what gives the finished cake its moist, tender crumb. Once you no longer see any streaks and the batter is uniform, stop mixing immediately.
Step 5 β Pour the Batter and Bake
Pour the batter evenly into your prepared 9Γ13-inch pan. Use a spatula to gently spread it into the corners and smooth the top so it bakes to an even thickness. Once it looks flat and even, pick the pan up a couple of inches off the counter and give it a few firm taps straight down. This knocks out any air bubbles that are hiding in the batter β if you leave them in, they can create holes and uneven spots in your baked cake. Slide the pan into the center rack of your preheated oven and set a timer for 30 minutes.
Do not open the oven door during the first 25 minutes of baking. Every time you open the door, heat escapes and the temperature drops, which can cause the cake to sink in the center. Use your oven light to peek if you need to check on it. After 30 minutes, open the oven and insert a toothpick or thin skewer into the center of the cake. If it comes out clean or with just one or two moist crumbs clinging to it, the cake is done. If it comes out with wet batter, close the oven and bake for another 5 to 10 minutes, then test again. The top should be a deep golden-brown and the edges will have pulled very slightly away from the sides of the pan.
Remove the cake from the oven and set it on a wire cooling rack. Let it cool in the pan for exactly 10 minutes before you add the frosting. The cake needs to still be warm when the frosting goes on, because that’s what allows the frosting to pour, spread, and set into that beautiful smooth layer β but if it’s straight-from-the-oven hot, the frosting will be too thin and runny to stay put.
Step 6 β Make the Peanut Butter Frosting
While the cake is cooling for those 10 minutes, make the frosting. In a medium saucepan, combine the Β½ cup of butter, β cup of peanut butter, and β cup of whole milk. Place it over medium heat and stir as the butter melts and the ingredients start to come together. Bring the mixture to a full rolling boil, just like you did with the cake base, then immediately take it off the heat. Add the 1 teaspoon of vanilla extract and a pinch of salt, and stir to combine.
Now add the sifted powdered sugar, 1 cup at a time, whisking after each addition until the frosting is completely smooth before adding the next cup. Sifting the powdered sugar before you add it is really worth doing β unsifted powdered sugar has lumps that won’t fully dissolve, and you’ll end up with a bumpy, grainy frosting instead of a smooth one. Once all the sugar is incorporated, check the consistency. The frosting should be thick but pourable, like a very thick gravy. If it seems too stiff, add an extra tablespoon or two of milk and whisk again. If it seems too thin, let it sit for 2 to 3 minutes and it will thicken as it cools slightly.
Step 7 β Frost the Cake and Add Toppings
Pour the warm frosting directly over the warm cake, starting in the center and letting it spread toward the edges. Use a spatula to guide it into the corners and create an even layer across the top. Work fairly quickly here because the frosting begins to set as it cools, and once it starts to firm up it becomes harder to spread without tearing the top of the cake. If you’re adding any toppings β chopped honey-roasted peanuts, mini chocolate chips, or crushed cookies β scatter them over the frosting now while it’s still soft and warm so they stick properly.
Once the frosting is on, leave the cake completely undisturbed at room temperature until it has fully cooled, at least 30 to 45 minutes. The frosting will set into a firm, slightly fudgy layer as it cools, and cutting into the cake before it’s ready will make it look messy and the frosting will smear. Once it’s cooled, cut into squares and serve. The first piece is always the tester’s privilege.
Variations in the Recipe
Once you’ve made this cake once and nailed the basic method, the variations are where things get really fun. The peanut butter cake base is incredibly versatile and plays well with a whole range of flavors and formats.
Chocolate Peanut Butter Cake
This is the most popular variation for a reason β chocolate and peanut butter are one of the greatest flavor combinations in existence. To make a chocolate peanut butter version, fold Β½ cup of mini chocolate chips into the finished batter just before pouring it into the pan. After the cake bakes and cools for 10 minutes, instead of going straight to the peanut butter frosting, make a simple chocolate ganache by heating Β½ cup of heavy cream until it just begins to simmer and then pouring it over Β½ cup of finely chopped dark chocolate. Let it sit for 2 minutes and then whisk it smooth. Pour the ganache over the cake first, let it set for 5 minutes, and then pour the peanut butter frosting over the top for a gorgeous two-layer effect. Finish it with chopped Reese’s Peanut Butter Cups pressed gently into the frosting while it’s still warm.
Peanut Butter Layer Cake
If you want something a bit more impressive and celebration-worthy, you can bake this same batter as a two-layer round cake. Divide the batter evenly between two greased and parchment-lined 8-inch or 9-inch round cake pans and bake at 350Β°F for 25 to 30 minutes, checking for doneness with a toothpick at the 25-minute mark. Once the layers are completely cool, make a whipped peanut butter buttercream by beating together 1 cup of softened butter, 1 cup of creamy peanut butter, 3 cups of powdered sugar, and 3 to 4 tablespoons of heavy cream until the mixture is light, fluffy, and holds soft peaks. Spread a generous layer of this buttercream between the two cake layers and then use the rest to frost the outside. This version is stunning for birthdays.
Peanut Butter Cake with Cream Cheese Frosting
For people who find a straight peanut butter frosting a little heavy, substituting a tangy cream cheese frosting makes a beautiful balance. Beat together 8 ounces of full-fat cream cheese (softened to room temperature), 2 cups of powdered sugar, 2 tablespoons of softened butter, and 1 teaspoon of vanilla extract until the mixture is completely smooth and fluffy, about 3 to 4 minutes with a hand mixer. Spread it over the fully cooled cake rather than pouring it warm. The tang of the cream cheese cuts through the richness of the peanut butter cake beautifully, and the result is a lighter, more refreshing bite that still has all that nutty depth.
Peanut Butter Cupcakes
This batter makes excellent cupcakes and is a great option when you want individual portions for a party or bake sale. Line a standard 12-cup muffin tin with paper liners and fill each one about two-thirds full with batter β don’t overfill or they’ll overflow as they rise. Bake at 350Β°F for 18 to 22 minutes. Let them cool in the tin for 5 minutes, then transfer to a wire rack to cool completely before frosting. Use the full peanut butter buttercream (mentioned in the layer cake variation above) to pipe a swirl on top of each cupcake. This single batch of batter will make approximately 20 to 24 standard-sized cupcakes.
Peanut Butter and Jelly Cake
This variation leans into nostalgia in the best possible way. After the cake is fully baked and cooled, spread a generous layer of your favorite jam β strawberry, raspberry, or grape all work beautifully β over the top of the cake before you pour on the peanut butter frosting. The jam layer creates a fruity, bright contrast that cuts through the richness and gives the whole cake a PB&J sandwich flavor that’s unexpectedly delightful. If you really want to go all in, swirl some additional jam into the batter before baking so you get a jammy ribbon running through the cake itself.
Gluten-Free Peanut Butter Cake
Swapping the all-purpose flour for a quality 1:1 gluten-free baking flour blend (like Bob’s Red Mill or King Arthur’s gluten-free blend) works remarkably well in this recipe. Use exactly the same quantity of gluten-free flour as the recipe calls for in all-purpose flour. The texture of the finished cake will be very slightly denser, which is normal for gluten-free baking, but the flavor is just as good. Let the baked cake rest in the pan for at least 15 minutes before cutting β gluten-free cakes need a little more time to set after baking or they can crumble at the edges.
Mistakes to Avoid
Every recipe has its failure points, and peanut butter cake has a few specific ones that are easy to make and just as easy to avoid once you know about them. Here are the biggest mistakes home bakers make and exactly what to do instead.
Using Un-Stirred Natural Peanut Butter
Natural peanut butter separates in the jar, with the oil floating to the top and the thick peanut paste settling at the bottom. If you scoop it without stirring it first, you might grab mostly oil from the top or mostly dry paste from the bottom, and either one will throw off the fat-to-solid ratio in your batter. Too much oil and the cake will be greasy and heavy. Too little oil and the cake will be dry and dense. Before you measure your peanut butter, stir it thoroughly in the jar from the bottom up until the oil and paste are completely combined into one consistent texture β this takes a good minute of stirring and is well worth it.
Measuring Flour by Scooping the Cup Directly Into the Bag
This is one of the most common mistakes in home baking and it’s responsible for more dry, dense cakes than almost anything else. When you plunge a measuring cup directly into a flour bag and scoop, you compact the flour and can end up with 20 to 30 percent more flour than the recipe actually calls for. In a cake with a wet, pourable batter like this one, that extra flour throws off the whole balance and leaves you with a cake that’s noticeably heavier and drier than it should be. The correct method is to spoon the flour into the measuring cup a tablespoon at a time until it’s heaping over the top, then use a straight edge (the back of a butter knife works perfectly) to level it off. Even better, use a digital kitchen scale and measure by weight.
Adding Cold Eggs and Cold Buttermilk
Room temperature ingredients mix together much more easily and evenly than cold ones. When you add cold eggs to a warm batter, they don’t incorporate smoothly and can cause the batter to look curdled or uneven. More importantly, cold ingredients force you to mix longer to get a smooth batter, and more mixing means more gluten development, which means a tougher, chewier cake. Take your eggs and buttermilk out of the refrigerator at least 30 to 45 minutes before you begin baking. If you forget, the warm water trick for eggs works in a pinch β submerge the whole eggs (still in their shells) in a bowl of warm tap water for about 10 minutes.
Overmixing the Batter Once the Flour Is Added
Peanut butter already has a lot of fat, and fat can only do so much to counteract the effects of overdeveloped gluten. Once the flour hits the wet ingredients, your job is to mix until the batter is smooth and no dry streaks remain β and then immediately stop. Every extra second of mixing beyond that point is working against you by tightening the gluten structure and producing a cake that’s more rubbery and chewy than soft and tender. Mix on low speed, watch the batter closely, and as soon as it looks uniform and smooth, put down the mixer.
Not Preheating the Oven Long Enough
Most ovens take 15 to 20 minutes to reach their set temperature, and some take even longer. If you preheat for only 5 minutes and then slide your cake in, you’re starting the bake in a rising-temperature environment rather than a stable one, and the timing listed in any recipe will be off. The cake’s chemistry relies on a consistent temperature from the moment it hits the oven. Make a habit of turning the oven on before you do anything else β before you measure your ingredients, before you grease the pan, before you do a single thing. By the time you’re ready to bake, it will be fully preheated.
Opening the Oven Door Too Early
It’s tempting to peek in on the cake, especially when it starts to smell incredible at around the 20-minute mark, but opening the oven door too soon can cause the center of the cake to collapse. The structure of the cake is still being set by the heat during the first 25 minutes or so, and a sudden drop in temperature can prevent it from rising properly or cause it to sink in the middle. Use the oven light and the glass door to check on progress. Only open the oven when you’re ready to test for doneness near the end of the recommended baking time.
Frosting a Completely Cold or Completely Hot Cake
This is a timing issue that catches a lot of people off guard. If you add the poured frosting to a piping-hot cake fresh from the oven, the frosting will be too thin and runny β it’ll slide around, soak into the top of the cake unevenly, and pool at the edges rather than setting in a smooth layer. On the other hand, if you wait until the cake is completely cold, the frosting sets too quickly when it hits the cold surface, making it impossible to spread before it turns solid. The sweet spot is 10 minutes of cooling in the pan β the cake is still warm, the frosting can flow and spread naturally, and it sets beautifully as both cool down together.
Using the Wrong Pan Size
This recipe was developed and tested in a 9Γ13-inch pan. If you use a smaller pan, the batter will be deeper and will need significantly more time to bake through, which risks burning the outside while the inside is still raw. If you use a larger pan, the batter will be thinner and will bake much faster, risking a dry, overbaked result. If you genuinely need to use a different pan, adjust your baking time accordingly and test for doneness much earlier than the recipe suggests. But whenever possible, stick to the pan size specified in the recipe.
How to Store Peanut Butter Cake
At Room Temperature
The cake can sit out at room temperature, loosely covered with plastic wrap or a cake dome, for up to one day. After that, the dairy in the frosting means it should be refrigerated. Keep it away from direct sunlight or heat sources, which can soften the frosting and affect the texture of the cake.
In the Refrigerator
Store the cake (covered in an airtight container or wrapped tightly in plastic wrap) in the refrigerator for up to 5 days. Cold temperatures can make the crumb feel a little firmer, so take individual slices out of the fridge about 20 to 30 minutes before eating to let them come back to room temperature β that’s when the texture and flavor are at their absolute best.
In the Freezer
To freeze individual portions, wrap each slice tightly in plastic wrap and then place them in a zip-lock freezer bag with as much air removed as possible. The cake freezes well for up to one month. To thaw, leave slices in the refrigerator overnight or at room temperature for 1 to 2 hours. The frosting may look slightly different after freezing and thawing, but the flavor is unaffected.
Conclusion
Peanut butter cake is one of those recipes that never gets old. It’s warm, rich, deeply satisfying, and it hits exactly the right note whether you’re baking it for a weekend treat, a birthday, a potluck, or just because it’s Tuesday and you deserve something good. The base recipe is reliable and forgiving, and once you have it down, the variations give you an entirely new cake every time you make it.
The things that make the biggest difference are the ones that cost nothing extra: getting your ingredients to room temperature, measuring the flour correctly, not overmixing the batter, and getting the timing right on the frosting. None of those things are difficult β they’re just things worth knowing before you start, and now you do.
Give this recipe a try and see for yourself. I’d love to know how it turned out β leave a comment below and tell me which variation you went with. If you’re sharing photos on social media, tag me so I can see your beautiful bakes. And if someone in your life is a peanut butter fan, send them this recipe. It’ll make their day.
FAQs
Can I use natural peanut butter instead of regular processed peanut butter like Jif or Skippy?
Yes, you can absolutely use natural peanut butter and it will give you a more genuine, intense peanut flavor. The key is making sure it’s thoroughly stirred before you measure it, because the natural oil separates and if you add un-stirred peanut butter to the batter, the fat content will be off and the texture of the cake will suffer. Also, since natural peanut butter contains no added sugar, you won’t need to reduce the sugar in the recipe β use the full amount listed. If you use sweetened processed peanut butter, consider reducing the granulated sugar by 2 tablespoons to avoid the cake being overly sweet.
Why did my peanut butter cake come out dry?
The three most common causes of a dry peanut butter cake are too much flour, overmixing the batter, and overbaking. Too much flour is almost always the result of scooping the measuring cup directly into the flour bag, which compacts the flour and adds more than the recipe calls for. Overmixing develops the gluten in the flour too much, creating a tight, dry crumb. And overbaking β even by just 5 minutes β can dry out a cake that would have otherwise been perfectly moist. If your cake comes out dry despite careful measuring and mixing, start by testing for doneness a few minutes earlier next time and use a kitchen scale to weigh your flour instead of measuring by volume.
Can I make this cake a day ahead?
Absolutely, and in fact it’s one of the reasons this cake is such a great choice for events and celebrations. Bake the cake the day before, let it cool completely, add the frosting while it’s still warm as directed, and then let the whole thing come to room temperature and set before covering it with plastic wrap. Store it at room temperature overnight and it’ll be perfect the next day. The frosting actually firms up beautifully overnight, which makes for cleaner, neater slices. If you want to make it further in advance, freeze the unfrosted cake and add the frosting the day you plan to serve it.
Can I turn this into a layer cake?
Yes! Divide the batter between two greased and parchment-lined 8-inch or 9-inch round cake pans and bake for 25 to 30 minutes, testing with a toothpick at the 25-minute mark. You’ll want to use a whipped peanut butter buttercream instead of the poured glaze for layering β the poured glaze is too thin to hold the layers together properly. Beat together 1 cup of softened butter, 1 cup of peanut butter, 3 cups of powdered sugar, and 3 to 4 tablespoons of heavy cream until fluffy, and use that to fill and frost the layers. It turns into a gorgeous, celebratory cake with very minimal extra effort.
What frosting works best with peanut butter cake?
The poured peanut butter glaze in this recipe is classic and produces that iconic fudgy top that most people love. But there are three other frostings that work beautifully with this cake. A whipped peanut butter buttercream (butter, peanut butter, powdered sugar, and heavy cream beaten until fluffy) is richer and pipes beautifully for a layered or cupcake version. A cream cheese frosting adds a lovely tang that balances the richness of the cake. And if you want to lean into the chocolate-peanut butter combo, a simple chocolate ganache poured over the top before the peanut butter frosting creates something truly spectacular.
Can I make peanut butter cupcakes with this batter?
Yes, this batter makes excellent cupcakes. Line a standard muffin tin with paper liners, fill each one about two-thirds full (no more β they’ll rise), and bake at 350Β°F for 18 to 22 minutes. Let them cool in the tin for 5 minutes before transferring to a wire rack. Once completely cool, top with the whipped peanut butter buttercream. A single batch of batter makes approximately 20 to 24 standard cupcakes, making this a great option for bake sales, parties, or classroom treats.
What if I have a peanut allergy in the family?
Peanut butter is a significant allergen and this cake is not suitable for anyone with a peanut allergy as written. If you need a nut-free version, sunflower seed butter is the most common substitute and works in the same quantity as the peanut butter in this recipe. Be aware that the flavor will be noticeably different β sunflower seed butter has an earthier, slightly bitter taste β and the color of the cake and frosting will be a bit darker. Almond butter can also work if tree nut allergies are not a concern, and it gives a more neutral, slightly sweet flavor that many people enjoy.
How do I know when my peanut butter cake is fully baked?
The most reliable test is the toothpick method: insert a thin toothpick or skewer into the center of the cake and pull it straight out. If it comes out completely clean or with just one or two moist crumbs clinging to it, the cake is done. If it comes out with wet batter, it needs more time. You can also gently press two fingers on the center of the cake β it should spring back almost completely when you lift your fingers. Another visual cue is that the edges of the cake will have pulled very slightly away from the sides of the pan. If you’re still not sure, an instant-read thermometer inserted into the center should read around 205Β°F (96Β°C) for a fully baked cake.

- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks

- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks

