We propose a simple dual-wavelength Er-doped fiber laser configuration based on a dual-wavelength fiber Bragg grating written on the splice joint between two different fibers for wavelength-selective filter in the Sagnac loop interferometer. The wavelength separation between the adjacent lasing wavelengths is 1.12 nm and the side-mode suppression ratio (SMSR) is over 55 dB. The output power variation is less than 0.8 dB over a two-minute period. Moreover, the lasing wavelength can be effectively tuned using the thermal heating method.