The first time I made these lemon zucchini bars, it was out of sheer desperation. My garden had gone rogue—two massive zucchinis had somehow escaped my notice and turned into baseball bats overnight. I had already made a loaf of moist banana zucchini bread with chocolate chips, a batch of fudgy brownies, and even a quiche. My family was starting to look at me sideways every time another green squash appeared on the counter.
So I stood in my kitchen, staring at the last giant zucchini, and thought, “What if I just… made a bar cookie? But make it springy?” I wanted something bright, something that didn’t scream “I’m hiding vegetables in this.” I grabbed lemons from the fruit bowl, creamed some butter and sugar, and just started winging it. The ricotta frosting happened because I had half a container left from lasagna the night before, and honestly? It was the best accident I’ve ever made in my kitchen.
These Perfect Lemon Zucchini Bars with Ricotta Frosting are now my go-to for spring brunches, baby showers, and those days when you want dessert but also want to pretend it’s slightly virtuous. The zucchini keeps them incredibly moist—like, almost pudding-soft in the center—while the lemon keeps everything bright and fresh. And that frosting? It’s tangy, creamy, and not too sweet, which is exactly what a citrus bar needs. I’ve made these four times in the last month, and I’m not even sorry.
Why You’ll Love This Recipe
Let me tell you why these bars have earned a permanent spot in my recipe rotation. They check every single box I look for in a dessert.
- Quick & Easy : From start to finish, you’re looking at about 45 minutes. The bars bake in 25 minutes flat, and the frosting comes together while they cool. No complicated techniques here.
- Simple Ingredients : You probably have most of this stuff already. Flour, sugar, eggs, butter, lemon juice—and that zucchini hiding in your crisper drawer. The ricotta is the only “special” ingredient, and it’s sold at every grocery store.
- Perfect for Spring and Summer : These bars are light, refreshing, and scream “picnic weather.” They’re also amazing for Easter brunch, Mother’s Day, or just a Tuesday that needs brightening up.
- Crowd-Pleaser : I brought these to a book club meeting and three people asked for the recipe before I even sat down. Kids love them, adults love them, and nobody guesses there’s zucchini inside until you tell them.
- Unbelievably Delicious : The texture is what gets me every time. The bars are dense but tender, almost like a cross between a lemon bar and a coffee cake. The ricotta frosting adds this luxurious creaminess that balances the tart lemon perfectly.
What makes these different from every other zucchini bar recipe out there? It’s the ricotta frosting. Most recipes use a simple powdered sugar glaze, which is fine, but it’s one-note. The ricotta adds richness, a slight tang, and this incredible silky texture that makes the bars feel fancy without any extra effort. Plus, the zucchini keeps the bars so moist that they stay fresh for days—if they last that long.
This is the kind of recipe that makes you close your eyes after the first bite. It’s comfort food reimagined for warmer weather—lighter than a dense chocolate cake, but just as satisfying. Perfect for impressing guests without any stress, or turning a simple afternoon snack into something memorable.
What Ingredients You Will Need
This recipe uses simple, wholesome ingredients that come together to create something truly special. The zucchini adds moisture without any weird texture, and the lemon keeps everything bright and fresh.
For the Lemon Zucchini Bars
- 1 ½ cups all-purpose flour (I use Gold Medal; unbleached works great too)
- 1 teaspoon baking powder (make sure it’s fresh—test by dropping a bit in water; it should fizz)
- ½ teaspoon baking soda
- ½ teaspoon salt (I prefer fine sea salt for baking)
- 1 cup granulated sugar
- 2 large eggs, room temperature (cold eggs can make the batter seize up)
- ½ cup unsalted butter, melted and slightly cooled (salted butter works too, just skip the added salt)
- 1 teaspoon vanilla extract
- 2 tablespoons fresh lemon juice (about one large lemon—please don’t use bottled)
- 1 tablespoon lemon zest (from that same lemon; zest it before you juice it)
- 1 ½ cups shredded zucchini, squeezed dry (this is crucial—more on that below)
For the Ricotta Frosting

