Gluten-Free Chocolate Zucchini Cake with Cream Cheese Frosting

5 from 6 votes

|

This gluten-free chocolate zucchini cake is rich, moist, and deeply chocolatey, made with oat flour, Greek yogurt, and squeezed zucchini for controlled moisture. Finished with chocolate cream cheese frosting, it bakes up tender without excess oil, gumminess, or a soggy center.

Cals: 222 | Protein: 4 | Sugar: 19 | Fat: 12 | Fiber: 2 | Diet: Gluten-Free
Slices of gluten-free chocolate zucchini cake with cream cheese frosting on top.

This gluten-free chocolate zucchini cake is made with oat flour, Greek yogurt, cocoa powder, oil, and freshly grated zucchini to create a moist, tender crumb without any gritty texture. The zucchini is gently squeezed to remove excess liquid, which helps the cake bake evenly, hold its structure, and stay soft without sinking or turning gummy.

What sets this recipe apart is how moist it is without relying on excess oil. By squeezing the zucchini and pairing it with Greek yogurt, the cake stays rich and tender while using less fat than most gluten-free chocolate cakes. The combination of oat flour and gluten-free flour adds flavor and structure without any heaviness or grainy texture.

I love that I can enjoy a slice with chocolate cream cheese frosting without feeling heavy or weighed down afterward. It’s the cake I bring to friends when they need a little extra love or aren’t feeling well, and it never fails to hit the spot.

Why This Gluten-Free Chocolate Zucchini Cake Works

  • Squeezed zucchini controls moisture: Removing excess liquid prevents soggy centers and keeps the cake from sinking.
  • Greek yogurt adds moisture without excess oil: This keeps the cake tender without relying on heavy fat.
  • Oat flour plus gluten-free flour for structure: This blend adds flavor and stability without any gritty texture.
  • Double chocolate builds richness: Cocoa powder and chocolate chips deepen flavor and help mask any gluten-free graininess.
All the ingredients needed to make a gluten-free chocolate zucchini cake with chocolate cream cheese frosting.

Ingredients & Substitutions

Here is everything you need to make gluten free chocolate zucchini cake:

  • Oat flour: This adds depth of flavor and keeps the cake from tasting flat or overly starchy. You can use store-bought oat flour or blend rolled oats until fine. Almond flour works, but the cake will be a bit more delicate.
  • Gluten-free flour: This gives the cake structure so it holds together and slices cleanly. Any good gluten-free flour blend works well here.
  • Additional flour options: You can choose one of these options to use in place of the oat and gluten-free flour combination in the recipe card.
Additional Flour Options
2/3 cup (80g) oat flour + 1/4 cup (40g) gluten free flour
2/3 cup (80g) oat flour + 1/4 cup (30g) all-purpose flour
1 cup (160g) gluten-free flour
1 cup (120g) oat flour
1-1/4 cups (140g) almond flour + 1/4 cup (40g) gluten free flour
  • Milk: Adds moisture and helps loosen the batter. Any milk works, including almond, oat, or soy milk for a dairy-free option.
  • Eggs: Provide structure and help the cake rise evenly. For a vegan version, use flax eggs made with ground flaxseed and water.
  • Greek yogurt: This is key for moisture without excess oil. It keeps the cake tender and rich without making it greasy. Sour cream works as a 1:1 swap, and applesauce works in a pinch but makes the crumb slightly softer.
  • Light olive oil: Keeps the cake moist and soft without overpowering flavor. Avocado oil, vegetable oil, coconut oil, or melted butter all work well.
  • Cane sugar: Sweetens the cake without making it overly sweet. Coconut sugar or regular granulated sugar both work as substitutes.
  • Vanilla extract: Rounds out the chocolate flavor. Pure vanilla gives the best flavor, but imitation works just fine.
  • Cocoa powder: Gives the cake its rich chocolate flavor. Dutch-processed cocoa creates the smoothest, deepest chocolate flavor, but natural cocoa powder will also work if that’s what you have.
  • Baking powder and baking soda: These work together to give the cake lift and keep the crumb light.
  • Salt: Balances the sweetness and brings out the chocolate flavor.
  • Zucchini: This keeps the cake incredibly moist. Grate it finely and gently squeeze out the excess liquid so the cake doesn’t turn soggy or sink in the middle.
  • Mini chocolate chips: Add little pockets of melted chocolate throughout the cake. Regular chocolate chips or chopped dark chocolate both work well.

