I first made these zucchini cookies when my garden sent me an avalanche of zucchini and I wanted something quicker than a loaf. Right away I realized the trick: a measured amount of grated zucchini and a brief rest after mixing keeps the cookies soft without turning them into cake. These zucchini cookies are soft, lightly spiced, and reliably moist — perfect when you need a simple, manageable bake that uses up fresh produce.

Why this zucchini cookies recipe works
The core technique that makes these zucchini cookies consistently soft is balancing moisture. Zucchini contains a lot of water, so the recipe uses a modest amount of shredded zucchini (about 1 cup packed per 2 cups flour) plus a short 10–15 minute rest after mixing. That rest allows the dry ingredients to hydrate and the grated zucchini to release only a controlled amount of juice. I also cut back slightly on the total liquid (less egg and a touch less melted butter than many cookie recipes) and add a small amount of cornstarch, which helps the cookie set tenderly without becoming cakey.
During testing I learned that shredding the zucchini too finely or squeezing it dry changed the texture: too fine and the cookies became dense, squeezed dry and they turned out drier. What worked best was medium-coarse shredding with a quick 10-second squeeze in a towel to remove large pools of liquid, then folding that zucchini into the batter and letting it rest. After that change the cookies baked evenly, stayed soft for days in an airtight container, and had a bright, subtle zucchini flavor instead of tasting watery.
Key takeaways
- Use about 1 cup packed shredded zucchini for every 2 cups all-purpose flour to keep texture balanced.
- Rest the mixed dough 10–15 minutes so dry ingredients hydrate and excess zucchini moisture evens out.
- A small amount of cornstarch and slightly reduced butter prevents a cakey crumb while keeping cookies tender.
Ingredients you’ll need and what to substitute
These zucchini cookies rely on simple pantry staples and one fresh vegetable. The important ingredient is the zucchini itself: choose firm zucchini (not soft or wet) and shred it coarsely rather than pureeing. That gives small flecks of green without heavy vegetable texture.
Key ingredients and acceptable swaps:
- All-purpose flour: The structure comes from AP flour. You can swap up to 1/4 cup with whole-wheat pastry flour for a nuttier flavor, but the cookies will be slightly denser and you may need to add 2–3 teaspoons more milk for moisture.
- Cornstarch: Helps tenderness and a softer set. If you don’t have cornstarch, use an extra tablespoon of flour and reduce baking time by 1–2 minutes, though texture may be a touch firmer.
- Butter: Unsalted melted butter gives flavor and a soft crumb. If you prefer, use neutral vegetable oil (canola) in the same amount for a slightly softer, less buttery result.
- Sugar: The recipe uses a mix of granulated and light brown sugar. All granulated sugar will make the cookies slightly crisper around the edges; all brown sugar will make them chewier.
- Egg: Provides binding. For an egg substitute, use 1/4 cup applesauce plus an extra 1/4 teaspoon baking powder; the cookies will be a touch more cake-like.
- Vanilla and warm spices: Vanilla extract and a small amount of cinnamon and nutmeg bring out the zucchini’s mild flavor. You can swap cinnamon for pumpkin pie spice if you like.
Measure the zucchini by packing it into a measuring cup, then give it a quick squeeze in a clean kitchen towel or fine mesh strainer to remove obvious loose water; do not fully dry it out.
Equipment
- Standard mixing bowls (one medium, one large)
- Box grater or food processor shredding disk
- Baking sheet with parchment paper or silicone baking mat (rimmed sheet pan recommended)
- Cooling rack
- Optional: cookie scoop (2-tablespoon) for even cookies
How to make zucchini cookies
Prep and shred
Preheat the oven to 350°F and line two rimmed baking sheets with parchment paper. Wash one medium zucchini and trim the ends. Using the large holes of a box grater or a food processor disk, shred the zucchini into a bowl. Pack the shredded zucchini into a dry measuring cup to reach 1 cup, then wrap it in a clean kitchen towel and give it a quick 10-second squeeze to remove loose surface water. You want it damp, not dripping.
Mix the batter
In a large bowl, whisk together 2 cups all-purpose flour, 2 teaspoons cornstarch, 1 teaspoon baking soda, 1/2 teaspoon baking powder, 1 teaspoon ground cinnamon, 1/4 teaspoon ground nutmeg, and 1/2 teaspoon fine salt. In a separate bowl, whisk together 1/2 cup granulated sugar and 1/2 cup packed light brown sugar with 1/2 cup melted and slightly cooled unsalted butter until combined. Whisk in 1 large egg and 1 teaspoon vanilla extract. Add the shredded zucchini and fold until distributed. Add the dry ingredients to the wet and fold gently until just combined; avoid overmixing.
Rest and shape
Here’s the part that helped most during testing: let the mixed dough sit for 10–15 minutes at room temperature. This allows the flour to absorb a bit of moisture from the zucchini so the dough firms up slightly and bakes more evenly. After resting, use a 2-tablespoon cookie scoop or spoon to portion dough onto the prepared sheets about 2 inches apart. If you want a slightly crinkled top, press each mound lightly with the back of a spoon.
Bake and finish
Bake at 350°F for 11–13 minutes, rotating the sheets front-to-back halfway through if your oven runs unevenly. The cookies are done when the edges are set and just beginning to turn golden; the centers will still be soft but not wet. Let the cookies cool on the sheet for 5 minutes, then transfer to a cooling rack to finish cooling. These cookies firm up a bit as they cool but remain soft and tender.
Things I learned the hard way
- If you shred the zucchini too finely (almost liquid), the cookies can become dense and spread; medium-coarse shredding works best.
- Squeezing all the moisture out leaves you with dry-tasting cookies; remove only loose surface water so the zucchini still contributes moisture and flavor.
- Skipping the rest after mixing made the first batch bake unevenly — some cookies were cakey, others thin. The 10–15 minute rest fixed this by allowing hydration to equalize.
- Using all brown sugar made cookies very soft but slightly darker; a half-and-half sugar mix yields a balanced texture and color.
- Baking on a cold or warped sheet pan caused uneven browning; use a rimmed, flat baking sheet and rotate halfway through baking.
Variations to try
- Lemon-Zucchini: Add 1 tablespoon finely grated lemon zest and swap nutmeg for 1/4 teaspoon ground ginger; reduce added vanilla to 1/2 teaspoon. No timing change.
- Chocolate Chip Zucchini Cookies: Fold in 3/4 cup semisweet chocolate chips at the end; you may need an extra 1–2 minutes of baking time if dough is chilled.
- Oat and Zucchini: Replace 1/2 cup flour with 1/2 cup old-fashioned oats and add 1/4 cup chopped walnuts; the cookies will be slightly heartier and may take an extra minute to bake.
- Maple-Pecan: Replace brown sugar with dark maple syrup (3/8 cup) and add 1/2 cup chopped pecans; reduce melted butter by 1 tablespoon to account for extra liquid.
Storage, freezing, and reheating
Store cooled cookies in an airtight container at room temperature for up to 3 days; place a sheet of parchment between layers to prevent sticking. For up to 1 week, keep them in the refrigerator in an airtight container. These cookies freeze well: place single layers on a baking sheet to flash-freeze for an hour, then transfer to a resealable freezer bag for up to 3 months. To thaw, move cookies to the refrigerator overnight or to the counter for 1–2 hours; warm in a 300°F oven for 5–7 minutes if you want a fresh-baked texture.
Expect some texture change after refrigeration — the crumb firms slightly. Warming briefly restores softness.
What to serve with zucchini cookies
- A simple glass of cold milk or an iced coffee for a quick snack pairing.
- Plain Greek yogurt with a drizzle of honey and berries for a light breakfast plate.
- Hot tea (Earl Grey or chamomile) for an afternoon pairing that complements the warm spices.
- Serve alongside a baked apple or pear for a fall-themed dessert plate.


