Optimal bonding of adhesive restorations to dentin is crucial to prevent microleakage and enhance the survival of root-filled teeth. The aim of this study was to investigate the effect of chlorhexidine (CHX), alexidine (ALX) and octenidine dihydrochloride (OCT) on the bond strength of resin composites to coronal dentin. Human coronal dentin specimens were treated with 2% CHX, 0.1% ALX, 0.1% OCT or saline then restored with traditional or bulk-fill resin composites. The adhesion strength between the resin and dentin was measured using the microtensile bond strength and failure mode was determined using a stereomicroscope. Treatment with ALX and OCT resulted in significantly greater μTBS compared with CHX and saline, irrespective of the resin composite used. Alexidine treatment predominantly resulted in mixed failure, while adhesive failures were frequently observed in CHX and saline-treated dentin. In conclusion, final irrigation with ALX or OCT improved the bonding of resin composites to dentin.