Carrot and Zucchini Bars with Lemon Cream Cheese Frosting are moist, perfectly sweet, and one of my favorite snack cakes. They taste amazing and are a great way to sneak vegetables into a yummy treat!
Carrot and zucchini bars with lemon cream cheese frosting on a wood cutting board.

Shredded vegetables and mashed fruits make the moistest desserts, breads and muffins!
I use shredded apple in my Grandma’s Apple Cake, and I love shredded zucchini in tons of different baked goods –makes them really moist.

This recipe uses 2 cups of shredded veggies, but the flavors are masked by it’s light sweetness. I probably should have called it a “snack cake” because that’s what it is.

How to make Carrot Zucchini Bars:
Start by shredding the zucchini and carrot. Once shredded, use a few paper towels to gather each, individually, and squeeze some of the excess liquid out. Discard the paper towels.
Lightly spoon the shredded veggies into measuring cups to measure out the right amount of each.

Whisk the wet and dry ingredients separately. Add the shredded carrot and zucchini to the wet mixture, and then stir it into the dry flour mixture. Be careful not to over mix the batter.

Overhead photo of a cutting bows with whole and grated zucchini and carrots next to a photo of a glass bowl with cake batter and shredded carrot and zucchini.
Pour the batter into a 9×13” cake pan. If you want a smaller batch you could half the recipe and bake it in an 8×8”pan and check for doneness around 16-18 minutes.
Bake in preheated oven for about 25 minutes or until a toothpick inserted in the center comes out clean.
Once the bars cools completely, smooth the lemon cream cheese frosting on top.
Cut the cake into small bars. I like to do it this way so everyone can enjoy a finger-food type of snack cake, but feel free to cut them into bigger squares.
Overhead photo of a cake with cream cheese frosting being spread on it by an offset spatula next to another photo of the cake frosted and cut into squares.

Other Desserts with grated fruits and veggies:

Lemon Zucchini Bread

Chocolate Chip Zucchini Muffins

Fresh Apple Cake

Apple Spice Cake


You can also FOLLOW ME on FACEBOOKTWITTERINSTAGRAM and PINTEREST for more great recipes!


Carrot and zucchini bars with lemon cream cheese frosting on a wood cutting board.
Prep 15 minutes
Cook 25 minutes
Total 40 minutes
Save Recipe


For the bars:

For the Lemon Cream Cheese Frosting:


  • Preheat oven to 350 degrees F.
  • Squeeze excess liquid out of the grated zucchini and carrot.
  • In a large bowl, whisk together the sugars and oil. Add eggs, Greek yogurt and vanilla and stir to combine.
  • Fold in the carrot, zucchini, and walnuts (if using).
  • In another bowl whisk together the flour, baking powder, baking soda, ginger, cinnamon and salt.
  • Add the flour mixture to the wet mixture and stir just until combined. Don’t over mix.
  • Spread batter evenly into a lightly greased 9x13'' baking pan
  • Bake for about 22-26 minutes or until a toothpick inserted in center comes out clean.
  • Cool completely before frosting.

For the Lemon Cream Cheese Frosting:

  • In a medium mixing bowl, beat the cream cheese and butter together until smooth. Add lemon juice and powdered sugar and mix until smooth.
  • Spread the frosting over the cooled bars.


Calories: 196kcalCarbohydrates: 26gProtein: 2gFat: 9gSaturated Fat: 2gCholesterol: 21mgSodium: 103mgPotassium: 79mgSugar: 19gVitamin A: 910IUVitamin C: 1.1mgCalcium: 30mgIron: 0.6mg

Did You Make This Recipe?

Tag @TastesBetterFromScratch on Instagram with #TastesBetterFromScratch!


Have you tried this recipe?!

RATE and COMMENT below! I would love to hear your experience.


*I originally shared this recipe in March 2014. Updated April 2018.

This post contains affiliate links.

Related Posts

Share Recipe


About The Author

Lauren Allen

Welcome! I’m Lauren, a mom of four and lover of good food. Here you’ll find easy recipes and weeknight meal ideas made with real ingredients, with step-by-step photos and videos.

5 from 8 votes (2 ratings without comment)

Leave A Comment

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

Recipe Rating


    1. It’s best to store them in the refrigerator due to the cream cheese frosting. Keep them in an airtight container to maintain freshness. They should last well for about 3 to 5 days in the fridge. If you need to keep them longer, you can freeze the bars for up to a month, though the frosting’s texture might change slightly after thawing.

  1. These are fantastic! I didn’t have the ground ginger so I added 1/2 tsp allspice and 1/4 tsp of nutmeg. They were not overly sweet, which we love and I cut them as snack bites. I think these would be great for potlucks (when we have those again, sad times).

See More Comments