Easily Adapt This Recipe for Any Diet

This cake is easy to adjust without changing the texture or flavor.

  • Gluten-Free: Use certified gluten-free oat flour and a good gluten-free flour blend. I always double-check oat labels since that’s the most common source of hidden gluten.
  • Dairy-Free: Swap in plant-based milk and a dairy-free Greek-style yogurt. Dairy-free cream cheese and plant butter work well for the frosting.
  • Vegan: Use flax eggs instead of eggs, along with plant-based milk, yogurt, and frosting ingredients. The cake will be slightly softer but still moist and chocolatey.

💡 Tip: If you try a swap that works well, leave a comment so others can learn from it too.

A close up of gluten-free chocolate zucchini cake with chocolate cream cheese frosting and sprinkles on top.

How to Make My Gluten-Free Chocolate Zucchini Cake Recipe

Here are easy, detailed, step-by-step instructions that are also repeated in the recipe card at the bottom of this blog post.

Step 1: Prepare the Pan and Zucchini

Preheat the oven to 350°F (175°C). Line a 9×9-inch baking pan with parchment paper, leaving a little overhang for easy removal.

Grate 1 medium zucchini using the fine side of a box grater, then gently squeeze or pat it with paper towels to remove excess moisture. After squeezing, you should have about 120–130g of zucchini. Set aside.

Shredding a zucchini into a strainer bag.
Squeezing the liquid out of the shredded zucchini in a strainer bag.

Step 2: Mix the Chocolate Cake Batter

In a large bowl, whisk together 1/2 cup milk, 2 eggs, 1/4 cup Greek yogurt, 1/4 cup light olive oil, 3/4 cup cane sugar, and 2 teaspoons vanilla extract until smooth and fully combined.

Add 2/3 cup oat flour, 1/2 cup cocoa powder, 1/4 cup gluten-free flour, 1 teaspoon baking powder, 1/2 teaspoon baking soda, and 1/2 teaspoon salt to the bowl. Mix just until combined. Avoid overmixing.

Gently fold in the squeezed zucchini and 1/4 cup mini chocolate chips until evenly distributed throughout the batter.

Adding all the dry ingredients to the cake batter.
Folding in the shredded zucchini and mini chocolate chips to the cake batter.

Step 3: Bake the Cake

Spread the batter evenly into the prepared pan. Bake for 34 to 38 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.

Step 4: Make the Chocolate Cream Cheese Frosting

While the cake cools, beat together 6 ounces cream cheese, 3 tablespoons butter, 1 teaspoon vanilla extract, and 2 tablespoons milk until smooth. Add 1/4 cup cocoa powder, 1 cup powdered sugar, 1/2 teaspoon cinnamon, and 1/8 teaspoon salt, then mix until creamy.

Once the cake is completely cool, spread the frosting evenly over the top. Slice and serve right away, or refrigerate for about 30 minutes to let the frosting set before cutting.

Creaming together the cream cheese and butter and a mixing bowl.
Adding the powdered sugar to the frosting mixture.
The top view of a gluten-free chocolate zucchini cake with cream cheese frosting.

My Expert Recipe Tips

  • Squeeze the zucchini gently: I press out the extra moisture but don’t wring it dry. Too much liquid makes the cake sink, but over-squeezing makes it less tender.
  • Use room temperature ingredients: When the eggs, yogurt, and cream cheese aren’t cold, the batter mixes smoothly and bakes more evenly.
  • Mix just until combined: Once the batter comes together, I stop. Overmixing is what makes gluten-free cakes dense.
  • Test the center for doneness: I pull the cake when a toothpick comes out with a few moist crumbs so it stays rich and soft.
  • Let the cake cool before frosting: Frosting a warm cake melts fast. Waiting gives you clean layers and better slices.

Delicious Serving Suggestions

  • Simple dessert: Serve chilled or at room temperature for an easy weeknight treat.
  • Make-ahead friendly: This cake tastes even better the next day once the flavors settle.
  • Share with friends: It travels well and is the cake I bring when someone could use a little comfort.

Frequently Asked Questions

I store this cake covered in the refrigerator for up to 5 days because of the cream cheese frosting. The texture actually improves after the first day. I let slices sit at room temperature for about 15 minutes before serving. Unfrosted slices also freeze well for up to 3 months.

The moisture comes from the combination of Greek yogurt and squeezed zucchini. The zucchini adds natural moisture without flavor, while the yogurt keeps the crumb tender without needing excess oil. Together, they prevent dryness and gumminess.

