Need help finding a recipe?

  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Crumb Top Baking

Simple, Approachable Desserts and Savory Recipes

  • Home
  • About
  • All Recipes
  • Air Fryer
  • Desserts
  • Subscribe
  • Photography
You are here: Home / Desserts / Chocolate Zucchini Cupcakes

Chocolate Zucchini Cupcakes

September 2, 2022 Updated: October 2, 2023 By Leanne 54 Comments

Jump to Recipe·Print Recipe

Chocolate Zucchini Cupcakes are rich and fudgy chocolate cupcakes, with almost 2 cups of grated zucchini, cocoa and chocolate chips. Enjoy these zucchini cupcakes as a decadent muffin or top them with your favorite frosting!

I know, that seems like a lot of zucchini packed into 12 cupcakes, but I promise, you can’t taste it! Zucchini adds moisture to baked goods, like these almond flour zucchini muffins, so it makes these cupcakes extra soft and tender.

Chocolate cupcake on a cupcake wrapper with a bite taken out of it.

*This recipe was originally published in August 2018. It has been updated with new photos, text and adjustments to the recipe.

Zucchini season is in full swing here! While I don’t grow it myself, I always stock up at the farmer’s market. (When I’m not baking with it, I’m usually spiralizing it to make these zucchini noodle bowls)!

Why you’ll love this recipe

  • These zucchini cupcakes are oil-based and made without butter or milk, so they’re dairy-free. (Just make sure to use dairy-free frosting and chocolate chips).
  • You don’t need to press or drain the zucchini. Just shred it and add it to the batter. This helps create super moist chocolate cupcakes.
  • There’s no electric mixer required. All you need are a few bowls, a whisk and a spatula.
  • They taste so decadent, even without the frosting, as they have a rich and fudgy texture.

Details on the ingredients

Below is an overview of the ingredients used. For the exact quantities, please visit the recipe card at the end of this post.

Ingredients to make chocolate zucchini cupcakes arranged individually.

Zucchini – You’ll need 1 ¾ cups of grated zucchini. Just use the larger shredding holes on your box grater.

Cocoa – For a rich and chocolatey cupcake, the recipe calls for ½ cup of Dutch-processed cocoa. I haven’t tested this recipe with natural cocoa.

Flour – While I normally use whole wheat flour for much of my baking, I decided to use all-purpose white flour for these cupcakes. You’ll need 1 cup, spooned and levelled.

Oil – I like to use extra virgin olive oil in my baking, but you can use another type of oil like canola, avocado or olive oil.

Coconut sugar – This sweetener adds a rich, caramel flavor and is less refined than brown sugar. If you don’t have coconut sugar, you can substitute with lightly packed brown sugar. 

Cinnamon – You’ll love the hint of cinnamon in these cupcakes. It really enhances the chocolate flavor. 

Eggs – Two eggs will add moisture and help with leavening. Bring them to room temperature before whisking them with the other ingredients.

Vanilla – A full tablespoon is added to enhance the flavor of the other ingredients. Be sure to use real vanilla extract and not artificial.

Baking soda and baking powder – Both are used in combination for leavening.

Salt – Some fine sea salt is added as a flavor enhancer. You can also use kosher salt, if you prefer.

Chocolate chips – For extra chocolate flavor, I like to add 3 tablespoons of mini chocolate chips. You can leave them out if you prefer, but the chocolate chips melt into the muffins to create an extra fudgy texture.

How to make chocolate zucchini cupcakes

Preheat your oven to 325F and line a 12-cup muffin pan with cupcake liners.

Whisk together your dry ingredients (except the chocolate chips).

In a separate large bowl, whisk together your eggs and then whisk in the remaining wet ingredients, adding the zucchini last.

Gradually, stir the dry ingredients into the wet mixture. (The batter will be thick).

Stir in the chocolate chips.

Collage of 4 images demonstrating how the dry ingredients and wet mixture come together to make the cupcake batter.

Divide the batter into the prepared muffin pan. (Each cup should be about ¾ full).

Cupcake batter divided into a muffin pan.

Bake for 20-22 minutes, or until a toothpick inserted into the middle of a muffin comes out clean.

Let cool completely. Enjoy them unfrosted (like muffins) or top with your favorite chocolate frosting. (One of my faves is this chocolate avocado frosting).

Cupcakes baked up in a muffin pan.

Frequently asked questions

How do you grate zucchini for cupcakes?

You’ll want the zucchini coarsely shredded so just use the larger shredding holes on a box grater (cheese grater). If you use the small holes and finely shred the zucchini, you will end up with too much. 

Do you need to squeeze the moisture out of the grated zucchini?

