Crumb Top Baking

  • Memorial Day Recipes
  • Recipe Index
  • About
  • Subscribe
menu icon
go to homepage
  • Memorial Day Recipes
  • Recipe Index
  • About
  • Subscribe
search icon
Homepage link
  • Memorial Day Recipes
  • Recipe Index
  • About
  • Subscribe
×
Home » Recipes » Desserts

Chocolate Zucchini Cupcakes

Last Updated: Apr 6, 2026 by Leanne Combden

Pinterest image for Chocolate Zucchini Cupcakes.
Pinterest image for Chocolate Zucchini Cupcakes.
↓ Jump to Recipe

Chocolate Zucchini Cupcakes are rich and fudgy, with almost 2 cups of grated zucchini, cocoa 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. They're also oil-based, made without butter or milk, so they're not only soft and tender, but they're dairy-free. (Just make sure to use dairy-free frosting and chocolate chips). You can also enjoy them as a decadent muffin without any frosting!

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

Want to save this recipe for later?

Enter your email address and I'll send it straight to your inbox. You'll also receive new recipes from me regularly!

Table of Contents
  • Details on the ingredients
  • How to make chocolate zucchini cupcakes
  • My favorite frosting options
  • Frequently asked questions
  • Storage and freezing
  • Measuring ingredients
  • Key recipe tips
  • 📖 Recipe

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

I know, 2 cups 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.

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. (Dutch-processed is my favorite for cupcakes and cakes, like this air fryer chocolate cake).
  • 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.

My favorite frosting options

  • Avocado Chocolate Frosting
  • Chocolate Peanut Butter Buttercream
  • Peanut Butter Cream Cheese Frosting
  • Sour Cream Chocolate Frosting
  • Sour Cream Vanilla Bean 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.

HUNGRY FOR MORE?  Sign up for our newsletter and follow Crumb Top Baking on Instagram, Pinterest and Facebook!

If you make this recipe, please leave a review and rating below to let me know what you think. If you have a question, drop that below too!

📖 Recipe

Close up view of a chocolate zucchini cupcake with a bite taken out of it.

Chocolate Zucchini Cupcakes

Chocolate Zucchini Cupcakes are rich and fudgy chocolate cupcakes, with almost 2 cups of grated zucchini, cocoa and chocolate chips!
5 from 15 votes
Print Pin
Prep Time: 15 minutes minutes
Cook Time: 22 minutes minutes
Cooling Time: 1 hour hour
Total Time: 1 hour hour 37 minutes minutes
Servings: 12 cupcakes
Author: Leanne Combden

Ingredients

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

Instructions

Prevent your screen from going dark
  • Preheat oven to 325F and line a 12-cup muffin pan with cupcake liners.
  • In a medium-sized bowl, whisk together the flour, cocoa, cinnamon, baking powder, baking soda and salt.
  • In a separate large bowl, whisk the eggs, then whisk in the coconut sugar, oil and vanilla. Stir in the zucchini.
  • Gradually add the dry ingredients to the wet mixture, stirring well after each addition.
  • Stir in the chocolate chips.
  • Divide the batter evenly into the 12 cupcake liners.
  • Bake for 20-22 minutes, or until a tooth pick inserted into the middle of a cupcake comes out clean.
  • Cool in the pan for a few minutes before transferring to a wire rack to cool completely.
  • Enjoy on their own or top with your favorite 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.

Want to save this recipe for later?

Enter your email address and I'll send it straight to your inbox. You'll also receive new recipes from me regularly!

Nutrition Facts per Serving

Calories: 182kcal | Carbohydrates: 26g | Protein: 3g | Fat: 8g | Saturated Fat: 2g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 5g | Trans Fat: 0.01g | Cholesterol: 32mg | Sodium: 224mg | Potassium: 122mg | Fiber: 2g | Sugar: 12g | Vitamin A: 86IU | Vitamin C: 3mg | Calcium: 41mg | Iron: 1mg

Disclaimer

Nutrition information is an estimate only and will vary depending on the substitutions made and the brands used.

Did you make this recipe or have any questions?

I love reading your comments and addressing your questions, so please leave your comments and ratings or questions below!

More Desserts

  • A lemon poppy seed cupcake with some removed to show the lemon curd filling inside.
    Almond Flour Lemon Poppy Seed Cupcakes
  • Close up of slices of almond flour chocolate marble loaf on brown parchment paper.
    Almond Flour Chocolate Marble Loaf
  • Side view of a slice of almond flour lemon raspberry cake on a white platter.
    Almond Flour Lemon Raspberry Cake with Crumb Topping
  • Close up overhead view of almond flour oatmeal butterscotch cookies on a pink surface.
    Almond Flour Oatmeal Butterscotch Cookies
  • Facebook32
  • Threads
  • WhatsApp

