The invention relates to the technical field of fiber sensing, and especially to a pre-pumped pulse and Gray code based BOTDA instrument. The BOTDA instrument comprises a narrow-linewidth semiconductor sensor, a coupler, a first erbium doped fiber amplifier, a first polarization controller, a single sideband modulator, a microwave source, an optical isolator, a sensing fiber, an optical annular device, a second erbium doped fiber amplifier, a polarization scrambler, an electro-optical intensity modulator, a second polarization controller, an arbitrary waveform generator, an optical filter, a photoelectric detector and a signal collecting and processing system. On the premise that the high spatial resolution of a BOTDA system is maintained, the BOTDA instrument ensures the sensing distance and the measuring precision of the system, and improves the sensing performance of the system.