A distributed temperature monitoring inside a cavity of ytterbium DFB and holmium fiber lasers has been demonstrated with a spatial resolution of 1 and 5 mm, respectively, for the first time to the best of our knowledge. For this, we use an optical backscatter reflectometer, which measures intracore temperature, and compare it with the data of an IR thermographic camera, which measures temperature from the surface of a fiber. In the case of holmium fiber laser pumped at a wavelength of 1125 nm with a power of 6 W, the maximum temperature variation along the ∼3-m active fiber reaches ∼60 °C. In the case of ytterbium DFB laser, we observe a strong inhomogeneity of the temperature along the DFB cavity, which leads to a significant decrease in the lasing efficiency. When pumped by a single-mode laser diode at a wavelength of 976 nm with a power of up to 526 mW, the maximum temperature difference reaches 37 °C for the 37-mm DBF cavity. © 1983-2012 IEEE.