An optical fiber extrinsic Fabry-Perot interferometer (EFPI) is designed and fabricated for refractive index (RI) sensing.To test the RI of liquid, the following two different methods are adopted: the wavelength tracking method and the Fourier-transform white-light interferometry (FTWLI).The sensitivities of sensors with cavity lengths of 288.1 and 358.5 μm are 702.312nm/RIU and 396.362 μm/RIU, respectively, by the two methods.Our work provides a new kind of RI sensor with the advantages of high sensitivity, mechanical robustness, and low cross sensitivity to temperature.Also, we provide a new method to deal with gold film with a femtosecond laser.