An optimized dual fiber Bragg grating (FBG) is proposed for 980-nm semiconductor lasers without thermoelectric coolers to restrict temperature-induced wavelength shift. The mathematical model of the temperature-induced wavelength shift of the laser with the dual FBG is built using the external cavit