Moist Peanut Butter Zucchini Cake Recipe

A thick slice of dense cake with caramel glaze drizzled over the top on a white plate.

Moist Peanut Butter Zucchini Cake Recipe

This moist peanut butter zucchini cake is such a tasty surprise! The grated zucchini sneaks in moisture that keeps the cake soft and tender, while the peanut butter brings a deep, creamy flavor that’s just perfect with a light, fluffy frosting.

I love baking this cake because it feels like I’m treating my family to dessert and sneaking in some veggies at the same time. Honestly, who knew a peanut butter zucchini cake could be both comforting and a little bit nutritious? 🥳

Every time I serve this cake, it vanishes quickly—everyone ends up asking for seconds! Best part? It’s super simple to make, making it a perfect choice for busy days or those special sweet moments.

Say hello to your new favorite dessert: a moist peanut butter zucchini cake that hits the sweet spot between indulgent and wholesome. Grated zucchini keeps the crumb extra tender and moist, while creamy peanut butter adds a rich, nutty depth of flavor. We finish it off with a light peanut butter cream cheese frosting that complements the cake without weighing it down.

In this recipe, I’ll guide you through every step—from gathering ingredients to the simple frosting. You’ll find easy instructions, timing tips (expect about 15 minutes of prep, 40–50 minutes baking, and at least 30 minutes cooling), plus smart swaps if you want to switch things up (try carrots instead of zucchini, or sunflower seed butter if you need nut-free). This peanut butter zucchini cake comes together quickly, is family-friendly, and is always a crowd-pleaser. Leftovers are easy to store in the fridge for up to 4 days, and if you want to save some for later, unfrosted slices freeze beautifully for up to 3 months.

  • What you’ll get: a full ingredient list, handy swaps, step-by-step method, frosting guide, expert tips, and storage tricks.
  • Skill level: easy — perfect for newbies and seasoned bakers alike.
  • Total time: about 1½ hours from start to finish.

Why This Cake Stands Out

This peanut butter zucchini cake is wonderfully moist and packed with flavor while sneaking in a bit of wholesome veggie goodness. The zucchini keeps everything soft and tender without a strong veggie taste, letting the creamy peanut butter shine through with its rich, irresistible flavor—much like in our Peanut Butter Chocolate Chip Zucchini Bread. The recipe is easy and flexible (comparable in effort to our easy one-bowl zucchini bread), great for busy days or celebrations, and adapts well if you want to swap ingredients (think carrots for zucchini, sunflower seed butter in place of peanut butter, or vegan cream cheese for the frosting). Plus, it stores well and freezes nicely, so you can enjoy it whenever the craving hits.

Ingredients and Substitutions

overhead view of labeled ingredients arranged on a light countertop, featuring zucchini and baking items

  • 2 cups grated zucchini (about 2 medium zucchinis)
  • 1 cup creamy peanut butter
  • 1 cup granulated sugar
  • 1/2 cup brown sugar, packed
  • 3 large eggs
  • 1/2 cup vegetable oil
  • 1 teaspoon vanilla extract
  • 2 cups all-purpose flour
  • 1 teaspoon baking soda
  • 1/2 teaspoon baking powder
  • 1/2 teaspoon salt
  • 1/2 teaspoon ground cinnamon
  • 1/4 teaspoon ground nutmeg
  • 4 ounces cream cheese, softened
  • 1/4 cup creamy peanut butter
  • 2 cups powdered sugar
  • 2 tablespoons milk (add more if needed)
  • 1/2 teaspoon vanilla extract

