To solve the proble ms of composite restoration failure caused by secondary caries, this study reports a light curable antibacterial triclosan derivative (TCS-IH), which was synthesized and added to the existing commercial universal adhesive to achieve a long-term antibacterial effect The effect of mixing different mass percentages of TCS-IH on the bond strength of dentin was also investigated.TCS-IH was synthesized by solution polymerization and characterized by nuclear magnetic resonance hydrogen spectroscopy (1H NMR) and Fourier transform infrared (FTIR) spectroscopy. Two commercial universal adhesives, Single Bond Universal and All Bond Universal, were selected and used as the control group, and universal adhesives with different mass percentages (1 wt%, 3 wt%, 5 wt% and 7 wt%) of TCS-IH were used as the experimental group. The antibacterial properties were analysed by means of colony count experiments, biofilm formation detection, plotting of growth curves, biofilm metabolic activity detection, insoluble extracellular polysaccharide measurements and observations by confocal laser scanning microscopy and scanning electron microscopy (SEM). The effect of adhesives on biofilm formation, metabolism, extracellular matrix production, distribution of live and dead bacteria, and bacterial morphology of Streptococcus mutans (S. mutans) was analysed. The mechanical properties were evaluated by the degree of conversion and microtensile bonding strength under different conditions. Its biosafety was tested. We found that the addition of TCS-IH significantly improved the antibacterial performance of the universal adhesive, with the 5 wt% and 7 wt% groups showing the best antibacterial effect and effectively inhibiting the formation of biofilm. In addition, the adhesive strength test results showed that there was no statistical difference (p < 0.05) in the microtensile bond strength measured under various factors in all experimental groups except for the 7 wt% group in the self-etch bonding mode, and all of them had good biosafety. In summary, the 5 wt% group of antibacterial monomer TCS-IH was selected as the optimum addition to the universal adhesive to ensure the antimicrobial properties of the universal adhesive and the stability and durability of the adhesive interface. This study provides a reference for the clinical application of adhesives with antimicrobial activity to improve the stability and durability of adhesive restorations.