Abstract.Optical second-harmonic generation is investigated in free-standing (110) porous silicon films having strong in-plane birefringence. Based on the measured values of the refractive indices, the conditions of phase matching are calculated and verified in the experiments on angular and polarization dependences of second-harmonic generation. Filling pores with a transparent dielectric liquid allows phase matching to be achieved and the second-harmonic signal to be increased by two orders of magnitude. The results of these experiments suggest an opportunity to form new-type nonlinear-optical media consisting of birefringent porous silicon as a phase-matching matrix for the materials embedded in the pores.