Is there anything more perfect than chocolate and peanut butter? That irresistible combo takes me straight back to childhood—sneaking spoonfuls of peanut butter while my mom baked her famous chocolate cake. This Chocolate Cake with Peanut Butter Frosting recipe captures that magic in every bite. The rich, moist chocolate layers pair beautifully with the creamy, slightly salty frosting—it’s pure comfort food with a grown-up twist. My sister still swears I only bake this for her birthday to get on her good side (she’s not wrong). One taste and you’ll understand why this cake disappears faster than you can say “seconds, please!”

Ingredients for Chocolate Cake with Peanut Butter Frosting
Gathering the right ingredients makes all the difference between a good cake and a knock-your-socks-off masterpiece. Here’s what you’ll need for both the cake and that dreamy frosting:
For the Chocolate Cake:
- 1 3/4 cups all-purpose flour (spooned and leveled – don’t pack it!)
- 2 cups granulated sugar (yes, it seems like a lot, but trust me)
- 3/4 cup unsweetened cocoa powder (I’m partial to Dutch-processed)
- 1 1/2 teaspoons baking powder
- 1 1/2 teaspoons baking soda
- 1 teaspoon salt (use fine sea salt if you have it)
- 2 large eggs (room temperature – this matters!)
- 1 cup whole milk (2% works in a pinch)
- 1/2 cup vegetable oil (or melted coconut oil if you’re feeling fancy)
- 2 teaspoons pure vanilla extract
- 1 cup boiling water (yes, boiling – don’t skip this!)
For the Peanut Butter Frosting:
- 1 cup creamy peanut butter (go for natural, the kind that separates)
- 1/2 cup unsalted butter, softened (leave it out for 30 minutes)
- 2 cups powdered sugar (sifted to avoid lumps)
- 1/4 cup milk (add more if needed for spreading consistency)
- Pinch of salt (balances the sweetness perfectly)
Pro tip: Measure everything before you start—it makes the baking process so much smoother. And don’t worry about the thin batter when you add that boiling water; that’s exactly how it should be!
How to Make Chocolate Cake with Peanut Butter Frosting
Now comes the fun part—bringing all those ingredients together into chocolatey-peanut buttery perfection! I’ve made this cake more times than I can count, and these steps never fail me. Just follow along, and soon you’ll be slicing into the most decadent dessert.
Making the Chocolate Cake Layers
- Preheat and prep: Crank your oven to 350°F (175°C). Grease two 9-inch round cake pans with butter or non-stick spray, then dust with cocoa powder (it blends better than flour with chocolate cakes). Line the bottoms with parchment rounds if you’re extra nervous about sticking.
- Whisk dry ingredients: In your biggest mixing bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt. Get out any cocoa lumps—they’re sneaky!
- Add wet ingredients: Pour in the eggs, milk, oil, and vanilla. Beat with a hand mixer or stand mixer on medium for about 2 minutes. The batter will look thick and glossy.
- The boiling water trick: Here’s where magic happens! Slowly pour in that cup of boiling water while mixing on low. The batter will thin out dramatically—that’s normal and exactly what you want for super moist cake.
- Bake with care: Divide the batter evenly between pans (I use a kitchen scale to be precise). Bake for 30-35 minutes until a toothpick comes out with just a few moist crumbs. Don’t overbake—the cake continues cooking as it cools!
- Cool completely: Let cakes cool in pans for 10 minutes, then turn them out onto wire racks to cool fully. Frosting a warm cake is a messy disaster waiting to happen—patience pays off here.
Whipping Up the Peanut Butter Frosting
- Cream the base: In a clean bowl, beat the softened butter and peanut butter together until smooth and fluffy—about 2 minutes on medium speed. Scrape down the sides as needed.
- Sweeten it up: Gradually add the powdered sugar about 1/2 cup at a time, mixing well after each addition. The frosting will thicken up beautifully.
- Adjust consistency: Pour in the milk and beat until creamy. If it’s too thick, add another tablespoon of milk. Too thin? A bit more powdered sugar. You want it spreadable but not runny.
- Frost like a pro: Place one cooled cake layer on your serving plate. Spread a generous amount of frosting over the top. Gently place the second layer upside down (for a flat top) and frost the top and sides. A butter knife dipped in hot water helps smooth everything perfectly.
There you have it—the most irresistible chocolate peanut butter combo you’ll ever taste. Now try not to eat all the frosting before it reaches the cake (no judgment if you sneak a spoonful or two).
Why You’ll Love This Chocolate Cake with Peanut Butter Frosting
This isn’t just any cake—it’s the kind that makes people sneak second slices when they think no one’s looking. Here’s why it’s become my most-requested dessert:
- Perfect flavor balance: The rich chocolate cake isn’t overly sweet, letting that creamy peanut butter frosting shine with its salty-sweet magic.
- Foolproof method: No fancy techniques here—just straightforward steps that work every time, even if you’re not a baking pro.
- Always a hit: From kids’ birthdays to dinner parties, this combo wins over everyone. I’ve yet to meet someone who doesn’t go back for seconds.
- Better than boxed: That boiling water trick gives it bakery-quality moisture without any weird ingredients.
- Customizable: Dress it up with chocolate shavings or keep it simple—it’s delicious either way.
Trust me, one bite and you’ll understand why my friends call this “the cake that ruined all other cakes.”
Tips for the Best Chocolate Cake with Peanut Butter Frosting
After making this cake more times than I can count (much to my friends’ delight), I’ve learned all the little tricks that take it from good to unforgettable. Here’s my hard-earned wisdom for perfect results every time:
- Patience with cooling: I know it’s tempting, but don’t frost warm cake layers! That extra 30 minutes of cooling prevents the frosting from melting into a sad, slippery mess. I set a timer so I don’t cheat.
- Peanut butter matters: Skip the stabilized supermarket stuff—natural peanut butter with just peanuts and salt gives the frosting incredible depth. Stir it well before measuring (the oil separation is normal).
- Room temp ingredients: Cold eggs and milk can make the batter lumpy. I leave mine out for about an hour before baking—it makes such a difference in texture.
- Hot water hack: That boiling water step isn’t optional! It “blooms” the cocoa powder, deepening the chocolate flavor. Just pour slowly while mixing to avoid splatters.
- Storage smarts: This cake stays moist for days! Keep it covered at room temp for 1-2 days, or refrigerate for up to 5 days. The frosting firms up when chilled—I like to let slices sit at room temp for 15 minutes before serving.
- Crumb coat trick: For super smooth frosting, do a thin “crumb coat” first, chill for 15 minutes, then add the final layer. No more pesky chocolate crumbs in your beautiful frosting!
My biggest tip? Make two—this cake disappears faster than you’d believe. I learned that the hard way at my nephew’s birthday party last year!
Ingredient Substitutions for Chocolate Cake with Peanut Butter Frosting
Life happens—sometimes you’re missing an ingredient or need to accommodate dietary needs. Here are my tried-and-true swaps that keep this cake delicious:
- Milk: Almond, oat, or soy milk work great in both cake and frosting. Just avoid anything too thin like rice milk.
- Flour: For gluten-free, use a 1:1 gluten-free flour blend (my sister swears by Bob’s Red Mill).
- Vegetable oil: Melted coconut oil or even applesauce (for less fat) does the trick.
- Eggs: Flax eggs (1 tbsp ground flax + 3 tbsp water per egg) work surprisingly well here.
- Peanut butter: Sunflower seed butter makes a fantastic nut-free alternative—the flavor still pairs beautifully with chocolate.
One rule I never break? Real butter in the frosting—some things are worth the indulgence!
Serving Suggestions for Chocolate Cake with Peanut Butter Frosting
This cake shines all on its own, but why stop there? Here are my favorite ways to serve it that’ll have everyone begging for the recipe:
- Classic combo: A tall glass of cold milk—it cuts through the richness perfectly.
- For coffee lovers: Serve with espresso or dark roast coffee—the bitterness balances the sweetness.
- Ice cream upgrade: Warm slices slightly and top with vanilla bean ice cream for the ultimate dessert.
- Berry twist: Fresh raspberries or strawberries add a bright, tart contrast to all that decadence.
- Midnight snack: Straight from the fridge with no accompaniments—because sometimes 2am cravings demand simplicity.
My personal favorite? Leftover cake for breakfast with a strong cup of coffee—don’t judge till you’ve tried it!
Storing and Reheating Chocolate Cake with Peanut Butter Frosting
Here’s the good news—this cake actually gets better after a day as the flavors meld together! To keep it tasting fresh:
- Room temp: Cover with plastic wrap or a cake dome for 1-2 days max—perfect if you’re serving it soon.
- Refrigerate: For longer storage (up to 5 days), pop it in the fridge. The frosting will firm up—just let slices sit out for 10 minutes before eating to soften.
- Freezing: Wrap unfrosted cake layers tightly in plastic, then foil. Freeze for up to 3 months. Thaw overnight before frosting.
- Reheating: Microwave individual slices for 10-15 seconds—just enough to take the chill off and make the frosting creamy again.
Pro tip: Write the date on freezer packages—future you will thank past you!
Nutritional Information for Chocolate Cake with Peanut Butter Frosting
Let’s be real—this cake isn’t health food, but every now and then we all deserve something this delicious! Here’s the approximate nutritional breakdown per generous slice (because who eats small pieces?):
- Calories: About 450 (worth every single one)
- Fat: 22g (mostly from the peanut butter and butter—the good stuff!)
- Carbohydrates: 58g (that chocolatey goodness doesn’t come free)
- Protein: 8g (peanut butter packs a surprising punch)
- Sugar: 35g (it’s dessert—what did you expect?)
Remember, these are estimates—actual values may vary slightly depending on your ingredients and how thick you slice it (no judgment here!).
FAQs About Chocolate Cake with Peanut Butter Frosting
Over the years, I’ve gotten all sorts of questions about this cake—some from panicked bakers mid-recipe! Here are the answers to the most common ones that might pop up while you’re baking:
- “Can I use crunchy peanut butter in the frosting?” Absolutely! I actually love the texture it adds. Just know the frosting won’t be as smooth—great if you enjoy little peanut surprises in each bite.
- “Help! My cake batter is super thin—did I mess up?” Nope, you’re golden! That boiling water makes the batter look alarmingly thin, but it bakes up perfectly moist. Resist the urge to add more flour.
- “How long will this cake keep fresh?” At room temp, 1-2 days max (covered tightly). In the fridge, up to 5 days—though in my house it never lasts that long!
- “Can I make cupcakes instead?” Yes! Fill liners 2/3 full and bake at 350°F for 18-22 minutes. Same amazing taste in portable form.
- “Why don’t you use buttermilk in the cake?” The boiling water + baking soda combo gives similar tenderness without needing buttermilk. But if you want to try it, replace the milk with buttermilk and reduce baking soda to 1 tsp.
Still have questions? My email’s always open—I love helping fellow bakers nail this recipe!
Print
1 Perfect Chocolate Cake with Peanut Butter Frosting You’ll Crave
- Total Time: 55 minutes
- Yield: 12 servings 1x
- Diet: Vegetarian
Description
A rich chocolate cake topped with creamy peanut butter frosting.
Ingredients
- 1 3/4 cups all-purpose flour
- 2 cups sugar
- 3/4 cup cocoa powder
- 1 1/2 tsp baking powder
- 1 1/2 tsp baking soda
- 1 tsp salt
- 2 eggs
- 1 cup milk
- 1/2 cup vegetable oil
- 2 tsp vanilla extract
- 1 cup boiling water
- 1 cup peanut butter
- 1/2 cup butter, softened
- 2 cups powdered sugar
- 1/4 cup milk
Instructions
- Preheat oven to 350°F. Grease and flour two 9-inch cake pans.
- Mix flour, sugar, cocoa, baking powder, baking soda, and salt in a large bowl.
- Add eggs, milk, oil, and vanilla. Beat for 2 minutes.
- Stir in boiling water. Batter will be thin.
- Pour into pans. Bake 30-35 minutes.
- Cool cakes completely.
- Beat peanut butter and butter until smooth.
- Gradually add powdered sugar and milk. Beat until creamy.
- Frost cooled cake.
Notes
- Use natural peanut butter for best results.
- Let cakes cool completely before frosting.
- Store cake in refrigerator.
- Prep Time: 20 minutes
- Cook Time: 35 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Nutrition
- Serving Size: 1 slice
- Calories: 450
- Sugar: 35g
- Sodium: 320mg
- Fat: 22g
- Saturated Fat: 8g
- Unsaturated Fat: 12g
- Trans Fat: 0g
- Carbohydrates: 58g
- Fiber: 3g
- Protein: 8g
- Cholesterol: 45mg
