An optically transparent metalâorganic framework thin film, [Zn2(bdc)2(dpNDI)]n, is grown on the tinâdiffused glass substrate using layerâbyâlayer liquid phase epitaxial (LPE) growth method at room temperature (20â°C). The influence of growth cycle on morphology, optical properties, and gas sensibility of [Zn2(bdc)2(dpNDI)]n thin film is studied for the first time. The [Zn2(bdc)2(dpNDI)]n thin film displays a honeycomb framework with a large pore size, uniform surface morphology, and higher absorbance after 11 cycles of growth. The optical gas sensing performance of [Zn2(bdc)2(dpNDI)]n thin films is then monitored using the planar optical waveguide (POWG) gas detection system under UV light (395ânm) irradiation. As a result, the [Zn2(bdc)2(dpNDI)]n thin film POWGs exhibit a greater adsorption response to xylene gas, due to the larger refractive index and absorbance changes upon various volatile organic compounds (VOCs). The thin film POWG sensor shows fast, reversible response to xylene gas, in the concentration range of 1â1000âppm. Furthermore, the xylene gas adsorption kinetics at different temperature is also investigated, in which the xylene gas adsorption behaviors of [Zn2(bdc)2(dpNDI)]n thin film follow a pseudoâsecond order (PSO) model; at room temperature, the adsorption capacity on the unit surface is 7.92âÎŒgâcmâ2.