This is the kind of cake that makes chocolate and peanut butter the easiest choice in the kitchen. Peanut butter chocolate cake lands right in the middle, with a soft chocolate crumb and ribbons of peanut butter baked into every slice.
It fits birthdays, weekend baking, and those nights when you want a dessert that feels special without turning into a project.
If you want a rich, sweet cake for family dinners or casual celebrations, this cake does the job well. Flavor stays deep and chocolatey, but the peanut butter swirl keeps each bite warm, familiar, and a little more fun.
It also fits right in with other dessert recipes when you want something crowd-friendly and easy to serve.
Jump to:
Ingredients
This peanut butter chocolate cake uses pantry basics, but each ingredient helps build a moist crumb and a clean swirl. This chocolate peanut recipe keeps the method simple, so you get a cake that looks good without extra fuss.
| Ingredient | Amount | Why it works |
|---|---|---|
| All-purpose flour | 1 ¾ cups | Gives the cake structure |
| Granulated sugar | 1 ¾ cups | Sweetens and helps keep the crumb soft |
| Natural unsweetened cocoa powder | ¾ cup | Brings deep chocolate flavor |
| Baking powder | 1 ½ teaspoons | Helps the cake rise |
| Baking soda | 1 teaspoon | Supports lift and tenderness |
| Salt | 1 teaspoon | Sharpens the chocolate flavor |
| Large eggs | 2 | Bind the batter and support texture |
| Vegetable oil | ½ cup | Keeps the crumb moist |
| Sour cream | ¾ cup | Adds richness and softness |
| Whole milk | ¾ cup | Loosens the batter |
| Vanilla extract | 2 teaspoons | Rounds out the flavor |
| Hot coffee or hot water | ¾ cup | Helps bloom the cocoa |
| Creamy peanut butter | ¾ cup | Creates the swirl |
| Milk for loosening the swirl | 2 to 3 tablespoons | Makes the peanut butter easier to drag through the batter |

For the smoothest swirl, stick with creamy peanut butter. University of Nebraska-Lincoln Extension explains that commercial peanut butters are blended for creaminess, while natural styles can separate and feel less smooth.
Instruction
Step 1: Prep the pan
Heat the oven to 350°F. Grease a 9x13-inch baking pan, line it with parchment if you like easier lifting, and set it aside.
Step 2: Mix the dry ingredients
Whisk the flour, sugar, cocoa powder, baking powder, baking soda, and salt in a large bowl until the color looks even and no cocoa pockets remain.
Step 3: Mix the wet ingredients
In a second bowl, whisk the eggs, oil, sour cream, milk, and vanilla until smooth. Pour the wet mixture into the dry ingredients, then stir just until most of the flour disappears.
Step 4: Add the hot liquid
Pour in the hot coffee or hot water and whisk gently until the batter looks smooth and loose. The batter will be thinner than a butter cake batter, and that is normal.
Step 5: Make the peanut butter swirl
Stir the peanut butter with 2 to 3 tablespoons of milk until it loosens enough to spoon easily. Spread the chocolate batter into the prepared pan, then drop spoonfuls of the peanut butter mixture across the top.
Step 6: Swirl
Use a knife or skewer to drag through the batter in loose figure eights. Keep the motion light. Too much swirling will blur the contrast and push the peanut butter too deep into the cake.
Step 7: Bake
Bake for 32 to 38 minutes, or until the center springs back lightly and a tester comes out with a few moist crumbs. Let the cake cool in the pan for at least 20 minutes before slicing.

Tip: Stop mixing once the batter looks smooth, and stop baking once the center is just set. Both steps help the cake stay soft and moist.
Taste and Texture
This peanut butter chocolate cake tastes rich, soft, and balanced. Chocolate leads the first bite, then the peanut butter comes through with a mellow, salty note that keeps the crumb from feeling flat or too sweet.
Texture stays moist and tender, with swirled pockets that feel a little denser and creamier than the cake around them. Each slice lands like a nutty dessert with enough chocolate to feel satisfying. If you usually go for straight chocolate bakes, a rich chocolate cake with fudge frosting sits in a similar flavor lane.
Substitutions
Good swaps should keep the texture close to the original recipe.
| Swap | Use Instead | Result |
|---|---|---|
| Sour cream | Plain Greek yogurt | Similar tang and softness |
| Whole milk | Buttermilk | Slightly more tang |
| Hot coffee | Hot water | Lighter chocolate depth |
| Creamy peanut butter | Crunchy peanut butter | Rougher swirl with peanut bits |
| Natural cocoa powder | Dutch-process cocoa | Darker color, slightly different flavor |
If sour cream is not in the fridge, plain Greek yogurt is a solid backup. N.C. Cooperative Extension notes that Greek yogurt helps maintain moisture and a tender crumb in cakes and quick breads.
Variations
This peanut butter chocolate cake is easy to tweak without losing its core flavor.
- Fold ½ cup mini chocolate chips into the batter if you want extra chocolate in every slice.
- Scatter chopped roasted peanuts over the top before baking for more crunch.
- Drizzle warm peanut butter over the cooled cake if you want this to lean harder into a peanut butter swirl dessert.
- Bake the batter as cupcakes for a more portable version. Start checking around 18 to 22 minutes.

