An optical method to determine the nanostructure and the morphology of porous thin films is presented. This procedure is based on the response of a side-polished optical fiber with the film under study, when an adsorption-desorption cycle is carried out. Spectroscopic ellipsometry provides additional information about the optical properties and adsorption behavior of the film. Pore size distribution, anisotropy, and inhomogeneity of films can be determined by use of these two complementary techniques. To check the performances and suitability of the optical method, we have characterized a typical porous material: a TiO 2 film deposited by evaporation. Water vapor has been used for the adsorption cycles. The well-known columnar structure of the evaporated TiO 2 has been evidenced, and the relation between the nanostructure and the optical properties of the film is showed.