An integrated optical sensor for the detection of gases like C02 and S02 is described. The working principle is as follows: The gas to be measured is absorbed by a sensitive film, which changes its refractive index with gas absorption. The sensitive film is deposited onto an integrated optical interferometer. As the intensity distribution of waveguide modes is not totally confined to the waveguide, Interferometer phase changes with the refractive index of the film. Tests have been made with interferometers of the Fabry-Pérot-type. Interferometer phase is measured continously using the serrodyne detection scheme. As sensitive films organically modified silicates are used. These glassy films are prepared by the solgel-technique, which allows the incorporation of functional organic groups within a network of siloxane bonds. The ability of selective gas absorption of these materials is determined by chosing appropriate functional groups. Films sensitive towards e.g. C02 and S02 have been fabricated and tested under different gas atmospheres. Temperature dependence of the sensor signal and cross sensitivities towards other gases and humidity have been investigated.