Ferroelectric PbZr x Ti 1−x O 3 –SiO 2 based glass–ceramic thin films were fabricated and characterized by sol–gel method. The perovskite-phase PbZr x Ti 1−x O 3 (PZT) crystallites were grown in the films, preferentially along the (111) direction. Zr/Ti ratio in the PZT crystallites was found to decrease with increasing SiO 2 concentration. The excess Pb addition did not decrease the Zr fraction in the PZT crystallites, whereas B added in the glass enhanced the Zr reduction in the PZT crystallites. The Zr/Ti ratio can be controlled to around the morphotropic phase boundary by using precursors with higher Zr concentration. The PbZr 0.6 Ti 0.4 O 3 –10mol% SiO 2 –0.5mol% B 2 O 3 thin film showed the Zr/Ti ratio about 49/51 and good electric properties. Its dielectric constant and remnant polarization were higher than that of other PZT glass–ceramic films with the same amount of glass addition. The PZT glass–ceramic thin film is a suitable candidate for the integrated ferroelectric and piezoelectric devices.