Anti-Stokes luminescence (ASL) based on lanthanide nanocrystals holds immense promise for in vivo optical imaging and bio-detection, which benefits from filtered autofluorescence. However, the current longest emission and excitation wavelengths of lanthanide ASL system were shorter than 1200 nm and 1532 nm, respectively, which limited tissue penetration depth and caused low signal-to-noise ratio (SNR) of in vivo imaging due to tissue scattering and water absorption. In this work, we extended the excitation wavelength to 1710 nm with the second near-infrared (NIR-II, 1000-1700 nm) emission up to 1650 nm through a novel ASL nanocrystal LiYF