Step-by-Step Baking Instructions

  1. Preheat oven to 350°F (175°C) and grease and flour a 9×13-inch pan or two 9-inch round pans.
  2. In a large bowl whisk together 1 cup creamy peanut butter, 1 cup granulated sugar, and 1/2 cup packed brown sugar until smooth.
  3. Beat in 3 large eggs one at a time, mixing well after each addition.
  4. Stir in 1/2 cup vegetable oil and 1 teaspoon vanilla extract until combined.
  5. In a separate bowl sift together 2 cups all-purpose flour, 1 teaspoon baking soda, 1/2 teaspoon baking powder, 1/2 teaspoon salt, 1/2 teaspoon ground cinnamon, and 1/4 teaspoon ground nutmeg.
  6. Slowly add the dry ingredients to the wet mixture, folding gently until just combined to avoid overmixing.
  7. Grate about 2 cups zucchini (from ~2 medium zucchini) and gently squeeze out excess moisture with a towel.
  8. Fold the grated zucchini into the batter until evenly distributed.
  9. Pour the batter into the prepared pan(s) and smooth the top.

    collage showing grated zucchini, squeezing moisture, mixing batter, and batter in a loaf pan

  10. Bake for 40–50 minutes, checking at 40 minutes; a toothpick inserted in the center should come out clean or with a few moist crumbs.
  11. Cool the cake in the pan on a wire rack for at least 30 minutes and cool completely before frosting.
  12. To make the frosting, beat 4 ounces softened cream cheese with 1/4 cup creamy peanut butter until smooth.
  13. Gradually add 2 cups powdered sugar until the frosting is light and fluffy, then stir in 2 tablespoons milk and 1/2 teaspoon vanilla, adding more milk a splash at a time to reach desired spreadability.
  14. Once the cake is completely cool, spread the peanut butter cream cheese frosting evenly on top or between layers.
  15. Slice and serve.

Tips for a Super Moist Cake

Getting that perfect moist texture with your peanut butter zucchini cake is easy if you follow a few simple tricks:

  • Grate the zucchini finely and gently squeeze out extra water with a kitchen towel (see this step-by-step technique for squeezing moisture from zucchini). This way the batter isn’t too wet but stays tender.
  • Mix the batter just until the dry ingredients blend into the wet. Overmixing can make the cake dense.
  • Start checking your cake around 40 minutes to avoid overbaking. Every oven’s a bit different, and you want your cake moist and soft.

Following these tips means your cake will come out perfectly every time. For another tender, extra-moist zucchini bake, try our Moist Greek Yogurt Zucchini Muffins. Enjoy your baking adventure! 🍰

Flavor Swaps and Add-Ins

Want to mix things up or adapt the peanut butter zucchini cake to what you have on hand? Here are some fun ideas:

If zucchini is out of season or not in your fridge, finely grated carrots are a fantastic stand-in. They offer a similar moist texture and subtle sweetness that works beautifully.

Using natural peanut butter is possible, but remember it’s often thinner and oilier, which can change the batter’s thickness and taste slightly.

For a healthier twist, try swapping all-purpose flour for whole wheat flour. If you’re baking gluten-free, these double chocolate zucchini muffins show how well zucchini keeps gluten-free batters moist and tender. You could also cut back on sugar since the zucchini adds natural sweetness—consider using a sugar alternative like stevia if you want to lower calories.

How to Store and Freeze

This peanut butter zucchini cake keeps beautifully! Store any leftover frosted cake in an airtight container in the fridge, and it will stay fresh for up to 4 days. If you have unfrosted slices, wrap them tightly and either keep them in the fridge or freeze them for up to 3 months—perfect for quick treats later on.

Prefer stocking your freezer with ready-to-eat sweets? Try Date Snickers—a freezer-friendly treat for quick cravings.

Answers to Common Questions

Can I make this cake nut-free? Yes! Swap the peanut butter for sunflower seed butter or a soy nut butter for a safe, tasty alternative.

Do I have to peel the zucchini? No need — the skin is soft and nutritious, and it blends right into the cake.

Can I use frozen zucchini? Fresh works best, but you can use frozen if you thaw and squeeze out excess moisture thoroughly before adding it.

How do I know when the cake is done? Insert a toothpick into the center—if it comes out clean or with a few moist crumbs, the cake’s ready.

Can I make cupcakes instead? Absolutely! Fill cupcake liners about 2/3 full and bake for 20-25 minutes, checking doneness with a toothpick. Or, if a muffin version sounds better, try these Double Chocolate Zucchini Muffins.

round crumb cake with caramel drizzle on a white plate Print

A moist and tender cake made with grated zucchini for moisture and creamy peanut butter for rich flavor, topped with a light peanut butter cream cheese frosting.

  • Author: Ashley
  • Prep Time: 15 minutes
  • Cook Time: 40-50 minutes
  • Total Time: 1 hour 5 minutes to 1 hour 15 minutes (excluding cooling time)
  • Yield: 12-16 servings 1x
  • Category: Desserts & Baking

