TiO2 nanotube arrays/graphitic-C3N4 quantum dots heterojunction was prepared via a facile dipping method. The optimized dipping duration and concentration of heterojunction were investigated. The prepared heterojunction extends optical absorption and reduces the recombination of charge carriers. The photocurrent generated by the optimal g-C3N4 QDs/TNTAs photoanode is 4.3 times that of pristine TNTAs. 98.6% of phenol is degraded in 120 min and the degradation rate is 4.9 times as great as that of pristine TNTAs.