- ½ cup whole milk ricotta cheese, room temperature (I recommend Galbani or Polly-O for best texture)
- 2 tablespoons unsalted butter, softened
- 1 ½ cups powdered sugar, sifted (sifting prevents lumps—I learned this the hard way)
- 1 tablespoon fresh lemon juice
- 1 teaspoon lemon zest
- Pinch of salt
Ingredient Tips: For the zucchini, look for medium-sized ones—they have fewer seeds and more flesh. If you’re using a giant garden zucchini (I see you), scoop out the seedy center before shredding. For the ricotta, whole milk is non-negotiable here. Low-fat or fat-free ricotta has too much water and will make your frosting runny. Trust me on this one.
Substitution Guidance: You can swap the all-purpose flour with a good gluten-free 1:1 baking blend if needed. For a dairy-free version, use plant-based butter and a dairy-free cream cheese alternative in place of the ricotta (though the texture will be slightly different). If you don’t have fresh lemons, you can use bottled lemon juice in a pinch, but the zest really makes a difference—try to find fresh lemons for that.
Equipment Needed
Nothing fancy here—this is a straightforward recipe that doesn’t require any special gadgets.
- 9×9-inch baking pan (an 8×8 works too, but your bars will be thicker and need a few extra minutes of baking time)
- Parchment paper (for easy lifting—I learned this trick after destroying my first batch trying to get them out of the pan)
- Box grater or food processor with shredding disc (the box grater gives you nicer texture, but the food processor is faster)
- Clean kitchen towel or cheesecloth (for squeezing the zucchini dry—don’t skip this step)
- Large mixing bowls (one for dry ingredients, one for wet)
- Whisk and rubber spatula
- Electric hand mixer or stand mixer (for the frosting—you can do it by hand, but your arm will get tired)
- Zester or microplane
- Cooling rack
If you don’t have a zester, you can use the fine side of a box grater—just be careful not to get the bitter white pith. And if you don’t have parchment paper, you can grease the pan well with butter and dust it with flour, but I really recommend the parchment method. It makes life so much easier.
Preparation Method
Alright, let’s get baking. I’ve made these bars so many times that I’ve got the process down to a science. Follow these steps, and you’ll have perfect bars every single time.
Step 1: Prep Your Zucchini
Wash your zucchini and trim off the ends. Grate it using the large holes of a box grater—you should end up with about 1 ½ cups of shredded zucchini. Here’s the most important step: squeeze the living daylights out of it. Place the shredded zucchini in a clean kitchen towel and twist it tightly over the sink. You’ll be shocked at how much water comes out. Keep squeezing until barely any moisture remains. This prevents soggy bars. Set the squeezed zucchini aside.
Step 2: Preheat and Prep the Pan
Preheat your oven to 350°F (175°C). Line your 9×9-inch baking pan with parchment paper, leaving a 2-inch overhang on two opposite sides. This creates “handles” for lifting the bars out later. Lightly grease the parchment with cooking spray or butter.
Step 3: Mix the Dry Ingredients
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set this aside. Whisking aerates the flour and ensures everything is evenly distributed—no one wants a pocket of baking powder in their bar.
Step 4: Make the Batter
In a large bowl, whisk together the melted butter and sugar until well combined. It should look like wet sand. Add the eggs one at a time, whisking well after each addition. Stir in the vanilla extract, lemon juice, and lemon zest. The mixture should look smooth and slightly thick.
Gradually fold the dry ingredients into the wet mixture using a rubber spatula. Mix until just combined—overmixing will make the bars tough. Gently fold in the squeezed zucchini. The batter will be thick but spreadable. Don’t worry if it looks a little lumpy; that’s the zucchini doing its thing.
Step 5: Bake the Bars
Pour the batter into the prepared pan and spread it evenly with your spatula. Bake for 22-28 minutes, or until the edges are golden brown and a toothpick inserted in the center comes out clean or with just a few moist crumbs. The top should spring back when lightly touched. My oven runs hot, so I check at 22 minutes—yours might need the full 28.
Let the bars cool in the pan on a wire rack for about 15 minutes, then use the parchment handles to lift them out. Transfer to the wire rack to cool completely before frosting. This is important—if you frost them while they’re warm, the ricotta frosting will melt into a sad puddle.
Step 6: Make the Ricotta Frosting
While the bars cool, make the frosting. In a medium bowl using an electric hand mixer, beat the ricotta and softened butter together until smooth and creamy—about 2 minutes. Add the sifted powdered sugar, lemon juice, lemon zest, and a pinch of salt. Beat on low speed until combined, then increase to medium-high and beat for another 2-3 minutes until light and fluffy.
The frosting should be thick enough to spread but still soft. If it’s too thin, add a little more powdered sugar. If it’s too thick, add a teaspoon of milk or lemon juice. Taste it and adjust the lemon to your preference—I like mine extra tangy.
Step 7: Frost and Slice
Once the bars are completely cool, spread the ricotta frosting evenly over the top. Use an offset spatula or the back of a spoon for a smooth finish. For a pretty presentation, garnish with extra lemon zest or thin lemon slices. Refrigerate for 20-30 minutes to set the frosting slightly before slicing—this gives you cleaner cuts.
Use a sharp knife to cut into 16 squares, wiping the blade clean between cuts for neat edges. If you want smaller bars, cut into 25 pieces for a bite-sized treat.
Cooking Tips & Techniques
After making these bars more times than I care to admit, I’ve collected a few hard-earned lessons. Let me save you from my mistakes.
The Zucchini Squeeze is Non-Negotiable. I know I’ve said this already, but I’m saying it again because it’s that important. The first time I made these, I was lazy and just tossed the shredded zucchini in without squeezing. The bars turned out gummy and dense, and the center never fully set. Squeeze until you think you’ve gotten enough water out, then squeeze one more time. Your bars will thank you.
Room Temperature Ingredients Matter. Cold eggs can cause your melted butter to seize up, creating a lumpy batter. Cold ricotta won’t blend smoothly into the frosting. Take everything out of the fridge 30 minutes before you start baking. If you forget (I do this all the time), place the eggs in a bowl of warm water for 5 minutes, and microwave the ricotta in 10-second bursts until it’s no longer cold.
Don’t Overmix the Batter. I’m guilty of this more than I’d like to admit. When you add the dry ingredients to the wet, mix just until you don’t see streaks of flour anymore. Overmixing develops the gluten, which makes the bars tough and dense instead of tender and soft.
Check for Doneness Early. Every oven is different. Start checking your bars at 22 minutes, even if the recipe says 25-28. A toothpick inserted in the center should come out clean or with just a few moist crumbs. If it comes out wet with batter, give it another 3-4 minutes. The edges should be golden and starting to pull away from the pan.
Patience with Cooling. I know it’s hard to wait, but frosting warm bars is a recipe for disaster. The ricotta frosting will melt and slide right off, leaving you with a sad, streaky mess. Let the bars cool completely—at least an hour—before you even think about frosting them.
Variations & Adaptations
This recipe is incredibly versatile. Here are a few ways I’ve tweaked it over the years:
Lemon Blueberry Zucchini Bars
Fold 1 cup of fresh or frozen blueberries (don’t thaw them) into the batter along with the zucchini. The berries burst during baking and create little pockets of jammy goodness. This is my husband’s absolute favorite version.
Gluten-Free Version
Swap the all-purpose flour with a 1:1 gluten-free baking blend that contains xanthan gum. I’ve used Bob’s Red Mill and King Arthur Measure for Measure with great results. The texture is slightly more delicate, so let the bars cool completely before slicing.
Dairy-Free Adaptation
Use melted coconut oil or vegan butter in place of the regular butter. For the frosting, use a dairy-free cream cheese alternative (like Kite Hill or Miyoko’s) instead of ricotta. The frosting won’t be quite as creamy, but it’s still delicious.
Lime-Coconut Twist
Replace the lemon juice and zest with lime, and add ½ cup of shredded coconut to the batter. Top with a coconut-lime ricotta frosting. It’s tropical and bright—perfect for summer.
Extra Lemon Lovers
If you’re like me and can’t get enough lemon, add an extra tablespoon of lemon zest to the batter and increase the lemon juice in the frosting to 2 tablespoons. You can also brush the warm bars with a simple lemon syrup (2 tablespoons lemon juice mixed with 2 tablespoons powdered sugar) before frosting for an extra punch.
Serving & Storage Suggestions
These bars are best served slightly chilled or at room temperature. The ricotta frosting firms up nicely in the fridge, which makes for cleaner slices and a more refreshing bite. I like to serve them straight from the fridge on warm days—they’re almost like a lemon cheesecake bar.
For a pretty presentation, arrange the bars on a white platter and garnish with fresh lemon slices, a sprinkle of lemon zest, and a few fresh mint leaves. They’re perfect for brunch buffets, afternoon tea, or as a light dessert after a heavy meal.
Storage: Place the bars in an airtight container, layered with parchment paper between each layer. They’ll keep in the refrigerator for up to 5 days. The flavors actually get better after a day—the lemon and zucchini have time to meld together.
Freezing: You can freeze the unfrosted bars for up to 3 months. Wrap them tightly in plastic wrap, then foil, and place in a freezer bag. When you’re ready to serve, thaw them in the refrigerator overnight, then make the frosting fresh. I don’t recommend freezing the frosted bars—the ricotta texture changes when thawed.
Reheating: These bars are meant to be served cold or room temperature, so no reheating needed. If you’ve stored them in the fridge, just let them sit on the counter for 10-15 minutes before serving to take the chill off.
Nutritional Information & Benefits
Per bar (based on 16 servings): Approximately 220 calories, 9g fat, 32g carbohydrates, 4g protein, 1g fiber, 18g sugar. These values are estimates and will vary based on your specific ingredients.
One of the best things about these bars is that they sneak in a serving of vegetables without anyone noticing. Zucchini is packed with vitamin C, vitamin A, potassium, and antioxidants. It’s also mostly water, which is what keeps these bars so incredibly moist without needing extra oil or butter.
The ricotta frosting adds a good amount of protein and calcium compared to traditional buttercream. Whole milk ricotta is rich in calcium and vitamin B12, which supports bone health and energy metabolism. Plus, the lemon provides a boost of immune-supporting vitamin C.
Dietary Considerations: This recipe contains gluten, dairy, and eggs. For a gluten-free version, see the variations section above. For dairy-free, use the adaptations I mentioned earlier. The bars are nut-free as written, making them safe for school lunches and nut-free households.
While these are still a dessert (let’s not pretend otherwise), I feel good about serving them to my family. They’re a fun way to use up garden zucchini, and the nutritional boost from the veggies and ricotta makes them a slightly smarter choice than a standard sugar cookie or brownie.
Conclusion
These Perfect Lemon Zucchini Bars with Ricotta Frosting have become my secret weapon for using up summer squash, impressing brunch guests, and satisfying my lemon dessert cravings all at once. They’re bright, creamy, and just the right amount of sweet—everything I want in a spring or summer treat.
What I love most about this recipe is how forgiving it is. You can customize it a hundred different ways, and it always turns out delicious. Don’t have ricotta? Cream cheese works in a pinch. Want more lemon? Go ahead and add it. The zucchini keeps everything moist and tender, so even if you tweak the flavors, the texture stays perfect.
I’d love to hear how these turn out for you! Drop a comment below and let me know if you tried any variations, or tag me in your photos if you share them online. Did you add blueberries? Try a lime version? Make them for a party? I read every single comment, and your feedback helps me create better recipes for all of us.
Happy baking, friends. May your zucchinis be plentiful and your frosting always creamy.
Frequently Asked Questions
Can I use a different type of squash?
Absolutely! Yellow summer squash works perfectly in place of zucchini. The flavor is slightly milder, but the texture is identical. You could even use a mix of both for a pretty color contrast.
My ricotta frosting turned out runny. What went wrong?
This usually happens for one of two reasons: either your ricotta was too watery (drain it in a fine-mesh sieve for 30 minutes before using) or your bars weren’t completely cool when you frosted them. Next time, make sure both the ricotta and the bars are at room temperature before you start.
Can I make these bars ahead of time?
Yes! You can bake the bars up to 2 days in advance and keep them unfrosted in the refrigerator. Make the frosting and frost them the day you plan to serve them for the best texture and appearance.
How do I get clean slices without the frosting smearing?
Chill the frosted bars in the refrigerator for at least 30 minutes before slicing. Use a sharp knife and wipe it clean with a damp paper towel between each cut. This gives you those beautiful, bakery-style edges.
Can I skip the frosting?
You can, but I wouldn’t recommend it! The ricotta frosting is what makes these bars truly special. If you really want to skip it, dust the cooled bars with powdered sugar and serve with a dollop of whipped cream or Greek yogurt instead. They’ll still be delicious, just not quite as decadent.
Pin This Recipe!

