The dependence of effective refractive index on polymer fraction of oxidized porous silicon films with various initial porosities and oxidation degree was given by Bruggeman effective medium model. The effective refractive index of oxidized porous silicon inserted polymer PMMA composite films was studied in experiment. It found experimentally that polymer inserted into pores of porous silicon can enhance the stability of optical parameters of the film.