Sweet Zucchini Cake with Lemon & Thyme
Lemon zucchini cake is a light, moist olive-oil sponge that folds grated zucchini together with fresh lemon and a whisper of thyme into one tender loaf. The zucchini keeps the crumb soft while the lemon keeps everything bright, so the result tastes fresh and summery rather than heavy. There is no butter and no dairy in the batter, just a handful of pantry staples and two zucchinis you probably need to use up anyway.
If you have already fallen for the classic banana bread, think of this as its lesser-known sibling: a version that is not quite as famous but every bit as good. And when you end up with industrial quantities of zucchini because you planted more seedlings this year than you should have (guilty as charged), a sweet cake like this is one of the nicest ways to put them to work.

What makes this zucchini cake work
Grated zucchini is mostly water, and that is exactly why it belongs in a cake. As it bakes, it releases moisture into the crumb and leaves the loaf soft for days without any butter. Olive oil does the same job of keeping things tender, lemon juice and zest cut through the sweetness so the cake never feels cloying, and the tiny bit of thyme adds a gentle herbal note that makes people ask what the secret ingredient is. Together they turn a humble vegetable into a dessert that disappears fast.
Ingredients you will need
- Zucchini: two large ones, grated. No need to peel them; the skin is thin and adds a pretty green fleck to the crumb.
- Olive oil: keeps the cake moist and tender. A light or mild olive oil lets the lemon shine through.
- Eggs: three, for structure and a lofty rise. This is what makes the recipe vegetarian rather than vegan.
- Sugar: just enough to sweeten without masking the lemon.
- All-purpose flour with baking soda and baking powder: the two leaveners together give a good, even lift.
- Lemon: both the juice and the grated peel from one lemon, for double the citrus flavor.
- Fresh thyme leaves: a small amount goes a long way, so stick to about half a teaspoon.
If your zucchini looks especially wet after grating, you can pat it lightly with a clean towel, though the batter is built to handle its natural moisture, so a hard squeeze is not necessary.
How to get it right
Start by whisking the oil, eggs, lemon juice, and sugar with a hand mixer until the mixture turns pale and foamy; that little bit of air is what keeps the cake light. Fold in the flour, baking soda, and baking powder just until combined, then stir through the grated zucchini, lemon peel, and thyme. Pour the batter into a parchment-lined dish and bake at 180 C (360 F) for about 45 minutes. It is done when the top is golden and a toothpick pushed into the center comes out clean. Resist the urge to open the oven too early, since a sudden drop in temperature can make the middle sink. Let the cake cool on a wire rack so the base does not turn soggy from trapped steam.

Topping and serving ideas
This cake is lovely plain with a coffee, but it also takes well to a simple finish. A few of my favorite ways to dress it up:
- A light dusting of powdered sugar once the cake has cooled.
- A quick lemon glaze made by stirring lemon juice into powdered sugar until pourable.
- A spoonful of lemon jam spread over each slice for an extra citrus hit.
- A dollop of yogurt and a few fresh berries for a lighter, fruitier plate.
- A tiny sprig of thyme on top to echo the flavor inside.
If the lemon and thyme combination wins you over, you might also enjoy the citrus-soaked limoncello sponge cake for your next bake.
How to store it and make it ahead
Because of all that zucchini, this cake actually keeps beautifully. Store it in an airtight container at room temperature for two to three days, or in the fridge for up to five, where it stays wonderfully moist. You can also freeze slices wrapped individually for up to three months and thaw them at room temperature whenever a craving hits. If anything, the flavor deepens by the second day, so it is a good one to bake ahead.
Swaps and variations
Feel free to make this recipe your own. Swap the thyme for a little rosemary or leave the herb out entirely for a purely lemon cake. For a gluten-free loaf, use your usual one-to-one gluten-free flour blend, keeping in mind the crumb will be a touch denser. If you would rather explore the plant-based side of things, browse my collection of vegan zucchini recipes, or turn the same summer squash savory with these sweet zucchini fritters. And if it is the airy texture you are after, my roundup of sponge cake recipes has plenty more to try.

If you bake this lemon zucchini cake, I would love to know how it turned out. Leave a star rating and drop a comment below to tell me whether you kept the thyme or went full-on lemon; your notes help other readers pick their perfect slice.
Summarise & Save This Recipe
★ Add us as a trusted Google source
Sweet Zucchini Cake with Lemon & Thyme
Ingredients
- 125 ml 4 fl oz olive oil
- 3 eggs
- 150 g ¾ cup sugar
- 250 g 2 ⅛ cup all-purpose flour
- 1 teaspoon baking soda
- ½ teaspoon baking powder
- lemon juice from one lemon
- 2 large zucchinis grated
- 1 teaspoon grated lemon peel
- ½ teaspoon of fresh thyme leaves
Instructions
- Heat the oven to 180 C (360F).
- Cover the baking dish in parchment paper.
- In a large bowl, add the oil, eggs, lemon juice and sugar and whisk with a hand mixer until you get a foamy texture.
- Add the flour, baking soda and baking powder and mix well.
- Add the grated zucchini, lemon peel, thyme leaves and mix well.
- Transfer the batter to the baking dish and put it in the oven for 45 minutes or until the cake is golden and passed the toothpick test.
- Let it cool on a wire rack. Serve with the topping ideas in the article or lemon jam.
Frequently Asked Questions
No, there is no need to peel it. The skin on zucchini is thin and softens completely as the cake bakes, and it adds pretty green flecks to the crumb. Just grate the zucchini whole after rinsing it.
Not really. Grated zucchini melts into the batter and mostly disappears, leaving behind moisture rather than a vegetable flavor. What you taste is the bright lemon and the gentle thyme, so even zucchini skeptics tend to be won over.
This recipe adds the grated zucchini straight into the batter, which is built to handle its natural moisture. If your zucchini looks especially wet, you can pat it lightly with a clean towel, but a hard squeeze is not necessary and can leave the cake too dry.
No, it is vegetarian. The batter uses three eggs for structure and rise, along with olive oil instead of butter. If you want a plant-based version you would need to experiment with an egg replacer, though the light, airy texture will change.
Bake it at 180 C (360 F) for about 45 minutes. It is ready when the top is golden and a toothpick inserted into the center comes out clean. Avoid opening the oven too early, as the sudden temperature drop can make the middle sink.
Keep it in an airtight container at room temperature for two to three days, or in the fridge for up to five days where it stays very moist. You can also freeze individually wrapped slices for up to three months and thaw them at room temperature.
