At a temperature of 400°F or 200°C, zucchini takes 10 to 20 minutes to cook in the oven, depending on how thick you cut it. Thinner slices take as little as 10 minutes. Zucchini boats can take up to 20 minutes.