Cakes

Rich Chocolate Peanut Butter Cake Perfect for Any Occasion

fantasticrecipe fantasticrecipe
| Jul 6, 2026 | 10 min read

This post may contain affiliate links. As an affiliate, we may earn a small commission from qualifying purchases — at no extra cost to you.

One rainy afternoon, I found myself craving something rich — that’s when I decided to make a rich chocolate peanut butter cake. As I mixed together the velvety chocolate batter and creamy peanut butter, the aroma filled my kitchen, and I knew I was onto something special.

This recipe stands out because it balances the deep chocolate flavor with just the right amount of peanut butter, creating a moist cake that’s not overly sweet. It’s perfect for any occasion, whether it's a birthday celebration or a cozy family dinner, and trust me, everyone will be asking for seconds!

Why You'll Love It

Room Temperature Ingredients: Using room temperature egg and milk helps create an emulsion that ensures the batter combines smoothly, leading to a tender cake crumb. I noticed a significant difference in texture when I used cold ingredients; the cake turned out denser.
Oil Instead of Butter: Vegetable oil not only adds moisture but also keeps the cake soft for longer, thanks to its liquid state at room temperature. I made a version with melted butter, and while it was good, it didn’t hold up as well a few days later.
Cocoa Powder Quality: Using high-quality unsweetened cocoa powder enhances the chocolate flavor, making the cake richer. I experimented with a lower-grade cocoa, and it resulted in a flat taste that just didn’t compare.
Peanut Butter Frosting Balance: The combination of creamy peanut butter and powdered sugar creates a frosting that’s both sweet and nutty, perfectly complementing the chocolate cake. I found that adding a splash of milk made it easier to spread without compromising that rich flavor.

Ingredient Notes

What You'll Need

  • 1 cup all-purpose floursifted for a lighter texture; makes the cake fluffy and tender
  • 1 cup granulated sugarthis sweetens the cake and helps create a moist crumb
  • 1/2 cup unsweetened cocoa powderuse high-quality cocoa for a rich chocolate flavor; sifted to avoid lumps
  • 1 tsp baking powderthis helps the cake rise and gives it a light texture
  • 1/2 tsp baking sodaworks with the cocoa to create a nice lift in the cake
  • 1/4 tsp saltbalances the sweetness and enhances the chocolate flavor
  • 1 large eggat room temperature for better emulsification and moisture
  • 1/2 cup whole milkadds moisture and richness; make sure it's at room temperature
  • 1/2 cup vegetable oilkeeps the cake moist and tender; you could also use canola oil
  • 1 tsp vanilla extractadds depth of flavor and enhances the chocolate
  • 1/2 cup creamy peanut buttersmooth texture ensures easy mixing; adds rich flavor
  • 1/4 cup powdered sugarused for the frosting to achieve a sweet, smooth consistency
  • 1 tbsp milkto thin the peanut butter frosting if it’s too thick
  • 1/4 cup chocolate chipsfor garnish; adds a melty chocolate touch on top

When shopping for ingredients, opt for high-quality cocoa and peanut butter for the best flavor in your Chocolate Peanut Butter Cake. Room temperature ingredients blend better, so take them out of the fridge ahead of time. Using fresh baking powder and soda ensures the cake rises beautifully.

Easy Substitutions

  • Dairy-free: substitute whole milk with almond or oat milk — the cake may be slightly less rich, but it will still be moist.
  • Gluten-free: replace all-purpose flour with a 1:1 gluten-free flour blend — the texture may be a bit denser, but it will still hold together nicely.
  • Egg-free: use a flax egg (1 tbsp ground flaxseed mixed with 2.5 tbsp water) — this will keep the moisture, but the cake may be slightly less fluffy.
  • Lower calorie: swap granulated sugar for a sugar substitute like erythritol — it will still be sweet, but the texture may be a bit different.
Ingredients for Rich Chocolate Peanut Butter Cake Perfect for Any Occasion
Everything you need for this recipe

How to Make This Recipe

Prep & Mix

1

Preheat your oven to 350°F and grease an 8-inch round cake pan. This will ensure the cake slides out easily after baking.

2

In a large bowl, whisk together 1 ¾ cups of flour, 1 cup of sugar, ¾ cup of cocoa powder, 1 teaspoon of baking powder, 1 teaspoon of baking soda, and ½ teaspoon of salt. This mixture should be well combined and smell rich and chocolatey, laying the foundation for your cake.

3

In a separate bowl, beat 1 egg, then add 1 cup of milk, ½ cup of vegetable oil, and 2 teaspoons of vanilla extract. Mix until smooth, about 1-2 minutes. The vanilla will add a lovely aroma, enhancing the flavor of the cake.

