A wide range (20-560K) temperature sensor is devised for the first time from CdS:SiO 2 nanocomposite thin films grown by pulsed laser deposition. Highly intense, stable, and broad red emission observed from CdS:SiO 2 nanocomposite is employed to achieve the luminescence thermometer. Nearly monodispersity and small size of CdS nanocrystals (~ 3 nm) in SiO 2 matrix as viewed by transmission electron microscope may be accountable for the absence of band edge emission even at 20 K. The sensor exhibits almost linear behavior in all cryogenic, physiological, and high temperature ranges. The average sensitivity and resolution of the sensor reported here are ≈ 10 -2 K -1 and 10 -4 K respectively with a maximum relative sensitivity ~ 8.4 % K -1 at 120 K.