No, you don’t need to do this. The moisture will ensure these cupcakes are soft and tender. Plus, it saves time!

Do you need to peel zucchini before baking with it?

No, you can leave the skin on the zucchini. Just try to choose zucchini without any dents or scratches on the skin, and wash well before shredding. The skin is thin so it really isn’t noticeable in the cake.

Can this cupcake recipe be made into a zucchini cake?

I’ve only tested this recipe as cupcakes, but if you’re looking for a cake recipe, you can try this chocolate zucchini cake!

Overhead view of cupcakes being topped with frosting.

Storage and freezing

Store these unfrosted chocolate cupcakes in an airtight container at room temperature. They will stay moist and tender for 3 days. If they’re frosted, store them in the fridge.

To freeze, place the unfrosted cupcakes in a freezer safe container in a single layer. They’ll last in the freezer for up to 3 months.

Let defrost at room temperature before frosting.

Measuring ingredients

For convenience, US cup measurements are included in the recipe card for this recipe. To ensure greater accuracy, however, weight and volume measurements are also provided. So, if you see grams (g), you’ll want to use a kitchen scale to weigh your ingredients, and if you see milliliters (ml), you’ll want to use a liquid measuring cup. Smaller quantities of ingredients are provided in teaspoons and tablespoons.

Key recipe tips

  • Bring your eggs to room temperature as they’ll mix together with the other ingredients more easily.
  • Don’t drain or press the water out of the grated zucchini. The moisture is needed in the batter.
  • When measuring the flour for this recipe, use the spoon and level method. I’ve also included the amount in the recipe card in grams.
  • When filling the cupcake pan, each cavity should be about ¾ full. 
  • The cupcakes should be fully cooled before frosting. If they’re still warm, the frosting will melt off.
Overhead view of zucchini cupcakes on a plate and topped with chocolate frosting.

More cupcake recipes

  • Vanilla Almond Flour Cupcakes
  • Pineapple Coconut Cupcakes
  • Flourless Ricotta Cupcakes

If you make this recipe, I’d love to hear what you think in the comments below!

HUNGRY FOR MORE?  Follow Crumb Top Baking on Instagram, Pinterest and Facebook!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Close up view of a chocolate zucchini cupcake with a bite taken out of it.

Chocolate Zucchini Cupcakes

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 5 from 15 reviews
  • Author: Leanne
  • Prep Time: 15 minutes
  • Cook Time: 22 minutes
  • Total Time: 37 minutes
  • Yield: 12 cupcakes
  • Category: Dessert
  • Method: Bake
  • Cuisine: American
  • Diet: Vegetarian
Print Recipe
Save Recipe Recipe Saved

Description

Chocolate Zucchini Cupcakes are rich and fudgy chocolate cupcakes, with almost 2 cups of grated zucchini, cocoa and chocolate chips!


Ingredients

  • 1 cup all-purpose white flour, spooned and levelled (or 125 grams)
  • 1/2 cup Dutch processed cocoa (or 45 grams), sifted if lumpy
  • 1 1/2 teaspoons ground cinnamon
  • 1 teaspoon baking powder
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon fine sea salt
  • 2 large eggs, room temperature
  • 1 cup coconut sugar (or 180 grams)
  • 1/3 cup extra virgin olive oil (or 80 millilitres)
  • 1 tablespoon vanilla extract
  • 1 3/4 cups coarsely grated zucchini (or 190 grams)
  • 3 tablespoons mini chocolate chips (dairy-free if necessary)


Instructions

  1. Preheat oven to 325F and line a 12-cup muffin pan with cupcake liners.
  2. In a medium-sized bowl, whisk together the flour, cocoa, cinnamon, baking powder, baking soda and salt.
  3. In a separate large bowl, whisk the eggs, then whisk in the coconut sugar, oil and vanilla. Stir in the zucchini.
  4. Gradually add the dry ingredients to the wet mixture, stirring well after each addition.
  5. Stir in the chocolate chips.
  6. Divide the batter evenly into the 12 cupcake liners.
  7. Bake for 20-22 minutes, or until a tooth pick inserted into the middle of a cupcake comes out clean.
  8. Cool in the pan for a few minutes before transferring to a wire rack to cool completely.
  9. Enjoy on their own or top with frosting like this avocado chocolate frosting.