Soft and Moist Zucchini Cookies
Ingredients
Equipment
Method
- Preheat the oven to 350°F and line rimmed baking sheets with parchment paper; shred one medium zucchini on the large holes of a box grater and pack into a measuring cup to equal 1 cup, then wrap and squeeze briefly to remove loose water.
- Whisk together flour, cornstarch, baking soda, baking powder, cinnamon, nutmeg, and salt in a bowl; in another bowl, combine granulated and brown sugar with melted butter, whisk in the egg and vanilla, then fold in the shredded zucchini and mix until distributed.
- Let the dough rest for 10–15 minutes so the flour hydrates; after resting, scoop 2-tablespoon mounds onto prepared sheets about 2 inches apart and gently flatten the tops if desired.
- Bake at 350°F for 11–13 minutes until edges are set and lightly golden; cool on the sheet for 5 minutes before transferring to a cooling rack to finish cooling.
Notes
Frequently asked questions
Can I use frozen zucchini? Yes — thaw it thoroughly and drain excess liquid, then measure 1 cup packed; you may need to squeeze a little more moisture out than with fresh zucchini. Be cautious: frozen zucchini tends to release more water, so reduce additional liquids slightly.
How do I keep these cookies from being soggy? Don’t over-shred or over-squeeze the zucchini; remove only loose surface moisture and follow the 10–15 minute rest so the flour can absorb moisture. Also, avoid underbaking — edges should be set and lightly golden.
Can I make the dough ahead? Yes, refrigerate shaped dough mounds on a tray for up to 24 hours covered, then bake straight from the fridge adding 1–2 minutes to the bake time. Unbaked dough freezes well for up to 3 months; bake from frozen adding a few minutes.
Why are my cookies cakey? Likely too much liquid or overmixing. Use the specified zucchini-to-flour ratio and fold until just combined. If you used all brown sugar or applesauce, expect a softer, more cake-like texture.
Can I double the recipe? Yes, double all ingredients. Bake in batches; don’t overcrowd the sheet pan. If your oven space is limited, rotate pans more frequently to maintain even baking.
Closing
These zucchini cookies are a practical, soft, and lightly spiced treat that uses summer squash without fuss; the measured zucchini ratio and brief rest are what makes the difference in keeping them soft and evenly textured. I like to keep a batch in the freezer for busy mornings and warm one for 5 minutes when I want that freshly baked feel.
Leave a Reply