Yes, almond flour works, but the cake will be slightly denser with less flavor depth. I recommend using the same amount of almond flour and adding an extra tablespoon of Greek yogurt to help maintain moisture. Oat flour still gives the best overall texture.

Gluten-free cake batter is naturally thicker than traditional cake batter. If it feels too stiff to spread, add 1 tablespoon of milk at a time until it reaches a thick, brownie-style consistency. Different gluten-free flour blends absorb liquid differently. If too much zucchini moisture is left in, the batter can swing from thick to overly wet, which is why weighing the zucchini after squeezing helps.

Yes. I’ve had the best results using flax eggs made with ground flaxseed and water. The cake will be slightly denser, but still moist and chocolatey. This swap works well without changing the flavor.

This cake stays fresh for up to 5 days in the refrigerator when stored tightly covered. The frosting helps lock in moisture. After a few days, the zucchini may release a little extra moisture, but it doesn’t affect the taste or texture.

To reduce sugar, I often skip the frosting and serve the cake plain or lightly dusted with cocoa powder. You can also use a dark chocolate frosting or ganache made with higher-cacao chocolate, which tastes rich with less sweetness.

Slices of gluten-free chocolate zucchini cake with cream cheese frosting on top.

Gluten-Free Chocolate Zucchini Cake with Cream Cheese Frosting

Gluten-Free
This gluten-free chocolate zucchini cake is rich, moist, and deeply chocolatey, made with oat flour, Greek yogurt, and squeezed zucchini for controlled moisture. Finished with chocolate cream cheese frosting, it bakes up tender without excess oil, gumminess, or a soggy center.
5 from 6 votes
Servings 16
Prep Time 10 minutes
Cook Time 35 minutes
Total Time 45 minutes

Ingredients
  

Chocolate Cream Cheese Frosting

Instructions
 

  • Preheat the oven to 350°F (175°C). Line a 9×9-inch baking pan with parchment paper, leaving a little overhang for easy removal.
  • Grate 1 medium zucchini using the fine side of a box grater, then gently squeeze or pat it with paper towels to remove excess moisture. After squeezing, you should have about 120–130g of zucchini. Set aside.
  • In a large bowl, whisk together 1/2 cup milk, 2 eggs, 1/4 cup Greek yogurt, 1/4 cup light olive oil, 3/4 cup cane sugar, and 2 teaspoons vanilla extract until smooth and fully combined.
  • Add 2/3 cup oat flour, 1/2 cup cocoa powder, 1/4 cup gluten-free flour, 1 teaspoon baking powder, 1/2 teaspoon baking soda, and 1/2 teaspoon salt to the bowl. Mix just until combined. Avoid overmixing.
  • Gently fold in the squeezed zucchini and 1/4 cup mini chocolate chips until evenly distributed throughout the batter.
  • Spread the batter evenly into the prepared pan. Bake for 34 to 38 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
  • While the cake cools, beat together 6 ounces cream cheese, 3 tablespoons butter, 1 teaspoon vanilla extract, and 2 tablespoons milk until smooth. Add 1/4 cup cocoa powder, 1 cup powdered sugar, 1/2 teaspoon cinnamon, and 1/8 teaspoon salt, then mix until creamy.
  • Once the cake is completely cool, spread the frosting evenly over the top. Slice and serve right away, or refrigerate for about 30 minutes to let the frosting set before cutting.

Video

Notes

Squeeze the zucchini gently: I press out the extra moisture but don’t wring it dry. Too much liquid makes the cake sink, but over-squeezing makes it less tender.
Use room temperature ingredients: When the eggs, yogurt, and cream cheese aren’t cold, the batter mixes smoothly and bakes more evenly.
Mix just until combined: Once the batter comes together, I stop. Overmixing is what makes gluten-free cakes dense.
Test the center for doneness: I pull the cake when a toothpick comes out with a few moist crumbs so it stays rich and soft.
 
Let the cake cool before frosting: Frosting a warm cake melts fast. Waiting gives you clean layers and better slices.

Nutrition

Calories: 222kcalCarbohydrates: 27gProtein: 4gFat: 12gSaturated Fat: 5gPolyunsaturated Fat: 1gMonounsaturated Fat: 5gTrans Fat: 0.1gCholesterol: 37mgSodium: 295mgPotassium: 144mgFiber: 2gSugar: 19gVitamin A: 254IUVitamin C: 1mgCalcium: 55mgIron: 1mg
Keyword chocolate cake, chocolate cream cheese frosting, gluten-free cake, zucchini
Help Fellow Cooks!Your 5-star review helps other families discover recipes that actually work!