Ingredients

Scale
  • 2 cups grated zucchini (about 2 medium zucchinis)
  • 1 cup creamy peanut butter
  • 1 cup granulated sugar
  • 1/2 cup packed brown sugar
  • 3 large eggs
  • 1/2 cup vegetable oil
  • 1 teaspoon vanilla extract
  • 2 cups all-purpose flour
  • 1 teaspoon baking soda
  • 1/2 teaspoon baking powder
  • 1/2 teaspoon salt
  • 1/2 teaspoon ground cinnamon
  • 1/4 teaspoon ground nutmeg
  • 4 ounces cream cheese, softened
  • 1/4 cup creamy peanut butter (for frosting)
  • 2 cups powdered sugar
  • 2 tablespoons milk (add more if needed)
  • 1/2 teaspoon vanilla extract (for frosting)

Instructions

  1. Preheat oven to 350°F (175°C) and grease and flour a 9×13-inch pan or two 9-inch round pans.
  2. In a large bowl, whisk together 1 cup creamy peanut butter, 1 cup granulated sugar, and 1/2 cup packed brown sugar until smooth.
  3. Beat in 3 large eggs one at a time, mixing well after each addition.
  4. Stir in 1/2 cup vegetable oil and 1 teaspoon vanilla extract until combined.
  5. In a separate bowl, sift together 2 cups all-purpose flour, 1 teaspoon baking soda, 1/2 teaspoon baking powder, 1/2 teaspoon salt, 1/2 teaspoon ground cinnamon, and 1/4 teaspoon ground nutmeg.
  6. Slowly add the dry ingredients to the wet mixture, folding gently until just combined to avoid overmixing.
  7. Grate about 2 cups zucchini (from approximately 2 medium zucchini) and gently squeeze out excess moisture with a towel.
  8. Fold the grated zucchini into the batter until evenly distributed.
  9. Pour the batter into the prepared pan(s) and smooth the top.
  10. Bake for 40–50 minutes, checking at 40 minutes; a toothpick inserted in the center should come out clean or with a few moist crumbs.
  11. Cool the cake in the pan on a wire rack for at least 30 minutes and cool completely before frosting.
  12. To make the frosting, beat 4 ounces softened cream cheese with 1/4 cup creamy peanut butter until smooth.
  13. Gradually add 2 cups powdered sugar until the frosting is light and fluffy, then stir in 2 tablespoons milk and 1/2 teaspoon vanilla, adding more milk a splash at a time to reach desired spreadability.
  14. Once the cake is completely cool, spread the peanut butter cream cheese frosting evenly on top or between layers.
  15. Slice and serve.

Notes

Grate the zucchini finely and gently squeeze out extra water with a kitchen towel to keep the batter moist but not too wet., Mix the batter just until the dry ingredients blend into the wet ingredients to avoid a dense cake., Start checking the cake at around 40 minutes to prevent overbaking and maintain moisture., Substitute grated carrots for zucchini if zucchini is not available, which offers similar moisture and subtle sweetness., Use sunflower seed butter instead of peanut butter for a nut-free version., Whole wheat flour can replace all-purpose flour for a healthier twist., Reduce sugar or use sugar alternatives like stevia, as zucchini adds natural sweetness., Store leftover frosted cake in an airtight container in the refrigerator for up to 4 days., Unfrosted slices can be tightly wrapped and frozen for up to 3 months., Cupcake option: fill liners 2/3 full and bake 20-25 minutes, checking doneness with a toothpick.

Nutrition

  • Serving Size: 1 slice
  • Calories: Approximately 350 calories per serving (estimated)
  • Fat: 18 g per serving (estimated)
  • Carbohydrates: 45 g per serving (estimated)
  • Protein: 8 g per serving (estimated)

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!

More in Recipes

Ashley

ABOUT THE AUTHOR

Ashley

Hi, I’m Laura Bennett, a home baker, recipe creator, and mom of two. I’m married to my husband Mark, and together we’re raising our kids, Emma and Lucas, who are always the first to test my latest baking experiments. Warm Baker started as a way to share the cozy, reliable recipes I make for my family every week — from soft breads and breakfast bakes to simple cookies that never last long in our house.

READ MORE →

Leave a Comment

Recipe rating