We successfully fabricated the hydrogenated TiO2 nanotubes/Ti foil (H-TNTs/f-Ti) composite via one-step anodization and two-step annealing. H-TNTs/f-Ti composite had a higher visible light-induced photoelectric response and more hydroxyl functional groups compared with Ti foil and unmodified TiO2 nanotubes/Ti foil composite, which contributed to limiting the proliferation of Streptococcus mutans and Porphyromonas gingivalis, promoting the proliferation of MC3T3-E1 cell on the hydroxylated surface, and improving the biocompatibility with osteogenic cells. Our study provides a simple and effective method for significantly improving dental implant efficacy.