Antibacterial properties and osteogenic activity are considered as two crucial factors for the initial healing and long-term survivability of orthopedic implants. For decades, various drug-loaded implants to enhance biological activities have been investigated extensively. More importantly, to control the drug release timing is equally significant due to the sequential biological processes after implantation. Hence, developing a staged regulation system on the titanium surface is practically significant. Here, we prepared TiO2 nanotubes (TiO2 NTs) on the titanium surface by anodization, followed by the incorporation of zinc (Zn) and strontium (Sr) sequentially through a hydrothermal process. Surface characterization confirmed the successful fabrication of Zn and Sr-incorporated TiO2 NTs (Zn-Sr/TiO2) on the titanium surface. The ion release results exhibited the differential release characteristic of Zn and Sr, which meant the early-stage release of Zn and the long-term release of Sr. It was exactly in accord with the biological process after implantation, laying the basis of staged regulation after implantation. Zn-Sr/TiO2 showed favorable anti-early infection properties both in vitro and in vivo. Its inhibition effect on bacterial biofilm formation was attributed to the resistance against bacteria's initial adhesion and the killing effect on planktonic bacteria. Additionally, the release of Sr could alleviate infection-induced damage via immunoregulation. The biocompatibility and osteogenic activity mediated by M2 macrophage activation were confirmed with in vitro and in vivo studies. Therefore, it exhibited great potential in staged regulation for antibacterial activity in the early stage and the M2 activation-mediated osteogenic activity in the late stage. The staged regulation process was based on the differential release of Zn and Sr to achieve the early antibacterial effect and the long-term immune-induced osteogenic activity, to prevent implant-related infection and achieve better osseointegration. These two kinds of ions played their roles synergistically and complement mutually. This work is expected to provide an innovative idea for realizing sequential regulation after implantation.