The Er3+/Yb3+:NaGd(WO4)2phosphors and the phosphor-in-glass (PIG) have been synthesized employing a typical approach to investigate their structural, morphological and optical properties. Several PIG samples containing different amounts of NaGd(WO4)2phosphor have been manufactured by sintering the phosphor and glass [TeO2–WO3–ZnO–TiO2] frit together at 550 °C, and its impact on the luminescence characteristics has been extensively studied. It has been noticed that the upconversion (UC) emission spectra of PIG under 980 nm excitation display similar characteristic emission peaks to the phosphors. The maximum absolute sensitivity of the phosphor and PIG is 17.3 × 10−3K−1@ 473 K and the maximum value of relative sensitivity is 10.0 × 10−3K−1@ 296 K and 10.7 × 10−3K−1@ 298 K, respectively. However, thermal resolution at room temperature has been improved in the case of PIG as compared to the NaGd(WO4)2phosphor. As compared to the Er3+/Yb3+codoped phosphor and glass, the less thermal quenching of luminescence has been observed in PIG.