The near infrared transmission spectra of nanoporous SiO2/Al2O3 xerogel have been recorded for the first time in the process of filling of nanopores with ammonia and acetone molecules. It has been found that the physical adsorption of these gases results in a reversible increase in the translucence of xerogel samples at the frequencies of vibrational bands of surface OH groups.