As a very sensitive technique, photoswitchable fluorescence not only gains ultrasensitivity but also imparts many novel and unexpected applications. Applications of near-infrared (NIR) fluorescence have demonstrated low background noises, high tissue-penetrating ability, and an ability to reduce photodamage to live cells. Because of these desired features, NIR-fluorescent dyes have been the premium among fluorescent dyes, and probes with photoswitchable NIR fluorescence are even more desirable for enhanced signal quality in the emerging optical imaging modalities but rarely used because they are extremely challenging to design and construct. Using a spiropyran derivative functioning as both a photoswitch and a fluorophore to launch its periodically modulated red fluorescence excitation energy into a NIR acceptor, we fabricated core-shell polymer nanoparticles exhibiting a photoswitchable fluorescence signal within the biological window (∼700-1000 nm) with a peak maximum of 776 nm. Live cells constantly synthesize new molecules, including fluorescent molecules, and also endocytose exogenous particles, including fluorescent particles. Upon excitation at different wavelengths, these fluorescent species bring about background noises and interferences covering nearly the whole visible region and therefore render many intracellular targets unaddressable. The oscillating NIR fluorescence signal with an on/off ratio of up to 67 that the polymer nanoparticles display is beyond the typical background noises and interferences, thus producing superior sharpness, reliability, and signal-to-noise ratios in cellular imaging. Taking these salient features, we anticipate that these types of nanoparticles will be useful for in vivo imaging of biological tissue and other complex specimens, where two-photon activation and excitation are used in combination with NIR-fluorescence photoswitching.