Important Disclaimer

This recipe is created by a home cook and not a medical professional. Our ingredient philosophy is reviewed by RDNs, but this specific post is not personalized medical advice. Please consult your healthcare provider for dietary concerns.

Learn more about our RDN review process here

Looking for more desserts made without refined sugar?
Browse all of my naturally sweetened dessert recipes, made with maple syrup, honey, fruit, and other simple sweeteners for treats that feel familiar and satisfying.

19 Comments

  1. This is delicious! I have to use dairy free yogurt and cream cheese and it worked great. I
    also used avocado oil. Thanks for the substitution tips. Loved this cake!

  2. Omg this cake is so good. I made some modifications though. I use nut flour meaning it’s a mix of nuts between almond, pumpkin seed, walnut, pine nuts and hazelnut unflavored. I had it lying around so I blitzed it all together to make nut flour and it tasted amazing! There’s no need to use just the traditional almond flour and I find this combo so much better and healthier for my toddler! So I put 1/3 of mix nut flour, 1/3 oat flour and 1/3 of white flour as the flour. I reduced the sugar to 1/4 cup coconut sugar and 1/4 cup monk fruit. Everything else in your recipe is the same.

    Thank you so much for this wonderful recipe! I’m such a big fan!

  3. Delicious lightly sweetened, chocolatey cake! I’ll be making this again!
    Some changes I made:
    Since I don’t have a 9 inch square pan, I made 1.5 recipes and baked this in a 9 x 13 inch pan. This took 37 minutes.
    I substituted finely ground monkfruit powder (ground in my coffee grinder which I never use for grinding coffee 😉 for the cane sugar (several family members are diabetic).
    I used soy mylk rather than dairy milk.
    I used sour cream rather than greek yogurt.
    As I didn’t have enough light oil, I used about 1/3 light oil and 2/3 unsweetened applesauce to make up the amount needed.
    Next time? I will take the time to buzz that zucchini in the food processor first. I note there are some pieces of cake which have big pieces of shredded zucchini in them. (I used shredded, frozen zucchini, which I thawed out and squeezed the extra moisture from by hand).
    Thank you, Nicole, for the time you take to add tips and substitutions to your recipes! I live in a rural area, so substitutions are handy for me!

    1. Hi Deborah, thank you so much for sharing this! I love all your modifications to make it work with what you have 🙂

  4. Made it this afternoon and just had a taste test..

    I substituted cream cheese with mascarpone for the frosting-

    So moist and smooth tasting with the mascarpone – creamy and not too sweet..

    Definitely a keeper!

    Thank you!

    I walk five miles in the morning and try to catch your videos for inspiration— and happy to report this was amazing..

    I used avocado oil and made my own oat flour-used almond milk for frosting and batter..

    Topped with chopped walnuts.

    I would love to attach a pic!

    1. That sounds incredible!! I love all of your substitutions! And, I feel privileged to be part of your morning walks 🙂

  5. Recipe sounds delicious! Looking forward to trying it. What is the serving size you based the calorie estimate on, please?

    1. Hi Gena, I sliced my 9×9 cake into 16 pieces. That is the serving size in the Nutrition Facts. Let me know how it turns out 🙂 I hope you and your family are doing great!!

  6. I have never bought oat flour but I have oatmeal. Can I put it in the food processor and make it into oat flour? If I use regular flour is it the same amnt as the oat flour and gluten free flour combined?

    1. Hi Julie, yes, you can grind your own oat flour from old fashioned oats or quick oats 🙂 Yes, a food processor or blender works great. If you look in the Ingredients & Substitutions section of the recipe post I include the measurements for additional flour options including using only all-purpose flour. Please let me know how it turns out!

  7. In the ingredients list you you say to shred the zucchini, and in instructions you list it as grated. Which works best in this recipe? Thanks.

    1. Excellent question, Cheryl! Sorry for the confusion 🙂 I shred the zucchini with the larger holes of my cheese shredder 🙂

  8. I am in LOVE with this zucchini chocolate cake!! It is so rich and delicious and has the best flavor with the oat flour. Please let me know how it turns out for you 🙂

5 from 6 votes

Leave a Reply

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

Recipe Rating