Comments

    5 from 15 votes

    Leave a Reply Cancel reply

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

    Recipe Rating




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

  1. Alicia says

    December 23, 2025 at 11:50 am

    These cupcakes were absolutely perfect for toddlers requesting Chocolate Cupcakes for birthday!! Moist, chocolatey and delicious! Served with cream cheese frosting and a few colored sprinkles on top.
    Thank you for this recipe! I'm going to try it again now with almond flour for my gluten free crowd, hope it comes out just as well.

    Reply
    • Leanne says

      December 23, 2025 at 1:24 pm

      Thanks Alicia! I'm so glad the cupcakes were enjoyed for a birthday! If you're looking to make these cupcakes gluten-free, I would try using a 1:1 gluten-free baking flour where you can make a direct substitution. Almond flour wouldn't work in this recipe without making other ingredient adjustments. I also have this recipe for almond flour chocolate cupcakes if you're interested in making a gluten-free chocolate cupcake with almond flour - https://www.crumbtopbaking.com/almond-flour-chocolate-cupcakes/

      Reply
  2. Sarah says

    July 26, 2025 at 3:21 pm

    5 stars
    These turned out amazing! Soft delicate and delicious! Subbed half cup apple sauce for the two eggs, and added an extra tsp baking powder. Yum!

    Reply
    • Leanne says

      July 27, 2025 at 10:31 am

      Hi Sarah! I'm so glad you enjoyed the cupcakes. Thank you for sharing your substitutions!

      Reply
  3. Becki says

    January 19, 2025 at 4:46 pm

    This looks like a very good recipe. I wonder if I could make these as mini muffins? How many mini muffins would it make? How long would I bake them?

    Reply
    • Leanne says

      January 20, 2025 at 12:12 am

      Hi Becki! I haven't tested these cupcakes in a mini muffin pan, but if you give it a try, I would reduce the baking time to 10-12 minutes.

      Reply
  4. Patty says

    November 09, 2024 at 7:25 pm

    5 stars
    Leeanne, thank you for sharing this incredibly delicious receipe. This by far is one of the most delicious chocolate chip zucchini cupcake receipe's I have made. It's not heavy, but packed with flavor!
    I made this receipe with the substitutes as provided:
    Hershey's cocoa in place of Dutch processed cocoa; lightly packed light brown sugar in place of coconut sugar; Canola oil in place of extra virgin olive oil & added sliced almonds.

    Reply
    • Leanne says

      November 11, 2024 at 12:36 pm

      Hi Patty! I'm so glad you enjoyed the recipe! Thanks so much for taking the time to let me know and for sharing your substitutions.

      Reply
  5. Jay says

    August 04, 2024 at 10:55 pm

    5 stars
    Amazing recipe! The batter was just perfect. The cupcake was sooo good, like something from the store. I am going to frost it tomorrow using the chocolate avocado frosting.

    Reply
    • Leanne says

      August 05, 2024 at 1:36 pm

      Thanks Jay! So glad you like the recipe and hope you enjoy the avocado frosting too!

      Reply
  6. Leslie Hancock says

    September 25, 2022 at 6:25 pm

    Ok, they are now cooked, cooked and sampled. Once called, they fell in the centre so they do not have a very attractive appearance. They taste ok but not outstanding.. on the whole, I have to wonder f maybe the ingredient proportions were not quite right as written.

    Reply
    • Leanne says

      September 27, 2022 at 9:54 pm

      Hi Leslie. I'm sorry the cupcake recipe didn't work out for you. The recipe was tested multiple times with the measurements noted in the recipe card. The batter will be thick when incorporating the dry ingredients, but it won't be very thick. If your batter was extremely thin, it may be from the moisture in the zucchini. Did you coarsely grate the zucchini? If it is finely grated, this will add too much zucchini to the batter, which could cause the batter to be thinner and the cupcakes to sink in the middle. I hope that helps. Thank you for providing your feedback.

      Reply
  7. Leslie Hancock says

    September 25, 2022 at 5:09 pm

    I have just put these in the oven and so cannot comment on taste but I found the batter to be extremely thin despite the recipe note that the batter would be very thick. Mine was thin to the point of runny and I wonder if the measurements noted in the recipe, which I followed EXACTLY are correct?

    Reply
  8. Dana says

    September 19, 2018 at 5:36 pm

    5 stars
    I've never been a big fan of Fall (mostly because I don't like the shorter days---I need lots of sun!) but as I'm getting older I am finding that I am liking the season a little more. I think part of that is liking the summer humidity a lot less than I used to (haha!) and of course, Fall Baking is one of the best times of the year for us bakers!! These sound so wonderful Leanne and I love the cooconut whip topping! I'm not a huge fan of overly sweet buttercreams either and I often use coconut whip on cupcakes or carrot cake as well. I actually haven't tried a chocolate coconut whip yet, I need to try that ASAP!!
    Sneaky zucchini is the best, isn't it? Pinning and making these soon, sprinkles and all!! 😀

    Reply
    • Leanne says

      October 02, 2018 at 10:44 am

      Thanks Dana! I hope you get a chance to try these! The chocolate coconut whip is the best! Fall has always been my favourite time of year. While I love a warm summer day, by the time August rolls around, I'm longing for the changing season and cool fall days!

      Reply
  9. Kelly | Foodtasia says

    September 10, 2018 at 11:18 pm

    These are just beautiful! I can't believe how healthy they are - I'd eat the whole batch!

    Reply
    • Leanne says

      September 16, 2018 at 9:09 am

      Thanks so much Kelly! It's definitely hard to eat just one!

      Reply
  10. Kelly @ Kelly Lynns Sweets and Treats says

    September 09, 2018 at 9:31 pm

    I love virtual baby showers! So fun!! And these cupcakes look so chocolatey and decadent but with good got you ingredients! Yum 🙂

    Reply
    • Leanne says

      September 16, 2018 at 9:05 am

      Thanks Kelly! Yes, these cupcakes are the best of both worlds - some decadence with some wholesome ingredients!

      Reply
  11. Erin @ The Speckled Palate says

    September 09, 2018 at 10:24 am

    5 stars
    Leanne! These cupcakes are absolutely GORGEOUS and include so many things I love--zucchini, chocolate, gorgeous frosting and sprinkles! Seriously. So good, and I feel so flattered that y'all got together for this sweet surprise!

    Thank you so much for participating in this shower to welcome Baby Speckle—she and I feel so loved and supported! Now if there was a way for us to share all this food via the Internet so I could have a bite of everything, that would be amazing...

    Reply
    • Leanne says

      September 16, 2018 at 9:04 am

      Thanks Erin! I was happy to participate and celebrate the soon-to-be arrival of Baby Speckle! And yes, wouldn't it be amazing to actually share all of this food! What a shower that would be! Hope you're doing well!

      Reply
  12. Lizzy says

    September 07, 2018 at 1:14 pm

    5 stars
    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 07, 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
  13. Marisa says

    September 07, 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 07, 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
  14. Marie says

    September 07, 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 07, 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
