These chocolate zucchini cupcakes are the most moist and fudgy cupcakes you’ll ever try thanks to grated zucchini in the batter. They have a chocolate flavor that’s not too rich and chocolate frosting on top makes these perfect with a glass of milk. No one will ever guess that there’s zucchini in these cupcakes!
If you’re looking for chocolate cupcakes that are incredibly moist and tender – then these chocolate zucchini cupcakes are the perfect recipe. The grated zucchini dissolves as the cupcakes bake so you don’t taste or see it whatsoever. Instead, it adds moisture to make the cupcakes soft, slightly fudgy and incredibly moist. The recipe is simple and straightforward and you end up with chocolate cupcakes that have the absolute best texture.
Making Chocolate Zucchini Cupcakes – Step-by-Step Photos
This recipe is very straight forward and made entirely by hand (apart from the frosting). I’ve included step-by-step photos and recipe tips below.
- Start by preheating the oven to 350F (180C or 170C fan forced) and lining your muffin tin with cupcake papers. Because cupcake batter is much thinner than muffin batter, lining the muffin pan (as opposed to greasing and flouring) is absolutely necessary.
- Grate the zucchini using a fine cheese grater. Finely grated zucchini dissolves into the batter much better. Then gently squeeze out any excess liquid using a paper towel. It will not and should not be bone dry. You just want to remove any pools of liquid.
- In a medium bowl, whisk together the dry ingredients: flour, cocoa, baking powder, baking soda and salt. If you notice that your cocoa powder is quite lumpy, sift it first to remove any lumps.
- Then in a separate bowl you’ll whisk together the oil, brown sugar, granulated sugar, eggs, vanilla and milk. You want to ensure that you get out all the clumps of brown sugar and that you don’t have pieces of egg in the mixture.
- Whisk the dry ingredients into the wet ingredients until smooth. The photo below shows the mixture about ½ of the way there.
- Then stir in the grated zucchini. At this point, you’ll see strands of zucchini but they will dissolve as the cupcakes bake.
- Then spoon the batter into the prepared tin, dividing it evenly between the 12 muffin papers. Each should be about ⅔ to ¾ full.
- The cupcakes will need to bake in the preheated oven for about 16-20 minutes, or until the tops look set and an inserted toothpick comes out clean. Always with cupcakes it’s important to cool them in the tray first for at least 10 minutes, then carefully remove them from the muffin pan to continue cooling. If you remove them from the muffin pan too quickly the cupcakes can lose their shape because they’re still so warm.
Frosting, Decorating & Variations
I frosted these chocolate zucchini cupcakes with chocolate frosting for a double dose of chocolate. The recipe below is enough to pipe the cupcakes high with frosting (I used a 1M tip). However, if you plan to frost your cupcakes with a knife for a thinner layer of frosting, feel free to divide the frosting recipe in half (I’ve included the measurements in the recipe notes).
For a less sweet chocolate frosting, I love my chocolate cream cheese frosting recipe too.
I often have readers ask if they can add chocolate chips into this recipe. Because the cupcake batter is quite thin, I only recommend using mini chocolate chips instead of regular. Regular are too heavy and can fall to the bottom of the cupcakes. If you choose to add in chocolate chips, I’d use ½ cup of mini chocolate chips. Note that you may end up with closer to 14 cupcakes if adding in chocolate chips.
Fudgy, tender and incredibly moist – these chocolate zucchini cupcakes are the perfect way to use up your fresh garden zucchini without anyone knowing there’s zucchini in the batter. And for more zucchini treats, be sure to try:
Chocolate Zucchini Cupcakes
Equipment
- 12-cavity muffin pan
Ingredients
Chocolate Zucchini Cupcakes
- ¾ cup finely grated zucchini
- 1 cup all-purpose flour (125 grams)
- ½ cup cocoa powder (40 grams)
- ½ teaspoon baking powder
- ½ teaspoon baking soda
- ¼ teaspoon salt
- â…“ cup vegetable oil (80 ml) or canola oil
- ½ cup brown sugar (100 grams) light or dark
- ½ cup granulated sugar (100 grams)
- 2 large eggs
- 1 teaspoon vanilla extract
- â…“ cup milk (80 ml) I recommend 2%
Chocolate Frosting
- 1 cup unsalted butter (226 grams) softened
- 2-3 cups powdered sugar (220-330 grams)
- ½ cup cocoa powder (40 grams) sifted
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- 4-6 tablespoons whipping cream (60-90 ml) or milk
Instructions
Chocolate Zucchini Cupcakes
- Preheat the oven to 350F (180C or 170C fan forced). Line a 12-cavity muffin pan with muffins papers.
- Blot the grated zucchini with paper towel to remove any excess liquid. It shouldn't be bone dry, but you don't want pools of water at the bottom of your measuring cup.
- In a medium bowl whisk together the flour, cocoa, baking powder, baking soda and salt. If the cocoa appears lumpy, sift it first.
- In a large bowl whisk together the oil, brown sugar, granulated sugar, eggs, vanilla extract and milk. When finished you should no longer have lumps of brown sugar or pieces of egg.
- Carefully whisk the dry ingredients into the wet ingredients until smooth.
- Stir in the grated zucchini.
- Spoon the batter evenly between the 12 lined cupcake papers. Each should be about ⅔ to ¾ full. You may need to make up to 14 cups.
- Bake in the preheated oven for 18-22 minutes or until the tops look set and an inserted toothpick comes out clean.
- Cool the cupcakes in the pan for at least 10 minutes, then transfer to a wire rack to continue cooling
Chocolate Frosting
- In a large bowl beat the butter until smooth.
- Add in 1 cups powdered sugar, salt and vanilla. Beat into the butter starting with the mixer on a low speed.
- Turn off the mixer and add in the cocoa powder. Beat in, again starting with the mixer on a low speed.
- Beat in the rest of the powdered sugar about ½ cup at a time, alternating with 1 tablespoon of milk or cream until the desired consistency and sweetness is reached.
- Ensure the cupcakes are completely cooled before frosting. Either frost with a knife or transfer the frosting to a piping bag and pipe on the frosting (I used a piping bag and 1M tip).
Notes
- Zucchini: You'll likely need 1 small to medium sized zucchini. You do not need to peel the zucchini first. Simply cut off the ends and grate using a fine grater. Hold the zucchini perpendicular to the grated so you get short pieces instead of long strands.
- Cocoa: If the cocoa powder is lumpy, be sure to sift it first.Â
- Frosting: The amounts provided will make enough frosting to pipe each cupcake with a large amount. If you plan to frost your cupcakes with a knife or simply don't want quite as much, divide the recipe in half. You'll need:
- 1/1 cup unsalted butter
- 1-1 ½ cups powdered sugar
- ¼ cup cocoa powder
- ½ teaspoon vanilla
- pinch of salt
- Storage: Cupcakes are always best fresh. Store cupcakes in an airtight container at room temperature for up 2-3 days, or in the fridge for 3-4 days. Cupcakes are best at room temperature. Take them out of the fridge about 30 minutes before enjoying.Â
- Nutrition: Details provided are an estimate only and based on 1 cupcake with frosting, assuming that all frosting is used and that the recipe yields 12 equal-sized cupcakes.Â
Nutrition
Wonderful cupcakes – five stars. We will be making more of them.
Thank you so much John! I’m so glad you enjoyed the recipe