Perfect Lemon Zucchini Bars with Easy Ricotta Frosting
These lemon zucchini bars are incredibly moist, bright, and topped with a tangy ricotta frosting. They’re the perfect spring and summer dessert that sneaks in a serving of vegetables without anyone noticing.
- Prep Time: 20 minutes
- Cook Time: 25 minutes
- Total Time: 45 minutes
- Yield: 16 servings 1x
- Category: Dessert
- Cuisine: American
Ingredients
- 1 ½ cups all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon fine sea salt
- 1 cup granulated sugar
- 2 large eggs, room temperature
- ½ cup unsalted butter, melted and slightly cooled
- 1 teaspoon vanilla extract
- 2 tablespoons fresh lemon juice
- 1 tablespoon lemon zest
- 1 ½ cups shredded zucchini, squeezed dry
- ½ cup whole milk ricotta cheese, room temperature
- 2 tablespoons unsalted butter, softened
- 1 ½ cups powdered sugar, sifted
- 1 tablespoon fresh lemon juice
- 1 teaspoon lemon zest
- Pinch of salt
Instructions
- Wash zucchini, trim ends, and grate using the large holes of a box grater. Place shredded zucchini in a clean kitchen towel and squeeze tightly to remove as much water as possible. Set aside.
- Preheat oven to 350°F (175°C). Line a 9×9-inch baking pan with parchment paper, leaving a 2-inch overhang on two opposite sides. Lightly grease the parchment.
- In a medium bowl, whisk together flour, baking powder, baking soda, and salt. Set aside.
- In a large bowl, whisk together melted butter and sugar until well combined. Add eggs one at a time, whisking well after each addition. Stir in vanilla extract, lemon juice, and lemon zest.
- Gradually fold the dry ingredients into the wet mixture using a rubber spatula until just combined. Gently fold in the squeezed zucchini.
- Pour batter into prepared pan and spread evenly. Bake for 22-28 minutes, until edges are golden and a toothpick inserted in the center comes out clean or with a few moist crumbs.
- Let bars cool in the pan on a wire rack for 15 minutes, then use parchment handles to lift them out. Transfer to wire rack to cool completely before frosting.
- While bars cool, make frosting: In a medium bowl, beat ricotta and softened butter with an electric hand mixer until smooth and creamy, about 2 minutes. Add sifted powdered sugar, lemon juice, lemon zest, and a pinch of salt. Beat on low until combined, then on medium-high for 2-3 minutes until light and fluffy.
- Once bars are completely cool, spread frosting evenly over the top. Garnish with extra lemon zest or thin lemon slices if desired. Refrigerate for 20-30 minutes to set frosting slightly before slicing.
- Use a sharp knife to cut into 16 squares, wiping the blade clean between cuts.
Notes
Squeeze zucchini thoroughly to prevent soggy bars. Use room temperature ingredients for best results. Do not overmix the batter. Cool bars completely before frosting. For cleaner slices, chill frosted bars for 30 minutes before cutting.
Nutrition
- Serving Size: 1 bar
- Calories: 220
- Sugar: 18
- Sodium: 180
- Fat: 9
- Saturated Fat: 5
- Carbohydrates: 32
- Fiber: 1
- Protein: 4
Keywords: lemon zucchini bars, ricotta frosting, zucchini dessert, lemon bars, spring dessert, summer dessert, easy dessert, garden zucchini recipe



