TiO2 quantum dots embedded in bamboo-like porous carbon nanotubes have been constructed through the pyrolysis of sulfonated polymer nanotubes and TiO2 hybrids. The TiO2 quantum dots are formed during the pyrolysis, due to the space confinement within the highly cross-linked copolymer networks. The sulfonation degree of the polymer nanotubes is a critical factor to ensure the formation of the unique interpenetrating structure. The nanocomposites exhibit high reversible capacity of 523 mAh g−1 at 100 mA g−1 after 200 cycles, excellent rate capability and superior long-term cycling stability at high current density, which could attain a high discharge capacity of 189 mAh g−1 at 2000 mA g−1 for up to 2000 cycles. The enhanced electrochemical performance of the nanocomposites benefit from the uniform distribution of TiO2 quantum dots, high electronic conductivity of porous carbons and unique interpenetrating structure, which simultaneously solved the major problems of TiO2 anode facing the pulverization, loss of electrical contact and particle aggregation.