We report a colloidal process to coat a layer of TiO2 onto SiO2 composite nanofibers containing em-bedded CdS and upconversion nanoparticles (UCNPs). The SiO2 composite nanofibers were fabri-cated by electrospinning. To improve the energy transfer efficiency, UCNPs and CdS nanoparticles were bound in close proximity to each other within the SiO2 matrix. β-NaYF4:Yb(30%),Tm(0.5%)@NaYF4:Yb(20%),Er(2%) core-shell nanoparticles were used as na-notransducers for near infrared light. These nanoparticles exhibited enhanced upconversion fluo-rescence compared with β-NaYF4:Yb(30%),Tm(0.5%) or β-NaYF4:Yb(30%),Tm(0.5%)@NaYF4 nanoparticles. The morphologies, size and chemical compositions have been extensively investi-gated using field emission scanning electron microscopy (FESEM), transmission electron microsco-py (TEM), X-ray diffraction (XRD) and X-ray photoelectron spectra (XPS), respectively. The TEM images showed that the TiO2 composite nanotubes were embedded with a large amount of UCNPs and CdS nanoparticles. The composite TiO2 nanotubes degraded more than 90% of rhodamine B (RhB) dye during 20 min of irradiation by simulated solar light. In particular, more than 50% of RhB was decomposed in 70 min, under irradiation of near infrared light (NIR). This high degradation was attributed to the full spectrum absorption of solar light, and the enhanced transfer efficiency for near infrared light. The as-prepared nanostructures can harness solar energy, and provide an alter-native to overcome energy shortages and environmental protection.