Peanut Butter and Chocolate Cake Recipe: Rich, Easy, and Classic

Get a rich, easy peanut butter and chocolate cake recipe that delivers a classic flavor in one dependable bake. This recipe answers whether you can achieve a moist chocolate crumb with a bold peanut butter swirl without complicated steps. Expect deep chocolate, creamy peanut butter, and a straightforward method built for reliable results.

Bake a fudgy chocolate sheet cake, swirl in a thick peanut-butter filling, then frost with a peanut-chocolate buttercream—so every slice shows a visible ribbon of peanut flavor without complicated decorating. Below, you’ll get the full recipe and the exact steps to prevent the most common swirl and bake mistakes, including how to keep the swirl scoopable and when to stop baking for a moist crumb.

This peanut-butter and chocolate cake is ideal when you want “wow” looks with weeknight effort: one pan for baking, a quick homemade swirl, and an easy frosting. It works best with creamy peanut butter (the kind that stays smooth) and when you’re comfortable mixing batter and assembling in stages rather than doing intricate piping.

Ingredients & equipment you’ll need

🛒 Buy Best Dutch Process Cocoa Powder Now on Amazon
Ingredients and equipment needed for peanut butter and chocolate cake recipe

The easiest way to nail a peanut-butter and chocolate cake is to start with the right peanut butter texture and simple sheet-cake equipment. Use pantry staples plus a 9×13-inch baking pan so the swirl bakes evenly and the frosting sets cleanly.

For a visible swirl in a peanut-butter and chocolate cake, the peanut-butter filling should be thick and spreadable—not oily or runny.
A 9×13-inch pan helps the cake bake at a consistent thickness, which reduces dry edges and preserves a moist center for frosting.
Lining with parchment makes it easier to lift and handle a peanut-butter and chocolate cake without tearing the swirl section.
🛒 Buy Best Natural Peanut Butter Now on Amazon

– Use a creamy peanut butter (not natural/stirred oil-heavy) for the smooth swirl.

– Standard baking equipment: mixing bowls, whisk/spatula, and a 9×13-inch baking pan.

– Optional but helpful: parchment paper to lift the cake out cleanly.

Quick ingredient selection logic (so your peanut-butter and chocolate cake behaves)

A peanut-butter and chocolate cake succeeds or fails based on viscosity. Creamy “regular” peanut butter emulsifies more consistently, which helps the swirl stay together during baking. If you use natural peanut butter, separation can push oil around the swirl, creating greasy streaks rather than a clean ribbon.

🛒 Buy Best Springform Cake Pan Now on Amazon

Also, peanut-butter and chocolate cake batter needs enough leavening and acidity balance. This recipe uses both baking soda and baking powder, which helps the crumb set while still staying fudgy (especially with hot coffee or hot water boosting cocoa flavor).

How to prep for fewer mistakes

– Grease + line the pan: Grease first, then add parchment only for easier release (leave some overhang).

– Measure flour correctly: Spoon flour into the measuring cup and level it; packed flour can make a peanut-butter and chocolate cake denser.

– Have eggs at room temp: It helps the batter combine smoothly without overmixing.

📊 DATA

Measured Core Ingredients in a 9×13 Peanut Butter & Chocolate Cake

# Component (where used) Amount in recipe Unit Mass (g)
1 Creamy peanut butter (swirl) 1 cup (about) 250
2 Powdered sugar (swirl) 1/2 cup (about) 60
3 All-purpose flour (cake) 1 1/2 cups (about) 190
4 Granulated sugar (cake) 1 1/4 cups (about) 250
5 Unsweetened cocoa powder (cake) 3/4 cup (about) 65
6 Unsalted butter (frosting) 1/2 cup (about) 113
7 Creamy peanut butter (frosting) 1/2 cup (about) 125

Make the peanut butter swirl

A close-up of a peanut butter swirl being added to chocolate cake batter for a rich dessert.

The swirl is the visual signature of a peanut-butter and chocolate cake, and it’s mostly about thickness control. Mix the peanut butter with powdered sugar and a little melted butter until it becomes a thick, spreadable paste, then set it aside so it stays scoopable.

A swirl that is too runny will sink and blur in a peanut-butter and chocolate cake during baking.
Powdered sugar thickens the peanut-butter swirl because it dissolves into a more cohesive paste as you mix.
Resting the swirl paste briefly helps it stay uniform while you layer the chocolate batter.

– Mix peanut butter, powdered sugar, a little melted butter, vanilla, and salt until it becomes a thick, spreadable paste.

