Last Updated: October 8, 2026
- Top Pick: The Last Zucchini Cookie: Customizable Zucchini Cookie Recipes and Other Guides to Baking with Zucchini
- Best Value: Cooking With Zucchini – Delicious Recipes, Preserves, Cakes and More With Zucchini: How To Deal With A Glut Of Zucchini And Love It!
- Premium Choice: Zucchini Cookie Recipes (Cookies Book 48)
This zucchini bar recipe makes a tender, evenly baked 9-by-13-inch pan in about 30 minutes, with moist shredded zucchini, a simple cinnamon-spiced batter, and two frosting options. Use lightly squeezed zucchini—not bone-dry shreds—and check the center with a toothpick before removing the pan from the oven.
As an Amazon Associate we earn from qualifying purchases at no extra cost to you.
Zucchini Bars at a Glance
| Detail | What to use or expect |
|---|---|
| Pan | Light-colored metal, 9 × 13 inches |
| Oven temperature | 350°F (175°C) |
| Bake time | 25–30 minutes |
| Zucchini | About 2 packed cups, or 250–280 g, before squeezing |
| Cooling before frosting | At least 45 minutes, until the center feels cool |
| Yield | About 24 bars, depending on how they’re cut |
Ingredients
- 2 cups (250–280 g) all-purpose flour, spooned into the measuring cup and leveled
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- 1 teaspoon ground cinnamon
- ½ teaspoon fine salt
- 2 large eggs, at room temperature if convenient
- ¾ cup (150 g) granulated sugar
- ½ cup (100 g) packed light brown sugar
- ½ cup (120 ml) neutral oil, such as canola or vegetable oil
- 1 teaspoon vanilla extract
- 2 cups (250–280 g) coarsely shredded zucchini, measured before squeezing
Choose a frosting
- Quick vanilla glaze: Whisk 1 cup (120 g) powdered sugar with 1½–2 tablespoons milk and ½ teaspoon vanilla. Add milk a few drops at a time until it drizzles slowly.
- Cream cheese frosting: Beat 4 ounces (113 g) softened cream cheese with 2 tablespoons softened butter until smooth. Mix in 1 cup (120 g) powdered sugar, ½ teaspoon vanilla, and a pinch of salt. For a thicker spread, add more powdered sugar a tablespoon at a time.
How to Make Tender, Evenly Baked Bars
- Prepare the pan and oven. Heat the oven to 350°F (175°C). Grease a 9-by-13-inch metal pan or line it with parchment, leaving an overhang to lift out the cooled bars. A light-colored metal pan is a reliable choice for even browning. Dark metal can brown the edges sooner, while glass may need a little longer; begin checking at 25 minutes.
- Shred and assess the zucchini. Wash and trim the ends, then shred the zucchini on the large holes of a box grater. Measure 2 packed cups before removing any liquid. If the shreds are dripping wet, place them in a clean kitchen towel and give them one gentle squeeze. The goal is damp shreds that no longer drip—not dry, tightly compressed zucchini.
- Mix the dry ingredients. In a medium bowl, whisk the flour, baking powder, baking soda, cinnamon, and salt. This distributes the leavening so the bars rise evenly.
- Mix the wet ingredients. In a larger bowl, whisk the eggs with both sugars, oil, and vanilla until combined. Stir in the zucchini.
- Combine without overmixing. Add the flour mixture to the wet ingredients and fold just until no dry streaks remain. The batter will be thick. Mixing it until smooth can develop extra gluten, making the bars less tender.
- Bake and check the center. Spread the batter evenly into the pan, pushing it into the corners. Bake for 25–30 minutes. Start checking at 25: a toothpick inserted near the center should come out clean or with a few moist crumbs, but not wet batter. If the top is set and the center still looks shiny, continue baking in 2-minute increments.
- Cool before frosting. Set the pan on a rack and cool completely, at least 45 minutes. Frosting warm bars can melt the topping and make the surface sticky. Lift out the bars using the parchment, if used, and cut with a clean knife.
Getting the Zucchini Moisture Right
Zucchini adds moisture and soft texture, but how much you squeeze depends on the vegetable, not a rigid rule. A small, firm zucchini may produce fairly dry shreds; a large one may release more liquid. For this recipe, use 2 cups measured before squeezing, then remove only free liquid if the shreds are wet enough to drip. Do not wring them until they feel dry.
Too much liquid can leave the center gummy or extend the bake time. Too little can make the bars dry, especially around the edges. If you have squeezed out a substantial amount, add 1 tablespoon of the reserved zucchini liquid back to the batter. Avoid pouring all the liquid in at once: the batter should be thick and spreadable, not runny.
Pan and Timing Adjustments
| Pan size and material | What changes | How to check |
|---|---|---|
| 9 × 13-inch light metal | Standard depth and timing for this recipe | Check at 25 minutes; likely done by 30 |
| 9 × 13-inch dark metal | Edges may brown faster | Begin checking at 22–24 minutes |
| 8 × 8-inch metal | Deeper batter layer; center takes longer to set | Expect roughly 35–45 minutes; use the toothpick test |
| 9 × 13-inch glass | Heating and browning can differ from metal | Check at 25 minutes, then continue in short increments |
The smaller-pan estimate is a guide, not a guarantee: oven calibration, pan color, and how deeply the batter is spread all affect timing. If using a smaller pan, do not fill it close to the rim. For the most predictable result, use the specified 9-by-13-inch pan.
Which Frosting Should You Choose?
- Choose vanilla glaze for a thinner, sweeter finish that sets lightly and is easy to drizzle over the whole pan. It’s also the simpler option when you want bars that stack after the glaze firms.
- Choose cream cheese frosting for a tangy, richer topping. Spread it in a thin layer so it complements rather than overwhelms the spiced bars. Because it contains cream cheese, refrigerate frosted leftovers.
- Skip frosting if you want a less-sweet snack. A light dusting of powdered sugar just before serving adds a finished look without a thick topping.
Storage and Common Fixes
Keep unfrosted bars in an airtight container at room temperature for up to 2 days, or refrigerate for up to 5 days. Store cream-cheese-frosted bars covered in the refrigerator. For a softer texture, let chilled bars sit at room temperature for about 15 minutes before serving. Freeze unfrosted bars, individually wrapped, for up to 2 months; thaw them covered, then frost if desired.
- Gummy center: The bars may be underbaked, the zucchini may have been exceptionally wet, or the pan may be smaller than specified. Use a toothpick near the center and bake until no wet batter clings to it.
- Dry edges: Check earlier next time, especially with a dark pan. Make sure the pan is 9 × 13 inches and the zucchini was not squeezed completely dry.
- Uneven thickness: Spread the batter into the corners and level the surface before baking. Rotate the pan once only if your oven has a clear hot spot, and do so quickly after the center has begun to set.
- Frosting slides off: The bars were likely still warm, or the frosting was too loose. Cool fully and add powdered sugar gradually until the frosting holds its shape.










