Many people think a chocolate zucchini slice is a sweet bread or cake, but it’s actually a versatile baked dish that can be either sweet or savory. The accurate answer is that a chocolate zucchini slice is a moist, brownie-like treat that uses shredded zucchini for moisture and richness, and it can also be made as a savory dinner slice with chocolate as an optional twist. This page gives you a reliable sweet recipe plus a savory variation, with tips for grating, baking, and storing.
What Is a Chocolate Zucchini Slice?
A chocolate zucchini slice is a baked square or rectangle, similar to a brownie or a quick bread, where finely grated zucchini adds moisture without a strong vegetable flavor. The zucchini melts into the batter, making the slice tender and fudgy. It’s a popular way to use up garden zucchini, and it works as a snack, lunchbox treat, or dessert.
There’s also a savory version, often called a zucchini slice, which is like a crustless quiche with eggs, cheese, and vegetables. Some people add a little cocoa powder to a savory slice for a subtle depth, but that’s less common. This article covers the sweet chocolate version first, then a savory variation that doesn’t actually contain chocolate but is often searched alongside it.
Sweet Chocolate Zucchini Slice Recipe
This sweet slice tastes like a dense, fudgy brownie with a hint of cinnamon. It’s perfect for an afternoon snack or a lunchbox treat, and it’s a great way to sneak vegetables into a dessert. The zucchini keeps the slice moist for days.
Ingredients
- 1 1/2 cups (190 g) all-purpose flour
- 1/2 cup (50 g) unsweetened cocoa powder
- 1 tsp baking soda
- 1/2 tsp salt
- 1 tsp ground cinnamon (optional)
- 1 1/2 cups (300 g) granulated sugar
- 2 large eggs
- 1/2 cup (120 ml) vegetable oil
- 1 tsp vanilla extract
- 2 cups (about 250 g) grated zucchini, lightly packed
- 1/2 cup (90 g) semisweet chocolate chips (optional)
Instructions
- Preheat the oven to 350°F (175°C). Grease a 9×9-inch (23×23 cm) baking pan or line it with parchment paper.
- Grate the zucchini on the large holes of a box grater. Place the grated zucchini in a clean kitchen towel and squeeze out excess moisture. You should have about 1 1/2 cups (about 180 g) after squeezing.
- In a medium bowl, whisk together the flour, cocoa powder, baking soda, salt, and cinnamon (if using).
- In a large bowl, beat the sugar, eggs, oil, and vanilla until well combined. Stir in the grated zucchini.
- Add the dry ingredients to the wet mixture and stir until just combined. Fold in the chocolate chips if using.
- Pour the batter into the prepared pan and spread evenly. Bake for 30–35 minutes, until a toothpick inserted in the center comes out mostly clean (a few moist crumbs are fine).
- Let cool in the pan on a wire rack for at least 15 minutes before slicing. The slice firms up as it cools.
Egg safety: The eggs in this recipe are fully baked, reaching an internal temperature well above the USDA FSIS safe minimum of 160°F (71°C) for egg dishes, so it’s safe for everyone.
Savory Zucchini Slice (No Chocolate)
If you were actually after the classic savory zucchini slice, here’s a simple version that’s great for breakfast, brunch, or a light dinner. It’s like a frittata baked in a pan, with a golden top and tender middle.
Serves 6 · Prep 15 min · Cook 30 min · Total 45 min
Ingredients
- 2 cups (about 250 g) grated zucchini
- 1 small onion, finely chopped
- 1 cup (100 g) shredded cheddar cheese
- 1/2 cup (60 g) all-purpose flour
- 1/2 tsp baking powder
- 1/2 tsp salt
- 1/4 tsp black pepper
- 6 large eggs
- 1/4 cup (60 ml) milk
- 2 tbsp olive oil
Instructions
- Preheat the oven to 350°F (175°C). Grease an 8×8-inch (20×20 cm) baking dish.
- Grate the zucchini and squeeze out excess moisture using a clean towel. In a large bowl, combine the zucchini, onion, cheese, flour, baking powder, salt, and pepper.
- In a separate bowl, whisk the eggs, milk, and olive oil. Pour the egg mixture into the zucchini mixture and stir until well combined.
- Pour into the prepared dish and bake for 30–35 minutes, until the top is golden and the center is set (a knife inserted in the middle comes out clean).
- Let stand for 5 minutes before slicing. Serve warm or at room temperature.
Egg safety: The eggs in this savory slice are fully baked, reaching an internal temperature above the USDA FSIS safe minimum of 160°F (71°C), so it’s safe to eat.
Key Tips for a Perfect Slice
The most important step is squeezing the grated zucchini well. Excess water makes the slice soggy and prevents it from setting properly. After grating, place the zucchini in a clean kitchen towel and twist to remove as much liquid as possible. You should get about 1 1/2 cups (about 180 g) after squeezing for the sweet recipe, and about 1 1/2 cups (about 180 g) for the savory one.
Another tip: don’t overmix the batter. Stir just until the flour disappears; overmixing develops gluten and makes the slice tough. For the sweet version, a toothpick test is the best way to check doneness—if it comes out with a few moist crumbs, it’s done. For the savory version, the center should feel firm when lightly pressed.
If you want a cleaner cut, let the slice cool completely before slicing, and use a sharp knife. For the sweet version, you can dust with powdered sugar just before serving, but that’s optional.
Storing and Freezing
Both slices keep well in the refrigerator for 3–4 days. Store them in an airtight container or wrap tightly in plastic wrap. The sweet slice actually tastes even better the next day as the flavors meld.
You can freeze either slice for up to 3 months. Wrap individual portions in plastic wrap, then place in a freezer bag. Thaw in the refrigerator overnight or reheat in the microwave for 20–30 seconds. For the savory slice, reheat in a 350°F (175°C) oven for about 10 minutes to crisp the top.
Always refrigerate leftovers within 2 hours of baking, and reheat to 165°F (74°C) if you’re serving them again.
Common Questions
Can I use a different type of zucchini? Yes, any variety works. Yellow squash also works, but it’s slightly more watery, so squeeze it extra well.
Can I make the sweet slice gluten-free? You can substitute a 1:1 gluten-free flour blend for the all-purpose flour. The texture will be slightly more crumbly, but it will still be delicious. Check the label to ensure the blend is suitable for baking.
Can I reduce the sugar? You can cut the sugar to 1 cup (200 g) for a less sweet slice, but the texture may be slightly less tender. For a sugar-free option, use a granulated sweetener that measures like sugar, but note that the result may differ.
Is the savory slice suitable for vegetarians? Yes, it contains no meat. For a vegan version, you can use a commercial egg replacer, but the texture will be more like a bread than a frittata.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.