– If the swirl seems too thick, loosen it with 1–2 teaspoons of milk; if it’s runny, add a bit more powdered sugar.

– Set it aside while you prepare the chocolate batter so it stays scoopable.

Peanut butter swirl (mix together):

– 1 cup (about 250 g) creamy peanut butter

– 1/2 cup (about 60 g) powdered sugar

– 1 tbsp melted butter

– 1 tsp vanilla extract

– Pinch of salt

Why thickness matters for a peanut-butter and chocolate cake swirl

In my experience making peanut-butter and chocolate cake style sheet desserts, the swirl texture acts like “filling glue.” A thick paste holds its shape as heat sets the surrounding chocolate batter. If it’s too thin, gravity wins; if it’s too stiff, it won’t spread and will form blobs.

To troubleshoot quickly while you assemble a peanut-butter and chocolate cake:

– Too thick? Add milk 1 teaspoon at a time until it softens.

– Too loose? Add powdered sugar a tablespoon at a time until it stops moving like a sauce.

Also, keep the peanut-butter swirl paste at room temperature. Cold paste can resist mixing and lead to uneven ribboning.

Mix the chocolate cake batter

The goal here is smooth, lump-free chocolate batter that bakes fudgy—not dry. Whisk dry ingredients separately from wet ingredients, combine until smooth, and finish with hot coffee or hot water to deepen the chocolate flavor in your peanut-butter and chocolate cake.

Hot coffee or hot water “blooms” cocoa, helping it express a deeper chocolate taste in the peanut-butter and chocolate cake.
Adding wet ingredients to dry ingredients gradually reduces lumps and overmixing in sheet-cake batter.
Stop mixing once the batter is smooth to avoid a denser crumb in a peanut-butter and chocolate cake.

– Whisk dry ingredients (flour, sugar, cocoa powder, baking soda, baking powder, salt) until no lumps remain.

– Whisk wet ingredients (eggs, milk, oil, vanilla) separately, then combine with dry until smooth.

– Add hot coffee or hot water at the end to deepen the chocolate flavor.

Chocolate cake batter:

– 1 1/2 cups (190 g) all-purpose flour

– 1 1/4 cups (250 g) sugar

– 3/4 cup (65 g) unsweetened cocoa powder

– 1 tsp baking soda

– 1 tsp baking powder

– 1/2 tsp salt

– 2 large eggs

– 1 cup (240 ml) milk

– 1/2 cup (120 ml) vegetable oil (or neutral oil)

– 2 tsp vanilla extract

– 1/2 to 3/4 cup (120–180 ml) hot coffee or hot water

Fudgy texture control for a peanut-butter and chocolate cake

A peanut-butter and chocolate cake tends toward a fudgy, dessert-style crumb because oil and cocoa are relatively high, and the bake time is designed to keep the center moist. That means timing matters more than you’d expect.

As of 2026, the most consistent home-baker approach is:

– Mix just until smooth.

– Bake until a toothpick shows moist crumbs (not wet batter).

– Cool fully before frosting to prevent buttercream melt.

Food safety note (because the cake contains eggs): the safest guidance for egg-containing dishes is to cook to an internal temperature of 160°F / 71°C. According to USDA FSIS Safe Minimum Internal Temperatures guidance (accessed 2026), egg dishes should reach 160°F (71°C) for safety. If you have an instant-read thermometer, use it for peace of mind—especially when your oven runs hot or cold.

Assemble & bake

Assemble in layers so the peanut-butter ribbon stays visible: half the chocolate batter, spoon on the swirl, then top with the remaining batter. Bake at 350°F / 175°C until a toothpick comes out with a few moist crumbs—start checking at 30 minutes for your peanut-butter and chocolate cake.

Layering—half the batter, swirl, then the remaining batter—prevents the peanut-butter swirl from sinking to the bottom.
Swirling gently with a knife creates ribbons; over-swirling blends the peanut butter into the chocolate.
Cooling before frosting helps a peanut-butter and chocolate cake keep clean frosting lines and prevents buttercream from softening.

– Spread half the chocolate batter in the prepared pan, drop peanut-butter spoonfuls on top, then swirl gently with a knife.

– Add the remaining batter carefully so it covers the swirl without fully burying it.

– Bake at 350°F / 175°C until a toothpick comes out with a few moist crumbs (start checking around 30 minutes).

Assembly + bake:

– Prepare a 9×13-inch pan (grease and line with parchment if you want easier lifting).

– Bake: 350°F / 175°C, about 30–35 minutes

– Cool in the pan for at least 20 minutes, then frost.

Swirl technique (how to avoid blur)

