In this investigation, we propose and experimentally demonstrate a dual-wavelength fiber laser based on a self-injected Fabry–PÉrot laser diode and an erbium-doped fiber. The dual-wavelength tuning range is 39.49 nm, from 1526.27 to 1565.76 nm, and the mode spacing of the dual-wavelength can be tuned from 1.32 to 39.49 nm. In addition, the output power difference of the dual-wavelength can be controlled and smaller than 1 dB.