« Older Comments
Image of Leanne Combden

Welcome!

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

More about me

Popular Recipes

  • Air fryer baby potatoes served in a white bowl and topped with sea salt and chopped fresh parsley.
    Air Fryer Baby Potatoes (Just 4 Ingredients!)
  • Air fryer tortilla chips served on a round platter with salsa and guacamole on the side.
    Homemade Air Fryer Tortilla Chips (with Corn or Flour Tortillas)
  • Air fryer pork schnitzel on a white plate with green beans and a lemon wedge.
    Crispy Air Fryer Pork Schnitzel
  • Ground beef fajitas with toppings arranged on a platter.
    Ground Beef Fajitas with Homemade Fajita Seasoning
  • Side view of half an almond flour cupcake on a cupcake liner.
    Vanilla Almond Flour Cupcakes
  • A slice of eggless banana cake topped with cream cheese frosting being removed from the cake platter.
    Easy and Moist Eggless Banana Cake Recipe

Memorial Day Recipes

  • Italian bow tie pasta salad in a large bowl with wooden salad servers.
    Italian Bow Tie Pasta Salad
  • Side view of a slice of almond flour strawberry cake on a white plate with pieces of cake in the background.
    Almond Flour Strawberry Cake with Strawberry Frosting
  • Side view of a turkey jalapeno burger topped with lettuce, cheese, tomato and red onion.
    Turkey Jalapeño Burgers
  • Greek orzo pasta salad in a white bowl with wooden salad servers and feta, lemon dressing and parsley on the side.
    Greek Orzo Pasta Salad with Lemon Vinaigrette
  • White wine spritzer served in a stemless wine glass with strawberry slices and blueberries.
    White Wine Spritzer with Fruit
  • Overhead view of cherry almond cake on a cake plate with some slices cut out.
    Cherry Almond Cake

Footer

↑ back to top

About

  • About Leanne
  • Privacy Policy
  • Contact

Newsletter

  • Sign Up! for emails and updates

Recipes

  • All Recipes
  • Air Fryer Recipes
  • Almond Flour Recipes

Copyright © 2026 Crumb Top Baking

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.