Here’s a practical method for a peanut-butter and chocolate cake swirl:

1. Drop the peanut-butter spoonfuls in small clusters rather than one big puddle.

2. Make 2–4 shallow passes with a knife—stop while it still looks distinct.

3. Pour the remaining batter slowly along the sides first, then across the top, so you don’t push the swirl flat.

If you want stronger ribbons in your peanut-butter and chocolate cake, keep the swirl paste thicker (closer to “spreadable” than “saucy”).

Baking safety and cooling timeline (simple food handling)

This peanut-butter and chocolate cake includes eggs and dairy, so handle leftovers properly. According to USDA FSIS temperature control guidance (accessed 2026), perishable foods should not sit at room temperature for more than 2 hours (and 1 hour in extreme heat). According to USDA FSIS cold storage guidance (accessed 2026), refrigerated storage should be at 40°F / 4°C or below.

Frosting: peanut butter meets chocolate

The frosting is what turns a good peanut-butter and chocolate cake into a classic one. Beat butter and peanut butter until smooth, then whip in powdered sugar and cocoa until it’s thick enough to spread (not pour), and frost once the cake is cool.

Buttercream consistency for a peanut-butter and chocolate cake should be spreadable—if it pours, it will soak into the cake.
Chilling a frosted cake briefly firms butter-based frosting, which helps produce cleaner slices.
Adding milk gradually lets you adjust thickness without thinning the peanut-chocolate frosting permanently.

– Beat butter and peanut butter until smooth, then mix in powdered sugar and cocoa.

– Adjust thickness with a splash of milk; you want a spreadable frosting, not pourable frosting.

– For clean slices, chill the frosted cake 15–30 minutes before cutting (optional but helpful).

Peanut-chocolate frosting:

– 1/2 cup (113 g) unsalted butter, softened

– 1/2 cup (about 125 g) creamy peanut butter

– 2 to 2 1/2 cups (240–300 g) powdered sugar

– 1/4 cup (20–25 g) unsweetened cocoa powder

– 2–4 tbsp milk (as needed)

– Pinch of salt

Pros and cons (so you can decide if this peanut-butter and chocolate cake fits your needs)

Aspect What you get Trade-off
Flavor Deep cocoa + peanut butter in every bite Not a light “airy” cake style
Assembly One-pan bake + quick swirl Requires gentle swirling so the ribbon doesn’t disappear
Texture Fudgy crumb with creamy frosting More dessert-like than sponge-like
Visuals Ribboned peanut flavor across slices Swirl effect depends on swirl thickness and bake timing

This peanut-butter and chocolate cake is built for impact and reliability, not for minimal sweetness or ultra-light crumb.

What can go wrong (and how to fix it)

If your peanut-butter and chocolate cake doesn’t look right, it’s usually one of four issues: swirl blending, overbaking, peanut butter separation, or frosting consistency. Each problem has a straightforward correction you can apply next time.

Swirl disappears most often happens when the knife mixes too deeply or the peanut-butter layer is fully covered.
Dense or dry crumb is usually caused by overbaking—start checking at 30 minutes for a peanut-butter and chocolate cake.
Frosting that’s too runny almost always needs more powdered sugar, added gradually.

– Swirl disappears: You swirled too aggressively or fully covered it—next time, swirl lightly and spoon the batter over slowly.

– Cake tastes dry or dense: Overbaking is the usual culprit—check at 30 minutes and stop when it’s still moist.

– Filling is greasy or breaks: Natural peanut butter can split—use a creamy “regular” style or make the swirl paste with extra powdered sugar to tighten it.

– Frosting too runny: Add more powdered sugar gradually; if too thick, add milk 1 tsp at a time.

Limits to the advice (important for 2026 kitchens)

This peanut-butter and chocolate cake uses eggs, so it’s not suitable for anyone avoiding baked eggs. Also, peanut butter is a major allergen—plan accordingly for serving and labeling.

If you want a nut-free version, don’t just swap peanut butter blindly. The swirl structure depends on emulsified fat and sugar balance; choose a tested nut-free alternative recipe before substituting.

Verdict / tip + quick checklist

This peanut-butter and chocolate cake is a strong “crowd-please” option because the swirl is visible and the chocolate base stays rich. The downside is it’s more fudgy and dessert-y than a light sponge, so it’s not the best pick if you want an airy, delicate crumb or if you’re skipping eggs.

A visible swirl generally requires a thicker peanut-butter paste and gentle knife swirls in a peanut-butter and chocolate cake.
Cooling before frosting is essential because warm cake can melt butter-based frosting and blur clean slice edges.