4

Pour the wet ingredients into the dry ingredients and mix until just combined, taking care not to overmix. This should take about 1-2 minutes. Overmixing can lead to a dense cake, so stop as soon as you see no dry flour.

Bake

5

Pour the batter into the prepared cake pan, smoothing the top with a spatula. This helps the cake rise evenly.

6

Bake in the preheated oven for 25-30 minutes. You'll know it's done when the tops are springy to the touch and a toothpick inserted in the center comes out clean.

Cool & Serve

7

Allow the cake to cool in the pan for 10 minutes before transferring it to a wire rack to cool completely. This prevents the bottom from becoming soggy.

8

While the cake cools, prepare the peanut butter frosting by mixing 1 cup of peanut butter with 2 cups of powdered sugar in a bowl. The mixture should be thick and creamy.

9

Add 1 tablespoon of milk to the peanut butter mixture to achieve a spreadable consistency. If it’s too thick, add another tablespoon of milk, but be careful not to make it too runny.

10

Frost the cooled cake with the peanut butter frosting and sprinkle chocolate chips on top for a sweet finishing touch. Slice the cake and serve on plates to enjoy your delicious Chocolate Peanut Butter Cake.

Pro Tips

Use High-Quality Cocoa Powder:

The type of cocoa powder you choose can make a big difference in flavor. I’ve tested several brands, and I always go for Dutch-processed cocoa for a deeper, more intense chocolate taste. It gives your cake a rich color and that velvety texture we all love.

Add Espresso Powder:

A teaspoon of espresso powder can enhance the chocolate flavor without making your cake taste like coffee. I incorporate it into the dry ingredients, and trust me, it brings out a whole new level of richness that’s hard to resist!

Use Room Temperature Ingredients:

Bringing your eggs and milk to room temperature helps them blend more easily into the batter. I’ve found that it results in a smoother, more uniform texture, which is key for a cake that rises beautifully without any dense spots.

Melt Peanut Butter for Easier Mixing:

Warm your peanut butter slightly in the microwave for about 10-15 seconds. This makes it much easier to incorporate into the frosting and helps create that smooth, creamy texture that everyone will love!

Chill the Cake Before Frosting:

Letting the cake chill in the fridge for at least 30 minutes before frosting helps the layers firm up. I’ve experienced too many times where the frosting slides off a warm cake, so this step is key for a beautifully finished dessert.

Variations & Customizations

Flavor Twists

Espresso Chocolate Peanut Butter Cake

Add 2 tablespoons of finely ground espresso beans to the dry ingredients for a rich, coffee-infused twist. The result is a decadent cake with a deep chocolate flavor enhanced by a subtle coffee kick, giving it a wonderfully aromatic boost that pairs beautifully with the creamy peanut butter frosting.

Mint Chocolate Peanut Butter Cake

Incorporate 1 teaspoon of peppermint extract into the wet ingredients and use 1/2 cup of crushed peppermint candies as a topping instead of chocolate chips. This variation brings a refreshing minty flavor that complements the chocolate and peanut butter, creating a vibrant and festive cake that’s perfect for holiday gatherings.

Seasonal Versions

Pumpkin Chocolate Peanut Butter Cake

Replace the egg and milk with 1/2 cup of pure pumpkin puree and add 1 teaspoon of pumpkin pie spice to the dry ingredients. The cake becomes moist and flavorful, with a warm, spiced aroma that’s perfect for fall. It has a beautiful orange hue and a soft, tender crumb that makes each bite feel like a cozy hug.

Storage & Meal Prep

How to Store

Room Temperature

Your Chocolate Peanut Butter Cake can be stored at room temperature for up to 2 days. Just keep it in an airtight container to prevent it from drying out. I recommend using a cake dome if you have one; it keeps the moisture in beautifully.

Refrigerator

If you need to keep it longer, store the cake in the fridge for up to 5 days. Make sure it’s completely cooled before wrapping it tightly in plastic wrap or placing it in a sealed container to avoid any absorption of odors. Don’t stack them while still warm; they'll get soggy on the bottom.

Freezer

You can freeze this cake for up to 3 months. To do this, slice it first and flash freeze the pieces on a sheet pan. Once solid, wrap each slice individually in plastic wrap and then place them in a freezer bag. For thawing, simply leave them in the fridge overnight.

Meal Prep

I suggest doubling the recipe if you're making it for a gathering or to enjoy throughout the week. It stays fresh for about 5 days in the fridge. Use airtight containers for storage, and when you’re ready to indulge, pop a slice in the microwave for about 10-15 seconds to warm it up perfectly.

