Chocolate zucchini cake with peanut butter icing is a delicious, moist dessert that cleverly incorporates vegetables without sacrificing flavor. The zucchini adds incredible moisture, making the cake tender and rich, while the chocolate masks any trace of vegetable taste. Topping it with creamy, salty-sweet peanut butter icing creates a unique combination that’s a hit at parties, potlucks, or any time you want to treat yourself. Before you begin, ensure you have fresh zucchini, quality cocoa powder, and creamy peanut butter for the best results. This guide will walk you through every step, provide tips, and help troubleshoot any issues for a perfect cake every time.
What You’ll Need
- 2 cups grated zucchini (about 2 medium zucchini)
- 1 3/4 cups all-purpose flour
- 1/2 cup unsweetened cocoa powder
- 1 1/2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1/2 teaspoon ground cinnamon (optional)
- 1 cup granulated sugar
- 1/2 cup brown sugar, packed
- 2 large eggs, room temperature
- 1/2 cup neutral oil (canola or vegetable)
- 1/4 cup plain yogurt or sour cream
- 2 teaspoons vanilla extract
- 1 cup semi-sweet chocolate chips (optional, for extra richness)
- For the icing:
- 1/2 cup creamy peanut butter
- 1/4 cup unsalted butter, softened
- 1 1/4 cups powdered sugar
- 1/8 teaspoon salt
- 2–3 tablespoons milk, as needed
- Baking pan (9×13-inch or two 8-inch rounds)
- Mixing bowls, whisk, spatula, grater, and electric mixer (optional for icing)
Step-by-Step
- Prepare your ingredients and equipment. Preheat your oven to 350°F (175°C). Grease your baking pan(s) with butter or nonstick spray, and line with parchment paper if desired for easy removal. Wash and dry your zucchini, then grate it using a box grater (no need to peel).
- Drain the zucchini. Place the grated zucchini in a clean kitchen towel or several paper towels. Squeeze out excess moisture over the sink. The zucchini should be moist but not dripping wet—this prevents a soggy cake.
- Mix the dry ingredients. In a medium bowl, whisk together the flour, cocoa powder, baking powder, baking soda, salt, and cinnamon (if using). Set aside.
- Combine the wet ingredients and sugars. In a large mixing bowl, whisk the eggs, granulated sugar, and brown sugar until smooth and slightly thickened. Add the oil, yogurt (or sour cream), and vanilla extract. Whisk again until well combined.
- Add the zucchini. Fold the drained, grated zucchini into the wet mixture using a spatula, ensuring even distribution.
- Combine wet and dry ingredients. Gradually add the dry mixture to the wet ingredients, stirring gently until just combined. Do not overmix—stop as soon as you no longer see streaks of flour.
- Optional: Add chocolate chips. Gently fold in the chocolate chips for extra decadence.
- Pour into the pan and bake. Spread the batter evenly in your prepared pan(s). Bake for 30–35 minutes (9×13-inch) or 25–30 minutes (8-inch rounds), until a toothpick inserted in the center comes out with a few moist crumbs but no raw batter.
- Cool the cake. Let the cake cool in the pan for 10–15 minutes, then run a knife around the edges and turn out onto a wire rack to cool completely before icing.
- Make the peanut butter icing. In a medium bowl, beat the peanut butter and softened butter together until smooth and creamy. Gradually add the powdered sugar and salt, mixing on low speed. Add milk, one tablespoon at a time, until the icing is spreadable but not runny.
- Ice the cake. Once the cake is completely cool, spread the peanut butter icing evenly over the top. For a fancier look, use a spatula to create swirls or sprinkle with chopped peanuts or chocolate shavings.
- Serve and store. Slice and serve the cake. Store leftovers covered at room temperature for up to 2 days, or refrigerate for up to 5 days (bring to room temperature before serving for best texture).
Common Mistakes
- Not draining zucchini enough: Excess moisture leads to a dense, gummy cake. Always squeeze out as much water as possible.
- Overmixing the batter: Overmixing leads to a tough, dry cake. Stir only until combined.
- Using cold eggs or dairy: Cold ingredients can seize the batter and prevent smooth mixing. Let eggs and yogurt/sour cream come to room temperature first.
- Baking too long or too short: Underbaking results in a gooey center; overbaking dries it out. Check with a toothpick starting at the shortest recommended time.
- Icing a warm cake: The icing will melt and slide off if the cake isn’t fully cooled.
- Not measuring flour correctly: Scooping flour with the measuring cup can pack it in, leading to a dry cake. Spoon flour into the cup and level off.
Tips
- Grate zucchini finely: Finer shreds blend into the cake and improve texture.
- Add espresso powder: A teaspoon of instant espresso powder in the batter boosts the chocolate flavor.
- Double the icing for thicker coverage: If you love icing, make 1.5x or 2x the peanut butter icing recipe.
- Try with other nut butters: Almond or cashew butter can be substituted for peanut butter for a different flavor.
- Make cupcakes: Divide the batter into lined muffin tins and bake for 18–22 minutes for portable treats.
- Freeze for later: The unfrosted cake can be wrapped and frozen for up to 2 months. Thaw overnight in the fridge and ice before serving.
- Use natural peanut butter with caution: If using, make sure it’s well-stirred and not too runny, as it can affect the icing texture.
- Decorate: Top with mini chocolate chips, chopped roasted peanuts, or a drizzle of melted chocolate for a professional look.
Troubleshooting
- Cake is too wet or dense: Make sure you squeezed out the zucchini thoroughly. Also, check that you measured flour correctly and didn’t underbake the cake.
- Cake is dry: This can happen if you overbaked it or used too much flour. Next time, check for doneness earlier and measure flour by spooning and leveling.
- Icing is too thick or too thin: If it’s too thick, add milk a teaspoon at a time until spreadable. If too thin, beat in more powdered sugar.
- Zucchini pieces are visible: Use the finest side of your grater, or pulse grated zucchini in a food processor for a finer texture.
- Cake sticks to the pan: Always grease and (optionally) line your pan. Let the cake cool slightly before turning out.
- Icing won’t spread smoothly: Ensure both butter and peanut butter are at room temperature and beat until creamy before adding sugar.
- Cake tastes bland: Use high-quality cocoa powder and add a pinch of salt to the icing to enhance flavors.
Frequently Asked Questions
- Can you taste the zucchini in the cake?
- No, the zucchini is almost undetectable. It adds moisture and nutrition without a strong flavor, letting the chocolate shine.
- Can I make this cake gluten-free?
- Yes, you can use a cup-for-cup gluten-free flour blend. The texture may vary slightly but will still be delicious.
- Is it possible to make the cake vegan?
- Yes. Substitute eggs with flax eggs, use non-dairy yogurt or applesauce, and choose a plant-based butter and milk for the icing.
- How do I store leftover cake?
- Store covered at room temperature for up to 2 days, or refrigerate for up to 5 days. Bring to room temperature before serving for the best texture.
- Can I freeze the cake?
- Yes, freeze the unfrosted cake, tightly wrapped, for up to 2 months. Thaw in the fridge and ice before serving for best results.
- What if I don’t have brown sugar?
- You can use all granulated sugar, but brown sugar adds extra moisture and flavor. If possible, add a tablespoon of molasses to mimic the taste.
Related
- Planet Fitness Beginner Equipment Guide: Getting Started Right
- Mission vs Vision: Key Differences and How to Explain Them
- Low Calorie Greek Yogurt Cheesecake: Summer Party Favorite
Chocolate Zucchini Cake with Peanut Butter Icing Recipe Guide