The utilization of intracanal medicaments is an indispensable procedure in root canal treatment(RCT). However, the conventional intracanal medicaments still need improvement regarding antimicrobial efficacy and ease of clinical operation. To address the above issues, OCT/PECT@OCT+ALK composite hydrogel characterized by programming sequential release of dual antimicrobial agents has been proposed. Thanks to the self-assemble ability of amphiphilic copolymer poly(ε-caprolactone-co-1,4,8-trioxa [4.6]spiro -9-undecanone)-poly(ethylene glycol)-poly(ε-caprolactone-co-1,4,8-trioxa [4.6]spiro-9- undecanone) (PECT), dual hydrophilic and hydrophobic antimicrobial agents could be easily encapsulated in the hydrogel system, and tailored for sequential drug release for a better antibiofilm effect. The hydrophilic octenidine (Octenidine dihydrochloride, OCT-HCl) is encapsulated in the hydrophilic part of hydrogel for instantaneous elevating the drug concentration through bursting release, and the hydrophobic octenidine(Octenidine, OCT) is further loaded into the PECT nanoparticles to achieve a slower and sustained release profile. Additionally, calcium hydroxide (Ca(OH)2) was incorporated into the system and evenly dispersed among PECT nanoparticles to create an alkaline (ALK) environment, synergistically enhancing the antibiofilm effect with higher efficiency and prolonged duration. The antibiofilm effect has been demonstrated in root-canal models and apical periodontitis rats, exhibiting superior performance compared to clinically used Ca(OH)2 paste. This study demonstrates that OCT/PECT@OCT+ALK composite thermosensitive hydrogel is a potential intracanal medicament with excellent antibiofilm effect and clinical operability.