Notes

  1. Bring your ingredients to room temperature as they’ll mix together more easily.
  2. Don’t drain or press the water out of the grated zucchini. The moisture is needed in the batter.
  3. You’ll want the zucchini coarsely shredded, so use the larger shredding holes on a box grater (cheese grater).
  4. You can substitute lightly packed brown sugar for the coconut sugar.
  5. When measuring the flour for this recipe, use the spoon and level method or weigh it.
  6. Use dairy-free chocolate chips and frosting to keep these cupcakes dairy-free.
  7. When filling the cupcake pan, each cavity should be about ¾ full.
  8. The cupcakes should be fully cooled before frosting. If they’re still warm, the frosting will melt off.
  9. Be sure to check out the other sections above the recipe card for more detailed advice and suggestions for making this recipe.

Did you make this recipe?

Tag @crumbtopbaking on Instagram and hashtag it #crumbtopbaking

Filed Under: All Recipes, Dairy-Free, Desserts, Vegetarian

Previous Post: « Oat Milk Chia Pudding
Next Post: Jalapeño Vinaigrette »

Reader Interactions

Comments

  1. Lizzy says

    September 7, 2018 at 1:14 pm

    Love this virtual baby shower! How cute- and such great recipes. And these cupcakes are just so darn pretty! That icing recipe looks perfect !

    Reply
    • Leanne says

      September 7, 2018 at 7:43 pm

      Thanks Lizzy! I wish it was an in-person shower so I could enjoy all the delicious eats! Have a great weekend!

      Reply
  2. Marisa says

    September 7, 2018 at 1:49 am

    I too prefer the cooler temperatures and LOVE Fall baking! These are such cute cupcakes and that coconut whip sounds heavenly…looking forward to trying!

    Reply
    • Leanne says

      September 7, 2018 at 7:42 pm

      Thanks Marisa! Fall is just so cozy! Love cooking and baking with all the fall produce and spices. Enjoy your fall baking!

      Reply
  3. Marie says

    September 7, 2018 at 1:10 am

    These are the cutest little cupcakes. I’ve never tried zucchini in cakes before but it looks like it makes them very moist so I definitely have to give these a try.

    Reply
    • Leanne says

      September 7, 2018 at 7:40 pm

      Thanks Marie! Zucchini really keeps them moist. Baking with zucchini is definitely worth a try! Have a great weekend!

      Reply
  4. Katherine | Love In My Oven says

    September 7, 2018 at 12:27 am

    Oh my goodness Leanne! These are awesome – I love how healthy they are. I’m legit going to make them for the boys this weekend! They’ll be so excited for cupcakes and I’ll be so excited for how healthy they are!! XO

    Reply
    • Leanne says

      September 7, 2018 at 7:38 pm

      Thanks so much Katherine! I hope your boys like them! Be sure to let me know what they think!

      Reply
  5. Mary Ann | The Beach House Kitchen says

    September 7, 2018 at 12:24 am

    How fun are these Leanne! I love that coconut whipped icing too! So delicious I bet!

    Reply
    • Leanne says

      September 7, 2018 at 7:38 pm

      Thanks Mary Ann! The coconut whip is a must for cupcakes!! Happy weekend!

      Reply
  6. Ashika | Gardening Foodie says

    September 6, 2018 at 5:43 pm

    These cupcakes look so pretty Leanne. Chocolate and zucchini are so perfect in cakes and cupcakes. I love how zucchini helps keep the cupcakes moist and fluffy. The frosting looks amazing and those sprinkles just so cute 🙂

    Reply
    • Leanne says

      September 6, 2018 at 10:24 pm

      Thanks Ashika! That’s definitely one of the reasons I love baking with zucchini! That, and I’m able to sneak some veggies into dessert! 😉

      Reply
  7. Haylie Abele says

    September 6, 2018 at 2:34 pm

    These look delightful, Leanne! Love that they’re healthier and the coconut whip sounds amazing! I’ll need to use up the last of my zucchini with these! Another great recipe 🙂

    Reply
    • Leanne says

      September 6, 2018 at 10:23 pm

      Thanks so much Haylie! I hope you get a chance to make them! The coconut whip is my go-to frosting!

      Reply
  8. heather (delicious not gorgeous) says

    September 5, 2018 at 11:53 pm

    that sprinkle mix is so cute! and i’ve been meaning to experiment with coconut whip- this one looks so decadent and chocolatey (:

    Reply
  9. Jenni says

    September 5, 2018 at 12:50 pm

    These sound fantastic–so moist and decadent but also pretty healthy. A great combination! Plus they’re so pretty! Totally shower-worthy! 🙂

    Reply
    • Leanne says

      September 5, 2018 at 11:53 pm

      Thank you Jenni! They are a nice little balance of decadent treat with some healthier ingredients! Have a great week!

      Reply
  10. Jessica from Cooking in my Genes says

    September 4, 2018 at 11:33 pm

    Can’t beat a chocolate cupcake and this one looks divine! That frosting – OMG. I need one of these right about now!

    Reply
    • Leanne says

      September 5, 2018 at 11:52 pm

      Thanks Jessica! It’s hard to eat just one! The coconut whip is a bit addictive!

      Reply
  11. Melissa says

    September 4, 2018 at 10:35 pm

    I made a delicious pasta dish with grated zucchini last night and have some left over, this is perfect and sounds so yummy!!!

    Reply
    • Leanne says

      September 4, 2018 at 11:27 pm

      Thanks Melissa! Aside from baked goods, my fave way to enjoy zucchini is in a pasta dish!

      Reply
  12. Trang says

    September 4, 2018 at 1:16 pm

    I love that you use coconut whipped cream, I just discovered this myself and it’s a life changer!

    Reply
    • Leanne says

      September 4, 2018 at 8:24 pm

      I discovered coconut whipped cream a few years ago, and it is a complete game changer! It’s my go-to dairy-free frosting! Have a great week Trang!

      Reply
  13. Kelsie | the itsy-bitsy kitchen says

    September 4, 2018 at 11:25 am

    I LOVE these! Chocolate and zucchini are so good together! And I’m really hungry looking at your pictures–what else is new? Have a great week, Leanne!

    Reply
    • Leanne says

      September 4, 2018 at 8:23 pm

      Thanks Kelsie! Chocolate and zucchini are a great pair! And I get hungry looking at your dessert pics all the time! Enjoy your week!

      Reply
  14. Dawn says

    September 4, 2018 at 8:42 am

    While I’m sad that summer is coming to an end I absolutely love fall – it’s my fave! These cupcakes are super fun, Leanne..I just love all those pretty sprinkles and I can only imagine how tasty that frosting is! Hope you have a fabulous week…it’s a short one 😉

    Reply
    • Leanne says

      September 4, 2018 at 9:03 am

      Thanks Dawn! Yes, thank goodness for short weeks….and sprinkles! Hope your week is great too!

      Reply
  15. Neha says

    September 3, 2018 at 12:19 am

    Can’t get any prettier Leanne! Love the moisture zucchini adds to the chocolate cupcakes. Loving all your clicks!

    Reply
    • Leanne says

      September 3, 2018 at 6:54 pm

      Thanks so much Neha! Hope you’re having a great holiday weekend!

      Reply
  16. marcie says

    September 2, 2018 at 12:50 am

    I’m on board with summer coming to end now. Fall is my favorite time of year and always has been. 🙂 These cupcakes are so pretty and it doesn’t get much better than chocolate and zucchini. That coconut whip frosting sounds fantastic!

    Reply
    • Leanne says

      September 2, 2018 at 11:29 pm

      Thanks Marcie! The coconut whip is my favourite frosting to add to desserts! I’ve used it in countless recipes. And I’m with you about fall. It’s the best time of year!

      Reply
  17. [email protected] says

    August 31, 2018 at 7:01 pm

    Give me a big bowl of that frosting and a spoon!

    Reply
    • Leanne says

      September 2, 2018 at 11:27 pm

      Haha! I like the way you think Patrick!

      Reply
  18. annie@ciaochowbambina says

    August 31, 2018 at 2:30 pm

    I love how festive these are! A perfect treat for this holiday weekend! 🙂

    Reply
    • Leanne says

      September 2, 2018 at 11:26 pm

      Thanks Annie! I wish I had a batch right now!

      Reply
Newer Comments »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Meet Leanne

Hey there! I'm Leanne and welcome to Crumb Top Baking. I'm a self-taught baker, home cook and food photographer, and I'm passionate about sharing well-tested, simple and approachable desserts and savory recipes. Learn more about me and what you'll find on Crumb Top Baking....

Follow Crumb Top Baking

  • Facebook
  • Instagram
  • Pinterest

Find a recipe

AIR FRYER RECIPES

Air fryer radishes served in a white bowl with a spoon and chopped parsley on the side.

Easy Air Fryer Radishes

Air fryer mushrooms and onions served in a white bowl with a serving spoon inserted into it.

Air Fryer Mushrooms and Onions

Air fryer peppers and onions served in an oval dish with a spoon inserted into it.

Air Fryer Peppers and Onions

Air fryer chicken parmesan served on plates with spaghetti and marinara sauce.

Air Fryer Chicken Parmesan

Copyright © 2025 crumbtopbaking.com - Privacy Policy & Terms of Use

Pinterest image for Chocolate Zucchini Cupcakes.
Crumb Top Baking Text LogoLogo Header Menu
  • Home
  • About
  • All Recipes
  • Air Fryer
  • Desserts
  • Subscribe
  • Photography