"Gas adsorption and capillary condensation of organic vapors are studied by optical interferometry, using anodized nanoporous alumina films with controlled geometry (cylindrical pores with diameters in the range of 10-60 nm). The optical response of the film is optimized with respect to the geometric parameters of the pores, for potential performance as a gas sensor device. The average thickness of the adsorbed film at low relative pressures is not affected by the pore size. Capillary evaporation of the liquid from the nanopores occurs at the liquid-vapor equilibrium described by the classical Kelvin equation with a hemispherical meniscus. Due to the almost complete wetting, we can quantitatively describe the condensation for isopropanol us...