We investigate the use of infrared femtosecond laser pulses to induce highly localized refractive-index changes in fused-silica glasses. We characterize the magnitude of the change as a function of exposure and measure index changes as large as 3x10(-3) and 5x10(-3) in pure fused silica and boron-doped silica, respectively. The potential of this technique for writing three-dimensional photonic structures in bulk glasses is demonstrated by the fabrication of a Y coupler within a sample of pure fused silica.