Zinc oxide (ZnO) nanostructured films are synthesized on silicon substrates to form different morphologies that consist of foamlike structures, wormlike aggregates, circular vesicles, and spherical granules. The synthesis involves a sol–gel mechanism coupled with an amphiphilic diblock copolymer poly(styrene-block-ethylene oxide), P(S-b-EO), which acts as a structure-directing template. The ZnO precursor zinc acetate dihydrate (ZAD) is incorporated into the poly(ethylene oxide) block. Different morphologies are obtained by adjusting the weight fractions of the solvents and ZAD. The sizes of the structure in solution for different sol–gels are probed by means of dynamic light scattering. Thin-film samples with ZnO nanostructures are prepared by spin coating and solution casting followed by a calcination step. On the basis of various selected combinations of weight fractions of the ingredients used, a ternary phase diagram is constructed to show the compositional boundaries of the investigated morphologies. The evolution and formation mechanisms of the morphologies are addressed in brief. The surface morphologies of the ZnO nanostructures are studied with SEM. The inner structures of the samples are probed by means of grazing incidence small-angle X-ray scattering to complement the SEM investigations. XRD measurements confirm the crystallization of the ZnO in the wurtzite phase upon calcination of the nanocomposite film in air. The optical properties of ZnO are analyzed by FTIR and UV/Vis spectroscopy.