Nanostructured titania thin films were prepared under controlled atmospheric conditions by sol-gel dip-coating technique on glass, fused silica and (100)-silicon substrates. Two different sol-gel routes were employed by using different precursor solutions, a highly acid solution and a polymer-like solution. The influence of sol composition and of the substrate type on the morphology, coating porosity, surface roughness, crystalline phases and grain size of the titania films were investigated in detail. In addition, the relationship between microstructural/morphological properties and the optical properties (energy gap, refractive index and extinction coefficient) and the hydrophilic performance of the coatings were evaluated. Our experimental results clearly indicate that the sol composition and substrate type remarkably influence the films morphology and microstructure, moreover they consequently modify the optical response and hydrophilic performances of the samples, showing that superhydrophilic titania coatings can be obtained opportunely by choosing the composition of the precursors sol-gel solution. Blue shift of the band gap energy and a band structure mutation from indirect to direct were also revealed. The hydrophilic properties and the change of the band gaps transition can be attributed to oxygen vacancy on the surface of the titania nanocrystallites that gives rise to Ti 3+ sites and, consequently, to structural changes/defects of the anatase nanoarchitecture. These findings allow us to design and tailor the optical and hydrophilic properties of the titania coatings.