Equipment You'll Need

Essential

8-inch round cake pan: A sturdy, non-stick cake pan ensures even baking and easy release. I prefer a lighter-colored pan to help prevent over-browning, while a darker one might bake faster but can lead to a drier cake.

Electric mixer: Using an electric mixer gives you a fluffy, well-aerated batter in no time. A hand mixer is lighter and easier to handle, but a stand mixer can make the frosting with less effort, leaving your hands free for other tasks.

Nice to Have

Wire rack: Cooling the cake on a wire rack prevents sogginess by allowing air to circulate around it. If you don’t have one, a plate will do, but the crust might get a bit soft.

Frequently Asked Questions

Can I use natural peanut butter instead of creamy?

Yes, you can use natural peanut butter, but it might alter the texture slightly. Natural peanut butter tends to be runnier, so you may need to adjust the flour to achieve the right consistency.

Why did my Chocolate Peanut Butter Cake come out dry?

Dryness often occurs from overbaking or using too much flour. Make sure to measure your ingredients accurately and check for doneness a few minutes before the recommended baking time.

How can I make this cake gluten-free?

To make a gluten-free version, substitute the all-purpose flour with a 1:1 gluten-free flour blend. Ensure the blend you choose contains xanthan gum for better structure and texture.

What can I use instead of eggs in this recipe?

You can use unsweetened applesauce or a flaxseed meal mixture as an egg substitute. For each egg, mix 1 tablespoon of flaxseed meal with 2.5 tablespoons of water and let it sit until it thickens.

How do I serve Chocolate Peanut Butter Cake?

Serve it warm with a scoop of vanilla ice cream or a drizzle of chocolate sauce for extra indulgence. It’s also delightful when topped with whipped cream and chopped peanuts for added crunch!

This Chocolate Peanut Butter Cake is a showstopper that always brings smiles, whether it's for a birthday or just a Tuesday treat. For an extra indulgence, try drizzling some warm chocolate sauce on top right before serving. I can’t wait to hear how yours turns out — share your thoughts in the comments or pin this recipe for later!

starstarstarstarstar
No reviews yet

Chocolate Peanut Butter Cake

by fantasticrecipe

Indulge in this rich chocolate peanut butter cake, perfect for any celebration or sweet craving.

Pin
Chocolate Peanut Butter Cake
Prep 15 min
Cook 30 min
Total 45 min
Servings 8
Calories 340

Save this recipe!

Enter your email and we'll send it straight to your inbox.

Ingredients

Servings

Makes 8 servings

Ingredients

  • 1 cup all-purpose flour
  • 1 cup granulated sugar
  • 1/2 cup unsweetened cocoa powder
  • 1 tsp baking powder
  • 1/2 tsp baking soda
  • 1/4 tsp salt
  • 1 large egg
  • 1/2 cup whole milk
  • 1/2 cup vegetable oil
  • 1 tsp vanilla extract
  • 1/2 cup creamy peanut butter
  • 1/4 cup powdered sugar
  • 1 tbsp milk
  • 1/4 cup chocolate chips

Instructions

Method

  1. 1

    Preheat oven to 350°F and grease an 8-inch round cake pan.

  2. 2

    In a large bowl, whisk together flour, sugar, cocoa powder, baking powder, baking soda, and salt.

  3. 3

    In another bowl, beat the egg.

  4. 4

    Add milk, vegetable oil, and vanilla extract to the egg and mix well.

  5. 5

    Pour the wet ingredients into the dry ingredients and mix until just combined, about 1-2 minutes.

  6. 6

    Pour the batter into the prepared cake pan, smoothing the top with a spatula.

  7. 7

    Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted in the center comes out clean.

  8. 8

    While the cake is baking, prepare the peanut butter frosting by mixing peanut butter and powdered sugar in a bowl.

  9. 9

    Add 1 tablespoon of milk to the peanut butter mixture to achieve a spreadable consistency.

  10. 10

    Once the cake is baked, allow it to cool in the pan for 10 minutes before transferring to a wire rack to cool completely.

  11. 11

    Frost the cooled cake with the peanut butter frosting and sprinkle chocolate chips on top.

  12. 12

    Slice the cake and serve on plates.

Nutrition (per serving)

Calories 340
Protein 6g
Carbohydrates 45g
Fat 17g
Fiber 2g
Sodium 180mg

If you enjoyed this recipe, please consider leaving a star rating and let me know how it went in the comments below.

Ratings & Reviews

Be the first to review this recipe!

Leave a Review

Your rating:

More Cakes Recipes