These moist carrot and zucchini bars are bursting with flavor and packed with veggies! Topped with a creamy citrus frosting, they’re the perfect sweet treat for any time of the day.
Honestly, these bars are so good that I sometimes convince myself they are healthy—hello, veggies! 😂 They’re great for a snack or dessert, and they never last long on my counter.
I love making these bars because they are easy to whip up and always impress my friends. Plus, that zesty cream cheese frosting takes them to another level of yum! Enjoy every bite!
Key Ingredients & Substitutions
Carrots: Fresh grated carrots are a must for moisture and flavor. You can substitute with finely shredded sweet potatoes if you’re looking for a different taste.
Zucchini: Using grated zucchini adds softness. Make sure to squeeze out excess moisture to avoid sogginess. If zucchini isn’t available, shredded summer squash works well.
Flour: All-purpose flour is the base here. For a gluten-free version, try using almond flour or a gluten-free all-purpose blend.
Oats: Rolled oats add texture. If you’re gluten-free, look for certified gluten-free oats, or you can skip them entirely!
Nuts: Chopped walnuts or pecans lend a nice crunch. If allergies are a concern, sunflower seeds or pumpkin seeds are great substitutes.
Cream Cheese: For the frosting, full-fat cream cheese provides richness. If you’re looking for a lighter option, try low-fat cream cheese or even Greek yogurt!
How Do I Make Sure My Bars Stay Moist and Delicious?
The key to keeping these bars moist lies in the preparation of the carrots and zucchini. Make sure to squeeze the zucchini to get rid of excess water. Also, don’t overmix the batter; mix just until combined to keep the bars light.
- Preheat your oven to 350°F (175°C) and prepare your baking pan.
- Mix your dry and wet ingredients separately before combining, as this prevents gluten buildup, keeping them soft.
Keep an eye on your baking time! Each oven is different; start checking for doneness a few minutes early. If a toothpick comes out clean, they’re ready!

How to Make Carrot and Zucchini Bars with Citrus Cream Cheese Frosting
Ingredients You’ll Need:
For the Bars:
- 1 cup grated carrot (about 2 medium carrots)
- 1 cup grated zucchini (about 1 medium zucchini, squeezed dry)
- 1 cup all-purpose flour
- 1/2 cup rolled oats (optional for texture)
- 1/2 cup chopped nuts (such as walnuts or pecans)
- 1/2 cup brown sugar, packed
- 1/4 cup granulated sugar
- 1/2 cup vegetable oil or melted coconut oil
- 2 large eggs
- 1 teaspoon vanilla extract
- 1 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon ground cinnamon
- 1/4 teaspoon ground nutmeg
- 1/4 teaspoon salt
- Optional: 1/4 cup raisins or shredded coconut
For the Citrus Cream Cheese Frosting:
- 8 ounces cream cheese, softened
- 1/4 cup unsalted butter, softened
- 1 1/2 to 2 cups powdered sugar, sifted
- 1 teaspoon vanilla extract
- Zest of 1 lemon or orange (or a mix of both)
- 1 to 2 tablespoons fresh lemon or orange juice (adjust to taste)
How Much Time Will You Need?
This recipe requires about 15 minutes for preparation and 30-35 minutes for baking, plus time to cool before frosting. You’ll spend about 1 hour total before you can enjoy these delicious bars!
Step-by-Step Instructions:
1. Prepare the Oven and Pan:
Start by preheating your oven to 350°F (175°C). Next, take a 9×9 inch baking pan and line it with parchment paper or grease it lightly to ensure your bars don’t stick.
2. Grate and Prepare Vegetables:
Now it’s time to get those veggies ready! Grate the carrots and zucchini. If the zucchini seems watery, place the grated zucchini in a clean kitchen towel and give it a squeeze to remove excess moisture. This step will help keep your bars from becoming soggy.
3. Mix Dry Ingredients:
In a large bowl, whisk together the all-purpose flour, rolled oats (if you’re using them), baking powder, baking soda, cinnamon, nutmeg, and salt. This will be the dry mix for your bars.
4. Mix Wet Ingredients:
In another bowl, beat your eggs with the brown and granulated sugars until well combined. Then add in the oil and vanilla extract, mixing until everything is nicely blended together.
5. Combine Wet and Dry Mixtures:
Pour the wet ingredients into the bowl with the dry ingredients and gently stir until just combined. Be careful not to overmix! Now fold in the grated carrot, zucchini, nuts, and if you like, the optional raisins or coconut for an extra treat.
6. Bake the Bars:
Pour the batter evenly into your prepared baking pan. Use a spatula to smooth the top. Bake in the preheated oven for 30-35 minutes. You’ll know they’re done when a toothpick inserted into the center comes out clean.
7. Cool the Bars:
Once baked, remove the bars from the oven and let them cool completely in the pan on a cooling rack. This is important so they don’t crumble when you frost them!
8. Make the Frosting:
While your bars are cooling, you can whip up the delicious citrus cream cheese frosting. In a medium bowl, beat together the softened cream cheese and butter until smooth. Gradually incorporate the powdered sugar, mixing until it’s fluffy and creamy. Then add the vanilla extract, citrus zest, and juice. Adjust the sweetness or tartness according to your taste.
9. Frost the Bars:
Once your bars are completely cool, spread a generous layer of the citrus cream cheese frosting evenly over the top. This adds a beautiful and flavorful finish to your treats!
10. Serve and Enjoy:
Cut the bars into squares and serve! If you have any leftovers, store them covered in the refrigerator for up to 4 days. Enjoy your delightful carrot and zucchini bars topped with tangy citrus cream cheese frosting!
Can I Use Gluten-Free Flour Instead of All-Purpose Flour?
Yes, you can substitute all-purpose flour with a gluten-free flour blend, such as almond flour or a gluten-free all-purpose mix. Just be sure to adjust the baking time slightly, as gluten-free flours can vary in absorbency!
How Can I Store Leftover Bars?
Store any leftover carrot and zucchini bars in an airtight container in the refrigerator for up to 4 days. You can also freeze the unfrosted bars for up to 3 months. Just make sure to wrap them well to prevent freezer burn.
Can I Omit the Nuts or Substitute Them?
Absolutely! If you want to leave out the nuts, that’s perfectly fine. You can replace them with seeds like pumpkin or sunflower seeds, or simply omit them altogether for a nut-free version.
How Do I Adjust the Frosting’s Sweetness?
If you find the frosting too sweet, feel free to reduce the amount of powdered sugar. You can also add more citrus juice or zest to balance the sweetness with tartness. Just taste as you go!