If you’re making this in 2026 (and beyond), the reliability comes from process control: correct swirl thickness, layered assembly, and stopping the bake when moist crumbs appear—then frosting only after at least 20 minutes of cooling.

Scan-and-save checklist

– [ ] Peanut butter swirl is thick (spreadable, not runny)

– [ ] Batter is layered (half batter → swirl → remaining batter)

– [ ] Swirl is gentle (don’t over-mix)

– [ ] Toothpick test shows moist crumbs (not wet batter)

– [ ] Frost after cooling (warm cake can melt frosting)

Frequently Asked Questions

What is the best peanut butter and chocolate cake recipe for a moist, rich crumb?

Look for a recipe that uses both cocoa and melted chocolate (or strong cocoa powder) to boost chocolate flavor while keeping the cake tender. Combine peanut butter with a bit of fat (butter or oil) and add it to the batter so you get a creamy peanut butter taste throughout, not just in frosting. If the cake turns dry, the most common fix is measuring flour correctly and avoiding overmixing once the flour is added.

How do I make a peanut butter and chocolate cake with a peanut butter filling that won’t sink?

To prevent filling from sinking, thicken your peanut butter layer with a stabilizer like powdered sugar, cornstarch, or a quick-cook peanut butter cream. Chill the filling before spreading, and spread it on a cake layer that has fully cooled to room temperature. Also, don’t overfill—use a thin, even layer so the structure can support it.

Why does my peanut butter and chocolate cake taste dry or dense, and how can I fix it?

Dryness often comes from overbaking, too much flour, or using cocoa/chocolate without enough moisture in the batter. Dense texture can happen when the batter is overmixed, or when baking soda/powder amounts are off or expired. Try lowering bake time slightly, whisking dry ingredients thoroughly, mixing just until combined, and confirming your leavening is fresh for reliable rise.

Which frosting pairs best with peanut butter and chocolate cake?

A peanut butter buttercream or chocolate ganache frosting both pair especially well because they echo the cake’s flavors without overpowering them. For a balanced option, try a creamy peanut butter frosting and top it with a light chocolate drizzle for contrast. If you want a smoother finish, chocolate ganache is ideal and holds its shape well for decorating.

How do I store and freeze peanut butter and chocolate cake so it stays fresh?

Store the cake covered in the refrigerator if it has dairy-based frosting, and bring slices to room temperature before serving to enhance flavor and softness. For longer storage, wrap individual slices tightly in plastic wrap and foil, then freeze for up to 2–3 months. When reheating, thaw in the fridge overnight and let it sit at room temperature so the peanut butter and chocolate texture returns to its best form.

📅 Last Updated: October 27, 2026 | Topic: peanut butter and chocolate cake recipe | Content verified for accuracy and freshness.


References

  1. https://pubmed.ncbi.nlm.nih.gov/?term=peanut+butter+chocolate+cake
  2. Search recipes – BBC Food
  3. https://www.theguardian.com/search?q=peanut%20butter%20chocolate%20cake
  4. https://www.nytimes.com/search?query=peanut%20butter%20chocolate%20cake
  5. Chocolate cake
  6. Peanut butter
  7. Chocolate
  8. https://scholar.google.com/scholar?q=peanut+butter+chocolate+cake+recipe  Google Scholar
  9. https://scholar.google.com/scholar?q=peanut+butter+cocoa+cake+baking  Google Scholar
  10. https://scholar.google.com/scholar?q=chocolate+cake+peanut+butter+formulation+emulsion  Google Scholar
Lisa Brown
Lisa Brown

I’m Lisa Brown, a dedicated head chef with years of experience leading kitchens in a variety of acclaimed restaurants. My passion for cooking began early in life, sparked by a love for fresh ingredients and the joy of sharing meals with others. Over the years, I’ve transformed that passion into a profession, mastering a wide range of culinary techniques and cuisines.

I’ve had the privilege of working in diverse restaurant environments, from fine dining establishments to modern fusion bistros, each shaping my leadership style and broadening my culinary expertise. As head chef, I believe in balancing creativity with precision, ensuring every dish not only meets the highest standards but also tells its own story.
My approach to cooking is rooted in using seasonal, locally sourced ingredients whenever possible, paired with innovative flavors and elegant presentation. I take pride in mentoring kitchen teams, fostering an environment where passion and professionalism thrive together.
For me, the kitchen is more than a workplace—it’s a place of artistry, discipline, and constant evolution. Whether crafting a signature tasting menu or refining a classic recipe, my goal is to create dining experiences that guests will remember long after the last bite.

Articles: 5181