Polyethyleneimine (PEI)-capped NaYF4 nanoparticles (NPs) codoped with Yb3+, Er3+, and Mn2+ ions (MnUNPs) were synthesized via a solvothermal method. The MnUNPs showed tissue-penetrable over-1000 nm (OTN-) near-infrared (NIR) and strong red upconversion (UC) emission under NIR excitation. Furthermore, the photosensitizers chlorin e6 (Ce6) and biocompatible poly(ethylene glycol) (PEG) were immobilized on the surface of the MnUNPs (PEG/Ce6-MnUNPs). The prepared PEG/Ce6-MnUNPs generated singlet oxygen (1O2) and displayed effective anticancer activity under NIR excitation.