01 - Preheat oven to 350°F. Grease and flour a 9x5-inch loaf pan.
02 - Whisk together flour, baking soda, baking powder, salt, cinnamon, and nutmeg in a medium bowl.
03 - Beat eggs, vegetable oil, granulated sugar, brown sugar, and vanilla in a large bowl until well combined.
04 - Stir grated zucchini into the wet mixture until evenly distributed.
05 - Add dry ingredients to wet ingredients and fold gently until just incorporated. Do not overmix.
06 - Fold in chopped nuts if using.
07 - Pour batter into prepared loaf pan and smooth the top.
08 - Bake for 50-60 minutes, or until a toothpick inserted into the center comes out clean.
09 - Let cool in pan for 10 minutes, then transfer to wire rack to cool completely before slicing.