Negative lattice expansion-induced upconversion luminescence (UCL) thermal enhancement can efficiently solve thermal quenching of lanthanide ions, and the temperature sensing characteristics can be obtained by combining with fluorescence intensity ratio technology.