For a deeper, frosting-heavy version, a decadent chocolate fudge dessert is a good next bake. If you want something denser and more intense, a flourless rich chocolate dessert goes in a different direction.
Equipment
You do not need much to make peanut butter chocolate cake at home.
- 9x13-inch baking pan
- Large mixing bowl
- Medium mixing bowl
- Whisk
- Rubber spatula
- Measuring cups and spoons
- Butter knife or skewer for swirling
- Cooling rack
Storage
Keep the cake covered once it cools so the crumb does not dry out. It can sit at room temperature for about a day in a cool kitchen, or you can refrigerate it for 3 to 4 days for a longer window.
For longer storage, freeze well-wrapped slices in a sealed container. Illinois Extension’s freezer storage chart lists baked cake at 2 to 4 months for best quality, and the guide to freezing prepared foods recommends moisture- and vapor-resistant wrapping to help protect texture.
Top Tips
- Use room-temperature eggs and sour cream so the batter mixes more evenly.
- Loosen the peanut butter before swirling so it glides instead of clumping.
- Keep the swirl light and broad. Too many passes can muddy the top.
- Pull the cake once the tester shows moist crumbs, not wet batter.
- Cool the cake before slicing so the swirl sets cleanly.
- Cover leftovers well so the rich, sweet texture stays soft the next day.
Frequently Asked Questions
Best peanut butter for baking?
Creamy peanut butter works best for this recipe because it spreads and swirls more easily. Natural peanut butter can still work, but it needs a very good stir first, or the oil can throw off the texture.
How to swirl?
Drop small spoonfuls of loosened peanut butter over the batter, then drag a knife or skewer through the top in loose figure eights. Keep it light. Two or three passes across each section are enough for a visible swirl.
Can you use crunchy PB?
Yes, you can. Crunchy peanut butter adds little bits of peanut through the top, so the swirl looks less smooth and the finish feels more rustic. Flavor still works well in this chocolate peanut recipe.
How to keep moist?
Use oil, sour cream, and the full amount of liquid, then avoid overmixing and overbaking. Store the cake covered once it cools. Those steps matter more than extra frosting if your goal is a soft crumb.
Recipe Card

Peanut Butter and Chocolate Swirl Sweet
Ingredients
- 1 ¾ cups all-purpose flour
- 1 ¾ cups granulated sugar
- ¾ cup natural unsweetened cocoa powder
- 1 ½ teaspoon baking powder
- 1 teaspoon baking soda
- 1 teaspoon salt
- 2 large eggs
- ½ cup vegetable oil
- ¾ cup sour cream
- ¾ cup whole milk
- 2 teaspoon vanilla extract
- ¾ cup hot coffee or hot water
- ¾ cup creamy peanut butter
- 2 to 3 tablespoon milk
Instructions
- Heat oven to 350°F and grease a 9x13-inch pan.
- Whisk flour, sugar, cocoa, baking powder, baking soda, and salt in a large bowl.
- Whisk eggs, oil, sour cream, milk, and vanilla in another bowl.
- Stir wet ingredients into dry ingredients, then add hot coffee or water and whisk until smooth.
- Spread batter in the pan.
- Stir peanut butter with 2 to 3 tablespoons milk until loosened, then drop spoonfuls over the batter.
- Swirl lightly with a knife or skewer.
- Bake 32 to 38 minutes, until a tester comes out with moist crumbs.
- Cool before slicing and serving.
Notes
- Creamy peanut butter gives the cleanest swirl.
- Hot coffee deepens the chocolate flavor, but hot water still works.
- This peanut butter swirl dessert freezes well in individual slices.
- If you want another chocolate treat for small servings, a gooey center chocolate lava cake is a fun option.





Comments
No Comments